public void MyAccount_AllPages() { SignIn_ServiceProviderPortal ExistingUser_Navigation = new SignIn_ServiceProviderPortal(_driver); _driver.Navigate().GoToUrl(URLConfig.TestURL_ServiceProviderPortal); string url = _driver.Url; _test.Log(Status.Pass, "Service Provider Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); ExistingUser_Navigation.MyAccount_NavigationTest(_driver); }
public void RegTest() { Regression_ServiceProviderPortal_OnboardingProcess Op_reg = new Regression_ServiceProviderPortal_OnboardingProcess(GetDriver()); _driver.Navigate().GoToUrl(URLConfig.TestURL_ServiceProviderPortal); string url = _driver.Url; _test.Log(Status.Pass, "Service Provider Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Op_reg.OnBoardingWithDifferentOptions(_driver); //ReporterUtil.ReportEvent("pass", "SPP", "NO Exception"); }
public void ApplicantPortal_Page_ValidSubsidy_Asylum_Seeker() { CHICK_ApplicantPortal_Page Ap = new CHICK_ApplicantPortal_Page(_driver); _driver.Navigate().GoToUrl(URLConfig.ApplicantPortal_TestURL); string url = _driver.Url; _test.Log(Status.Pass, "Applicant Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Ap.Chick_UniversalApplication_Subsidy(Constant.Constant_functions.Key_Asylum_Seeker_RefugeeCitizen); }
public void ApplicantPortal_Page_IncomeAssessed_Both_FastTrack() { IncomeAssessed_ApplicantPortal_Page incomeAssessPg = new IncomeAssessed_ApplicantPortal_Page(_driver); _driver.Navigate().GoToUrl(URLConfig.ApplicantPortal_TestURL); string url = _driver.Url; _test.Log(Status.Pass, "Applicant Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); incomeAssessPg.Page_IncomeAssessedApplicant(); }
public void ApplicantPortal_Page_ZeroSubsidy() { CHICK_ApplicantPortal_Page Ap = new CHICK_ApplicantPortal_Page(_driver); _driver.Navigate().GoToUrl(URLConfig.ApplicantPortal_TestURL); string url = _driver.Url; _test.Log(Status.Pass, "Applicant Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Ap.Chick_UniversalApplication_NoSubsidy(); }
public void OnboardingTest_ChangeOfCircumstances_DropdownOption() { OnBoarding_CRO_Selection_And_ChangeOfCircumstances_Scenarios Op = new OnBoarding_CRO_Selection_And_ChangeOfCircumstances_Scenarios(GetDriver()); _driver.Navigate().GoToUrl(URLConfig.TestURL_ServiceProviderPortal); string url = _driver.Url; _test.Log(Status.Pass, "Service Provider Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Op.StartOnboarding_ChangeOfCircumstances(_driver); }
public void OnboardingTest_Frontend() { OnBoardingPage Op = new OnBoardingPage(GetDriver()); _driver.Navigate().GoToUrl(URLConfig.TestURL_ServiceProviderPortal); string url = _driver.Url; _test.Log(Status.Pass, "Service Provider Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Op.StartOnboarding_Frontend(_driver); }
public void NCS_Awards_Detail() { CHICK_ApplicantPortal_Page Ap = new CHICK_ApplicantPortal_Page(_driver); _driver.Navigate().GoToUrl(URLConfig.ApplicantPortal_TestURL); string url = _driver.Url; _test.Log(Status.Pass, "Applicant Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Ap.AwardPage(); _test.Log(Status.Pass, "Child Award Details" + " " + _driver.Url + " " + "PASSED"); }
public void OnboardingTest_CRO_Option() { OnBoarding_CRO_Selection_And_ChangeOfCircumstances_Scenarios Op = new OnBoarding_CRO_Selection_And_ChangeOfCircumstances_Scenarios(GetDriver()); _driver.Navigate().GoToUrl(URLConfig.TestURL_ServiceProviderPortal); string url = _driver.Url; _test.Log(Status.Pass, "Service Provider Portal -URL :" + " " + _driver.Url + " " + "PASSED"); AJAXCall.CheckPageIsLoaded(_driver); Op.StartOnboarding_Frontend_CRO(_driver); DateTime time = DateTime.Now; string fileName = "Screenshot_" + time.ToString("h_mm_ss") + ".png"; string screenShotLocation = Capture(GetDriver(), fileName, true); Thread.Sleep(500); _test.Log(Status.Pass, "Snapshot below: " + _test.AddScreenCaptureFromPath(screenShotLocation + "\\Result_Tier\\Screenshots\\" + fileName)); Thread.Sleep(1000); CRM_UAT_ServiceProviderPortal_Page spp_crm = new CRM_UAT_ServiceProviderPortal_Page(GetDriver()); _driver.Navigate().GoToUrl(URLConfig.UAT_CRM); Thread.Sleep(1000); spp_crm.Email_LinkActivation(_driver); time = DateTime.Now; fileName = "Screenshot_" + time.ToString("h_mm_ss") + ".png"; screenShotLocation = Capture(GetDriver(), fileName, true); Thread.Sleep(500); _test.Log(Status.Pass, "Snapshot below: " + _test.AddScreenCaptureFromPath(screenShotLocation + "\\Result_Tier\\Screenshots\\" + fileName)); Thread.Sleep(1000); _driver.Navigate().GoToUrl(URLConfig.UAT_CRM); spp_crm.crm_uat_validation(_driver); _test.Log(Status.Pass, "CRM_UAT_Validation" + " " + "PASSED"); }