コード例 #1
0
        public void TC_DecreaseWeightGoal()
        {
            Common config    = new Common();
            string isenabled = config.GetConfig("CoachingEnabled").ElementAt(0)[1].ToLower();

            if (isenabled.Equals("false"))
            {
                Assert.Ignore("Coaching not enabled for client");
            }
            GoToDashboard();//Removed once the bug is resolved(DELTA-340)
            TC_InputWeight();
            TC_VerifyPlanScreen();
            TC_AddPlans();
            TC_VerifyGoalSetUpScreen();
            TC_VerifyGoalCompletionScreen();
            cmngoal.ClickEditBtn();
            cmn.ClickGoalMenu();
            Page_DecreaseWeightGoal dwg = new Page_DecreaseWeightGoal();

            dwg.ClickDecreaseWeightGoal();
        }