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"); }
public MoreInformationSteps() { //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 _LearnAboutPricingPage = FeatureContext.Current.Get <Pages.LearnAboutPricing>("LearnAboutPricingPage"); _AskPharmacistPage = FeatureContext.Current.Get <Pages.AskPharmacistPage>("AskPharmacistPage"); _FaqsPage = FeatureContext.Current.Get <Pages.FaqsPage>("FaqsPage"); _AnswerSection = FeatureContext.Current.Get <Pages.AnswerSection>("AnswerSection"); _ContactUsPage = FeatureContext.Current.Get <Pages.ContactUsPage>("ContactUsPage"); _AboutUsPage = FeatureContext.Current.Get <Pages.AboutUsPage>("AboutUsPage"); }