Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Batch Test Script Help
#1
Not Solved Sad 
Hello seniors

I am trying to do batch testing using AOM script, I got from GC Reddy video on youtube but it's not working when I run it on my system. Basically, I save the 3 tests on desktop, then stored test file paths in another notepad file and made a vbs file with this script and placed folder path of all tests in it. I am getting error on line 2, I am new to scripting I am from nonIT background, please help. GC Reddy video is this : AOM Script for Batch Testing

Quote:Dim objFso, objTextstream, objQTP
Set objFso = CreateObject(“Scripting.FileSystemObject”)
Set objTextstream = objFso.OpenTextFile(C:\Users\333\Desktop\Script333.txt)

Set objQTP = CreateObject(“QuickTest.Application”)
ObjQTP.Launch

Do Until
objTextstream.AtEndofStream
Test path = objTextstream.ReadLine
ObjQTP.Test.Run
ObjQTP.Test.Close
Loop
ObjQTP.Quit
objTextstream.Close
Set objQTP=Nothing
Set objTextstream=Nothing
Set objFso=Nothing
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,322 04-04-2014, 05:29 PM
Last Post: mayankchauhan
  how to add test to test set using vb script ? dasappa 4 16,806 08-15-2012, 09:59 PM
Last Post: sunnystrikes
  "How to write Batch Script runner program" suresz449 2 3,839 12-19-2011, 05:15 PM
Last Post: Munna.Sarfraz
  how to handle errors while running test batch script sureshkumar 0 1,908 11-11-2011, 04:38 PM
Last Post: sureshkumar
  Batch run qa.dhara 0 2,134 04-06-2011, 01:02 AM
Last Post: qa.dhara

Forum Jump:


Users browsing this thread: 1 Guest(s)