lslechta
5 years agoOccasional Contributor
Unable to find object keeps happening when running a test
I've recorded a keyword test, tabbing between fields and then filling in info as I go. When I run the test, I keep getting an object not found error. I've even tried clicking each field instead of tabbing when recording the test but I get the same result when I run it.
It seems to lose the parent object of TextEdit each time. Is there a work around for this?
I've attached screenshots of the error and the field setup.
Is that TextEdit parent always TextEdit4? The number makes me suspicious that the object name changes each time it's launched.
If so, you'll want to look at using a wildcard for referencing it (object identification section in here).
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html