Recovery Operation - Function Call Screen
Relevant for: GUI tests and components
This page enables you to select a function to call in the recovery operation.
Wizard map |
The Recovery Scenario Wizard contains: Welcome > Select Trigger Event Page > (Specify Pop-up Window Conditions Page) > (Select Object Page) > (Set Object Properties and Values Page) > (Select Test Run Error Page) > (Select Processes Page) > Recovery Operations Page > Recovery Operation Page > (Recovery Operation - Click Button or Press Key Page) > (Recovery Operation - Close Processes Page) > (Recovery Operation - Function Call Page) > Post-Recovery Test Run Options Page > Name and Description Page > Completing the Recovery Scenario Wizard Page Note: Pages that are in parentheses open according to the option selected in the previous page. Therefore, not all pages are displayed for every option. |
Important information |
|
UI Elements |
Description |
---|---|
Function Library |
Displays the selected function library, and enables you to select a recently specified function library in the box. Alternatively, click the Browse button to navigate to an existing function library. |
Select function |
Choose an existing function from the function library you selected. Only functions that match the prototype syntax for the trigger type selected in the Select Trigger Event Page are displayed. |
Define new function |
Create a new function by specifying a unique name for it, and defining the function in the Function Name box according to the displayed function prototype. The new function is added to the function library you selected. |
Following is the prototype for each trigger type:
Test run error trigger
OnRunStep
(
[in] Object as Object: The object of the current step.
[in] Method as String: The method of the current step.
[in] Arguments as Array: The actual method's arguments.
[in] Result as Integer: The actual method's result.
)
Pop-up window and Object state triggers
OnObject
(
[in] Object as Object: The detected object.
)Application crash trigger
OnProcess
(
[in] ProcessName as String: The detected process's Name.
[in] ProcessId as Integer: The detected process' ID.
)