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();
     IncomeInfoPage.CreateDefaultIncome(driver).UseParametersSourceOfIncome().UseParamatersEmployerNamePhone().UseParametersHireDate().UseParametersPaycycle();
     IncomeInfoPage.CreateDefaultIncome2(driver).UseParametersGrossNetPay().Submit();
 }
Esempio n. 2
0
 public void PositiveTest()
 {
     IncomeInfoPage.CreateDefaultIncome(driver)
     .withEmployerNamePhone("Curo", "7797463362")
     .UseParametersSourceOfIncome()
     .UseParamatersEmployerNamePhone()
     .UseParametersHireDate()
     .UseParametersPaycycle();
     IncomeInfoPage.CreateDefaultIncome2(driver)
     .withGrossNetPay("4000", "3000")
     .UseParametersGrossNetPay()
     .Submit();
 }