-2

i been given a task to do dabase testing on QTP for a website on number of user signing up and checking if the username is not dublicate of the one stored before.I am stuck on the very 1st step to establish connection as am new to QTP.Client given me database acess through godaddy account. www.godaddy.com.

How should i connect the SQL Server on that?To be precise what path i should give? Do I need to have QL server installed in my laptop to check that or since i been given acess to their server directly though this site i can go further?

Con.Open "Provider_____;Server=__,Uid=___pwd=_"

Madhumita
  • 21
  • 2
  • 8
  • 1
    Totally unclear what exactly is the problem. What does godaddy.com have to do with this? What have you tried? Check out the FAQs, please. – TheBlastOne Sep 11 '13 at 16:03
  • What are your options for data connection in QTP? First, please research and that should provide a framework for making a decision. Concentrate on finding either a native SQL Server connection versus an ODBC option. Hope that helps! – RandallShanePhD Dec 05 '16 at 23:57

1 Answers1

0

Refer www.connectionstrings.com and setup your correct connection string. Then use ADODB.Connection object to connect to your database in QTP.

MansoorShaikh
  • 913
  • 1
  • 6
  • 19