Configure Database Connection in Selenium

Selenium is most popular Test automation framework in the Software Industry. Selenium support most of major languages like Java, Python, Ruby, C#, JavaScript, Perl and PHP. In this small tutorial we will give code sample to configure Database connection and run a query.

Few steps that help to setup Database integration for Selenium.

Download JDBC driver and add to project

JDBC driver is the connector of data and your program. In this tutorial we use MS SQL as Database server. You can search in google.com to find JDBC driver for your database server.

Continue reading