10-12-2011, 06:47 PM
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
Cheers
Andrea
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