ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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
 Question Submitted By :: Nayana
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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
Shilpa Reddy
 
  Re: 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
# 2
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
Chandu
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
To count the no of links present in the yahoo home page i have written the script like this Set fileSysObject=createobject("Scripting.FileSystemObject") Set linksFileName=fileSysObject.opentextfile ("D:\samplelinkfile.txt",2,true) Set linkDescObj=description.Create linkDescObj("micclass").value="Link" Set noOfLinks=browser("yahoo").Page("Yahoo! India").ChildObjects(linkDescObj) For i=0 to noOfLinks.count-1 linkName=noOfLinks(i).getROProperty("name") linksFileName.writeline(linkName) Next linksFileName.close Set fileSysObject=nothing While running the script it showing error that object "yahoo"isnot found in the object repository. Is there any setting before running the script? if yes what is the steps for it.Im using QTP9.0  2
how to record a word doc using qtp i.e open a word doc,type something and save the doc can someone send me the code.  2
how to load vbs file to qtp through scripting. plz provide the code..... IBM1
what properties do use to identify a browser and page while using descriptive programming? TCS3
HOW TO HANDLE THE EARRORS WITHOUT USING RECOVERYSCNEORY? PLZ TELL ME IMMIDIATLY  1
In VSS, HoW the documents send to local folder? copy paste or any other? plz explain about VSS TOOL kit? Oracle2
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  2
What is the difference between check point and output value.  3
how to invoke the web application through script in qtp Synechron5
What are associated files in QTP?  2
how to select particular value from the combobox in the current page which is entred in the previous page editbox after parameterization? Ordain-Solutions5
What is a Run Time Data table?  1
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.  1
Hai anyone please "Explain about Framework in QTP?"  5
can any one tell me How exactly data drivent testing is done in.explain with any example and the exact steps to fallow?  1
Differenece betwen Project and product ? when company need project or product? Accenture4
How can I test the unix shell in QTP Persistent1
What is the Test Object model in QTP?  3
What is the difference between QTP 8.2 and QTP 9.2 ? Infotech4
Hi Friends, Can any one answer this question? 17) What method is used to retrieve the number of columns in the query results? A. Fields.Count B. Fields.Item(EOF) C. Fields.Count(BOF) D. Fields.Count.Value  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com