Esempio n. 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();
 }
Esempio n. 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();
 }
Esempio n. 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);
 }
Esempio n. 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"));
        }
Esempio n. 5
0
 public void Setup()
 {
     driver = new ChromeDriver();
     driver.Navigate().GoToUrl("https://www.aviocredit.com.train/");
     AccountInfoPage.CreateDefaultAccount(driver).IDCredentials().Submit();
 }