Unable to identify Object from dropdown

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
vivek.guvva
Posts: 31
Joined: Mon Feb 22, 2016 7:21 pm

Unable to identify Object from dropdown

Post by vivek.guvva » Fri Mar 04, 2016 12:58 am

Hi,

I have a drop down menu with just 2 options. I am trying to select 2nd option from drop down but the xpath of the second option is showing different every time when i checked using Instant tracking. I tried multiple times and everytime it is showing different as below.

body/div[16]/?/?/ul/li[@innertext='Release Week']
body/div[28]/?/?/ul/li[@innertext='Release Week']
body/div[30]/?/?/ul/li[@innertext='Release Week']
body/div[32]/?/?/ul/li[@innertext='Release Week']

When i use //ul/li[@innertext='Release Week'] xpath, it is not identifying the second option. I am attaching the snapshot as well. Please help me in identifying the object.
Attachments
DatePerios dropdown.rxsnp
(902.59 KiB) Downloaded 45 times

lucian.teodorescu
Posts: 82
Joined: Fri Oct 24, 2014 10:58 am
Location: Bucharest

Re: Unable to identify Object from dropdown

Post by lucian.teodorescu » Fri Mar 04, 2016 9:48 am

Hi,

There is an issue with the combobox/dropdown menus in browsers. Especially Chrome makes it harder to select an option than others, like IE or FF.

You can find some workarounds and related discussion here: http://www.ranorex.com/forum/cant-click ... t5683.html
Lucian Teodorescu
NetSun Software