What automation tools can be used for yfile based graphs

174 Views Asked by At

I have a UI where yFiles based graphs are used. What would be the best automation tool suitable to automate and test the same

1

There are 1 best solutions below

0
On

yFiles for HTML can be automated using the usual tools for web UI automation with some caveats (see below). Internally we use the Selenium WebDriver API, but some other approaches work as well.

The main requirement for an automation tool is that events are reproduced faithfully like they would be by normal interaction with a browser. yFiles can be very sensitive to the correct order of input events, since we use a state machine that can get out of sync if, e.g., a mouse-down event isn't followed by a mouse-up event. Some testing approaches don't bother raising the correct events (e.g. only raising a click event while disregarding the mouse-down and -up events) and this can sometimes cause yFiles to not work as expected.