示例#1
0
 public void InputContactPhone(IWebElement ContactPhone, String contactphone)
 {
     if (!string.IsNullOrEmpty(ContactPhone.Text))
     {
         return;
     }
     else
     {
         BasicMethods.EnterText(ContactPhone, contactphone);
     }
 }
示例#2
0
 public void InputContactEmail(IWebElement ContactEmail, String contactemail)
 {
     if (!string.IsNullOrEmpty(ContactEmail.Text))
     {
         return;
     }
     else
     {
         BasicMethods.EnterText(ContactEmail, contactemail);
     }
 }
示例#3
0
 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);
     }
 }
示例#4
0
 public void InputComments(IWebElement Comments, String comments)
 {
     BasicMethods.EnterText(Comments, comments);
 }
示例#5
0
 public void ContactPhoneInput(IWebElement ContactPhone, String contactphone)
 {
     BasicMethods.EnterText(ContactPhone, contactphone);
 }
示例#6
0
 public void ContactEmailInput(IWebElement ContactEmail, String contactemail)
 {
     BasicMethods.EnterText(ContactEmail, contactemail);
 }
示例#7
0
 public void ContactNameInput(IWebElement ContactName, String contactname)
 {
     BasicMethods.EnterText(ContactName, contactname);
     // ContactDDList.FindElement(By.XPath(".//li[contains(text(),'Usha D')]")).Click();
 }
示例#8
0
 public void ProductNumberInput(IWebElement ProductNumber, String productnumber)
 {
     BasicMethods.EnterText(ProductNumber, productnumber);
 }
示例#9
0
 public void MaterialURLInput(IWebElement MaterialURL, String materialurl)
 {
     BasicMethods.EnterText(MaterialURL, materialurl);
 }
示例#10
0
 public void SupplierURLInput(IWebElement SupplierURL, String supplierurl)
 {
     BasicMethods.EnterText(SupplierURL, supplierurl);
 }
示例#11
0
 public void SupplierPhoneInput(IWebElement SupplierPhone, String supplierphone)
 {
     BasicMethods.EnterText(SupplierPhone, supplierphone);
 }
示例#12
0
 public void CASInput(IWebElement CAS, String cas)
 {
     BasicMethods.EnterText(CAS, cas);
 }
示例#13
0
 public void InputMSDS(IWebElement MSDS, String msds)
 {
     BasicMethods.EnterText(MSDS, msds);
 }
示例#14
0
 public void InputSupplierName(IWebElement OrderPageSupplierName, String suppliername)
 {
     BasicMethods.EnterText(OrderPageSupplierName, suppliername);
 }
示例#15
0
 public void InputMaterialName(IWebElement OrderPageMaterialName, String materialname)
 {
     BasicMethods.EnterText(OrderPageMaterialName, materialname);
 }
示例#16
0
 public void InputCostCenter(IWebElement OrderPageCostCenter, String costcenter)
 {
     BasicMethods.EnterText(OrderPageCostCenter, costcenter);
 }