Beispiel #1
0
        public void BeforeEachTest()
        {
            string path = "../../com.lkqcorp.rebuilders.qc.apk";

            Settings.AppContext = ConfigureApp
                                  .Android
                                  .EnableLocalScreenshots()
                                  .ApkFile(path)
                                  .StartApp(AppDataMode.DoNotClear);

            drawer     = new Drawer(Settings.AppContext);
            homeScreen = new HomeScreen(Settings.AppContext);
            homeScreen.SelectLocation("LKQ Dominion");
        }
        public void BeforeEachTest()
        {
            {
                string path = "../../com.lkqcorp.rebuilders.qc.apk";
                Settings.AppContext = ConfigureApp
                                      .Android
                                      .EnableLocalScreenshots()
                                      .ApkFile(path)
                                      .StartApp();

                homeScreen    = new HomeScreen(Settings.AppContext);
                details       = new VehicleDetailsScreen(Settings.AppContext);
                searchResults = new SearchResultsScreen(Settings.AppContext);
                homeScreen.SelectLocation("LKQ London");
                //homeScreen.SetPreferredLocation();
                searchResults.SelectVehicle();
            }
        }
        public void BeforeEachTest()
        {
            {
                path = "../../com.lkqcorp.rebuilders.qc.apk";
                Settings.AppContext = ConfigureApp
                                      .Android
                                      .EnableLocalScreenshots()
                                      .ApkFile(path)
                                      .StartApp(AppDataMode.DoNotClear);

                homeScreen    = new HomeScreen(Settings.AppContext);
                searchResults = new SearchResultsScreen(Settings.AppContext);
                settings      = new SettingsScreen(Settings.AppContext);
                drawer        = new Drawer(Settings.AppContext);

                _savedSearchesScreen = new SavedSearchesScreen(Settings.AppContext);
                _pickerDialog        = new PickerDialog(Settings.AppContext);

                if (homeScreen.IsLocationSet() == false)
                {
                    homeScreen.SelectLocation("LKQ London");
                }
            }
        }