Using the Message Tool
This section discusses how to use the Message tool.
As you modify a test, you will often need to use the Message tool to capture details for a browser object. You can then use these details to modify a test step.
Selectto open the Message tool.
Click and drag the Object Properties icon and hover over a browser object to view details about that object in the Message window.
Image: Message Tool ID Values
This example illustrates Message tool ID values.
To copy and paste recognition information from the application browser to the PTF Test Editor, drag and drop the Object Properties icon onto a browser object. Object recognition details appear in the Message tool. Double-click the name in the Message tool to copy it to the clipboard. You can then paste the information into the Recognition field of a test step. To automatically copy each selection to the clipboard, select .
You can also use the Message tool to monitor test execution. The Message tool displays types, actions, IDs, and values for each step of a PeopleSoft Test Framework (PTF) test as the test executes.
To view additional details about a browser object, access the Message tool and select. This example shows the HTML Browser Object Properties window:
Image: Example of the HTML Browser
This example illustrates the HTML Browser Object Properties window.
The HTML Browser Object Properties window displays properties and values of HTML objects as you hover over them using the Object Properties icon. Double-click a line in the HTML Browser window to copy the text to the clipboard.
Capturing index for non-unique objects using the HTML Browser
For certain objects that do not have enough of a unique indentifier property, you can use the HTML Broswer to capure the index during recording. An example of this would be leaves on a tree structure. To capture the index:
In PTF Client, select Tools > Message to open the Message tool.
Start your recording.
Open the tree to the desired location.
Click the Object Properties icon in the Message Toolbar and drag it to the leaf image on the tree.
Access the Message tool and select Menu > HTML Browser > Show.
Right-click on the nameProp in the Object Properties window and select Get Index for.
The index will be added to the object Properties.
Image: Object properties Dialog Box
This example illustrates the Object properties Dialog Box displaying the properties for a leaf on a tree. To get the index, you will select Get Index For...