Example #1
0
 public void ThenTheCandidatePageIsOpened(string page)
 {
     if (page == "Profile")
     {
         CandidateProfilePage.BaseURL();
     }
     else if (page == "CV")
     {
         CandidateCVPage.BaseURL();
     }
     else if (page == "Timesheets")
     {
         CandidateTimesheetsPage.BaseURL();
     }
     else if (page == "Job Searches")
     {
         JobSearchesPage.BaseURL();
     }
     else if (page == "Job Basket")
     {
         JobBasketPage.BaseURL();
     }
     else if (page == "Job Applications")
     {
         JobApplicationsPage.BaseURL();
     }
     else if (page == "Change Password")
     {
         CandidateChangePasswordPage.BaseURL();
     }
     else if (page == "Jobs Board")
     {
         JobBoardPage.BaseURL();
     }
 }
 public void GivenTheUserIs(string login)
 {
     HomePage.BaseURL();
     if (login == "logged in as a candidate")
     {
         HomePage.LoginLink();
         LoginPage.BaseURL();
         LoginPage.LoginFields("liamknowles", "liamknowles", "candidate");
         LoginPage.LoginButton();
         CandidateDashboard.BaseURL();
     }
     else if (login == "logged in as a client")
     {
         HomePage.LoginLink();
         LoginPage.BaseURL();
         LoginPage.LoginFields("*****@*****.**", "12345", "client");
         LoginPage.LoginButton();
         ClientDashboard.BaseURL();
     }
     else
     {
         HomePage.JobBoardLink();
         JobBoardPage.BaseURL();
     }
 }
Example #3
0
 public void ThenThePageIsLoaded(string link)
 {
     if (link == "Job Board")
     {
         JobBoardPage.BaseURL();
     }
     else
     {
         LoginPage.BaseURL();
     }
 }
Example #4
0
        public void GivenTheJobCriteriaHasBeenSearchedFor()
        {
            MultiplePages.Keyword("Surgeon");
//            MultiplePages.Country("United Kingdom");
//            MultiplePages.Region("Greater Manchester");
//            MultiplePages.Location("Manchester");
//            MultiplePages.Industry("Medical");
//            MultiplePages.Discipline("Surgeon");
            MultiplePages.GoButton();
            JobBoardPage.BaseURL();
        }
Example #5
0
 public void ThenTheJobsBoardIsLoaded()
 {
     JobBoardPage.BaseURL();
 }
Example #6
0
 public void GivenTheJobsBoardIsNavigatedTo()
 {
     CandidateDashboard.JobsButton();
     JobBoardPage.BaseURL();
 }
 public void ThenTheJobsAreSearchedFor()
 {
     JobBoardPage.BaseURL();
 }