Ask a Question

Test Complete 'Pause' button is disabled.

SOLVED
Adnan_Muzaffar
Occasional Contributor

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Adnan_Muzaffar
Occasional Contributor

Re: Test Complete 'Pause' button is disabled.

4 REPLIES 4
TanyaYatskovska
Community Manager

Re: Test Complete 'Pause' button is disabled.

Hi,

I suggest that you read this FAQ article:

https://support.smartbear.com/viewarticle/65924/

---------
Tanya Yatskovskaya
SmartBear Community and Education Manager


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
AlexKaras
Community Hero

Re: Test Complete 'Pause' button is disabled.

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))

 

 

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
================================
Adnan_Muzaffar
Occasional Contributor

Re: Test Complete 'Pause' button is disabled.

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.

 

Adnan_Muzaffar
Occasional Contributor

Re: Test Complete 'Pause' button is disabled.

cancel
Showing results for 
Search instead for 
Did you mean: