Page 1 of 1

Infragistics & DevExpress components perceived as Unknown

Posted: Fri Sep 09, 2016 9:32 am
by Richard Prudhon
Hello,

I'm trying to implement test automation using Ranorex on an application using both Infragistics 7.2 and DevExpress 13.1.5.

In both case the Spy doesn't identify the UltraGrid or the XtraGrid as a valid table, and default it to unknown.
As the UltraGrid is pretty standard I guess I'm doing something wrong.

The component UltraGrid not recognized is /form[@controlname='MainFrame']/element[@controlname='ugbMain']/?/?/container[@controlname='utsShared']/?/?/element[@controlname='ugCreditLines'] in the snapshot.

The XTraGridControl is /form[@controlname='MainFrame']/element[@controlname='ugbMain']//container[@controlname='CriteriaView']/?/?/container[@controlname='panel2']/?/?/container[@controlname='panel1']/element[@controlname='ContractsListGridControl']

Thanks in advance for your help

edit : added the rxsnp in attachment

Re: Infragistics & DevExpress components perceived as Unknown

Posted: Tue Sep 13, 2016 10:39 pm
by Vega
Hello Richard,

I have not yet had time to examine your attached files, but is it possible for you to use a newer version of Infragistics' controls? I was able to create a sample application using Infragistics UltraGrid 16.1 [newest version] and everything was identified properly.

7.2 -> 16.1 is a pretty big version jump!

I'm thinking the older version of Infragistics may not have the accessibility that newer versions may have. You can try and use Microsoft inspect to see if there is any difference on the control. I will try to make time to review your snapshot files tomorrow.

Re: Infragistics & DevExpress components perceived as Unknown

Posted: Wed Sep 14, 2016 1:16 pm
by Richard Prudhon
Hello

After further investigations, it appears that the behavior is not consistent.

I have the issues on a windows 7 64bits, but when the test is done on other computers (including a 32bit winXP, and two 64bits Win7) then it works.

I suspect it's an issue with the computer, but I can't find the components that's installed differently and would explain this behavior.

Re: Infragistics & DevExpress components perceived as Unknown

Posted: Wed Sep 14, 2016 1:49 pm
by odklizec
Hi,

Are you sure there are exactly the same Ranorex settings on all computers? You see, maybe you have modified some settings at one computer and you did not set Ranorex the same at other computer? ;) This could explain different behavior between computers.

BTW, since the Ranorex 6.1, Ranorex configuration could be stored directly in solution, which makes the solution distribution easier. See this user guide post:
http://www.ranorex.com/support/user-gui ... tings.html

Re: Infragistics & DevExpress components perceived as Unknown

Posted: Wed Sep 14, 2016 4:24 pm
by Richard Prudhon
Hi,

Thanks for the answer.
I'm 99.99% certain I didn't change the settings when I'm doing my tests.
I did some tests by changing some values, to no avail.

I just reconfirmed that the settings are identical on both computers.
Are you aware any other sources of configuration in Ranorex (like registry or other sources) that I could check?

Re: Infragistics & DevExpress components perceived as Unknown

Posted: Fri Sep 16, 2016 1:14 pm
by Vega
It would not hurt to do a "refresh" of Ranorex / .NET framework. Do the following in order on the affected machine:
  • [1] Uninstall Ranorex
    [2]Uninstall .NET framework
    [3]Uninstall C++ Redistributable(s)

    [4]Reboot

    [5]Install .NET framework
    [6]Install ranorex from .exe NOT MSI
I hope this helps!