Skip to main content

Posts

Showing posts from October, 2018

Database validation using Java : Selenium

Automation of Database Testing using Java in Selenium Database validation can be automated using Java in selenium webdriver. This is done using JDBC ("Java Database Connectivity") which is a Java API that allows to connect with database and execute SQL statements. It is a connector used for the connectivity between the Java Programming language and a wide range of databases with the help of corresponding database drivers. The JDBC API provides the following classes and interfaces DriverManager class  Connection interface  Statement interface  ResultSet interface In order to test your Database using Selenium, you have to download the driver(jar file). For ex. SQL Server driver can be downloaded from https://docs.microsoft.com/de-de/sql/connect/jdbc/download-microsoft-jdbc-driver-for-sql-server?view=sql-server-2017 MYSQL driver can be downloaded from https://search.maven.org/search?q=g:com.google.protobuf%20AND%20a:protobuf-java Oracle driver: htt