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

I want different types of discriptive programming statments coded for different types of web-objects?Give syntax and example?

2 Answers  


Which method do you use to retrieve data from the WebList object?

1 Answers  


What is the default add-ins in qtp?

0 Answers  


What are the Automation Limitations??

1 Answers  


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  






HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.

0 Answers  


When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?

4 Answers   BirlaSoft,


How to find which type of Framework is suitable for which type of application?

4 Answers   CTS,


What are objects? how do you select the unknow object?

3 Answers  


How to handle Dynamic Arrays?

0 Answers   Wipro,


can anyone please send me qtp framework material please its urgent

1 Answers  


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

0 Answers  


Categories