Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wait() function in QTP
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi,

You could use the "waitproperty"

Code:
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebEdit("UserName").WaitProperty "Enabled","True",100000
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebEdit("UserName").Set "uname"
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebEdit("Pass Word").WaitProperty "Enabled","True",100000
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebEdit("Pass Word").Set "pword"
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebButton("Login").WaitProperty "Enabled","True",10000
Browser("xxxxxxxxxxxxxx").Page("xxxxxxxxxx").WebButton("Login").Click

Please let me know for further clarification.

Thanks and Regards,
Venkat.Batchu
Reply


Messages In This Thread
Wait() function in QTP - by galstar - 08-19-2010, 06:01 PM
RE: Wait() function in QTP - by PrabhatN - 08-19-2010, 06:20 PM
RE: Wait() function in QTP - by galstar - 08-19-2010, 06:29 PM
RE: Wait() function in QTP - by venkatbatchu - 08-19-2010, 09:10 PM
RE: Wait() function in QTP - by basanth27 - 08-24-2010, 08:06 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,180 06-26-2015, 12:31 AM
Last Post: babu123
  help with wait property function kp_usa 3 4,347 12-20-2012, 10:49 PM
Last Post: kp_usa
  wait QAVA 1 3,063 11-13-2012, 07:29 PM
Last Post: imzeeshan
  How to control WAIT time with STATIC variable? chong67 3 4,059 06-22-2012, 10:38 AM
Last Post: sshukla12
Exclamation Alternative for Wait Statement Veekay 2 8,619 03-20-2012, 07:13 PM
Last Post: swathi

Forum Jump:


Users browsing this thread: 2 Guest(s)