public void Setup() { driver = new ChromeDriver(); driver.Navigate().GoToUrl("https://www.aviocredit.com.train/"); AccountInfoPage.CreateDefaultAccount(driver).IDCredentials().Submit(); PersonalInfoPage.CreateDefaultPersonal(driver).withName("Sarah", "Rain").withSSN("736021298").UseParameters().UseParametersDoB().UseParametersID().UseParametersAddress().UseParametersAPT().UseParametersMovinDate().UseParametersMobilePhone().Submit(); IncomeInfoPage.CreateDefaultIncome(driver).UseParametersSourceOfIncome().UseParamatersEmployerNamePhone().UseParametersHireDate().UseParametersPaycycle(); IncomeInfoPage.CreateDefaultIncome2(driver).UseParametersGrossNetPay().Submit(); ReviewIncomePage RIP = new ReviewIncomePage(driver).SubmitBthNext(); }
public void PositiveTest() { ReviewIncomePage RIP = new ReviewIncomePage(driver); RIP.SubmitBthNext(); }