How can I use JDBC Connection using QTP?
Question ID: 104595
3
0

Does anybody know how to make a connection to a JDBC database with QTP?

Marked as spam
Posted by (Questions: 22, Answers: 6)
Asked on September 13, 2012 6:42 am
302 views
Answers (1)
7
Private answer

QTP uses VBScript language and the main way for VBS to connect to a database is using an ODBC (Open Database Connectivity) connection.

JDBC is a Java-based data access technology (Java Standard Edition platform) and is an API for the Java programming language that defines how a client may access a database. JDBC can be considered a version of ODBC for the Java programming language and can not be used with VBS unless a ODBC-JDBC bridge software package is used. I have not used any bridge package software in the past for VBS.

Recommend finding an ODBC driver that can be used to connect to the database so that VBS can be used.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on September 13, 2012 6:46 am
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top