public SearchResultsScreen TapSettings()
        {
            App.Tap(menuSettingsQuery);
            SearchResultsScreen settings = new SearchResultsScreen(App);

            return(settings);
        }
 public SavedSearchesScreen(IApp app) : base(app)
 {
     _drawer        = new Drawer(app);
     _entryDialog   = new EntryDialog(app);
     _resultsScreen = new SearchResultsScreen(app);
     _searchScreen  = new SearchScreen(app);
     SetWaitTime(30);
 }
 public SearchScreen(IApp app) : base(app)
 {
     _locationsScreen = new LocationsScreen(app);
     _pickerDialog    = new PickerDialog(app);
     _detailsScreen   = new VehicleDetailsScreen(app);
     _resultsScreen   = new SearchResultsScreen(app);
     _entryDialog     = new EntryDialog(app);
     _drawer          = new Drawer(app);
     Successful       = false;
 }
        public SearchResultsScreen SettingPreferredLocation()
        {
            string loc = getLocation();

            TapBtnDone();
            SearchResultsScreen search = new SearchResultsScreen(App);

            search.ObjectRepository.setLocation(loc);
            return(search);
        }
        public void BeforeEachTest()
        {
            {
                path = "../../com.lkqcorp.rebuilders.qc.apk";
                Settings.AppContext = ConfigureApp
                                      .Android
                                      .EnableLocalScreenshots()
                                      .ApkFile(path)
                                      .StartApp(Xamarin.UITest.Configuration.AppDataMode.Clear);

                homeScreen    = new HomeScreen(Settings.AppContext);
                searchResults = new SearchResultsScreen(Settings.AppContext);
            }
        }
        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");
                }
            }
        }
 public void InitialLoad_LocationSetDominion()
 {
     SearchResultsScreen search = new SearchResultsScreen(app);
 }