I'm trying to capture Browser actions in WebUI Automation and Browser actions are not captured when i click on the dropdown and click the item of selection in the clip.
I'm unable to use locator to validate item in the drop down
Is this public site? If so, can you provide the URL?
Which version on CloudTest are you using? Try the latest one.
I got info about your site from Ashley here at SOASTA.
I checked the drop down arrow for the language in FirePath and gave me the following Xpath:
But that Xpath is not resilient since it contains an index , so we need to change it, we can change it to:
If you test the above Xpath in FirePath, it will give you one match, which is what we want.
After this, then you need to figure out the Xpath for the element in the drop down you want to select. If you want to select German (DE) for instance, the Locator would be:
//*[@class='select2-result-label' and contains(text(), 'German (DE)')]
Retrieving data ...