Visit below link for the steps:-
https://www.dropbox.com/s/x1dzl74txcev0r0/Steps.png?dl=0
The seats are shown in a canvas
Visit below link for the steps:-
https://www.dropbox.com/s/x1dzl74txcev0r0/Steps.png?dl=0
The seats are shown in a canvas
you can use Sikuli for GUI Automation
Sikuli automates anything you see on screen using the image recognition method to identify GUI elements. Sikuli script allows users to automate GUI interaction by using screenshots.
You can get more info from below links- http://www.softwaretestinghelp.com/sikuli-tutorial-part-1/ http://www.devengineering.com/blog/testing/how-integrate-sikuli-script-selenium-webdriver
You can not locate an element in canvas, It is canvas element I don't think you can locate it.
it is canvas like this
<canvas class="pointer" data-type="lower" width="454" height="211"/>
and seats are embed to it
try
{
if(seats.size()>0)
{
for(WebElement abc : seats)
{
if(abc.isEnabled())
{
abc.click();
totalEnabledElements++;
}
}
}
}