[Robot Framework] Run Process and continue using Sikuli Commands

Asked by deepak

I am using Robot Framework with Sikuli Library thanks to Rainmanwy's GitHub project.
I added Robot Framework's another library "Process" and started using Run Process "myapp".
The immediate next thing I wanted to use is sikuli library command on myapp window.
But the problem I face is my sikuli commands are never executed and myapp remains in open status.

*** Settings ***
Suite Setup Start Sikuli Process
Suite Teardown Stop Remote Server

Library SikuliLibrary mode=NEW
Library Process
....
*** Test Cases ***
MyTestCase
    Run Process MyApp shell=True
    Wait Until Screen Contain entities.png 10
    Click filemenu.png

Is there a way out to use both libraries on the same app? Or the myapp launched can never be used like this, whats the reason?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Looks like
Run Process MyApp shell=True

does not delegate to a new thread, so it does not come back immediately and hence blocks the continuation of the testcase.

Consult the relevant docs.

Can you help with this problem?

Provide an answer of your own, or ask deepak for more information if necessary.

To post a message you must log in.