Jelrey
(Mohamed Salutin)
November 11, 2020, 4:49pm
1
I have a dropdown menu with items on it
the original button is "Rate " and when I select an item from the menu for example Blue the button automatically changes to “Order” (it is how the app works). When I manually do it without using bot it works and has no problem but when I use select item activity it was able to select an item but the button did not change. Any idea if what is the problem ?. is it about delay?. Thanks.
here is the property of my select activity
Jelrey
(Mohamed Salutin)
November 11, 2020, 4:52pm
2
Any idea would be much appreacited. Thanks
Schirru
November 11, 2020, 5:19pm
3
Hi @Jelrey ,
Maybe the site could have a onClick function to do something else, like change or enable the order button.
I can think in a workaround where you click on the dropbox menu to expand it and then click on the cell you want.
Can you give it a try and reply if it works?
Tks.
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:27pm
4
what do you mean by this Sir ?where you click on the dropbox menu to expand it and then click on the cell you want. ?
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:28pm
5
you mean to use click activities rather than select item activity ?
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:43pm
7
is some delay still needed?
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:44pm
8
the selector
<wnd app='app.exe' cls='ComboLBox' idx='*' />
<ctrl name='Blue' role='list item' />
Hi @Jelrey try to do as @Schirru said
Like using one click activitiy to click the main drop-down part and using second drop down to the select the any options inside it by by making selector of second click activitiy dynamic
Also make sure to tick the simulateclick property of second click activitiy which is selecting option in drop-down
Hope it helps
Regards
Nived N
Happy Automation
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:53pm
10
why is that my second click does not work sir ? I indicated on the screen and here is the selector
<wnd app='app.exe' cls='ComboLBox' idx='*' />
<ctrl name='Blue' role='list item' />
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:53pm
11
Click ‘list item’: Click with “Simulate” is not supported for this element. Please use other input method.
Or just try with simple click activity
Jelrey
(Mohamed Salutin)
November 11, 2020, 5:54pm
13
yeah i am using click activity.
Schirru
November 11, 2020, 5:58pm
15
Jelrey:
name='Blue' r
Try to remove “idx” attribute from selector
Jelrey
(Mohamed Salutin)
November 11, 2020, 6:10pm
16
still the same error
<wnd app='app.exe' cls='ComboLBox' />
<ctrl name='Blue' role='list item' />
Schirru
November 11, 2020, 6:13pm
17
What is the error message that you are getting?
Jelrey
(Mohamed Salutin)
November 11, 2020, 6:13pm
18
Click An Item: Click with “Simulate” is not supported for this element. Please use other input method.
Schirru
November 11, 2020, 6:15pm
19
Try to uncheck the options of Simulate and SendWindowsMessage.
Jelrey
(Mohamed Salutin)
November 11, 2020, 6:16pm
20
I already did it now , I uncheck both same it does not select the item from the menu which is the Blue , only the first click activity did work
1 Like