Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run QTP script on system without QTP IDE
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hello,

can I run a QTP script on a system where not install QTP?

I read that I can run QTP script in remote mode but I don't understand:

1. I lunch qtp script from not-qtp machine on the qtp machine or

2. I lunch qtp script from qtp machine on the not-qtp machine?


Thanks a lot
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
I don't know about remote machine but you can definitely launch qtp in local machine using a driver files (notepad.vbs) in which you have to create quicktest.application object and write automation scripts in it
Reply
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
can we run qtp script without installing qtp in local machine?
Reply
#4
Solved: 11 Years, 3 Months, 3 Weeks 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


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,453 05-17-2016, 10:48 AM
Last Post: amit25007
  System Utility Syntax chita26 1 4,924 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,506 10-21-2013, 07:19 PM
Last Post: kalyan_srirangam
  Script required to run any app as administrator kalyan_srirangam 0 2,641 09-02-2013, 08:18 PM
Last Post: kalyan_srirangam
  Delete icon in System tray arpan 2 4,063 07-12-2013, 07:38 PM
Last Post: arpan

Forum Jump:


Users browsing this thread: 2 Guest(s)