Beispiel #1
0
 public void Setup()
 {
     driver = new ChromeDriver();
     driver.Navigate().GoToUrl("https://www.aviocredit.com.train/");
     AccountInfoPage.CreateDefaultAccount(driver).IDCredentials().Submit();
     PersonalInfoPage.CreateDefaultPersonal(driver).UseParameters().UseParametersDoB().UseParametersID().UseParametersAddress().UseParametersAPT().UseParametersMovinDate().UseParametersMobilePhone().Submit();
 }
Beispiel #2
0
 public void Setup()
 {
     driver = new ChromeDriver();
     driver.Navigate().GoToUrl("https://www.aviocredit.com.train/");
     AccountInfoPage.CreateDefaultAccount(driver).IDCredentials().Submit();
     PersonalInfoPage.CreateDefaultPersonal(driver).UseParameters().UseParametersDoB().UseParametersID().UseParametersAddress().UseParametersAPT().UseParametersMovinDate().UseParametersMobilePhone().Submit();
     IncomeInfoPage.CreateDefaultIncome(driver).UseParametersSourceOfIncome().UseParamatersEmployerNamePhone().UseParametersHireDate().UseParametersPaycycle();
     IncomeInfoPage.CreateDefaultIncome2(driver).UseParametersGrossNetPay().Submit();
 }
Beispiel #3
0
 public void PositiveTest()
 {
     AccountInfoPage.CreateDefaultAccount(driver)
     .withPassword("Speedy123$")
     .withSequrityQuest("16")
     .IDCredentials()
     .Submit();
     result = VerifyURL.ValidateURL(driver, "https://secure.aviocredit.com.train/LoanApplication/Personal");
     Assert.IsTrue(result);
 }
Beispiel #4
0
        public static AccountInfoPage CreateDefaultAccount(IWebDriver driver)
        {
            AccountInfoPage AIP = new AccountInfoPage(driver);

            return(AIP.ApplyBtn()
                   .GenerateEmail()
                   .withPassword("Speedy123$")
                   .withConfirmPassword("Speedy123$")
                   .withSequrityQuest("14")
                   .withSecurityAnswer("something"));
        }
Beispiel #5
0
 public void Setup()
 {
     driver = new ChromeDriver();
     driver.Navigate().GoToUrl("https://www.aviocredit.com.train/");
     AccountInfoPage.CreateDefaultAccount(driver).IDCredentials().Submit();
 }