Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AOM in QTP
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
How to run the qtp script through a file?
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks 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 4,147 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 4,127 05-08-2014, 10:30 AM
Last Post: Shriram
  Can QTP AOM identify word documents that are already opened anil2u 2 4,381 09-05-2013, 12:45 PM
Last Post: anil2u
  What is the use of AOM ? kirangoud 5 4,419 03-16-2012, 11:20 AM
Last Post: sshukla12
  MicWpfWindow from .NET AOM JozinSBazin 0 2,929 08-08-2011, 12:17 AM
Last Post: JozinSBazin

Forum Jump:


Users browsing this thread: 1 Guest(s)