Paul Grossman: Secrets of Test Automation: Identify Objects on the Fly with the Magic Object Model
PAIN POINT: An architectural change switches 50 Link classes to WebButtons in the QTP Object Repository. To make matters worse, each object has multiple code references. The estimated combined code and repository maintenance time required would take about two days but the client expects results in about two hours.SOLUTION: Taking a chance, we implemented Embedded Class Switching into the framework by overriding the .click method. Within 90 minutes 97% of the test cases up and running.