If the page being tested opens in a new tab or window while the test is being run, you can operate it using the following procedure. For more information on how to use each command, refer here.
- In case a new tab or window is opened by clicking a link, or the like, run the “Select new window” command after clicking. This causes the tab or window operation to switch over, and you can operate the new tab and window elements.
- Run the “Select previous window” command to return the target to the previous window calling the “Select new window” command.
- Select “Close window” to close the current tab or window with the “x” button. To operate other windows after closing, it is necessary to call the “Select previous window” command, and switch the target of operation once again.