public void GivenIEditOrUpdateLanguageOnProfilePage()
        {
            //Read data from excel data file
            ExcelLib.PopulateInCollection(Base.ExcelPath, "profile");
            string profileLangName  = ExcelLib.ReadData(2, "Language");
            string profileLangLevel = ExcelLib.ReadData(2, "LangLevel");
            // edit/update language name and level
            profile profileObj = new profile();

            profileObj.EditProfileLang(profileLangName, profileLangLevel);
        }
        public void UpdateProfileLangcValidate()
        {
            //Read data from excel data file
            ExcelLib.PopulateInCollection(Base.ExcelPath, "profile");
            string profileLangName  = ExcelLib.ReadData(2, "Language");
            string profileLangLevel = ExcelLib.ReadData(2, "LangLevel");
            // edit/update language name and level
            profile profileObj = new profile();

            profileObj.EditProfileLang(profileLangName, profileLangLevel);

            string actualMsg = driver.FindElement(By.XPath("/html/body/div/div[@class='ns-box-inner']")).Text;

            //string expectedMsg = profileLangName + " " + "has been added to your languages";
            Assert.IsTrue(actualMsg.Contains(" your languages"));
        }