Integration of Selenium Grid and Sikuli API

I am currently working on an automation testing environment that integrates with both the Selenium Grid and the Sikuli API.

I have already implemented a library that includes the functionality of Selenium and Sikuli, and it works well when I configure my hub and node on the same computer. However, this is exactly the same as running Selenium RC on a machine.

So, in order to achieve parallel testing, my next step is to start nodes from other machines and register them on a hub machine. The ideal environment is an instance of Amazon EC2.

Hub: Linux box

Nodes: win server 2008

It works great if I just ran tests using a library that only contains Selenium functions. However, I got an error message

"NO X11 DISPLAY was installed, but this program performed an operation requiring it."

Should I export the DISPLAY variable to the node ip address? And do I need to install the node machine as an X server? What if many instances are registered to hub computers?

Sorry for the vague question ... but any idea of ​​how to implement this structure is appreciated. I use a selenium grid, as there are many activities that perform a graph check. It would be very effective if I can do this in parallel.

Thanks so much for any help and advice.

+4
source share
2 answers

See my blog about integrating tools like Sikuli and AutoIt with selenium mesh. It gives a theoretical approach to the implementation of this automation, although, as far as I know, no one has yet implemented a working solution for the demonstration.

http://autumnator.wordpress.com/2011/12/22/autoit-sikuli-and-other-tools-with-selenium-grid/

On the other hand, you don’t know how your X.11 problem arose, it would be best to work with the infrastructure using a local network of computers with Selenium Grid before converting to Amazon EC2. This helps in the design and debugging process, as EC2 can present its own problems, so you want to first create the simplest basic Grid setup (not EC2).

+1
source

There is a project aimed at providing Sikuli with selenium mesh capabilities.

https://github.com/sterodium/selenium-grid-extensions

It works by adding extensions to both the Selenium Grid hub and nodes.

+4
source

All Articles