public void TC_FillPhysicalActivityTracker() { Common config = new Common(); string isenabled = config.GetConfig("CoachingEnabled").ElementAt(0)[1].ToLower(); if (isenabled.Equals("false")) { Assert.Ignore("Coaching not enabled for client"); } Page_PhysActivityTracker pa = new Page_PhysActivityTracker(softassertions); pa.VerifyPhysicalActivityTracker(); is_soft_assert = true; softassertions.AssertAll(); }
public void TC_VerifyPhysActTracker() { //To call the Page Login Method Page_Login plogin = new Page_Login(); plogin.Login(); Page_HAPrompt haprompt = new Page_HAPrompt(); haprompt.GoToDashboard(); Common trackermenu = new Common(); trackermenu.ClickTrackerMenu(); Page_PhysActivityTracker pa = new Page_PhysActivityTracker(softassertions); pa.GoToPhysicalTracker(); pa.VerifyPhysicalActivityTracker(); is_soft_assert = true; softassertions.AssertAll(); //Common logout = new Common(); //logout.LogOut(); }