コード例 #1
0
ファイル: controls.cs プロジェクト: ZeroTull/MRA_Automation
 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
ファイル: controls.cs プロジェクト: ZeroTull/MRA_Automation
 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
ファイル: controls.cs プロジェクト: ZeroTull/MRA_Automation
 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
ファイル: controls.cs プロジェクト: ZeroTull/MRA_Automation
 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"));
 }