Print Statement
Description
Displays information in the Output pane during the run session. The Output pane remains open while the run session continues, until you close it.
For more details, see the Micro Focus UFT One User Guide.
Syntax
Print (Message)
Argument | Type | Description |
---|---|---|
Message | String | String expression displayed as the message in the Output pane. |
The following example iterates all the items in the Flight Table dialog (in the sample Flight application) and uses the Print utility statement to print the content of each item to the Output pane.
Set FlightsList = Window("Flight Reservation").Dialog("Flights Table").WinList("From")
For i = 1 to FlightsList.GetItemsCount
Print FlightsList.GetItem(i - 1)
Next
See also:
- CallServiceTest Statement
- CreateObject64 Statement
- DescribeResult Statement
- ExecuteFile Statement
- ExitAction Statement
- ExitActionIteration Statement
- ExitComponent Statement
- ExitComponentIteration Statement
- ExitTest Statement
- ExitTestIteration Statement
- GetLastError Statement
- InvokeApplication Statement
- IsPartialRun Statement
- LoadAndRunAction Statement
- LoadFunctionLibrary Statement
- ManualStep Statement
- Print Statement
- RegisterUserFunc Statement
- RunAPITest Statement
- SetLastError Statement
- UnregisterUserFunc Statement
- Wait Statement