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
I have enrolled for a QTP course which is a four weekend course.Do you think its a good way to start off learning this tool?What all do i need with me in order to become a pro at using this tool?
What are the flaws in water fall model and how to overcome it?
Where you get the run time data table?
What is a reusable action?
How smart identification works in qtp ?
What is recovery scenario manager? When you go for recovery scenario manager?
ACTUALLY I AM WORKING IN THE DISTRIBUTION DOMAIN.MY COMPANY IS PROVIDING DISTRIBUTION SOFTWARE FOR PHARMA AND FMCG DISTRIBUTORS.HERE I AM USING QTP 9.2.HERE IN MY APPLICATION WHILE RECORDING ONE WINDOW APPEARS.IN THAT I CAN SELECT THE ITEM OR NO NEED TO SELECT.BUT WHILE RUNNING THE SAME SCRIPT THE WINDOW MAY NOT APPEAR OR APPEAR.HOW TO WRITE SCRIPT FOR THIS
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
What is test object?
Mention the test steps of qtp.
Is text area check point supports for web applications?
if numbers are always changing write a script for that
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
How to creating an output value using quicktest professional?
what is actually contain test report? can anybody post the test report