GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 501 of 674    Print  
set up an OLEDB connection to from QTP to DB2
I am unable to set up an OLEDB connection to from QTP to DB2.Can you please help me out how to set up this connnection .What are the proviers for the same .Please help me out with the porper connection strings .


  
Total Answers and Comments: 0 Last Update: August 24, 2007     Asked by: jayesh 
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

I am using QTP against Oracle Apps. I have successfully used QTP against one of my Oracle App instances. However I am unable to get a 'connection' between QTP and Oracle in my pre-prod instance. When I do an Object Spy against a form in this instance QTP only see JavaObjects - not Oracle Objects. I have set the ICX:Form Laucher system profile option correctly but still get this error. Any ideas?
Read Answers (1) | Asked by : Martha

I am trying to connect to Oracle in QTP but its not workingI hv written a code as - Set conn = CreateObject("ADODB.Connection")Set rs = CreateObject("ADODB.Recordset")SQL_Statement = "SELECT COUNT(*) FROM ACCOUNTconn.Open "Provider=OraOLEDB.Oracle;Driver={Microsoft ODBC Driver for Oracle};ConnectString=Test.WORLD;Uid=bds_read;Pwd=bds_read;"Its giving me error as - DSN not found or provider not foundBut I have created SYSTEM dsn as Test.WorldCould anybody suggest

Hi,I am new to QTP. I am trying to connect to the database through Database checkpoints and unable to connect to the database. Here we are using IBM DB2. It is giving error "Format of the initialization string does not conform to the OLE DB specification."And the created Connection string is "DRIVER={IBM DB2 ODBC DRIVER};DSN=dsnname;UID=uid;PWD=pid;MODE=SHARE;DBALIAS=dbname;"Can you please resolve my problem.Thanks in advance..
Read Answers (2) | Asked by : Praveen Y

I have made a connection to Access database from QTP using ADODB connection,,,, and also declared a recordset for it....There are 2 rows in the database and i want to fetch the values from all the rows...But the problem is that when the first record is fetched , QTP runs the whole script and again starts for the first line of the QTP code for the second iteration....and in this process it again opens the same connection and fetches the same first row again..... Can anyone tell me how to fetch the
Read Answers (3) | Asked by : shibu1

Hi,in my project we are suppossed to start automation. But, we are using backend as DB2 in mmainframes. How will I create the connection string with the back end accessing the database.
View Question | Asked by : Rajarshi Roy

Latest Answer : Question back to you: Why is there a need to write/parameterize the database connections?  Vugen is a record and playback technology.  You don't really need to code the entire script unless there are some constraints and limitations.  My suggestion ...
Read Answers (2) | Asked by : G.Suresh

I created my database in SQL Server 2005 and used the following script to connect to my database from QTP. But it didn't workim ObjDBSet ObjDB= Create Object("ADODB Connection")ObjDB.ConnectionString 
Latest Answer : Instead of creating an MS Access DSN , create a Sql Server DSN using a SQL Server ODBC driver for connectivity.Hope this helps.THe syntax in the answer to the above question is accurate.Thanks,Aditya. ...
Read Answers (1) | Asked by : Yared

How can you create a test data in oracle and how to fetch the data from it? Explain it with an example. 
Latest Answer : we can connect to oracle database through connection string....code for connecting to dbset con=createobject("ADODB.Connection")set rs=createobject("ADODB.Recordset");con.ConnectionString="DRIVER={oracle in orahome92};SERVER=(servername);UID=(username);PWD=(password);DBQ=dbserver"con.openquery="select ...
Read Answers (1) | Asked by : kalyanaraman

I am unable to set up an OLEDB connection to from QTP to DB2.Can you please help me out how to set up this connnection .What are the proviers for the same .Please help me out with the porper connection 
View Question | Asked by : jayesh

I have tried this way to export data from a database table to store in an excel sheet, but it is only storing the last record of the received records. Can anyone help me.Set objDB = CreateObject("ADODB.Connection")objDB.ConnectionString 
Latest Answer : Set objDB = CreateObject("ADODB.Connection")objDB.ConnectionString = "DSN=mysql_qtp"objDB.OpenIf objDB.state=1 Thenmsgbox("Connection Is Establsihed")elsemsgbox("Connection is not opened")exittestEnd Ifsql_query ...
Read Answers (1) | Asked by : eswarqa


 Sponsored Links

 
Related Articles

Connection between Data Model and Data Warehouse

Connection between Data Model and Data Warehouse Data models are required in order to build data warehouses The problem is those who develop data warehouses need to be able to show results at a fast pace Data models are problematic in that they take a very long time to build Is it possible then to s
 

Data Mining - The Connection Between Data Mining and Database Marketing

The Connection Between Data Mining and Database Marketing Many people have said that data mining is set to become a multi billion dollar industry However data mining is a technology that is still in its infancy and it will take time before it becomes useful for many industries mosgoogle However what
 

Data Mining - The Connection Between Data Mining and Customer Interaction

The Connection Between Data Mining and Customer Interaction While many companies are aware of the importance of collecting data which is related to their customers using this data to properly interact with the customers can be challenging The methods companies use to interact with their customers ha
 

The Connection of the 80/20 Principle With Time Management

The Connection of the 80 20 Principle With Time Management In the early part of the 20th century an economist named Vilfredo Pareto came up with a mathematical system that explained the unequal share of wealth in society He determined that in most societies eighty percent of the wealth is almost alw
 

The Connection Between Time and Money

The Connection Between Time and Money You have probably heard people use the statement time is money" many times While it sounds like a simple statement it is much more complex then you may think There are certain connections that time has with money but there are also some notable differ
 

The Connection Between Physical Exercise and Memory

The Connection Between Physical Exercise and Memory As more research is conducted on the brain it has become more apparent to scientists that the connections between the body and mind are stronger than were previously imagined mosgoogle Not only is physical exercise important for keeping the body he
 

The Connection Between Innovation and Problem Solving

The Connection Between Innovation and Problem Solving Innovation can be defined as the ability to create something new based on knowledge that has been attained In order for something to be new it must be radically different from things which are already in existence mosgoogle The nature of innovati
 

SOA Web Services - Direct Connection Pattern

Direct Connection Pattern using Single Adapter This pattern is depicted in the following figure. mosgoogle The Basic Direct Connection pattern uses a single adapter to connect a service consumer to a service provider. The adapter provides message and data transformation to match the different proto
 

SOA Web Services - Direct Connection Runtime Pattern

Direct Connection Runtime Pattern The Direct Connection pattern is depicted in the following figure. mosgoogle In this pattern a source application connects directly to a target application using a connector. The connector itself may be explicitly or implicitly modeled. Depending on the connector a
 

SOA Web Services - Direct Connection Application Pattern

Direct Connection Application Pattern This is the simplest pattern and defines a 1-to-1 interaction between a pair of applications. These interactions may be complex which might be broken down into multiple elementary interactions. The pattern addresses these connections. The following figure illust
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape