/// <summary>
        /// Method shares 2 trackers: 1 From Tracker learn more page and 1 from My Profile page
        /// </summary>
        public void ShareTrackers()
        {
            Common cmn = new Common();

            // Navigate to tracker Learn More page and share tracker
            cmn.ClickFooterTrackerLink();
            cmn.Sharetracker("Stress", "inner");

            // Navigate to My Profile and share tracker
            cmn.GoToMyProfile();
            Page_MyProfile mp = new Page_MyProfile();

            mp.ClickTrackerTab();
            cmn.Sharetracker("Weight", "outer");
        }
        public void  TC_VerifyConnectionName()
        {
            string     expected = ConfigurationManager.AppSettings["firstname"] + " " + ConfigurationManager.AppSettings["lastname"] + "!";
            Page_Login plogin   = new Page_Login();

            plogin.Login();
            Page_HAPrompt haprompt = new Page_HAPrompt();

            haprompt.GoToDashboard();
            Page_MyProfile mp     = new Page_MyProfile();
            String         actual = mp.VerifyMemberName();

            Console.WriteLine("Expected user name is " + expected + " Actual is " + actual);
            Assert.AreEqual(expected, actual.Trim());
        }
 public void TC_UpdagteStatusMessage()
 {
     //Page_Login plogin = new Page_Login();
     //plogin.Login();
     //Page_HAPrompt haprompt = new Page_HAPrompt();
     //haprompt.GoToDashboard();
     if ((GlobalVariables.clientname == "Health Trust") || (GlobalVariables.clientname == "Onlife Health") || (GlobalVariables.clientname == "ARC") || (GlobalVariables.clientname == "Group44") || (GlobalVariables.clientname == "Spoucse"))
     {
         Page_MyProfile mp = new Page_MyProfile();
         Assert.AreEqual("I am Rocking", mp.UpdateStatus());
     }
     else
     {
         Assert.Ignore("The current testcase is not available for the client" + GlobalVariables.clientname);
     }
 }
        public void TC_ClearStatusMessage()
        {
            if ((GlobalVariables.clientname == "Health Trust") || (GlobalVariables.clientname == "Onlife Health") || (GlobalVariables.clientname == "ARC") || (GlobalVariables.clientname == "Group44") || (GlobalVariables.clientname == "Spoucse"))
            {
                // string expected = "What's on your mind, " + ConfigurationManager.AppSettings["firstname"] + " " + ConfigurationManager.AppSettings["lastname"] + "?";
                //Page_Login plogin = new Page_Login();
                //plogin.Login();
                //Page_HAPrompt haprompt = new Page_HAPrompt();
                //haprompt.GoToDashboard();
                string expected = "Characters: 12/70";

                Page_MyProfile mp     = new Page_MyProfile(softassertions);
                String         actual = mp.VerifyClearStatusMessage();
                is_soft_assert = true;
                softassertions.AssertAll();
                //Assert.AreEqual(expected, actual);
            }
            else
            {
                Assert.Ignore("The current testcase is not available for the client" + GlobalVariables.clientname);
            }
        }