Frequently Asked Question
The test is not interacting with the active window
Last Updated 5 months ago
Error description:
When the test opens a new browser tab and, upon further interaction, the commands start to fail.
Common cause:
- AAT doesn't automatically switch the focus to the new tab, so the interactions continue to happen in the previous tab, thus generating the errors.
Recommended solution:
- Use the "Change tab" command and specify the index of the new tab as the value. The index depends on the order in which the tabs have appeared, so the default tab will have index 1 and the new tab will have index 2.