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
Explain quicktest professional (qtp) testing process?
How many types of recording modes are there?
Is virtual object supported in low level recording mode?
which type of testing process are you following in ur company? how to recognize a qtp page?
if anyone has idea of the interview procedure in covansys, plz send me a mail?
i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer
How do you create new test sets in td?
Explain the features of quick test pro(qtp)?
what could go wrong with test automation?
What is the difference between the keyword view and expert view?
Explain the benefits of quick test pro(qtp)?
How can I import environment from a file on disk?
I want to do QTP Certification what is the pattern of Question paper.
Where can I find and view run-time data table?
What is Curd testing?