← Back to team overview

sikuli-driver team mailing list archive

[Question #238332]: Run Sikuli Script on VM without RDP session open

 

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

we're trying to run sikuli in a VM which doesn't have RDP connected. Here are the steps
1. create a VM (win2k8R2) with auto logon enabled and will login as Administrator when the VM created.
2. use WinRM to remote connect to the VM and use "schtasks" to create a task and run that task which will invoke the java command to run sikuli. This  should supposedly launch the task in an active display session.

result:

#1. App.focus works to set the focus on the application
#2. Screen.capture() works to capture the screen shot of the whole screen (with the application on the screen)
#3. Screen.wait("image.png", 100) doesn't work and couldn't find the image on the screen.

if we RDP to the VM, the sikuli will work fine to find the image on the screen. Any idea?
If #1 and #2 work, it seems Sikuli should be able to see the screen display?



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