Ask a Question

Wait till webpage loads Completely

SOLVED
abishekhari007
Contributor

Wait till webpage loads Completely

Hi 
can anyone say that is there any specific method to make TC wait till the whole web page loads completely,

 

if yes suggest a way

2 REPLIES 2
abishekhari007
Contributor

Hi 
I myself found a way
but here i found a unique object and used exists method in while loop 

it goes as follows

1. a is initialized to one

2. use while loop and check where a is smaller than b

3. use if condition to check whether the object exists using Exists method

4. if true break; the statement

5. increment the value of a with 1

 

now do the rest

AlexKaras
Community Hero

Hi,

 

There is no generic way and exact implementation depends on the architecture of the tested web page.

https://community.smartbear.com/t5/TestComplete-General-Discussions/setInterval-is-not-defined-Sugge... for more details.

 

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
================================
cancel
Showing results for 
Search instead for 
Did you mean: