Or How to Ensure It Does what you want
Automating a Grid component can be a challenge and not because it’s hard. It has it subtleties, but it’s not the most complicated thing in the trade, by far. With Telerik Test Studio you can test RadGrid for Asp.Net AJAX with ease and thoroughness. In this blog post I’ll show a few tips that can make this not only possible, but a child’s play for everyone.
Telerik’s software testing solution Test Studio comes with built-in translators for all of its component suites. This means that you get convenient verifications when you hover over specific elements like the Grid’s column headers. In the attached picture you can see a sorting verification.
The same applies for the actions as well – clicking the numbers in the pager will record as a RadGrid specific action for navigating to a given page. Telerik Test Studio provides verifications which validate the pager mode and the selected page. We can also go as far as drag-drop grouping actions and verifications for the currently grouped columns. It’s all there!
Now let’s step back a bit and look at the bigger picture. A good Grid is a composite component. RadGrid is no different in this regard. It contains text boxes, date pickers, combo boxes, HTML editors and what not. When you are automating this control, you actually need all the nested ones to be supported as well. In the upcoming blog posts we’ll be focusing on those. Stay tuned for more details on how to automate your RadEditor, RadComboBox, RadTreeView and more!
But for now I’ll leave you to explore how versatile automating with Test Studio can be!