Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connecting to Oracle DB via JDBC using QTP
#3
Not Solved
Hi, Thanks for your quick reply.

However I checked with DB Admin and his point was since I am able to connect to My DB via TOAD / SQL TOOLS without facing any problem, he told its not because of TNS.Ora file which leaves me with one option ie, the connection string in QTP.

So I checked an alternative way like creating a dB check point. The connection was successful. But the string was bit lengthy. I replaced this string in my script. Now the connection opened successfully. But I got this below error.

"Command text was not set for the command object.
Line (30):
Code:
"Set thisObjRS = conn1.Execute(query,,adExecuteNoRecords)". "
Can Someone please guide me how to first get rid of this above error and then how to correct my Connection string. First aim is to successfully connect to DB. Smile
Reply


Messages In This Thread
RE: Connecting to Oracle DB via JDBC using QTP - by vishnuvpotty - 02-24-2010, 07:47 PM

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

Forum Jump:


Users browsing this thread: 4 Guest(s)