How to handle dynamic dropdown using robot framework, when someone enter the text only then possible options appear. What should be the approch here?
Hi Pankaj,
The approach will vary based on which library you’re using.
Also it’s a good idea to show what you’ve tried and any errors you got, so er can help you better.
Dave.
1 Like
I was able to resolve it by giving dynamic xpaths. It was basically an airline flight ticket booking flow.
Solution:
I did a fill text command like.
Fill Text. locator. Dxb
After filling text the airport Dxb will be visible, so i made xpath in such a way that it take destination airport as a variable input and clicks the visible airport after entering its code.
1 Like
For a web application that’s a good approach
1 Like