コード例 #1
0
 public DashboardSteps()
 {
     //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");
     _SavingsCardPage = FeatureContext.Current.Get <Pages.SavingscardPage>("SavingsCardPage");
 }
コード例 #2
0
 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");
 }
コード例 #3
0
 public SavingsCardSteps()
 {
     app = FeatureContext.Current.Get <IApp>("App");
     _SavingsCardPage = FeatureContext.Current.Get <Pages.SavingscardPage>("SavingsCardPage");
 }