In your test logic, you may need to work with multiple browser tabs. An action on your app may open a new tab and load content or you may also need to access other applications during the test (such as open email application and verify).
The command Switch to Browser tab is useful to work with multiple tabs in the Action logic editor:
This command provides different selection criteria that a user can use based on the requirement.
- Switch to main browser tab: Use this command to get back to the main browser tab after switching to other tabs.
- Switch to browser tab at index: The command switches the browser tab based on the index of the browser tab provided.
- Switch to browser tab based on URL: You can specify part (or all) of the URL of the tab which you want to work with. Make sure to specify URL content enough to uniquely identify the required tab.
- Switch to browser tab on title: Same as above, but the logic switches based on the title of the browser tab.
Comments
0 comments
Please sign in to leave a comment.