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
3 years agoSmartBear Alumni (Retired)
Related Content
Recent Discussions
- 2 days agovladd1