Does SciChart use automation peers? Is there any documentation about UI test automation for SciChart?
My company uses SciChart to develop a WPF desktop application. We want to automate our testing using toolts like Coded UI or Test Complete.
No we don’t, because Automation and UIAutomation only really works with basic WPF types such as TextBox, Button, Checbox etc… It doesn’t work with a complex controls drawn on bitmap or texture. You can try commercial products like Telerik Test Studio or Ranorex but they won’t really work either as they’re built on the same underlying technology.
What we did instead was wrote our own framework to test the UI by comparing screenshots. We also mock out most of our types (thats why there are so many interfaces like ISciChartSurface, IAxis etc…) so that we can use standard unit testing.
Hope that helps — or at least — saves you some time going down this route!
See also related question https://www.scichart.com/questions/question/wpf-automation which has some additional info about SciChart’s internal screenshot-comparison testing framework.
You may be interested to know how we automation test the chart. Mostly doing screenshot comparison, however it is now possible to proved some level of UIAutomation in SciChart.
See more at the video below:
Please login first to submit.