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 |
After geting the modules where we generate the script ie in qtp or notpad ?
How many add-ins comes by default with qtp?
What are advantages of test automation?
diff between dim & redim ? in detailed? pls any one explain me?
what is the difference between wait and wait function
what is the use of Browser.sync()
What is the D/B Test managemet tool and bug trcking tool? Ans send to pbr.qtp@gmail.com
How to create basic scripts from a manual test case in QTP?
I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
what is run-time data?