Please See: http://knowledgeinbox.com/qtp/dp/dp-part-2-converting-or-based-scripts-to-dp/