← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #296043]: openApp and switchApp not working properly with my Application on Linux

 

Question #296043 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/296043

Description changed to:
I'm trying to use openApp and switchApp on my application. I'm working
on CentOS 7.2. It's working on other applications like gnome-calculator
and Mozilla Firefox, but not on my application. I know the application
is accessible since it can be used by LDTP, so switchApp should be
possible.

Using switchApp:

print switchApp("MyApplication") 
returns 
[1:MyApplication ()] MyApplication

The 1 means there's been an error I suppose?

Using openApp:

print openApp("<path-to-MyApplication>/MyApplication")
returns
[25720:MyApplication ()] <path-to-MyApplication>/MyApplication

 It seems to work because it gets the PID 25720, but the application
doesn't start and when I use click() to find something in the
application it doesn't find it. So it seems like the application hasn't
started properly.

I've also tried the same thing with App.open() with the same result.

Any idea why it's not working? Thanks a lot! :)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.