Exemplo n.º 1
0
 public void InputShippingInformation(String firstName, String lastName, String address, String zip, String city, String county, String state, String phoneNumber, String mobileNumber, String emailAddress)
 {
     FirstNameField.SendKeys(firstName);
     LastNameField.SendKeys(lastName);
     ShippingAddressField.SendKeys(address);
     if (!zip.Equals("N/A"))
     {
         ShippingZipField.SendKeys(zip);
     }
     if (!city.Equals("N/A"))
     {
         ShippingCityField.SendKeys(city);
     }
     if (!county.Equals("N/A"))
     {
         ShippingCountyField.SendKeys(county);
     }
     if (!state.Equals("N/A"))
     {
         ShippingStateField.SendKeys(state);
     }
     PhoneNumberField.SendKeys(phoneNumber);
     MobileNumberField.SendKeys(mobileNumber);
     EmailAddressField.SendKeys(emailAddress);
 }
Exemplo n.º 2
0
 public void InputShippingInformation(String firstName, String lastName, String address, String zip, String phoneNumber, String emailAddress)
 {
     FirstNameField.SendKeys(firstName);
     LastNameField.SendKeys(lastName);
     ShippingAddressField.SendKeys(address);
     ZipLookup(zip);
     PhoneNumberField.SendKeys(phoneNumber);
     EmailAddressField.SendKeys(emailAddress);
 }
Exemplo n.º 3
0
 public void InputShippingInformation(String firstName, String lastName, String address, String zip, String city, String state, String phoneNumber, String emailAddress)
 {
     FirstNameField.SendKeys(firstName);
     LastNameField.SendKeys(lastName);
     ShippingAddressField.SendKeys(address);
     ShippingZipField.SendKeys(zip);
     ShippingCityField.SendKeys(city);
     new SelectElement(ShippingStateSelect).SelectByText(state);
     PhoneNumberField.SendKeys(phoneNumber);
     EmailAddressField.SendKeys(emailAddress);
 }