T E S B O

Tesbo

Perform click action on the element

The click event is the basic action that you need to perform frequently, Here is the example about how you can do in Tesbo

Step: Click on @ForgotPassword

here Tesbo will get the locator of ForgotPassword, find the element based on the locator and perform a click on it.

Usage Example : 

Test: Verify click functionality
#All #click
Step: Click on @ForgotPassword
Step: pause 2 sec
Step: Click on @BackButton
Step: pause 2 sec
End

locator file

{
"ForgotPassword":"//strong[contains(text(),'Forget')]",
"BackButton":"//span[contains(text(),'Back')]"
}

you can find a similar example from Tesbo-Skeleton as well

Powered by BetterDocs

Leave a Comment