Пример #1
0
 public void SelectHartfordFromDropdown()
 {
     DropDownControl dropDown = new DropDownControl(driver, By.XPath("//span[@aria-activedescendant='CurrentClient_option_selected']"));
     dropDown.selectElementByValue(By.XPath("//li[.='TheHartford']"));
     Logger.Trace("The Hartford client is selected.");
 }
Пример #2
0
 public void ExpandDNISControl()
 {
     DropDownControl dropDown = new DropDownControl(driver, By.XPath("//span[@aria-activedescendant='CurrentClient_option_selected']"));
     dropDown.expandDropDown(By.XPath("html/body/div[2]/div[3]/div/table/tbody/tr/td[1]/table/tbody/tr[2]/td[2]/form/span/span/span[2]/span"));
 }
Пример #3
0
 public void ExpandSelectDataVersionDropdown()
 {
     DropDownControl dropDown = new DropDownControl(driver, By.XPath("html/body/div[2]/div[3]/div/table/tbody/tr/td[1]/table/tbody/tr[1]/td[2]/form/span/span"));
     dropDown.expandDropDown(By.XPath("html/body/div[2]/div[3]/div/table/tbody/tr/td[1]/table/tbody/tr[1]/td[2]/form/span/span"));
 }
Пример #4
0
 public void ExpandClientDropdown()
 {
     DropDownControl dropDown = new DropDownControl(driver, By.XPath("//span[@aria-activedescendant='CurrentClient_option_selected']"));
     dropDown.expandDropDown(By.XPath("html/body/div[1]/div[1]/div/div/div[2]/div[1]/form/span/span"));
 }