A tangible non-transitory computer readable storage media impressed with computer program instructions that, when executed, test with a test parameter data structure, applied to an application under test (AUT) that operates in both an application programming interface (API) mode and a user interface (UI) mode, including:
- processing a test script that is configurable to test the AUT in the API mode and also in the UI mode, wherein
- the UI mode renders and interacts with UI elements utilizing test values stored in elements of the test parameter data structure, and
- the test parameter data structure is used by the test script in both the API mode and in the UI mode;
- providing display mark-up in the test script that is rendered in the UI mode and that formats fields in a display or parts of the display to receive data that map to specific elements in the test parameter data structure, but which display mark-up leaves to be completed a mapping connection between the fields in the display and the specific elements in the test parameter data structure;
- providing a data mapping that maps the fields in the display mark-up to the elements in the test parameter data structure, based on names of the elements;
- while processing the test script in the UI mode,
- rendering the display mark-up from the test script;
- using a bot to interact with and complete the display mark-up;
- applying the data mapping to identify the elements in the test parameter data structure to be used to complete the fields in the display mark-up;
- and
- causing processing of the completed fields in the display mark-up.