If condition is fail then also it is showing error.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2010
10:11 PM
01-13-2010
10:11 PM
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".
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2010
11:28 PM
01-14-2010
11:28 PM
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. ⬇️⬇️⬇️
