T E S B O

Tesbo

Switch to main window

Syntax:

Step: Switch to main window

e.g

Test: Verify switch to main window
#All #switch
Step: Open Url 'http://toolsqa.com/automation-practice-switch-windows/'
Step: Scroll and Click on @NewWindow
Step: Switch to new window
Verify: @TOOLSQAIcon is displayed
Step: pause 2 sec
Step: Switch to main window
Step: Click on @NewWindow
Step: pause 4 sec
End

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

Powered by BetterDocs

Leave a Comment