Quality Testing

Quality is delighting customers

How to connect uft tool with sql server.Below is the code i have used and it is showing error.

Can any 1 please tell me the solution

Set ObjConn = CreateObject("ADODB.Connection")
Set objRecordSet = CreateObject("ADODB.Recordset")
ObjConn.Open "Provider=sqloledb; Server=gvs91889.americas.hpqcorp.net,2048;UserID=srvc_ima_platform ;pwd=jde@2408itg;dbname=JDE_ITG_HPE"
Msgbox ("Connection Established")
else
Msgbox ("Error")
End if

Views: 48

Reply to This

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2017   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service