New to Telerik Test Studio? Download free 30-day trial

Verify All Text in a Silverlight ComboBox

This is possible with a coded solution:

ComboBox cb = Pages.SilverlightToolkitSamples.SilverlightApp.Item0Combobox;

string full = cb.TextBlockContent.ToString();
full = full.Trim();

Log.WriteLine(full);
Assert.AreEqual(full, "All Add Delete Edit Navigation None");
Dim cb As ComboBox = Pages.SilverlightToolkitSamples.SilverlightApp.Item0Combobox

Dim full As String = cb.TextBlockContent.ToString()
full = full.Trim()

Log.WriteLine(full)
Assert.AreEqual(full, "All Add Delete Edit Navigation None")
In this article