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
close icon

Automated Test Tool for the Diagram Control?

Hi,

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.

Jim


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();  
Regards, 
Naganathan K G 


Loader.
Live Chat Icon For mobile
Up arrow icon