Selecting option from drop down menu

mason

Client
Регистрация
30.04.2017
Сообщения
46
Благодарностей
3
Баллы
8
I want to select an option from a drop down menu. I can change the text in the box by selecting the option I want and selecting "to actions designer" It test just fine but does not click the option. ie. it looks correct on the screen but the website does not recognize the field has been changed. If I go back and manually select the option everything works. Please point out what I am missing. Thanks
upload_2017-5-27_11-20-32.png
 

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28

mason

Client
Регистрация
30.04.2017
Сообщения
46
Благодарностей
3
Баллы
8
https://www.cloudflare.com/a/setup/wha-up-dr.gq/step/2

upload_2017-5-28_18-10-28.png



upload_2017-5-28_18-10-50.png


I can get the drop down to show up, and I can replace the innerhtml but the site does not recognize the button was selected. The pictures above show that when the site reads the button click the IPv box changes from 4 to 6
 

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
ok try clicking it this way, works for me
Untitled.png
 

Вложения

  • 41,3 КБ Просмотры: 260

mason

Client
Регистрация
30.04.2017
Сообщения
46
Благодарностей
3
Баллы
8
I tried this and it still does not work for me. I loaded your file and tried. The first step works but for the second I get "Element is not found by search criteria" error
 

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
Right click the element you wish to select put to action designer, rise event click.
?
 

mason

Client
Регистрация
30.04.2017
Сообщения
46
Благодарностей
3
Баллы
8
That is what I am trying to do. Last time I selected it gave me a value = select2-result-label-30. And clicked Test. It worked. Then I redid those same steps and value= select2-result-label-40.

upload_2017-5-29_16-50-13.png


It looks like every time I run the step an increment is given to the value.
upload_2017-5-29_16-53-37.png
 

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
Ohhhh put it as regex not text, and put in select2-result leave the rest out
 
  • Спасибо
Реакции: mason

mason

Client
Регистрация
30.04.2017
Сообщения
46
Благодарностей
3
Баллы
8
I think I got it. I did as you said and selected the item I want to click, sent to actions designer, deleted out the identifier (-number), changed to regexp, then clicked Search and picked the right item from selection in the designer. Changed to Rise and added to project.

Two days... I will not have trouble in the future with drop downs
 

PHaRTnONu

Client
Регистрация
01.10.2016
Сообщения
340
Благодарностей
48
Баллы
28
Yeah sorry i didnt bother to test it heavily cause i was vusy yester day lol
 

LightWood

Moderator
Регистрация
04.11.2010
Сообщения
2 382
Благодарностей
915
Баллы
113
I think I got it. I did as you said and selected the item I want to click, sent to actions designer, deleted out the identifier (-number), changed to regexp, then clicked Search and picked the right item from selection in the designer. Changed to Rise and added to project.

Two days... I will not have trouble in the future with drop downs
You have to pay a lot for your skills. But u started understand basic principle of tags and attributes in html. It is not like "Recording" part of template development, and this more expensive.
Good for you in future.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)