Example #1
0
 public void GivenCSAUserLogs_InAndNavigatesToPage(string pageName)
 {
     Browser = createAccount.Login();
     scenarioContext.Add("browser", Browser);
     Browser.Navigation.NavigateToUMAApp();
     if (pageName == "Employer")
     {
         createAccount.NavigateToNewEmployerPage();
     }
     else if (pageName == "Lead")
     {
         createLead.NavigateToNewLeadPage(Browser);
     }
     else if (pageName == "Job Order")
     {
         createJobOrder.NavigateToNewJobOrderPage(Browser);
     }
 }