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

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"
LOCAL[Boolean]: true

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

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.

Previous Topic:GEF support in Eclipse 4.x
Next Topic:Build Jubula - Some required artifacts could not be downloaded
Goto Forum:

Current Time: Wed Feb 21 16:42:41 GMT 2024

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

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

Back to the top