How to select checkbox present under treeView
Please refer attached snapshot treeView.png
Observe that tree has checkbox for each Item and to select item one need to check corresponding checkbox.
How to select such checkbox in Test Complete.
But got Error: Invalid number of parameters.
If select using Items option it click on name correspoding to checkbox, which does not check the checkbox; ie selecting name of checkbox does not check checkbox.
How to check such checkbox.
Invalid number of parameters simply means that, in your code, you haven't properly implented it. I don't know this specific control but does the "Check" method take a boolean parameter? What does "Object SPy" show when you try and examine the checkbox, if possible? Have you tried recording what you're intending to do to see how TestComplete recognizes it?