New to Telerik Test Studio Dev EditionStart a free 30-day trial

Verify All Text in a Silverlight ComboBox

Here is the sample code to accomplish that.

C#
    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");
Not finding the help you need?
Contact Support