dbBlockOpen (dbCONNECT)
Compatible with:
- Purpose
- This command signifies the beginning of a dbCONNECT Block within a Test Script.
Each dbBlockOpen must be accompanied by a matching dbBlockEnd that exists after it within the same Test Script.
There can be more than one dbCONNECT Blocks within a single Test Script.
dbCONNECT Blocks are also referred to as dbBlocks for simplicity. - Syntax
- dbBlockOpen
- Target
- N/A
- Value
- N/A
- Return Value
- N/A
Example: Health Insurance Calculator
In the script snippet below, dbBlock command is used to signify the beginning of a block of commands that are used to interact with a database from which data would be retrieved to be used within the automated tests.