Forum Discussion
Hassan_Ballan
Champion Level 3
4 days agoIn addition to the great suggestions above, here’s one more TestComplete-native approach you might try:
🔍 Brute-force child inspection:
Since VLCNETObject may not expose tree methods, loop through its direct children to inspect properties dynamically:
for i in range(vlcNetTree.ChildCount):
node = vlcNetTree.Child(i)
Log.Message(f"{i}: " + node.Name) # Try .Text, .WText, or .AccessibleName too
This can help you identify which property actually holds your target value like "(12) Well Test 1", and confirm if the node even exists before trying FindChild().
🔍 Refined FindChild():
Once you know the correct property:
target = vlcNetTree.FindChild("AccessibleName", "(12) Well Test 1", 10)
if target.Exists:
target.Click()
If the nodes don’t exist until expanded, you’ll need to click parents first or simulate arrow keys.
🤖 AI-assisted response
👍 Found it helpful? Click Like
✅ Issue resolved? Click Mark as Solution