Hidden fields are not captured by default and therefore not stored under the 'Windows and components' node.
In case you frequently need to access hidden fields you can deactivate the Take visibility of DOM nodes into account option.
Another way to get hidden fields recorded is the following:
To access a hidden field's attributes (e.g. the 'value' attribute) you can create a simple 'SUT script' as shown below. Details on scripting in general, the used methods and parameters can be found in Scripting, Run context API and Pseudo DOM API respectively.
|Example 49.28: Accessing the value attribute of a hidden field|
|Last update: 5/31/2023|
Copyright © 1999-2023 Quality First Software GmbH