Tested Application stucks, the playback also stucks. Unable to detect the error.
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You may consider these help topics:
/Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Alex, that's exactly what I need.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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-...
/Alex [Community Champion]
____
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
