public void InputContactPhone(IWebElement ContactPhone, String contactphone) { if (!string.IsNullOrEmpty(ContactPhone.Text)) { return; } else { BasicMethods.EnterText(ContactPhone, contactphone); } }
public void InputContactEmail(IWebElement ContactEmail, String contactemail) { if (!string.IsNullOrEmpty(ContactEmail.Text)) { return; } else { BasicMethods.EnterText(ContactEmail, contactemail); } }
public void InputContactName(IWebElement ContactName, String contactname) { if (!string.IsNullOrEmpty(ContactPhone.Text)) { BasicMethods.EnterText(ContactName, contactname); DriverUtils.driver.FindElement(By.XPath("//*[@id='txtSupplierContactName-list']//li[contains(text(),'Usha D')]")).Click(); } else { BasicMethods.EnterText(ContactName, contactname); } }
public void InputComments(IWebElement Comments, String comments) { BasicMethods.EnterText(Comments, comments); }
public void ContactPhoneInput(IWebElement ContactPhone, String contactphone) { BasicMethods.EnterText(ContactPhone, contactphone); }
public void ContactEmailInput(IWebElement ContactEmail, String contactemail) { BasicMethods.EnterText(ContactEmail, contactemail); }
public void ContactNameInput(IWebElement ContactName, String contactname) { BasicMethods.EnterText(ContactName, contactname); // ContactDDList.FindElement(By.XPath(".//li[contains(text(),'Usha D')]")).Click(); }
public void ProductNumberInput(IWebElement ProductNumber, String productnumber) { BasicMethods.EnterText(ProductNumber, productnumber); }
public void MaterialURLInput(IWebElement MaterialURL, String materialurl) { BasicMethods.EnterText(MaterialURL, materialurl); }
public void SupplierURLInput(IWebElement SupplierURL, String supplierurl) { BasicMethods.EnterText(SupplierURL, supplierurl); }
public void SupplierPhoneInput(IWebElement SupplierPhone, String supplierphone) { BasicMethods.EnterText(SupplierPhone, supplierphone); }
public void CASInput(IWebElement CAS, String cas) { BasicMethods.EnterText(CAS, cas); }
public void InputMSDS(IWebElement MSDS, String msds) { BasicMethods.EnterText(MSDS, msds); }
public void InputSupplierName(IWebElement OrderPageSupplierName, String suppliername) { BasicMethods.EnterText(OrderPageSupplierName, suppliername); }
public void InputMaterialName(IWebElement OrderPageMaterialName, String materialname) { BasicMethods.EnterText(OrderPageMaterialName, materialname); }
public void InputCostCenter(IWebElement OrderPageCostCenter, String costcenter) { BasicMethods.EnterText(OrderPageCostCenter, costcenter); }