Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run QTP script on system without QTP IDE
#4
Solved: 10 Years, 9 Months, 1 Week ago
Hi Sandya,

you cannot run qtp script without installing qtp in local machine because in this way you infrange the license term of qtp.

But you can run qtp test in automatic way on a machine where qtp is installed. If you click Tools-->Options-->General Tab-->Generate Script you create a .vbs that permits to open qtp IDE. Then you can add these follow lines to open a qtp test, to run it and to save the results

Code:
Set App = CreateObject("QuickTest.Application")
...
App.Open "your_path\qtp_test"
Set qtResult = CreateObject("QuickTest.RunResultsOptions")
qtResult.ResultsLocation = "your_path\results_folder"
App.Test.Run qtResult


Cheers

Andrea
Reply


Messages In This Thread
RE: Run QTP script on system without QTP IDE - by nacchio - 10-12-2011, 06:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to run multiple iterations only on a set of lines in script amit25007 0 2,263 05-17-2016, 10:48 AM
Last Post: amit25007
  System Utility Syntax chita26 1 4,721 11-04-2014, 12:41 PM
Last Post: vinod123
  Is it possible to run the QTP scripts on machine with out QTP is installed? kalyan_srirangam 2 3,333 10-21-2013, 07:19 PM
Last Post: kalyan_srirangam
  Script required to run any app as administrator kalyan_srirangam 0 2,526 09-02-2013, 08:18 PM
Last Post: kalyan_srirangam
  Delete icon in System tray arpan 2 3,898 07-12-2013, 07:38 PM
Last Post: arpan

Forum Jump:


Users browsing this thread: 1 Guest(s)