Ask a Question

Wait till webpage loads Completely

SOLVED
abishekhari007
Champion Level 0

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
Champion Level 0

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
Champion Level 2

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