1. A method for capturing one or more graphic primitives and attributes associated with such graphic primitives of a display object, the method comprising the steps of: injecting a spy component into a target process by a calling process, wherein the spy component is an executable program module; capturing the one or more graphic primitives and attributes associated with such graphic primitives during the execution of the target process; and returning the graphic primitives and attributes associated with such graphic primitives to the calling process.