by amkhullar » Fri Mar 18, 2011 5:33 am
Just one more added info for the xml generator, you need to create an ODBC Connection in your system which connects to the Database you use, because I am using the same connection in the macro code in XML to verify the existing test cases in the Testlink DB to avoid any duplication of test cases while importing.
Please change the user name and password in xml macro function accordingly for accessing your database
Function CheckTCExist(strTestCaseName As String, intRow As Integer) As Boolean
If (strTestCaseName <> "") Then
conn.Open "Driver={MySQL ODBC 5.1 Driver};" & _
"Server=deepthought;" & _
"Database=testlink_19;" & _
"Uid=amit;" & _
"Pwd=amit"
and
Function CheckReqExists(strreqdoc As String, strreqid As String, intRow As Integer, intCol As Integer) As Boolean
conn1.Open "Driver={MySQL ODBC 5.1 Driver};" & _
"Server=deepthought;" & _
"Database=testlink_19;" & _
"Uid=amit;" & _
"Pwd=amit"