How do we automate the application having canvas elements?

I am looking to automate the part of an application having canvas elements, I am not able to perform operations on any of the elements inside canvas element.

Default Asked on February 3, 2018 in Selenium WebDriver.
Add Comment
  • 1 Answer(s)

    The specific application I’m testing is sized for a tablet, and uses a combination of a Canvas taking up roughly 2/3 of the space and a set of JQueryMobile widgets taking up most of the remaining 1/3 of the space (there’s also a small space on top showing a read-only “status bar” with key statistics).

    The basic concept is an editable diagram on the Canvas, with specific edit controls in the JQuery Mobile area. You can hover, drag, and click parts of the diagram on the Canvas, which can change what’s displayed in the edit area, and changes you make in the edit area can add, remove, or change elements of the diagram in the canvas as well as update the values shown in the status bar.

    Default Answered on February 9, 2018.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.