here is an example using selenium-webdriver you can do the same with watir-webdriver
http://www.youtube.com/watch?v=yugolxP3rhc&feature=plcp https://github.com/davehunt/selenicopterpilot On Wed, Jul 11, 2012 at 1:33 PM, Shiv <[email protected]> wrote: > Hello, > > I am working on social games that uses html5 & javascript technology, it > is supported on multiple platforms and browsers. My problem is, every time > we have a new game, it needs to be tested on all the platforms that > includes desktops+browsers and devices(browsers+native). It is time > consuming, because there are multiple iterations or builds for each game. > > These games are rendered within the canvas element provided in html5. > Within the canvas, user does different actions to interact with the game, > but for watir or selenium canvas is a black box. > > Is there any way to automate these events/actions within canvas using > watir? > > If not,can the developers provide any testability to automate? > > regards, > Shiv > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
