← Back to team overview

sikuli-driver team mailing list archive

[Question #267140]: How to App.open() correctly with sikulix API

 

New question #267140 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267140

Hi,

I am writing a automation test with sikulix package, 1.1.0-SNAPSHOT. When I try to launch the application, a exe file, with App.open(<path>) on Windows 7. It launches the application twice. Also, it seems every time I call the app.focus. It will launch a new instance of the application. Could some one tell me how to use it correctly?

In my class, I have 

class {
App test;

public void launch(String arg1){
test.open(arg1);
}
}

Where arg1 will be the path.

Thank you in advance!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.