| || |
Error in the code to check an alert
If i use this code to check an alert
Set w = Sys.Process("iexplore").WaitWindow("#32770", "*", -1, 3000)
If w.Exists Then
Log.Warning "Alert window was not found"
If the window does not exists the script keeps waiting for it and writes an error to the log saying object not found.
Actually it should write Alert window was not found.
How Can we handle this ?????
Please help me out
Re: Error in the code to check an alert
Please post here the error message you get and the text from the Remarks section of the message. Also, what version of TestComplete are you using (Help | About...)?