how to close the current application with java code
Asked by
jerry
I'm currently using java code to open and close my desktop application, seems App.close() does't work.
my code:
static string hitestpathstrin
static App testApp=new App("hitest");
public static void openApp(){
testApp=
}
public static void closeApp(){
testApp=
testApp.close():
}
the problem is: App.open() works but close() doesn't.
Any advice is appreciated, thanks in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.