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

Can any body please tell me the steps of keyword driven framework of QTP.

1570


How to use transactions in qtp?

565


could any help me please, how to work on visual foxpro application using UFT

1692


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2981


Do you know how to connect database? Can you tell me the procedures?

553






How the exception handling can be done using quicktest professional (qtp)?

573


In qtp, explain what is keyword driven automation framework?

619


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


What r the different filters in defect in quality center

3285


What is fragmentation and paging?

1594


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

1625


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1375


Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1767


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1538


banking project description for software tester

7030