Forum Discussion
A_Roskoshnyi
Contributor
How about this:
function verifyBrowserScriptErrorWindowAppears()
{
// Verifying an unexpected script error window is appearing before operation and if yes then closing it.
if(Aliases.xmetal.BrowserScriptErrorWindow.WaitProperty("Exists", true, 0))
{
Log.Message("Browser Script error window appeared.. Closing it..");
Aliases.xmetal.BrowserScriptErrorWindow.Close();
}
}
sonya_m
4 years agoSmartBear Alumni (Retired)
Related Content
- 12 years ago
- 9 years ago
- 12 years ago
- 14 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago