givanft
14 years agoNew Contributor
Is it possible to change old object to a new during execution of the test?
Hello friends!
First - sorry for my english :)
Please, explain, is it possible to change old object to a new one during execution of the test?
For example I have this line:
Sys.Process("PowerUserU").Window("#32770", "BCME 2011 PU").Window("Button", "OK").Keys("[Enter]");
now we have a new release 2012 and the line should be:
Sys.Process("PowerUserU").Window("#32770", "BCME 2012 PU").Window("Button", "OK").Keys("[Enter]");
so the TestComplete says "unable to find the object ... " and finished the test.
Is it possible in the TestComplete, as for example is it possible in "HP QuickTest Professional", that the TestComplete ask me - is the object actual because I see a new one on the screen with different name?
In other words is it possible to teach it (and do not make manual changes) what should be used now.
Thanks!!!