Forum Discussion
Hi,
As it is specified in the documentation, .TextObject() method requires text to be drawn by the window procedure when it processes the WM_PAINT or WM_PRINTCLIENT message or by functions of the Direct2D library.
I think that this is how VB6 works but C# uses some other technique to render the text on the screen.
Considering that .Net applications are open to TestComplete by default, I would suggest to start from the investigation of the given TreeView object in the Object Browser and look for the properties/methods that can be used to identify and access the data you are looking for.
If you fail with the above, you should ask developers for their recommendation for how the data can be found (what native methods of TreeView should be used).
Thanks Alex for quick response. Will check and get back to you.
Regards,
ABu
Related Content
- 5 years ago
Recent Discussions
- 4 days ago
- 4 days ago