Infragistics & DevExpress components perceived as Unknown

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Richard Prudhon
Posts: 4
Joined: Thu Sep 08, 2016 3:59 pm

Infragistics & DevExpress components perceived as Unknown

Post by Richard Prudhon » Fri Sep 09, 2016 9:32 am

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
Attachments
xtragridControlSample.rxsnp
(350.41 KiB) Downloaded 33 times
ultragridSample.rxsnp
(198.75 KiB) Downloaded 37 times

User avatar
Vega
Posts: 110
Joined: Mon Jul 11, 2016 2:15 pm

Re: Infragistics & DevExpress components perceived as Unknown

Post by Vega » Tue Sep 13, 2016 10:39 pm

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.

Richard Prudhon
Posts: 4
Joined: Thu Sep 08, 2016 3:59 pm

Re: Infragistics & DevExpress components perceived as Unknown

Post by Richard Prudhon » Wed Sep 14, 2016 1:16 pm

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.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 3945
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Infragistics & DevExpress components perceived as Unknown

Post by odklizec » Wed Sep 14, 2016 1:49 pm

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
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Richard Prudhon
Posts: 4
Joined: Thu Sep 08, 2016 3:59 pm

Re: Infragistics & DevExpress components perceived as Unknown

Post by Richard Prudhon » Wed Sep 14, 2016 4:24 pm

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?

User avatar
Vega
Posts: 110
Joined: Mon Jul 11, 2016 2:15 pm

Re: Infragistics & DevExpress components perceived as Unknown

Post by Vega » Fri Sep 16, 2016 1:14 pm

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!