cancel
Showing results for 
Search instead for 
Did you mean: 

TestComplete will not pass test after system reboot.

Occasional Contributor

TestComplete will not pass test after system reboot.

So I have been building tests with Test Complete for a few months and I have found that after building a test and proofing it out over 10 test runs or so it will pass without issue. But when I restart the control the next day and sometimes just later that day the test will not pass as it will not find buttons and other preprogrammed tasks. Currently, I'm having to spend time reworking all of my tests. Is the fix as simple as what I have seen here?

https://support.smartbear.com/screencasts/testcomplete/reliable-tests-for-dynamic-objects/#_ga=2.408...

 

I'm going to start going through this and testing it, but I see a lot of these questions in this forum so I guess I'm not alone. 

4 REPLIES 4
Staff

Re: TestComplete will not pass test after system reboot.

we need more information. are you testing on web apps? did you configure the browsers so that it doesn't auto update along with the other preparation settings? are you using object oriented actions, or unintentionally using coordinate based actions? do you see the object name mapping change alot with frequent "object not found" errors? do the object names frequently end in random or sequential alphanumeric characters? if you do see that the name mapping changes frequently, are you using the self healing mode? which may also change name mapping in an unintended way... need screenshots of your code/keyword tests, name mapping, object under test, etc.

 

the video you linked is for dynamic name mapping objects. if that's your problem, it could really be as simple as  that. 

Occasional Contributor

Re: TestComplete will not pass test after system reboot.

desktop application, one program running the same task over and over. 

Highlighted
Contributor

Re: TestComplete will not pass test after system reboot.

I have had similar issues. Sometimes test works perfectly, sometimes not .

Biggest issue was poor or missing name mapping. I fixed namemapping and test where much much reliable. Other thing is timing. Some operations take sometimes more time than usually (windows is doing something on background etc). For example in my test I preview report and then try to close that preview. Usually one report takes 2-3 seconds  but sometimes it can be 10 secs. 
I don't know if that helps, but these are my experiences. My apps are written in Delphi 2007.  

Jeemly - Dream Big
https://jeemly.com/
Community Manager

Re: TestComplete will not pass test after system reboot.

Hi @CGilbert , we have a nice article in our documentation about this feature. Please double-check that you have set everything up as described here.

Let me know if this helps!



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!