AS A BUYER: Make it a part of your purchase agreement with the seller as a contingency pending your approval.
AS A SELLER: Before you list your property for sale have it inspected so you have a chance to address any concerns in order to avoid delays at closing.