Iâve experienced the same issue. I would recommend you to do one of the following:
Do a normal Click on the list. Elements in the list may load after a Click is done, and not before.
Simulate Click: Add a Click activity where the selector is the desired option in the list. Be sure to enable the Simulate Click option, as it wonât work otherwise.
In my experience when I have found myself in a similar situation, I have solved it by entering the drop-down through the keyboard using send hotkey or selecting the desired option through a âClick Imageâ that works with OCR and directing it through if / else
Hi @Tom1989,
I have gone through the drop down that you are trying to access and it has been observed that it is neither selected by âSelect Item Activityâ nor by âType Intoâ activity. So use "Hot Keys " to select the values of drop down.
First click on the drop down and give â2000â in the âDelayAfter " property .Now then send hotkeys as per your needs using âSend Hotkey Activityâ .For example if you want to select first value ie"Hong Kongâ then send âdownâ key and âenterâ .
I hope this helps.
Hello ,
1.You can try using two clicks to select from drop downs.
In the first click select the drop down.
2.In second click, press Fn+F2. Waitfor timer to to reach 0 and immediately select the option in drop down.
I have attached a document for your understanding.
I have shared the workflow with everyone at the beginning.
Make sure you do not make any changes to the logic in the workflow.
I have already testetd every component. The problem lies only at the end where I have to make a selection from the drop down box after the logic is resolved.
I have experienced the same issue just use TypeInto activity as that particular drop down and use send key to hit enter.
I hope it will work as it works for me.
i think your issue in the t_innerText variable return empty because of the nature of this site using jquery append to append the dropdown , what i mean you need to simulate click at the dropdown fist then get the text value or get attribute,
the below selector will never work because the id is something different than this , check the selector id by inspect element .
webctrl parentid=âhdx_dijits_form_Select_6_menuâ tag=âTABLEâ />
webctrl id=â" + t_option+"â tag=âTDâ />
please check this file its work but with static selector Main.xaml (21.9 KB)