예제 #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 ThenTheCVIsDownloaded()
 {
     CandidateCVPage.CheckCVDownload();
 }
 public void WhenTheOpenCVButtonIsClicked()
 {
     CandidateCVPage.OpenCV();
 }
 public void ThenTheCVIsUploaded()
 {
     CandidateCVPage.CheckCVUpload();
 }
 public void WhenTheUploadCVButtonIsClicked()
 {
     CandidateCVPage.UploadCV();
 }
 public void WhenTheCVIsAttached()
 {
     CandidateCVPage.AttachCV();
 }
 public void GivenTheCVPageHasBeenNavigatedTo()
 {
     CandidateDashboard.CVButton();
     CandidateCVPage.BaseURL();
 }