public void TC_CompleteWeightGoal()
        {
            // Skip Intro
            Page_SkipIntro skipIntro = new Page_SkipIntro();

            skipIntro.ClickSkipIntro();

            // Perform Login
            Page_MLogin plogin = new Page_MLogin();

            plogin.moblogin();

            // Close all Overlays (Popups)
            Page_MDashboard dashboard = new Page_MDashboard();

            dashboard.CloseAllDashboardOverlays();

            //Navigate to Tracker Home Page
            Page_MProfile trcker = new Page_MProfile();

            trcker.NavigateToTrackerHomePage();

            //Navigate to Weight Tracker
            CommonTrackers ct = new CommonTrackers(softassertions);

            ct.NavigateToTracker("Weight");
        }
Пример #2
0
        public void TC_VerifyWeightTrackerUIElements()
        {
            // Skip Intro
            Page_SkipIntro skipIntro = new Page_SkipIntro();

            skipIntro.ClickSkipIntro();

            // Perform Login
            Page_MLogin plogin = new Page_MLogin();

            plogin.moblogin();

            // Close all Overlays (Popups)
            Page_MDashboard dashboard = new Page_MDashboard();

            dashboard.CloseAllDashboardOverlays();

            //Navigate to Tracker Home Page
            Page_MProfile trcker = new Page_MProfile();

            trcker.NavigateToTrackerHomePage();

            //Navigate to Weight Tracker
            CommonTrackers ct = new CommonTrackers(softassertions);

            ct.NavigateToTracker("Weight");

            //Validate Page UI Elements
            List <string[]> uielements = CSVReaderDataTable.GetCSVData("MobileTrackerData", pageName, "uielements");

            ct.ValidatePageUI(uielements, "Page_MWeightTracker");
            softassertions.AssertAll();
        }