public void TC_FilTobaccoTracker()
        {
            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_TobaccoTracker tob = new Page_TobaccoTracker(softassertions);

            tob.VerifyTobaccoTrackerFromGoal();
            is_soft_assert = true;
            softassertions.AssertAll();
        }
コード例 #2
0
        public void TC_VerifyTobaccoTracker()
        {
            //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_TobaccoTracker tob = new Page_TobaccoTracker(softassertions);

            tob.GoToTobaccoTracker();
            tob.VerifyTobaccoTracker();

            is_soft_assert = true;
            softassertions.AssertAll();
            //Common logout = new Common();
            //logout.LogOut();
        }