SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

Answered
0
0

Hi,

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.

Thanks

Version
4.2
  • You must to post comments
Best Answer
0
0

Hi Alan

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!

Best regards,
Andrew

  • Gennady Verdel
    Hi. Thanks for the reply. Is there any possibility of publishing this screenshot-comparing framework? I’m currently in process of selecting a charting framework and this could be the decisive factor to pick SciChart.
  • Andrew
    Hi Gennady, we publish all our unit tests in the source-code editions of SciChart WPF. That includes the Screenshot-comparison tests which we call ‘Visual Tests’. I’m not at liberty to share the code of this outside of a license between yourselves and ourselves though.
  • You must to post comments
0
0

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 must to post comments
Showing 2 results
Your Answer

Please first to submit.