public void Managelist() { test = extent.StartTest("Navigate on Managelisting on profile page"); //Navigate to Manage listing page Profile profobj = new Profile(); profobj.ManageClick(); profobj.AssertManage(); test = extent.StartTest("Delete record in Managelisting page"); //Deleting the record Managelisting Manageobj = new Managelisting(); Manageobj.Listing(); Manageobj.Assert_Manage(); }