public void WhenSellerAddsANewCertificationWithTheFollowingData(Table table)
        {
            var details = table.CreateSet <CertificateDetails>();

            foreach (CertificateDetails certificate in details)
            {
                profileObj.AddCertificationOnProfile(certificate.Certificate, certificate.From, certificate.Year);
                AddedCertificate = certificate.Certificate;
            }
        }
        public void AddCertification()
        {
            //Populate Profile Excel data in Collection
            GlobalDefinitions.ExcelLib.PopulateInCollection(Base.excelPath, "Profile");

            Profile profileObj = new Profile();

            profileObj.ClickOnCertificationTab();
            profileObj.AddCertificationOnProfile(GlobalDefinitions.ExcelLib.ReadData(2, "Certification"), GlobalDefinitions.ExcelLib.ReadData(2, "CertifiedFrom"), GlobalDefinitions.ExcelLib.ReadData(2, "CertifiedYear"));
            Assert.AreEqual(GlobalDefinitions.ExcelLib.ReadData(2, "Certification") + " has been added to your certification", profileObj.GetPopUpMsg());
            profileObj.ClosePopUp();
        }