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

I am new QTP, How to set Delay Time in QTP vb Script

Here sample Code

Code:
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("passCount").Select "4"
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromPort").Select "New York"
'Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromMonth").Select "December"
WScript.Sleep( 1000 )
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromMonth").Select "January"
WScript.Sleep(1000)
Browser("Welcome: Mercury Tours").Page("Find a Flight: Mercury").WebList("fromMonth").Select "February"
WScript.Sleep(1000)

WScript.Sleep(1000) It Show a error message

Object Required: WScript

Please Help me to solve this problem.

Thanks & Regards,
Kamalakannan Anandan
Reply


Messages In This Thread
Delay Time in QTP - by kamalakannan_anandan - 05-26-2011, 03:12 PM
RE: Delay Time in QTP - by vIns - 05-26-2011, 03:30 PM
RE: Delay Time in QTP - by kamalakannan_anandan - 05-26-2011, 03:45 PM
RE: Delay Time in QTP - by Skepsis - 06-13-2011, 03:31 AM
RE: Delay Time in QTP - by Palanimurugana - 05-26-2011, 03:32 PM
RE: Delay Time in QTP - by tbien - 07-04-2011, 11:37 AM
RE: Delay Time in QTP - by rajpes - 07-04-2011, 11:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Time Delay issue with Exist mv8167 11 24,785 06-19-2017, 02:56 PM
Last Post: grosorg
  Delay between keystrokes Alobarb 0 2,666 01-13-2012, 11:48 PM
Last Post: Alobarb

Forum Jump:


Users browsing this thread: 2 Guest(s)