how to make connection to a remote mysql database in qtp
any one can please provid eme deatail steps.
Answer Posted / kishore
Set con = createobject("ADODB.connection")
Set rs = createobject"ADODB.Recordset")
Set com = createobject("ADODB.command")
con.open( "Driver=SQL SERVER;Server=server name (Where
DB is located);Database=DB name;Uid=uname;Pwd=pwd;" )
vf_com.Activeconnection = vf_con
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
How to use setroproperty?
What are the views available in quicktest professional?
What are the advantages of qtp?
What is test object model in quicktest professional (qtp)?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
How to capture a window in QTP?
What is environment variable in qtp and why to use it?
What will be happen if i load object repository at run time, but it has already associated.
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
How many types of trigger events are there in qtp?
How to test login module with different username and password by using data driven testing in QTP?
How do you open adobe acrobat file in QTP and do some testing on that file ?
What is text check point and text area check point?
What is the difference in testing a client-server application and a web application?