cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
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
Highlighted
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 Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
Highlighted
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 Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

Highlighted
New Contributor

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

Thanks Alex, that's exactly what I need.

Highlighted
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 Hero]
____
[Community Heroes] 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. Posts made by [Community Heroes]
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.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors