Forum Discussion
Right above your CAS error in the log, there's an object does not exist error. If that's the object you're testing, then that's the problem.
Check to make sure the object exists before you check the text.
https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/checking-existence.html
I want to test the text that appear CAS error but my code is not correctly checking
let me know if you need the details.
Thanks
NG
- Marsha_R4 years agoModerator
I understand that you are trying to test for the correct text. Look at the error I have highlighted. That object does not exist error can cause your text error below it. Resolve that error first and see if the text error goes away.
- nisgupta4 years agoValued Contributor
Sometime our application give those CAS Error. We need to check those error and notify those to team. It is fine "The object does not exist" error appear" This object does not exist error coming as we are trying to verify the object from the application when the application has no issue .
Since application has issue which mean CAS error that is whu script generate the error "Object does not exist" it is perfectly fine . The only thing we need to check whether in the browser tile the CAS error appear?
Thanks
NG
Related Content
- 2 years ago
- 6 years ago
- 3 years ago
Recent Discussions
- 6 days ago
- 6 days ago
- 9 days ago