Sikulix Screen parallel testing
Asked by
Ana Vukovic
Hi,
I am usin sikulix on Mac version 2.0.6 and when I run one test, it is doing fine, but when I run in parallel, images are not recognized or clicked, but with no error. I tried with class ThreadLocal, but results are the same
private static final ThreadLocal<Screen> threadScreen = new ThreadLocal<>();
public void setDriver(Screen screen) {
}
public static void initializeSikulix() throws MalformedURLExc
Screen screen = new Screen();
}
public static Screen getScreen() {
return threadScreen.get();
}
And usage in test:
SikulixFactory
Can you help me to run this in parallel?
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.