Hi,
I need to run test case in Edge browser and tried to click the first user ID and not able to click.
Code:
sleep 10
click element //*[@id=“tilesHolder”]/div[1]/div/div/div/div[2]
sleep 10
Application with Two user ID:
The output result:
Hi,
I need to run test case in Edge browser and tried to click the first user ID and not able to click.
Code:
sleep 10
click element //*[@id=“tilesHolder”]/div[1]/div/div/div/div[2]
sleep 10
Application with Two user ID:
The output result:
Hi Samta,
When dealing with an app that has a screen like that “Pick an account” screen, usually I find the easiest way is
Combine Run Keyword And Return Status with something like Element Should Be Visible should give you a true/false result you can use for the IF
You could also do the reverse logic, check for the username field and if not found try clicking “Use another account”, then check for the username field again
Dave.