public void RecruitmentFormTest() { CommonActions commonActions = new CommonActions(driver); RecruitmentFormPage applicationFormPage = new RecruitmentFormPage(driver); ThankYouPage thankYouPage = new ThankYouPage(driver); commonActions.openURL("https://system.erecruiter.pl/FormTemplates/RecruitmentForm.aspx?WebID=c907acdcca724851bbc924b001609f67"); applicationFormPage.disableCookieInfo(); applicationFormPage.inputName("Jan"); applicationFormPage.inputSurname("Testowy"); applicationFormPage.inputEmail("*****@*****.**"); applicationFormPage.inputPhoneNo("692558963"); applicationFormPage.selectCountry("Polska"); applicationFormPage.selectRegion("mazowieckie"); applicationFormPage.inputCity("Warszawa"); applicationFormPage.uploadCV(projectPath + "\\Test CV.pdf"); applicationFormPage.sendForm(); thankYouPage.assertSuccessfulApplication(); }