Forum Discussion

prakash_vasudev's avatar
prakash_vasudev
Contributor
10 years ago

Unable to click on SftTreeControl32OCX tree items

In our application under test we have SftTreeControl32OCX control implemented. We are not able to single click on the tree items using aqObject click item method either with text as input or index. What possible reasons it could be to not be able to click on the item using test complete native click item method?

3 Replies

  • Hello Helen, Thanks for the snippet!



    As I understand this snippet is for getting the cell values from a grid implementation of SftTreeControl32OCX. However, I am dealing with a tree implementation. In the example snippet where we have line of code which access the cell object with row and column index fail to work. I would like to know similar way how can we access the tree item objects in its parent child hirarchy.



    -Prakash
  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)
    Hi Prakash,



    What language is your application written in - VB6, C++, C#, VB.NET?



    Could you please post a screenshot of the Object Browser with the SftTreeControl32OCX object and its properties?