天天看點

QTP HELP - Enhanced Object Spy Functionality

Enhanced Object Spy Functionality

You can now use the Object Spy to spy on multiple objects during a single spying session. When you click the pointing hand, QuickTest is hidden, but the Object Spy remains visible. You can hover over different objects in your application and view the methods and properties of each one. When you want to return the focus to QuickTest to view methods and properties of a particular object, you click the object with the pointing hand.

In many environments, the test object is also highlighted in the application as you move the pointing hand over it. This enables you to visually distinguish between the various test objects in the application.

For more information, see Viewing Object Properties and Methods Using the Object Spy.

增強的對象間諜功能

現在,您可以使用對象間諜間諜多個對象在一個單一的間諜會議。當您單擊用手指點,QuickTest是隐藏的,但對象間諜仍然可見。你可以懸停在您的應用程式的不同的對象,并檢視每一個方法和屬性。當你想傳回的重點QuickTest,以檢視特定對象的方法和屬性,單擊對象,用手指點。

在許多環境中,測試對象是在應用程式中還強調,你搬過來用手指點。這使您可以在視覺上區分不同的測試應用程式中的對象。

欲了解更多資訊,請參閱檢視對象屬性和方法,使用對象間諜 。