Menu is like
Access management
|
–search User
|
–create User
I have got into a situation from where there is no out. 🙁
When I click on the menu link, the dropdown comes with another set of 3 links. Out of which I have to select link 2(Create User), but since on click of ‘Access mgmt’ there is a js function called which populates the submenu and thus I am unable to get any criteria to find that element and click on it. Please suggest a way to do it.
Access mgmt—js function called is clickToShowIt()
under JS script I can find the var defined as menu[0].node[1].name=’Create User’
You have at least 2 options.
The preferable one (feel free to use explicit waits, if needed) is:
Or, if you can access the
clickToShowIt()function from developer console: