How to connect to the Database from QTP?
Answer Posted / manohar
Dim con,rs
set con=createobject("ADODB.Connection")
set rs=createobject("ADODB.Recordset")
con.provider="Microsoft.jet.oledb.4.o"
con.open"Path of the database"
rs.open "select * (table name),con
| Is This Answer Correct ? | 27 Yes | 10 No |
Post New Answer View All Answers
How can you write the scripts that operate on different objects depending on run-time information?
Dis advantages of XML checkpoint ?
what is actually contain test report? can anybody post the test report
Both static and dynamic arrays are handled by the vb script. Is it true?
What is smart identification in QTP?
hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
i have asked earlier only one question how to test web application using QTp plz send me the answer quickly
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What is throw Object?
What is keyword view in qtp?
How QTP identify the system time that's changes every seconds?
What are the key points to create a framework in QTP for oracle forms?
What is expert view and keyword view?
How many types of recording facility are available in quicktest professional?