Ask a Question

If condition is fail then also it is showing error.

chandrashekharp
New Contributor

If condition is fail then also it is showing error.

I have put an If condition for the following case:



Whenever I put a valid data in my dataGridViewTextBoxEditingControl then it do not show anything. For handling the application errors I have put if conditions for various objects exstence. But in case the object does not exists then TC is giving error in log that " Unable to find object".

1 REPLY 1

RE: If condition is fail then also it is showing error.

Hi Chandra,


As far as I understand, you need to check whether an object exists in your test to prevent TestComplete from showing the error message. If so, please see the "Checking Whether an Object Exists" help topic to learn how to do this.



Best regards,
Alexey

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: