Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

By using QTP can we record any log files written by the application which is in execution?

1924


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1882


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

2225


How many types of trigger events are there in qtp?

1002


Will down time for server and content maintenance/upgrades be allowed? how much?

1065


What is the difference between byref and byval in qtp?

1074


How many types of parameters are available in quicktest professional (qtp)?

1018


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

2004


How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")

1840


What is reusable action?

1078


what is review

2132


What is the Command used to start the QTP

1933


What are advantages of test automation?

1125


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

2113


if our qtp vb Script may be Currepted then What we want do?

1899