We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Automated Test Tool for the Diagram Control?


We're looking into automated test tools for our application.
As a big part of our app revolves around the use of the diagram control, we'd like to select a test tool that is capable of a) capturing/recording the user interaction with a diagram and b) playing that back in the form of a test during which we can check/verify that specific operations have taken place (e.g., a node is connected to another node, or the diagram looks identical to what was created when the test was recorded).
Does Syncfusion have such an automated test tool, or can you recommend a third party tool that will satisfy this requirement?

Thanks for any advice you can offer on this subject.


1 Reply

NG Naganathan Ganesh Babu Syncfusion Team January 17, 2020 09:37 AM UTC

Hi Jim, 
In our diagram control, we use selenium/unit test automation. Please refer to an below code example for drag and drop functionality in selenium. Similarly, you can write test case for the other interactions. 
Code example:  
Actions action = new Actions(CommonUtil.Driver); action.ClickAndHold().MoveByOffset(100, 0).Release().Build().Perform();  
Naganathan K G 

Live Chat Icon For mobile
Up arrow icon