public void EditTenantAndValidate() { //creates a toggle for the given test, adds all log events under ir test = extent.StartTest("Edit Tenant and Validate"); //create an PropertyDetails object PropertyDetails obj = new PropertyDetails(); //call the method to edit tenant and validate obj.EditTenantAndValidate(); }