Stevan
5 years agoContributor
How can I close an IE Tab during testing
When recording a keyword test, I click and option and it opens a PDF file to view, so once I viewed I closed out the new tab to get to my original tab. Test complete is failing on this step. How can I get it to close an IE tab?
def test11(): Aliases.browser.Page("*", 0).Close()
assuming that the focused control is on the browser tab that we want to close, the above code should work