Run Test Set Scheduler error IDispatch Error #601
Question ID: 104739
1
0

We are currently trying to execute scripts from our QC Dev environment using the Run Test Set Scheduler. This is what we have currently:

RunTestSet.exe /s:http://QC10SERV:8080/qcbin /d:TestProject /u:qcadmin /p:qcadmin /f:Root\\test\\ /t:automated

When we execute this through command prompt or in a batch we get the error returned: "IDispatch Error #601." Any ideas on what we are doing wrong?

Marked as spam
Posted by (Questions: 100, Answers: 4)
Asked on December 7, 2012 2:14 pm
70 views
Answers (1)
2
Private answer

What seems to be happening is that you are using the older version of the Run Test Set Scheduler. In the old version the documentation is incorrect. In the documentation it is stated that you do not need to use /h: or /l to specify the host the test is run on, but this is incorrect. If you are using the old version of RunTestSet.exe your code should look like this:

RunTestSet.exe /s:http://QC10SERV:8080/qcbin /d:TestProject /u:qcadmin /p:qcadmin /f:Roottest /t:automated /l

Or

RunTestSet.exe /s:http://QC10SERV:8080/qcbin /d:TestProject /u:qcadmin /p:qcadmin /f:Roottest /t:automated /h:exmachinename

Another option would be to install the latest version of the Run Test Set Scheduler which does not have this issue with the /h: or /l. You can get this file from your support rep. You can tell which version you are using by the name of the exe. RunTestSet.exe is the old version, RunTestSetScheduler_ALM.exe is the newer version.

In the newer version if you were to use the code below the test should run on whatever machine it is set up to use in the QC/ALM UI at least as the documentation reads, but from what I have seen the test will execute locally if you leave out the /l /h: or /g: parameters.

RunTestSetScheduler_ALM.exe /s:http://QC10SERV:8080/qcbin /d:TestProject /u:qcadmin /p:qcadmin /f:Roottest /t:automated

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on December 7, 2012 2:15 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top