Answer Posted / 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 |
Post New Answer View All Answers
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Explain the concept of how quicktest professional identifies object?
Does Low-level recording capture mouse movements?
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
Where we use data driver in qtp?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Which recording modes need more memory?
What is a checkpoint? How many check points are there in qtp?
who QTP recognizes the object stored in object repository?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
How to analyzing test results using quicktest professional?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
How to find the length of the string in qtp?
What are the different properties of an web object
What is the difference between run time object and test object?