Exemplo n.º 1
0
 public void SetClaimantInfo(string taxType, string taxID, string firstName, string middleName, string lastName, string suffix, string businessName, string addressType, string address1, string address2, string city, string state, string zipCode, string emailAddress, string confirmEmailAddress, string homePhone, string mobilePhone, string mobileProvider, string communicatePref)
 {
     elementUtils.SelectRadioButtonByValue(DocumentIntakeDetailsPage.TaxType, taxType);
     if (taxType.Equals("1"))
     {
         elementUtils.SetStaleElementWait(DocumentIntakeDetailsPage.TaxNumberSSN);
         elementUtils.SetElementExistsWait(DocumentIntakeDetailsPage.TaxNumberSSN);
         elementUtils.SendKeys(DocumentIntakeDetailsPage.TaxNumberSSN, taxID);
     }
     else
     {
         elementUtils.SetStaleElementWait(DocumentIntakeDetailsPage.TaxNumberEIN);
         elementUtils.SetElementExistsWait(DocumentIntakeDetailsPage.TaxNumberEIN);
         elementUtils.SendKeys(DocumentIntakeDetailsPage.TaxNumberEIN, taxID);
     }
     elementUtils.SendKeys(DocumentIntakeDetailsPage.FirstName, firstName);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.MiddleName, middleName);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.LastName, lastName);
     elementUtils.SelectDropDownByText(DocumentIntakeDetailsPage.Suffix, suffix);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.BusinessName, businessName);
     elementUtils.SelectRadioButtonByValue(DocumentIntakeDetailsPage.AddressType, addressType);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.Address1, address1);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.Address2, address2);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.City, city);
     elementUtils.SelectDropDownByText(DocumentIntakeDetailsPage.State, state);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.ZipCode, zipCode);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.EmailAddress, emailAddress);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.CEmailAddress, confirmEmailAddress);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.HomePhone, homePhone);
     elementUtils.SendKeys(DocumentIntakeDetailsPage.Mobile, mobilePhone);
     elementUtils.SelectDropDownByText(DocumentIntakeDetailsPage.MobileProvider, mobileProvider);
     elementUtils.SelectRadioButtonByValue(DocumentIntakeDetailsPage.CommPref, communicatePref);
 }