Can someone help me to use RunTestSet with QTP scripts?
[Description of Error]
We are recently converting all our test scripts from WinRunner to QT Pro. We have used RunTestSet to run our WinRunner scripts and are quite satisfied with how it works. Now, we have added QTP scripts to our testsets and get the following responses when running RunTestSet from the test machine:
Initializing TDServer http://<myServer>/qcbin
Connecting to myProject
Checking TestSet : \temp1\Peggy\QTP
Starting test set execution...
Environmental failure in Test 39971
Finished test set execution ...
Disconnecting from TD
ErrorLevel gets set to 0
Within QuickTest Professional, we have a checkmark in Tools > Options > Run > Allow other HP products to run tests and components.
[Methods where Error does not occur]
We are able to run the test from QC 9.0 with the [Run Test Set] menu selection and the results are properly recorded in QC.
We are able to run the test from QuickTest Professional with the Automation > Run command and selecting the correct test set from within the Run window. Test results are properly recorded in QC.
We need to run unattended scheduled testsets. RunTestSet.exe can be run from a batch file and fired off around midnight by the Microsoft scheduler on each of our test machines. No one really wants to come in every midnight just to push the buttons on QC.
Is there any way to make RunTestSet.exe work properly with QTP?
I am using same setup and everything works fine for me. I am using QTP 9.5 and qc 9.2. make sure where every u r scheduling the .bat files that machine has appropriate QTP add-in for QC installed. and try to open QC and login to QC from this box atleast ones.
If you can open QC and run a QTP script from this box RunTestSet should work fine.
So first thing is make sure you can run the QTP script from QC from this box.