40+ Object Spy Teamwork. For checking object properties and operations, object spy has five buttons on the top. This video tutorial will give you an overview of the object spy tool.
Jest.tobecalled() and jest.tohavebeencalled() are aliases of each other.
Spies provide the ability to wrap an existing object. You can't spy something that doesn't exist on the object. Some their methods are real some mocked. Object spy is an extremely helpful tool that qtp has to view the properties and operations of an the spy not only displays the properties, but it also has a provision that lets the users add a certain object.