public MoreSteps() { //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 _MoreMenuItemsSection = FeatureContext.Current.Get <Pages.MoreMenuItemsSection>("MoreMenuItemsSection"); _DashboardPage = FeatureContext.Current.Get <Pages.DashboardPage>("DashboardPage"); _ManageYourProfilePage = FeatureContext.Current.Get <Pages.ManageYourProfilePage>("ManageYourProfilePage"); }
public ManageYourProfileSubsectionSteps() { //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 _DashboardPage = FeatureContext.Current.Get <Pages.DashboardPage>("DashboardPage"); _ManageYourProfilePage = FeatureContext.Current.Get <Pages.ManageYourProfilePage>("ManageYourProfilePage"); _EditProfilePage = FeatureContext.Current.Get <Pages.EditProfilePage>("EditProfilePage"); _ManageYourProfileSubSectionsPage = FeatureContext.Current.Get <Pages.ManageYourProfileSubSectionsPage>("ManageYourProfileSubSectionsPage"); }