Answer Posted / ajreddy
function Connect database
set con= create object("Adodb.Connection")
set rs=create object("Adodb.Recordset")
con.provider = "microsoft.jet.OLEDB.4.0" '@ For MS access
con.open="Path of Database"
rs.open "select * from xxxx", con
do until re.eof
end function
Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
How many types of status are there?
How to import a test case present in ".xls" file to TD under a Test set?
Explain the concept of object repository and how QTP recognizes objects?
How we can import data from database?
what are all the fileds present in object repository?
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
What are the different recording modes?
How may types of defects identify application or your currently working application?pls give me answer..
What Folder Structure following in Keyword Driven Frame work?
What is the virtual object?
How can I check if a environment variable exist or not?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
What is parameter in qtp?
How will you check a web application for broken links using qtp?