Highspirits
Member
Hi All,
I have a webpage which has a dropdown. The values in this dropdown box are not unique - there are duplicates in it. Lets say I want to spy the wording "Property – Field Review – 2018-05" from the dropdown. It occurs two times - in the 4th row and 7th row. I verified the data item value which I used in Navigate stage and it matched exactly with the drop down item value. I am assuming that the error message "No Elements Match the supplied query items" is coming because the navigate stage is unable to select the appropriate item in the duplicates.
to solve the issue, I used the position parameter and then the navigate stage was able to select the drop down item successfully. I am trying to know if there is any other way I can select the first matching element from the drop down when there are duplicates instead of using the "Item Position" value as the position might vary in different environments.
I have a webpage which has a dropdown. The values in this dropdown box are not unique - there are duplicates in it. Lets say I want to spy the wording "Property – Field Review – 2018-05" from the dropdown. It occurs two times - in the 4th row and 7th row. I verified the data item value which I used in Navigate stage and it matched exactly with the drop down item value. I am assuming that the error message "No Elements Match the supplied query items" is coming because the navigate stage is unable to select the appropriate item in the duplicates.
to solve the issue, I used the position parameter and then the navigate stage was able to select the drop down item successfully. I am trying to know if there is any other way I can select the first matching element from the drop down when there are duplicates instead of using the "Item Position" value as the position might vary in different environments.