cancel
Showing results for 
Search instead for 
Did you mean: 

Tested Application stucks, the playback also stucks. Unable to detect the error.

SOLVED
YYF
New Contributor

Tested Application stucks, the playback also stucks. Unable to detect the error.

    The tested application stucks with some kind of defect. The application is still running, but user unable to do anything with it. Just like the application window is locked.

    At this time, the playback is also stucks, it doesn't move to the next step, not throw an error, and even can't pause it. Because of the playback stucks, normal error handlers not work. Does TC have any way to detect this kind of issue?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Tested Application stucks, the playback also stucks. Unable to detect the error.

Hi,

 

You may consider these help topics:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/diagno...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/creati...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/window...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/report...

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

3 REPLIES 3
Community Hero

Re: Tested Application stucks, the playback also stucks. Unable to detect the error.

Hi,

 

You may consider these help topics:

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/diagno...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/creati...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/window...

https://support.smartbear.com/testcomplete/docs/testing-with/advanced/tracing-critical-errors/report...

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================

View solution in original post

YYF
New Contributor

Re: Tested Application stucks, the playback also stucks. Unable to detect the error.

Thanks Alex, that's exactly what I need.

Community Hero

Re: Tested Application stucks, the playback also stucks. Unable to detect the error.

Hi,

 

Great, thanks.

 

> even can't pause it.

BTW, there are three main reasons when test code playback cannot be paused in TestComplete using its means:

-- When tested application is stuck in some code within its modal window (for example - in the handler of the OnClick event for the OK/Cancel button of some modal window). Some applications may wait for the user input within such handler. This can be handled in TestComplete (https://support.smartbear.com/testcomplete/docs/scripting/calling-methods-asynchrounously.html) but only if this is behaviour by design;

-- When TestComplete waits for some object using any of .WaitXXX() method with a long timeout (e.g. a minute or more). In this case it is not possible to pause test script execution until timeout expires. For the sake of convenience, it is recommended to enclose the wait into the loop, like this (pseudocode):

for (var i = 0; i < iIterations; i++)
{
  if (! Aliases.App.WaitAliasChild('childToWait', 500).Exists)
    Delay(500);
  else
    break;
}

-- The third case is specific one, but anyway: https://community.smartbear.com/t5/TestComplete-Desktop-Testing/Unable-to-idetify-message-box-using-...

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================