public void DeleteManageListings() { // Log in first LogIn(); // Creates a toggle for the given test, adds all log events under it test = extent.StartTest("Delete the last service"); // ManageListings object and delete the last service ManageListings obj = new ManageListings(); obj.DeleteLastService(); }