Errors Pane
Relevant for: GUI tests and components, function libraries and API testing
The Errors pane lists syntax errors found in your testing documents. Double-click an error to locate its source.
To access the Errors pane, select View > Errors.
Errors may have the following severity levels: Message, Warning, or Error, and include the following types.
Code syntax errors
GUI testing |
UFT One checks for syntax errors when switching from the Editor to Keyword view and vice versa. Check manually by selecting Design > Check Syntax. View a description of each of the VBScript errors in the Microsoft VBScript Reference. Note: When you use the Set statement with the GetObject function, UFT One may incorrectly display an error in the Errors pane for the following valid syntax: Set xx = GetObject(, "class") In this case, just ignore the error in the Errors pane. The syntax can be successfully run. |
API testing |
See the Microsoft C# Reference for help resolving code errors. |
Missing resources
Missing resources may cause a run to fail, and include:
-
Missing GUI actions.
-
Missing function libraries.
-
Missing object repositories.
-
Missing recovery scenarios
-
Missing environment variable files
-
Unmapped Shared Object Repository Parameter Values
Double-click an error description to resolve the error. Navigate to the missing resource and associate it with your test.
See also:
- Select Action Dialog Box
- Open/New/Save/Add Existing <Document>/<Resource> Dialog Box
- Associate Repositories Dialog Box
Note:
Missing actions are not displayed if a test is open in read-only format.
Resources located in password-protected areas are always listed as missing if they are opened after opening the test or application area.
Missing references
Reference files located in password-protected areas are always listed as missing if they are opened after opening the test.
To locate a missing reference file:
-
Locate the source of the missing reference files.
The relevant test code file opens and the cursor flashes at the place in which the missing reference file is called during a test run displaying the reference file's name.
-
In the Solution Explorer, right-click the References node located under an API test and select Add Reference.
- Navigate to the missing reference file and associate it with your test.
See also:
Missing property values
For details on input properties for API test steps, see Standard Activities.
To locate a missing test step property value:
-
Locate the source of the missing reference files.
The field requiring the missing property value is highlighted in the Properties pane.
- Enter the required information for the property value.
See also: