public void ChangePhysicalAddress(UserData userData)
 {
      this.ExecuteStep(() =>
     {
         Log.Info("Change Physical Addres Data");
         Address1Input.ClearFill(userData.Address1);
         SuiteNoInput.ClearFill(userData.SuiteNo);
         TownInput.ClearFill(userData.Town);
         stateSelect.SelectByText(userData.State);
         PostCodeInput.ClearFill(userData.PostCode);
         PhoneInput.ClearFill(userData.Phone);
         ExtInput.ClearFill(userData.Extension);
         FaxInput.ClearFill(userData.Fax);
         
     });
 }
Example #2
0
 public void TestSetUp()
 {
     this.userData = Factory.GenerateUserData();
 }
Example #3
0
 private  void VerifyPhysicalAddressData(UserData userData, UserData dataFromPage)
 {
     Log.Info("Verify Physical Address Data");
     Assert.AreEqual(userData.Address1, dataFromPage.Address1);
     Assert.AreEqual(userData.SuiteNo, dataFromPage.SuiteNo);
     Assert.AreEqual(userData.Town, dataFromPage.Town);
     Assert.AreEqual(userData.State, dataFromPage.State);
     Assert.AreEqual(userData.PostCode, dataFromPage.PostCode);
     Assert.AreEqual(userData.Phone, dataFromPage.Phone);
     Assert.AreEqual(userData.Extension, dataFromPage.Extension);
     Assert.AreEqual(userData.Fax, dataFromPage.Fax);
     Assert.AreEqual(userData.Email, dataFromPage.Email);
 }