Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripts stops after performing a step when it has been initiated by schedule task.
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Following is my .vbs file from where i m initiating the test:

Code:
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
'qtApp.Open "D:\Program Files\Mercury Interactive\QuickTest Professional\Tests\Creating a Gmail ID" 'this is the location of test scripts
Set qtTest = qtApp.Test
'Set QuickTest run options
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = False
qtApp.Open "\\Ausyddata02\testing\QTP Common\Lab Tests\Automated Tests\Installing SiPass 2.50", True ' Open the test in read-only mode
' set run settings for the test
Set qtTest = qtApp.Test
qtTest.Run ' Run the test
'qtTest.Close ' Close the test
'qtApp.quit
Set qtTest = Nothing ' Release the Test object
Set qtApp = Nothing ' Release the Application object


'qtTest.Close

'qtApp.Quit

Thanks,

Ajit
Reply


Messages In This Thread
RE:Scripts stops after performing a step when it has been initiated by schedule task. - by Ajit.2k6 - 03-08-2010, 09:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP - each step screenshot bitmap in to word balamurali 0 2,280 02-07-2018, 10:06 PM
Last Post: balamurali
  [ QC& QTP] issue with Qc design step parameter seritalien 0 1,925 05-29-2013, 06:56 PM
Last Post: seritalien
  QTP stops execution with no error vinod_3466 0 2,317 04-24-2013, 01:36 PM
Last Post: vinod_3466
  Hyderabad Schedule Drive for QTP Experts 3-7yrs supputuri 0 1,758 02-11-2013, 03:26 PM
Last Post: supputuri
  Schedule test set run using OTA baluonline 0 3,690 11-17-2012, 02:44 AM
Last Post: baluonline

Forum Jump:


Users browsing this thread: 1 Guest(s)