Thread

Skip Navigation LinksForums > RemoteLaunch Forums > RemoteLaunch Issues & Que... > Not able to execute autom...

Not able to execute automation script through RemoteLaunch RSS Feed

Monday, August 26, 2013
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
Adam SAdam S
re: Aniket K on Monday, August 26, 2013
Tuesday, August 27, 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

Aniket KAniket K
re: Adam S on Tuesday, August 27, 2013
Wednesday, August 28, 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
Aniket KAniket K
re: Aniket K on Wednesday, August 28, 2013
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?
Tagged
Statistics
  • Started: 8/26/2013
  • Last Reply: 8/28/2013
  • Replies: 3
  • Views: 3420
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.