public void TestFindChildElementWithName() { Assert.AreEqual(DropdownOption.Second.GetValue(), comboBox.FindChildElement <ILabel>(GetChildLocator(DropdownOption.Second.GetValue()), "2") .GetAttribute("value"), "Child option's value mismatch"); }