wsherwin
11 years agoOccasional Contributor
TestComplete Loses Window
I recorded a script in TestComplete after TC was unable to access a particular text field and I was unable to get it to capture the field such that it was editable. At first, this script failed because TC could not activate and enter data into the field in question; however, now, the script fails because it cannot find the application window - after it starts the application itself! I am able to click on and type in the first screen while TC cannot find it; therefore, I am puzzled.
- Hello William,
Is the application window dynamic with a different name each time it opens? Could you use a mapped value for the window instead of a name, or a value that doesn't change from run to run? Below is a link to a webinar on name mapping, hope this helps.
http://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/