public MedicineChestSteps() { //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 _MedicineChestPage = FeatureContext.Current.Get <Pages.MedicineChestPage>("MedicineChestPage"); _MedicineChestSubsectionsPage = FeatureContext.Current.Get <Pages.MedicineChestSubsectionsPage>("MedicineChestSubsectionsPage"); _PharmacyDrugInfoPage = FeatureContext.Current.Get <Pages.PharmacyDrugInfoPage>("PharmacyDrugInfoPage"); }
public PriceMedsDetailsSteps() { //Resolve App from Feature Container. This is added with the [Setup] method. app = FeatureContext.Current.Get <IApp>("App"); //TODO Resolve pages that are set up with the AppInitializer InitializeScreens Method _PriceMedicinePage = FeatureContext.Current.Get <Pages.PriceMedicinePage>("PriceMedicinePage"); _PharmacyDrugInfoPage = FeatureContext.Current.Get <Pages.PharmacyDrugInfoPage>("PharmacyDrugInfoPage"); _PriceMedsResultsPage = FeatureContext.Current.Get <Pages.PriceMedsResultsPage>("PriceMedsResultsPage"); _LearnAboutPricingPage = FeatureContext.Current.Get <Pages.LearnAboutPricing>("LearnAboutPricingPage"); }