Recording Tests Against RadGrid for ASP.NET AJAX
Test Studio translators record actions against RadGrid controls performed in the recording browser. Even complex actions will create corresponding steps in the Test Studio Test Steps pane. These include steps like paging, item selection and deletion, column reorder, and grouping items by column value.
See the table below for a complete list of handled actions.
Creating Verifications and Extractions
Test Studio translators create verifications and extractions against the RadGrid from the Elements Menu. Because a RadGrid includes a hierarchy of child controls, some elements in the RadGrid overlap visually. To specify the correct target element, enable Hover-Over Highlighting and hover over the target element to open the translator flippers.
Select the correct target element from the translator flippers. This will open up the Elements Menu. Special verification and extraction options for the RadGrid are available in the Quick Tasks menu.
See the table below for a complete list of verifications.
Locating Dynamic Elements
For some elements in the RadGrid, Test Studio will use unique IDs to locate the target element.
Edit the find logic for an element by selecting Edit in Live from the element context menu in the Elements Explorer.
If the ordering of the data in the RadGrid may change between test executions, consider using a find logic that is consistent across executions, such as text content.
RadGrid Element Hierarchy