Forum Discussion

odyachuk1's avatar
odyachuk1
New Contributor
14 years ago

Text Recognition feature does not work for .NET (WinFormsObject)

Hi,

I am using evaluation copy of TestComplete 8

(right now we are deciding to take or not TestComplete as main automation tool for our project).



And I have following problem:



TestComplete does not recognize Tree View element (DevExpress)

And I was trying to use Text Recognition feature to click on items in a tree but seems like TestComplete does not see any text elements inside this tree.



I performed following steps:

1. Checked that plugin is installed

2. Opened Current Project settings->Open Applications->Text Recognition and added WndClass value for tree view into list of items (and checked checkbox nex to it)

3. Saved Project and refreshed Object Browser

Result: No new items (accessible from TextObject method) for tree view appears.



Object type in Object Browser:  WinFormsObject

WndClass property value: WindowsForms10.Window.8.app.0.1ca0192_r16_ad1

Also I checked that TextObject method is available for this object (WinFormsObject).



What should I do to interact with this object?



Please help.

Thank you.


  • Hi,


    TestComplete provides extended support for the following Developer Express tree views:


    - DevExpress.XtraTreeList.TreeList

    - DevExpress.Web.ASPxTreeList

    - TcxTreeList


    Could you please specify the class of the control you would like to test? We will try to provide you with instructions on how to make TestComplete recognize your control as a tree view.

  • odyachuk1's avatar
    odyachuk1
    New Contributor
    This object is not a DevExpress Tree.

    In properties for this object:

    Product Name: Application.Services  (for all DevExpress objects I see: DevExpress)

    Full Class Name: Workbench.Forms.Controls.CommodityTree.ProductTreeList

    Class Name: ProductTreeList



    Thank you for your help. I already found solution.

    I am using OCRObject 
    instead of Text Recognition feature.