sikuli to work on backgroud task

Asked by uttam sali

Hi,I am using selenium webdriver and sikuli integrated with it. so i have to code in java in eclipse IDE. I have a scenario where i have to test many cases, simultaneous i should some other work. But with sikuli i Found that the screen should be foreground, it cannot perform the tasks if its has to interact with backgroud.
example these few lines are part of code where sikuli selects a screen and finds image and cliks
                    Screen s=new Screen();
       s.exists("img/openpopup.jpg", 0);
      s.click("img/open.jpg", 0);
       s.click("img/ok1.png",0);
here if Iam working on some other screen parallel and sikuli assumes my current screen which I am running as the scenari and tries to find the image on my current screen. which throws an error because it cant find the image.

this is what I need is there any way so that sikuli would check for even the invisible screen (or back ground screen) and then check for image? why because i dont want to stay computer idle to just run it for automating sikuli but also I need to simultaneously work on it so that if you have too many test cases you wont loose time and in java I can use a log that I can check at the end of the test code to see if any failures...

please help me guys ... I am new to sikuli i dont know how to make it work on the back ground screens
thank you

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

Not possible: Sikuli needs access to real screen, real mouse and real keyboard.

But there are some possibilities using virtualization: In a VM Sikuli might even continue to work, when the VM window is moved to background (e.g. minimized).

Google is your friend ;-)

Can you help with this problem?

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

To post a message you must log in.