Hello all ,

I have been working on this piece of code where I have to find status of test cases like pass , failed and not complete from TD 8.0 using VB6.0.
I am able to establish connection with TD but as soon as line of code with 'NodebyPath' command is run I am getting an error "Node not Found"

Please suggest what might be the possible reason for this error.

here is the code:-

Dim TestF As TestFactory
Dim TestList As List
Dim tst As Test
Dim ocon As TDConnection
Dim rs As Recordset
Dim db As Database
Dim Filter As TDFilter
Dim bgf As TestFactory
Dim Str As String
Dim eID As String
Dim repPath As String
Dim repFold As String
Dim Com1 As String

Private Sub Command1_Click()

Dim TdPassword As String
Dim tdUsername As String
Dim tdProject As String

Set ocon = New TDConnection

ocon.InitConnection "http://testdir.browapps.app.norwich-union.com/tdbin", "NUI"
tdProject = "TD_UKGI_System_Test"
tdUsername = "SINDHUS"
TdPassword = "ABC123"

ocon.ConnectProject tdProject, tdUsername, TdPassword

Dim txtTestSet As String
txtTestSet = "TestSet_01"

Set tstMgr = ocon.TreeManager
Set tsttr = tstMgr.NodeByPath("Root\PR208") -> Error
Set TSetFact = tsttr.TestSetFactory
Set tsetList = TSetFact.NewList("")
For Each tset In tsetList
If LCase(Trim(tset.Name)) = LCase(Trim(txtTestSet)) Then
MsgBox ("Test Set Found")
End If

End sub