Ask a Question

unexpected script error

SOLVED
Zvi
Occasional Visitor

unexpected script error

I am running a bunch of TestComplete scripts for a web app.

In one of the scripts let's say I made a syntax error(object is not defined) and as a result

I get a popup error which prevents me from continuing to the next script. I need

a mechanism, such as an event handler to click the OK button which will solve the problem.

I would use "OnUnexpectedWindow' but isn't it for  a window application? And besides,

the error is not an application error. 

2 REPLIES 2
Marsha_R
Champion Level 2

Did you try "OnUnexpectedWindow"?  It might work.

 

Otherwise, here's event handlers

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/creating-handl...

sonya_m
SmartBear Alumni (Retired)

Thank you Marsha!

 

@Zvi Have you tried what Marsha is suggesting? Please share your results.


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: