Self generated Control

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
fabdic
Posts: 2
Joined: Mon Jul 21, 2014 9:47 am

Self generated Control

Post by fabdic » Mon Jul 21, 2014 10:11 am

Hello,

I have an self generated Control for Charts. In this Form there are also some DataPoints from which I can access a dropDown-Menu with a mouse-click.

My Problem is that Ranorex recognizes it as an Picture(The Control is written in VisualBasic.).
Searching per Pixel would not help because the Form changes.

Thanks

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

Re: Self generated Control

Post by odklizec » Mon Jul 21, 2014 10:20 pm

Hi,

It seems that the control in question is not Ranorex (accessibility) friendly. Your only hope is to ask the control developer for a proper implementation of accessibility for this control. There are several Ranorex blog posts discussing this subject...
http://www.ranorex.com/blog/enabling-au ... s-controls
http://www.ranorex.com/blog/enabling-au ... essibility

If there is no way to add the accessibility to this control, your only hope is to use image-based recording. If properly used, it may help you also with dynamically changing GUI. See this screencast...
http://www.ranorex.com/support/screencasts.html#c2529

OK, one more idea. Another thing you might try is to use GDI capture list as described here...
http://www.ranorex.com/support/user-gui ... tions.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