Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with Running QTP 8.2 script Through Quality Ctr.

Status
Not open for further replies.

vwimb19826

Technical User
Oct 2, 2007
1
US
Has anyone scheduled scripts to run through QC? I have a number of regression scripts already prepared in QTP what I'd like to do is have the testers either kick them off by accessing QC or scheduling the script to run during off hours. Does anyone have experience with this?
 
I've done it with WR scripts - and we set TD Parameters on the scripts for start time so we could schedule them for out of hours runs, then added a short loop to the start of the script that looked a little like the following:

Code:
Now = get_time();
while((Now< STARTTIME) && (STARTTIME !=""))
{
   wait(1);
   Now = get_time();
}

Sure there was a little more to it, but that was the quickest route we came up with. The second caveat to the while loop is necessary in case you want the script to run immediately.

Cheers,
Dave

"Yes, I'll stop finding bugs in the software - as soon as you stop writing bugs into the software." <-- Me

For all your testing needs: Forum1393
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top