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 to retrieve the object properties at runtime without the usage of GetROProperty?
What is the use of Debug Viewer?
What is the ur roles and responsibilities as automation testing engineer?
What are the advantages of Automation objects than Test Objects?
what are the areas that cannot be tested using an automated tool? list a few
Suppose there is a link present somewhere in an excel sheet. Find the link and click on it. How to write a script using Excel application object in QTP?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
how to convert 100 into hundred repees only and viceversa
Synchronization methods?
How to retrieve the property of an object in QTP?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?