How to automate actions inside VNC viewer browser window?
Here is a test that we are trying to automate:
We have a server that runs Xen hypervisor (open source Xen 4.x, not Citrix Xen). The objective is to verify the creation of a Windows VM on this server.
The steps to be automated are as follows:
1. From one Linux server (we call it the controller server), launch a command line utility that creates the Windows VM (configuration file, boot disk etc.) and boots it with Windows operating system installation iso (Win 2008 R2 in this case)
2. Open the browser page of controller server and from there launch the graphical console of the VM
3. This launches a VNC viewer window inside the Firefox browser Window
4. Install Windows OS
5. Once the OS is installed, perform further operations inside the OS (from the same VNC viewer embedded Window in browser) like installation of network drivers etc.
6. Finally the VM is ready
Our objective is to automate steps 4 and 5 and we are looking for a tool that can recognize the objects inside the browser Window
I tried Selenium but it can only see the parent browser Window when I inspect the element using Firebug – see below:
<applet width="800" height="429" mayscript="1" style="visibility: visible;" archive="VncViewer.jar" code="VncViewer.class" codebase="/-----/ultravnc" id="vnc_viewer"><param value="1" name="USESSL">
Is there any tool out there that we could use? We have already tried sending keystrokes and that has worked to an extent, but is not reliable
Please share your expert opinion
The image for VNC viewer Window mentioned in step 3 can be seen below:
Free large file exchange service without size limits
Tags for this Thread