Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connecting to Oracle DB via JDBC using QTP
#4
Not Solved
I am not able to understand your connection string, there are so many Wink Smile
connection string to connect to oracle should be -

Provider=msdaora;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword;

the way I use in my script is
Code:
Set ConObj = CreateObject("ADODB.Connection")
ConObj.Provider = "MSDAORA.1"
ConObj.Properties("Data Source").Value = YourServerName
ConObj.Properties("Initial Catalog").Value = YourDatabase
ConObj.Properties("User ID").Value = YourUserName
ConObj.Properties("Password").Value = YourPassword
ConObj.Open

try this, hope it helps.

Reply


Messages In This Thread
RE: Connecting to Oracle DB via JDBC using QTP - by Saket - 02-25-2010, 10:45 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Request Help | Usage of Oracle Add-In for Oracle SQL Developer Nasir Ahmed 3 3,559 06-18-2014, 04:28 PM
Last Post: vinod123
  Connection to oracle using JDBC and QTP dileep45 0 3,446 07-30-2013, 06:39 PM
Last Post: dileep45
  Connection string for oracle (Remote DB) in QTP rohit330 1 6,074 02-23-2012, 07:53 PM
Last Post: rohit330
  QTP Oracle and Java add-ins issue navitha 7 9,323 07-29-2010, 11:55 PM
Last Post: supputuri
  Connecting MQ to QTP through VBScript Priya.Shah134 0 4,334 05-22-2010, 03:33 PM
Last Post: Priya.Shah134

Forum Jump:


Users browsing this thread: 1 Guest(s)