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.

  • IE
4 REPLIES 4
TanyaYatskovska
SmartBear Alumni (Retired)

Hi,

I suggest that you read this FAQ article:

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

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



AlexKaras
Champion Level 3

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

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.

 

Thank you Issue has been sloved.

 

"https://support.smartbear.com/viewarticle/65750/"

 

cancel
Showing results for 
Search instead for 
Did you mean: