public void GivenIHaveAccessedTheCourseDirectoryAsAProvider() { webDriver.Url = ConfiguratorClass.GetConfiguratorInstance().GetBaseUrl(); Pages.WelcomePage WelcomePage = new Pages.WelcomePage(webDriver); Pages.LoginPage LoginPage = new Pages.LoginPage(webDriver); LoginPage.LoginAsProvider(); }
public void GivenIHaveLoggedInAsAProvider() { webDriver.Url = ConfiguratorClass.GetConfiguratorInstance().GetBaseUrl(); Pages.WelcomePage welcomePage = new Pages.WelcomePage(webDriver); Pages.LoginPage loginPage = new Pages.LoginPage(webDriver); loginPage.LoginAsProvider(); }
public TeaserSearchSteps() { app = FeatureContext.Current.Get <IApp>("App"); _TeaserSearchResultsPage = FeatureContext.Current.Get <Pages.TeaserSearchResultsPage>("TeaserSearchResultsPage"); _SavingsTeaserPage = FeatureContext.Current.Get <Pages.SavingsTeaserPage>("SavingsTeaserPage"); _PriceMedsResultsPage = FeatureContext.Current.Get <Pages.PriceMedsResultsPage>("PriceMedsResultsPage"); _WelcomePage = FeatureContext.Current.Get <Pages.WelcomePage>("WelcomePage"); }
public CreateAccountSteps() { //Resolve App from Feature Container. This is added with the [Setup] method. app = FeatureContext.Current.Get <IApp>("App"); //Resolve pages that are set up with the AppInitializer InitializeScreens Method _CreateAccountPage = FeatureContext.Current.Get <Pages.CreateAccountPage>("CreateAccountPage"); _WelcomePage = FeatureContext.Current.Get <Pages.WelcomePage>("WelcomePage"); _AboutUsPage = FeatureContext.Current.Get <Pages.AboutUsPage>("AboutUsPage"); _DashboardPage = FeatureContext.Current.Get <Pages.DashboardPage>("DashboardPage"); }
public NavigationSteps() { //Resolve App from Feature Container. This is added with the [Setup] method. app = FeatureContext.Current.Get <IApp>("App"); //Resolve pages that are set up with the AppInitializer InitializeScreens Method _EditProfilePage = FeatureContext.Current.Get <Pages.EditProfilePage>("EditProfilePage"); _WelcomePage = FeatureContext.Current.Get <Pages.WelcomePage>("WelcomePage"); _DashboardPage = FeatureContext.Current.Get <Pages.DashboardPage>("DashboardPage"); _CreateAccountPage = FeatureContext.Current.Get <Pages.CreateAccountPage>("CreateAccountPage"); _TeaserSearchResultsPage = FeatureContext.Current.Get <Pages.TeaserSearchResultsPage>("TeaserSearchResultsPage"); _SavingsTeaserPage = FeatureContext.Current.Get <Pages.SavingsTeaserPage>("SavingsTeaserPage"); _OnBoardingPage = FeatureContext.Current.Get <Pages.OnBoardingPage>("OnBoardingPage"); _SavingsCardPage = FeatureContext.Current.Get <Pages.SavingscardPage>("SavingsCardPage"); _PriceMedicinePage = FeatureContext.Current.Get <Pages.PriceMedicinePage>("PriceMedicinePage"); _MedicineChestPage = FeatureContext.Current.Get <Pages.MedicineChestPage>("MedicineChestPage"); _FaqsPage = FeatureContext.Current.Get <Pages.FaqsPage>("FaqsPage"); _AboutUsPage = FeatureContext.Current.Get <Pages.AboutUsPage>("AboutUsPage"); _LoginPage = FeatureContext.Current.Get <Pages.LogInPage>("LoginPage"); _BottomMenuOptionsSection = FeatureContext.Current.Get <Pages.BottomMenuOptionsSection>("BottomMenuOptionsSection"); _MoreMenuItemsSection = FeatureContext.Current.Get <Pages.MoreMenuItemsSection>("MoreMenuItemsSection"); }