SQL Select
The SQL Select element is used to issue a SELECT statement against a database in the environment where the Total Test Scenario is executed. The name of the database and the establishment of a connection are handled by the selected environment in the execution context. The SQL Select statement only specifies the SQL.
Add SQL Select to the Test Scenario by dragging it from the tool palette. This opens the Insert a new SQL Select element popup. Here are the fields available when setting up this element:
- ID - a unique name used to refer to output from this element to other elements in this Test Scenario. Reference to this ID by using the format ${myid}.
- Description - an optional description of the Test Element.
- Max rows - maximum number of rows to select.
- SQL Statement - the SQL statement itself supports variable substitution and values from earlier in the test Scenario that can be referenced with ${<id.path>}
- OK / Cancel - click on OK to save your element.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*