svarog99
11 years agoNew Contributor
Intial run passes, object not recognized in subsequent runs
I was not able to find this question being asked previously -- I apologize in advance if I missed it.
I have a script which passes on the initial run and successfully closes out the browser window at the end (IE). When I attempt to run it a second time, however, it is unable to recognize an object in the first function (Windows Security login dialog - unchanged from the first run).
If I close TestComplete and restart it however, the object is recognized and the test completes successfully.
I am not sure why closing and reopening TestComplete would make a difference. I have a theory that it might be because of a global variable I'm using, but have not been able to figure out which one or why.
Does anyone have any tips on how to troubleshoot further, or ideas of any other factors/settings that might be involved?
Thanks in advance.
I have a script which passes on the initial run and successfully closes out the browser window at the end (IE). When I attempt to run it a second time, however, it is unable to recognize an object in the first function (Windows Security login dialog - unchanged from the first run).
If I close TestComplete and restart it however, the object is recognized and the test completes successfully.
I am not sure why closing and reopening TestComplete would make a difference. I have a theory that it might be because of a global variable I'm using, but have not been able to figure out which one or why.
Does anyone have any tips on how to troubleshoot further, or ideas of any other factors/settings that might be involved?
Thanks in advance.