How can you connect the database with QTP?
Answers were Sorted based on User's Feedback
Answer / siva
set mycon = CreateObject("ADODB.Connection")
mycon.open("driver=SQL Server;Server=localhost;database=(database name);trusted_connection=yes")
set myresult=mycon.execute(Select * from emp)
while myresult.EOF<>TRUE
msgbox.myresult.fields(0)
myresult.movenext
wend
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / prashanth
Hi Sandeep,
What are the steps through database wizanrd, will u give
clear steps.
Is This Answer Correct ? | 0 Yes | 0 No |
How many add-ins comes by default with quicktest professional?
In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?
What is output value in QTP? Why do we use the output value in QTP?How many types of output values are there in QTP? what are their respective usage in QTP?
difference between multiple parameterization and data driven wizard in QTP?
what are the different Frame Works in Quick Test Proffessional testing
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
How can you quit from Action.
What are the two types of repositories available, explain them?
how to count spaces in a given string ex: "this is jagadeesh" in QTP with simple functional script
Does QTP support Java Script also. Which is one is preferrable for QTP, VB script or Java script
Why QTP is termed as a Record and Playback tool?
How to execute a WinRunner Script in QTP?