Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Need to access application database for test data used in Selenic tests
I have a simple application that is used as a front end for another department's database. We only have read access and cannot create our own test data. What I would like to do is to make a few database queries to retrieve some key values to use in the subsequent tests. Are there examples of this available?
Thanks!
0
Comments
-
You would need to write Java code to connect to your database using the appropriate JDBC driver for your database, and execute a query to retrieve the desired data. Here is a simple tutorial about how to do that: https://howtodoinjava.com/java/jdbc/jdbc-select-query-example/
1