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
- 2 years ago
- 9 months ago
- 2 years ago
Recent Discussions
- 2 days ago