Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch QTP and driver script
Not Solved

Could you help me with writing a script which will launch QTP, associate the function library and repository, import inputsheet and run the driver script?

Not Solved
Hi Eltee,

This can be done using VBScript. Search for it I am sure you will get something in this forum.
Not Solved
Since its easy to answer -
Search with the keyword as AOM or Quicktest.application
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life..
Pulsating Fiction - The writer in meSmile
Not Solved
Hi team,

I wanted to keep it simple. Here's my code:

Dim qtApp
Const ForReading = 1, ForWriting = 2
Dim fso, f, result
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("C:\Results.txt", ForWriting, True)
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Visible = True
Set qtResourcesTab = qtApp.Test.Settings.Resources
qtTestResourcesTab.ObjectRepositoryPath = "E:\Framework\Object_Repository\AAI_Object_Repository_merged_March24.tsr" "E:\Framework\SampleTest\DriverScript_WithoutDiscount",True,True
And VBScript error throws upon line 11 (w.r.t to qtResourcesTab). Please help me launch the correct Obj Rep and open the driver script in QTP.

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to run driver script to kick off scripts stored in QC? shipu 0 986 04-30-2014, 02:39 AM
Last Post: shipu
  Im new to QTP.. Trying to learn driver. suryaprasad 3 766 02-05-2014, 11:35 AM
Last Post: pranikgarg
  Attaching config file in driver script?? ruchi 3 726 01-24-2014, 12:32 PM
Last Post: basanth27
  "qtp.launch" throwing "class not registered" error auto_tester 0 986 08-13-2013, 10:52 PM
Last Post: auto_tester
  Driver Scripts and Result Viewer rjkmr.aiht 0 1,354 10-03-2012, 12:10 PM
Last Post: rjkmr.aiht

Users browsing this thread: 1 Guest(s)