Ejemplo n.º 1
0
 public void HummSignUpWithMedicare()
 {
     Test(() =>
     {
         var signUp = new SignUpWorkflow(Driver, extentTest);
         signUp.DeleteUser(DataLoad.GetData("Username"));
         signUp.EnteringPersonalInformationwithPassword("Auto");
         signUp.EnteringMedicareDetails(DataLoad.GetData("name"), DataLoad.GetData("medicareCardNumber"), DataLoad.GetData("medicareColor"), DataLoad.GetData("medicareReferenceNumber"), DataLoad.GetData("medicareExpDate"));
         signUp.DoubleCheckingInformation();
         signUp.AddingCardInformation(DataLoad.GetData("cardHolderName"), DataLoad.GetData("cardNumber"), DataLoad.GetData("cardExpiryDate"), DataLoad.GetData("cardCVC"));
         signUp.PickingAPin(DataLoad.GetData("pinNumber"));
         signUp.ValidateSignUp();
         signUp.DeleteUser(DataLoad.GetData("Username"));
     });
 }
Ejemplo n.º 2
0
 public void HummSignUpWithLicenseManualAddress()
 {
     Test(() =>
     {
         var signUp = new SignUpWorkflow(Driver, extentTest);
         signUp.DeleteUser(DataLoad.GetData("Username"));
         signUp.EnteringPersonalInformationwithPassword("manual");
         signUp.EnteringLicenseDetails(DataLoad.GetData("licenseNumber"), DataLoad.GetData("licenseCardNumber"), DataLoad.GetData("licenseExpiryDate"));
         signUp.DoubleCheckingInformation();
         signUp.AddingCardInformation(DataLoad.GetData("cardHolderName"), DataLoad.GetData("cardNumber"), DataLoad.GetData("cardExpiryDate"), DataLoad.GetData("cardCVC"));
         signUp.PickingAPin(DataLoad.GetData("pinNumber"));
         signUp.ValidateSignUp();
         signUp.DeleteUser(DataLoad.GetData("Username"));
     });
 }