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 are the different attribute used with regular expression?
What is the difference between the design-time and run-time data tables?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
Hi ,Can any one pleas explain how to test splash objects using QTP?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
What are the different types of recording modes?
what is actually contain test report? can anybody post the test report
Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What's the difference between them? How to handle script issues?
What are the differences between quicktest professional and winrunner?
What is the expert view?
How many ways we can parameterize data in quicktest professional (qtp)?
Which recording modes need more memory?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
How to use the object spy in quicktest professional (qtp) 8.0 version?