public void ProfileLang() { test = extent.CreateTest("Languages"); test.Log(Status.Info, "Languages"); // taking Screenshots of adding Profileskills SaveScreenShotClass.SaveScreenshot(driver, "Languages"); // create object for add language Language obj = new Language(driver); obj.AddLang(); obj.UpdateLang(); obj.DeleteLang(); }