Forum Discussion
SZ_1
Occasional Contributor
Also as I mentioned in my original post, checking for not null or null does not throw any error but I need to know if checking for not null will guarantee no problem accessing the properties of the objects.
I tried this on the niewPort and it worked so far as viewPort has been alwasy found.
TanyaYatskovska
5 years agoSmartBear Alumni (Retired)
Hi SZ_1,
One more thing to check - make sure that the Auto-wait timeout option is set to more than 10000 in your project. You can find the details here: https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/playback.html
- SZ_15 years agoOccasional Contributor
Thanks TanyaGormunova! I have already had the Auto-wait timeout set to 10000 ms. Also I don't stop test run on error. However, the test will stop if a runtime error occurs like this one.
Related Content
- 6 months agonado
Recent Discussions
- 57 minutes agoDSmachineWorld
- 9 hours agoSvetaG