wsherwin
11 years agoOccasional Contributor
Field Dichotomy: Found by One Script; Unusable by Other Script
Testing a screen that takes user input, I have a field that I'll call objName that is called by two different scripts. It worked in the first script for a long time but, when it stopped working, I recorded another script to test the same field. TestComplete assigned it the same name ("objName"), and I am able to re-run this script.
However, when I try to run the first script, into which I copied the object from the second script, the first script still cannot find objName, even with a blinking cursor in it, and even though I can type text into it while the script is waiting and failing. Advice appreciated...
However, when I try to run the first script, into which I copied the object from the second script, the first script still cannot find objName, even with a blinking cursor in it, and even though I can type text into it while the script is waiting and failing. Advice appreciated...