hi friends i was tried to connect qtp with oracle database
using provider.i got a error.so anyone can help me out by
correct script

Answer Posted / shilpa reddy

I will provide u the code for it,try it once.

set con=createobject("ADODB.connection")
con.open "provider=oradb;server=Ipaddress;hoststring=stringn
ame;username=scott;password=tiger"
set com=createobject("adodb.command")
com.activeconnection=con
com.commandtext="ur required sql statement"
com.execute

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the benefits of quick test pro(qtp)?

649


How many types of recording modes in qtp? Describe each type with an example where we use them?

705


What is Distributed testing? How does UFT support it?

686


What are the advantages of a Hybrid framework?

699


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1519






what is the difference between IE & Netscape in web testing on a log in page

1905


What are the technics follow in writing VB script?

1619


In qtp, how you can use xpath to identify objects?

705


What is the difference between shared and local object repository?

699


How to add verification steps to tests?

9266


Define Canvas view of UFT?

714


how to evalute defects in QTP script?

1573


Explain the new feature of UFT regarding the export of test results?

674


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

703


How does qtp identify objects in the application?

675