Ask a Question

Why TreeList object is recognized by the tool as a IWindow object? I am using Visual Studio

Adrian09
New Contributor

Why TreeList object is recognized by the tool as a IWindow object? I am using Visual Studio

I need to test a TreeList object but automated tool recognizes it as a IWindow object.
I test a DevExpress WinForms application on Windows10 OS.

2 REPLIES 2
AlexKaras
Champion Level 3

Hi,

 

Check if your control is supported by TestLeft: http://support.smartbear.com/testleft/docs/general-info/supported-technologies/controls/devexpress.h....

If it is not supported, you may try to cast it to one of the supported ones (http://support.smartbear.com/testleft/docs/general-info/supported-technologies/controls/devexpress.h...).

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

My tool sees TreeControl object as a IWindow object.

I tried

    ITreeView obj =  wnd.Cast<ITreeView>();

 

and

   IGridView obj = wnd.Cast<IGridView>();

 

but no results.

 

cancel
Showing results for 
Search instead for 
Did you mean: