TC_UserP
6 years agoContributor
Use of If else statement for a object clicked
Hello,
I had a main reusable keyword script , which opened a wizard and then there was a dropdown for me to select options, but now the dropdown is no more and it is a "tree" to select options.
...
- 6 years ago
Hi,
Can you read each dropdown elements as "MenuItem"?
If you can do that read whole values into array (if you are using for example javascript) and then create if or maybe switch based on array index.
You can enable a Text Recognition Options option too, and with that option search for value in dropdown.
here is the link for documentation:
Or more simpler solution. Click on dropdown value -> and after that check the wText or maybe Text property of that specific dropdown
Let me know if that helped you.