Forum Discussion
3 Replies
- Hi,
This can be done using Property Expansions. Just create Test Properties for your TestSuite, and refer to them like so:
Password: ${#TestSuite#password}
Regards,
Dain
eviware.com - Equinix_Inc_SupOccasional ContributorThe point below was we can externaize the complete connection string URL by selecting none in connection combo box.
- Hello,
I'm not sure I've understood your question well, but I think you can use property expansion here.
So you need to define property on test suite level (e.g. db_conn_url) and give it some default value
(e.g. jdbc:mysql://127.0.0.1:3306/test_db?user=root) and in data source for connection string
you should type: ${#TestSuite#db_conn_url}. You can do something similar for 'Driver:' field.
Now you can change test suite property between requests to connect to different db servers.
Hope this helps. If this is not what you've meant please explain in more details what exactly you
need to do.
regards!
Predrag
/eviware.com