Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AOM in QTP
#1
Solved: 10 Years, 9 Months ago
How to run the qtp script through a file?
Reply
#2
Solved: 10 Years, 9 Months ago
Try this code

Code:
Dim AppQTP

Set AppQTP = CreateObject("QuickTest.Application")
AppQTP.Launch
AppQTP.Visible = TRUE

Set AppQTP = GetObject("","QuickTest.Application")
AppQTP.Windowstate = "Maximized"

AppQTP.Open "Z:\test1"
AppQTP.Test.Run
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  AOM script is running only one or two scripts. jramya 4 3,849 07-24-2014, 06:15 PM
Last Post: jramya
  How to invoke the recording of QTP using AOM(automation object model) of QTP shailesh.gcettb@gmail.com 2 3,967 05-08-2014, 10:30 AM
Last Post: Shriram
  Can QTP AOM identify word documents that are already opened anil2u 2 4,096 09-05-2013, 12:45 PM
Last Post: anil2u
  What is the use of AOM ? kirangoud 5 4,242 03-16-2012, 11:20 AM
Last Post: sshukla12
  MicWpfWindow from .NET AOM JozinSBazin 0 2,838 08-08-2011, 12:17 AM
Last Post: JozinSBazin

Forum Jump:


Users browsing this thread: 1 Guest(s)