Test databases
Ready to create
Supported versions
For information on supported versions, check out the
Create database test cases
To
You can find the
Before you start
Create an ODBC connection to your database, so Tosca Cloud can access it at runtime. If you want to test multiple databases, create ODBC connections for them all.
Create your test case
Once you have your ODBC connections in place, you can create a test case to steer your databases.
Please choose your use case:


To create such a test case, follow these steps:
-
Open a connection to a database. To do so, add the module DB Open Connection to your test case and fill out the resulting test step.
To open more than one connection, add the module multiple times.
The connection you opened last is the active connection. For example, if you open connection 1, 2, and 3, then connection 3 is the active connection. If you want to start your test case with an operation on connection 2, use the module DB Current Connection to switch active connections.
-
Run an operation on the database via SQL statement with the module DB Run SQL Statement. To run multiple operations, use the module multiple times.
-
Close the connection with the module DB Close Connection. If you opened multiple connections, use the module multiple times to close them all.
What's next
You've just created your first
Next up: do a test case trial run. Trial runs help you find and fix issues, so you can make your tests as stable and reliable as possible.
Once you're happy with your test case, pack it into a playlist, so you can run your tests in earnest.