Test Complete 'Pause' button is disabled.
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Test Complete 'Pause' button is disabled.
I recently upgrade to Testcomplete 12 64bit for web testing and during run I was unable to click on pause button as it's disabled. On TestComplete 11 32bit it's working fine.
Solved! Go to Solution.
- Labels:
-
IE
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I suggest that you read this FAQ article:
https://support.smartbear.com/viewarticle/65924/
Tanya Yatskovskaya
SmartBear Community and Education Manager
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Another reason may be if your test code uses long timeout to wait for the object and object does not appear for a long time.
For example:
var obj = page.WaitAliasChild('TableWithAlotOfAjaxDataOverSlowConnection', 60000);
The above line waits for the table to appear within 1 minute. If you click Pause while the code is waiting for the table, the code will not be paused until either the table is found or timeout elapses.
To workaround the above inconvenience, you may replace single .WaitXXX() with a loop and smaller wait.
Like this:
var obj;
var iStopTime = Win32API.GetTickCount() + iTimeout;
// Wait for the element to appear
do
{
obj = page.WaitAliasChild('TableWithAlotOfAjaxDataOverSlowConnection', 500);
}
while ((!obj.Exists) && (Win32API.GetTickCount() < iStopTime))
/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
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No I am not using long timeout's Pause button is disabled on Windows 10 with TestComplete 64bit.
I am trying other solution and will share if get any solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
