Forum Discussion

Ascendum_Soluti's avatar
Ascendum_Soluti
Occasional Contributor
14 years ago

Parametrizing database connectivity data

We are creating test steps that use Datasource or JDBC Requests. In the datasources, we use data connections to get data from a database.

We would like to set up project-level parameters for the connectivity strings, and use them in the appropriate test steps. Can this be done? If so, how?

Bill B.

1 Reply

  • Sure. Just create a Custom Property on the project level and add this into the Connection string field: ${#Project#myJDBCConnectionString} where myJDBCConnectionString is the name of the project property.

    Hope this helps!

    --
    Regards

    Erik
    SmartBear Sweden