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"); }
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(); }
public void TC_MobileLogout() { // 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 Settings Common settings = new Common(); settings.TapSettingsIcon(); // Logout Page_MSettings logout = new Page_MSettings(); logout.ClickLogout(); // Verify Successful Logout Page_MLogin loginpage = new Page_MLogin(); Assert.IsTrue(loginpage.AtLoginPage(), "Not navigated to Login Page"); }
public void TC_Login() { // 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(); }
public void TC_VerifySkipIntro() { Page_SkipIntro skipIntro = new Page_SkipIntro(softassertions); skipIntro.VerifyElements(); is_soft_assert = false; softassertions.AssertAll(); skipIntro.ClickSkipIntro(); Page_MLogin loginpage = new Page_MLogin(); Assert.IsTrue(loginpage.AtLoginPage(), "Not navigated to Login Page"); }
//[Category("Regression")] public void TC_FillNormalHA() { // 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(); ha = new Page_MHA(softassertions); ha.setInputFileName("NormalHAData"); is_soft_assert = true; ha.FillHA(); }