Using VM's: Get ScreenResolution when no monitor is present --- not possible

Asked by Chetan

we are currently using logInfo(showMonitors()) to get the resolution
however when we run our test on vms then no monitor is attached and we are not able to get the resolution with ShowMonitors() as it returns empty
is there a way to get the resolution of vm?

this would help us in getting resolution as per the vm. once we have it we can set the same on our laptop and then take screenshot as test teams does not have access to the vms

Question information

English Edit question
SikuliX Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :

You have to create some own command script or program, that evaluates the VM's resolution and run it from within a SikuliX script.

Can you help with this problem?

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

To post a message you must log in.