extract_object_references
Extract object references from test code to identify which objects are used in Squish tests.
Instructions
Extract object references from test content to understand what objects are being used.
Args: test_content: The test code to analyze
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| test_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names_objects | Yes | Objects referenced via names.py (e.g. names.someButton) | |
| direct_objects | Yes | Objects referenced with inline property dicts | |
| primary_pattern | Yes | Dominant reference style: 'names', 'global_scripts', 'direct', or 'unknown' | |
| unknown_objects | Yes | Object references that could not be classified | |
| total_references | Yes | Total count of all object references found | |
| global_script_objects | Yes | Objects referenced via global script modules |