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
Describe synchronization point.
Suggest and Define a solution for an application whose objects are not recognized by UFT?
What does it mean when a check point is in red color? What do you do?
How will you test a keyboard?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
What is the synchronization point in qtp?
Explain object spy in qtp.
Explain the concept of object repository and how qtp recognises objects?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
How to remove associated function library?
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
Should have experience in framework means?
How do you create new test sets in td?
Why we load add-ins in qtp?
wht type of User defined functions or Java Releated functions do we write in VB scripting