BrowserApplication.
Tests whether a browser application exists and is currently selected.
bDoesExist = browserApplication.ExistsTab (tab)
Variable | Description |
---|---|
bDoesExist | Whether the browser application exists and is currently selected. BOOLEAN. |
tab | Optional: The tab that is checked for being existent and currently selected. |
ExistsTab returns TRUE if the browser application exists and is currently selected, or FALSE if the browser application does not exist, or is not selected.
Verify(SaveMessage.ExistsTab(tab),TRUE)
ExistsTab should always be part of another statement, so that the value returned by ExistsTab is used.
[-] if(InternetExplorer.ExistsTab(3)) [ ] InternetExplorer.SelectTab(3)