Hello,
I'm using the Telerik Testing Framework to do UI Automation within a Silverlight application.
I was wondering how I can automate a user selecting an item from a RadControlBox in a programmatic manner.
Thanks, Joe
I'm using the Telerik Testing Framework to do UI Automation within a Silverlight application.
I was wondering how I can automate a user selecting an item from a RadControlBox in a programmatic manner.
Thanks, Joe
[TestMethod]
public
void
UIChecks ()
{
_RadComboBox CB_Boundary = myApp.FindName<RadComboBox>(
"CB_Boundary"
);
Assert.IsNotNull(CB_Boundary);
Sleep(1);
// Don't know how to click on RadComboBoxItems, this maybe?
CB_Boundary.User.Click();
//ArgumentException
//ComboBox contains no items to search in and select! Please make sure the test case opens
CB_Boundary.SelectItem(
"Boundry"
,
true
);
//Select Boundry Item
Sleep(1);
}