QA Wizard Pro provides different ways to find where user-defined variables, functions, and subroutines are declared in scripts. This can help you reference the definitions when modifying scripts and understand how these statements are used in complex scripts.
Tip: To find all places where a variable, function, or subroutine is called in the workspace, select it in a script and choose Find All References. See Finding variable, function, and subroutine references in scripts.
Using the Definition field in the Script pane
Use the Definition field in the Script pane to see a list of all user-defined variables, functions, and subroutines in the open script. Refer to this list when setting values in statements to make sure the correct variable, function, and subroutine names are used consistently. You can also quickly find functions and subroutines that cause errors when debugging scripts.
Select a variable, function, or subroutine in the Definition field to go to the line where it is defined. The definition is highlighted in the script.
Note: If you are editing a statement inside a function or subroutine, the function or subroutine name is displayed in the Definition field for context and to help indicate that any changes may affect other parts of the script or called scripts.
To go to the script line where a user-defined variable, function, or subroutine is declared, click a line that contains it and choose Script > Go To Definition. This helps you quickly find definitions in more specific contexts, such as when variables are defined inside functions or subroutines. You can also use this option to find definitions in called scripts without opening other scripts first or manually searching script lines.
Tip: To navigate back and forward through scripts as you find definitions, click the Go Back and Go Forward toolbar buttons or choose Script > Go Back or Go Forward. This helps you easily return to the location you were working in if you move between multiple scripts.