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

Answers were Sorted based on User's Feedback



hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone ..

Answer / 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

hi friends i was tried to connect qtp with oracle database using provider.i got a error.so anyone ..

Answer / chandu

The code for connecting QTP with ORACLE & MYSQL is same or
different ...?

if not , can any one provide the CODE

Thanks & Regards
Chandu

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How many types of recording facility are available in QTP?

1 Answers  


How to capture the text from the application using QTP?

3 Answers  


Hi All, I have QTP installed on my machine but the application under test is on remote machine. I need to automate the scenarios which consist of automatically enter the remote machine through IP address ,record the application in remote machine and run it also when played. Can some one tell how to record the application in remote machine.

0 Answers  


How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


wht type of User defined functions or Java Releated functions do we write in VB scripting

0 Answers   Wipro,






What is the difference between functions and actions in QTP?

7 Answers   Verizon,


What is obsolute path and relative path in QTP..? How to access them and what are the differences between them...??

3 Answers   Virtusa,


What is the differences between image check point and bit map check point?

0 Answers  


How can i check elements sorted in dorpdown using qtp..

1 Answers   Value Labs,


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

0 Answers  


Types of properties that Quick Test learns while recording?

1 Answers   Crea,


what are the different u notice in betweem QTP version 8.2 and 9.2 and what is new in QTP9.2

1 Answers  


Categories