How to connect to the Database from QTP?
Answer Posted / murali raju
Microsoft ADO (ActiveX Data Objects) is a Component object
model object for accessing data sources.The ADO Recordset
object is used to hold a set of records from a database
table. A Recordset object consist of records and columns
(fields).
In ADO, this object is the most important and the one used
most often to manipulate data from a database.
Srvname is a connection string.if u already installed
oracle in your system..using that path u can connect oracle
database...if u dont have oracle give the conncetion string
path..whatever connection string created used in database
checkpoint by
default...Example:DSN=QT_Flight32;DBQ=C:\Program
Files\Mercury Interactive\QuickTest
Professional\samples\flight\app\flight32.mdb;Driver=C:\WINDO
WS\system32\odbcjt32.dll;DriverId=281;FIL=MS
Access;MaxBufferSize=2048;PageTimeout=5;
| Is This Answer Correct ? | 39 Yes | 6 No |
Post New Answer View All Answers
What is a data driven test in qtp?
Does QTP record on Objects created on XWindows Environment?
What is the syntax for how to call one script from another?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
What is quicktest professional (qtp window?
How did you use regular expressions in QTP and also in WR?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?
What is accessibility check point?
what the difference between shared repository and per action repository?
How to define array in qtp?
What are the different types of functions available in qtp and explain ?
How to check bitmap output value?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
How to use actions in qtp ?
How can you send user defined messages to test report?