Ejemplo n.º 1
0
 private void ClickDropdownComponentByPartialName(string optionName)
 {
     if (!GetDropdownComponent().IsExistDropdownOptionByPartialName(optionName))
     {
         // TODO Develop Custom Exception
         throw new Exception("OptionName not found.");
     }
     GetDropdownComponent().ClickDropdownOptionByPartialName(optionName);
     dropdownComponent = null;
 }
Ejemplo n.º 2
0
 private void InitElements()
 {
     dropdownComponent = null;
 }
Ejemplo n.º 3
0
 private void CloseDropdownOption()
 {
     ClickSearchField();
     dropdownComponent = null;
 }
Ejemplo n.º 4
0
 private DropdownComponent CreateDropdownComponent(By searchLocator)
 {
     dropdownComponent = new DropdownComponent(driver, searchLocator);
     return(GetDropdownComponent());
 }