Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Execute Extermal Command - run Sikuli script -> wrong exit code(Execute Extermal Command - run Sikuli script -> wrong exit code)
Execute Extermal Command - run Sikuli script -> wrong exit code [message #1701610] Tue, 14 July 2015 12:36 Go to next message
Robert Unknown is currently offline Robert UnknownFriend
Messages: 4
Registered: July 2015
Junior Member
Hey,

i wrote a teststep which execute an external commad:

im using this parameters:
COMMAND [String]: "C:\\Sikuli\\runsikulix.cmd" -r "C:\\Sikuli\\Test_1.sikuli"
EXPECTED_EXIT_CODE[Integer]: 0
LOCAL[Boolean]: true
TIMEOUT_IN_MILISECS[Integer]: 10000

When i just run the test case the sikuli script is executed well, but the exit code is ever 0.

When i say exit(99) in my Sikuli script. Jubula still receive the exit code 0 and marked the teststep as successfull.

What i'm doing wrong?

Re: Execute Extermal Command - run Sikuli script -> wrong exit code [message #1701618 is a reply to message #1701610] Tue, 14 July 2015 13:13 Go to previous message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Hi,

this may be connected to [1] and [2].
Please keep in mind that the ub_app_executeExternalCommand action is not really designed to deal with parameters when executing an external command.
A workaround can be to have different files which include the actual command + the parameter.
Regards
Oliver

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=470982
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=470983
Previous Topic:GEF support in Eclipse 4.x
Next Topic:Build Jubula - Some required artifacts could not be downloaded
Goto Forum:
  


Current Time: Fri Apr 26 05:44:21 GMT 2024

Powered by FUDForum. Page generated in 0.02981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top