Hi,
I've gotten pretty familiar with how to use Telerik Test Studio to automate Silverlight controls, but I'm struggling with how to make the test steps more dynamic.
For example, I have a RadTabControl that has tabs that might vary. I'm trying to figure out a way to automate which tab I click on, but the tab might be in a different spot and I'm not sure if it will always have the same value for AutomationId or XamlTag. I'd really like a way to create a test that will click on a tab depending on the text on that tab, but I haven't been able to figure out how to do that by editing the elements created by Test Studio.
Is there an easy way to automate a test but have the step where the test clicks on a tab item be variable depending on the text we're looking for on the tab itself? Even if I have to edit the text for the tab in Test Studio before I run it, I'd like a way to change which text I'm looking for on the tab.
I'm also going to be looking to do this with iterating through rows in a grid view, but for now I'm starting with the tabs.
Thanks in advance for the help!
I've gotten pretty familiar with how to use Telerik Test Studio to automate Silverlight controls, but I'm struggling with how to make the test steps more dynamic.
For example, I have a RadTabControl that has tabs that might vary. I'm trying to figure out a way to automate which tab I click on, but the tab might be in a different spot and I'm not sure if it will always have the same value for AutomationId or XamlTag. I'd really like a way to create a test that will click on a tab depending on the text on that tab, but I haven't been able to figure out how to do that by editing the elements created by Test Studio.
Is there an easy way to automate a test but have the step where the test clicks on a tab item be variable depending on the text we're looking for on the tab itself? Even if I have to edit the text for the tab in Test Studio before I run it, I'd like a way to change which text I'm looking for on the tab.
I'm also going to be looking to do this with iterating through rows in a grid view, but for now I'm starting with the tabs.
Thanks in advance for the help!