TestProject Forum

Drop down element selection by index with changing locator

Automating web, I want to select an option from drop down by index, but in my scenario every time a different page will open and its dropdown will have different ID and Div.
How to select a suitable element locator and action for it?

Hello,
You can search by text using our list operation addon

If you have something different or customized you can use click on dynamic element

image

Let me know if you managed

Thanks!
Actually I wanted to select value based on index. So that worked.