Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
connect oracle to QTP
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
hi,
in my application i want to connect oracle database to QTP and execute the query.i tried with this code but failed to establish connection.

what all add-ins should be installed to connect database to QTP?

Code:
set conn=Createobject("ADODB.Connection")
Srvname="Driver={Microsoft ODBC for Oracle}:Server=DBserver,UID=abcd,Password=xyzz"
conn.open Srvname
Set Rec = CreateObject("ADODB.Recordset")
SQL="select PR_CODE  from SCHED"
Rec.open SQL ,conn


thanks
Reply


Messages In This Thread
connect oracle to QTP - by sherinvg - 02-26-2008, 12:51 PM
RE: connect oracle to QTP - by priyankmg - 03-14-2008, 04:07 AM
RE: connect oracle to QTP - by sherinvg - 03-14-2008, 01:50 PM
RE: connect oracle to QTP - by idolast - 06-24-2008, 03:22 PM
RE: connect oracle to QTP - by somisays - 06-24-2008, 05:49 PM
RE: connect oracle to QTP - by idolast - 06-25-2008, 02:42 PM
RE: connect oracle to QTP - by somisays - 06-26-2008, 12:22 AM
RE: connect oracle to QTP - by idolast - 06-26-2008, 03:28 PM
RE: connect oracle to QTP - by idolast - 06-27-2008, 12:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Getting error while connecting from qtp to oracle sql developer. Ritanjali Pradhan 1 3,193 09-26-2014, 02:06 PM
Last Post: vinod123
  Not able to connect to Oracle SQL Developer Paras Singh 0 6,773 05-30-2013, 01:25 PM
Last Post: Paras Singh
  Choosing Add-ins in QTP When Oracle forms or other IDEs used in web based application QTPBeginer 0 2,613 03-27-2013, 11:06 PM
Last Post: QTPBeginer
  Connect to QC ravi.gajul 3 14,712 09-18-2012, 12:39 PM
Last Post: SrinuKodi
  QTP API to connect to Performance Center(ALM) as_srini 3 5,733 06-14-2012, 09:14 PM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 3 Guest(s)