Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to find whether page get generated or not
#2
Not Solved
Hi Gaveyom,

Yes there is a waitproperty in QTP which will Wait until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step. Below is the sample code to Wait For an Edit Box to Become Enabled Using the Default Timeout ..

Code:
If Browser("index").Page("index").WebEdit("Account").WaitProperty("disabled", 0) Then
    Browser("index").Page("index").WebEdit("Account").Set ("123")
End If
For more help u can check the qtp help.

There is a wait method which u can use ..
e.g., Wait(5)

Regards,
Ankesh
Reply


Messages In This Thread
RE: how to find whether page get generated or not - by Ankesh - 10-20-2011, 02:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Checking if an error message is generated on the page due to wrong data entry pkjakhar 1 2,782 06-19-2008, 01:47 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)