Ask a Question

catch object not found

jana_kiran1991
New Contributor

catch object not found

Hi All,

 

Can you please tell me how to catch Object not found in keyword test with try catch block. 

 

Regards.,

Jana

2 REPLIES 2
Marsha_R
Champion Level 3

Here's how it's supposed to work

https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/try.html

 

Please post a screenshot of your code and tell us 1) what you expected it to do  2) what it is actually doing, including any errors from the log. The more detail you can give us, the easier it is for us to help you.

AlexKaras
Champion Level 3

Hi Jana,

 

https://community.smartbear.com/t5/TestComplete-Questions/Implement-Error-Handling/m-p/232352/highli...

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: