Not able to execute automation script through RemoteLaunch

Monday, August 26, 2013
Avatar
My organization uses SpiraTest. RemoteLaunch is being used to integrate SpiraTest with the automation tool "Testing Anywhere" through Command line engine plugin.

I added all the details about automation hosts on SpiraTest. Also gave the same token everywhere(On RemoteLaunch and SpiraTest). When I schedule a test set having a test case to execute automation script at a particular time, the RemoteLaunch is able to correctly detect the test cases that are to be run at that particular time. But, at the time of execution, the execution fails and the status "Blocked" is assigned to the test run.

I give the full path of the .bat file (present on the automation host) in the "Filename" field under Automation tab of the test case (Linked file). The .bat file contains the command to run the automation script.

Why am I not able to trigger execution of the automation script on the automation host?(Even after RemoteLaunch being able to detect that there are test cases to be executed on the host at a particular time). What should be the content of the "Filename" field exactly?
3 Replies
Wednesday, August 28, 2013
Avatar
re: aniketk39 Monday, August 26, 2013

Hi Aniket

Generally you are correct - the 'filename' should the path to the test to be executed. However .BAT files are not actually executables, just files that can be run by CMD.EXE so if your filename is currently:

C:\MyFolder\MyFile.bat

then use the following instead:

cmd.exe|C:\MyFolder\MyFile.bat

If that doesn't work, please submit a help desk ticket with a screenshot of the Filename and the blocked test run.

Regards

Adam

Wednesday, August 28, 2013
Avatar
re: inflectra.david Tuesday, August 27, 2013
Hi Adam,

I had previously tried to integrate the automation host using .bat files directly in the "filename" field during our evaluation period of SpiraTest and RemoteLaunch. It was working perfectly then. It is failing somehow now.

I also tried by entering cmd.exe|C:\MyFolder\MyFile.bat in the filename section. But it fails in this case too. Please Advice
Wednesday, August 28, 2013
Avatar
re: aniketk39 Wednesday, August 28, 2013
I also tried executing a exe file by giving the .exe path in "filename" field of test case. It doesn't trigger the .exe file also. What could be the issue?

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Monday, August 26, 2013
  • Last Reply: Wednesday, August 28, 2013
  • Replies: 3
  • Views: 6063