What the genaric function to connect Sql Server using Sql
Server Authentication and Windows Authentication
Function DBConnect(Constr)
set oCon=CreateObject("ADODB.Connection")
oCon.open Constr
if oCon.State=0 then
msgbox "connection not opened"
end if
set DBConnect=oCon
End Function
where ever required just call this function and define the
connection string.
ex: set con=DBConnect("Driver=;Server=;database=;user
id=;passwoerd=")
Regards,
mahi.kotike@gmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
DEFECT LIFE CYCLE,WHO PUT THE STATUS AS OPEN
what is test data
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
What is the use of Accessibility check point?
what is the difference between call to copy action and call to an existing action
Write a Script With descriptive programming(Without Repository) to update an Update an order in Flight App and verify whether it is done successfully.(Use ChildObjects method)
In qtp, explain what is crypt object
one page contain next button.when we enter that its not going to next page.what type of error that one.
when we right click on the desktop of any operating system we find a menu , consisting of refresh,edit,open,paste and cut etc... how to load the object and object properties of that menu in QTP
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
Hi..friends can anybody write the script for this question... Am having some 20 nos of links in a web application, i want to click some 5,13 & 17th links. So please....can anybody give the answer....??? -->Hani<--
is it possible to operate(on/off)the capslock using qtp