Ask a Question

Exception handling in desktop application automation

lalit_singh
Contributor

Exception handling in desktop application automation

How to implement exception handling in test complete for automation of desktop application?

By that I mean what all things I should consider to implement it 

3 REPLIES 3
rraghvani
Trusted Contributor

See https://www.javatpoint.com/exception-handling-in-javascript and https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling to get a rough idea.

 

I test a web application, and the only time I use exception handling is when I connect to a database to perform certain actions before running the automation.

How about handling the known exception like unexpectedwindow , timeout using events?

My major concerned is finding the appropriate approach

rraghvani
Trusted Contributor

cancel
Showing results for 
Search instead for 
Did you mean: