List of usage examples for org.openqa.selenium WebElement clear
void clear();
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterContactName(String contactNameString) throws Throwable { WebElement contactName = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[3]/div[1]/div/input")); contactName.clear(); contactName.sendKeys(contactNameString); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterContactPhone(String contactPhoneString) throws Throwable { WebElement contactPhone = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[3]/div[2]/div/input")); contactPhone.clear(); contactPhone.sendKeys(contactPhoneString); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterDetailAddress(String detailAddress) throws Throwable { WebElement detailAddressInput = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[5]/div/div/input")); detailAddressInput.clear(); detailAddressInput.sendKeys(detailAddress); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterCardNo(String cardNo) throws Throwable { WebElement cardNoInput = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[8]/div[3]/div/input")); cardNoInput.clear(); cardNoInput.sendKeys(cardNo);/*from w w w . j a v a 2 s .c o m*/ }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterEmployeeNum(String employeeNum) throws Throwable { WebElement employeeNumInput = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[9]/div[1]/div/input")); employeeNumInput.clear(); employeeNumInput.sendKeys(employeeNum); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterPlaceProportion(String placeProportion) throws Throwable { WebElement placeProportionInput = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[9]/div[2]/div/input")); placeProportionInput.clear(); placeProportionInput.sendKeys(placeProportion); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterSalesVolume(String salesVolume) throws Throwable { WebElement salesVolumeInput = driver.findElement(By.xpath( "/html/body/div/div[1]/div[1]/div[2]/div[1]/div/div/div/form/fieldset/div[1]/div[2]/div[9]/div[3]/div/input")); salesVolumeInput.clear(); salesVolumeInput.sendKeys(salesVolume); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterAccountName(String accountName) throws Throwable { WebElement accountNameText = driver.findElement( By.xpath("/html/body/div[1]/div[1]/div[2]/div/div/form/div[1]/div[1]/div[1]/div/input")); accountNameText.clear(); accountNameText.sendKeys(accountName); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterSubBankName(String subBankName) throws Throwable { WebElement subBankNameText = driver.findElement( By.xpath("/html/body/div[1]/div[1]/div[2]/div/div/form/div[1]/div[2]/div[1]/div/input")); subBankNameText.clear(); subBankNameText.sendKeys(subBankName); }
From source file:cls.ui.model.selenium.carDealerManage.BasicInfoPage.java
public void enterBankCardNum(String bankCardNum) throws Throwable { WebElement cardNumText = driver.findElement( By.xpath("/html/body/div[1]/div[1]/div[2]/div/div/form/div[1]/div[2]/div[2]/div/input")); cardNumText.clear(); cardNumText.sendKeys(bankCardNum);/*w w w .j av a 2 s . com*/ }