Hi,
basically Ranorex can only present information which is provided by its UI adapters during test execution.
It depends on the technology underlying your application under test if you can set/get more information (as provided directly via accessibility) out of the adapter. If you application is based on WinForms you can try to use the
Get/
SetPropertyValue methods.
For more details have a look at
Ranorex GUI Adapter.
If you use a web based technology you may use the
GetStyle/
SetStyle methods to change the view of the element.
There are also some samples:
http://www.ranorex.com/support/user-guide-20/web-testing/samples.htmlIf you want to use the Ranorex internal "highlighter" you have to add the "Ranorex.Controls" assembly as reference and these lines of code, but this is not really recommended and a Ranorex internal method:
Highlighter highLighter = new Highlighter();
Button buttonStart = "/dom[@domain='www.ranorex.com' and @page='FlexExample.html']/body/flexobject/button[@id='button1']";
highLighter.Hide();
highLighter.UpdateFromElement(buttonStart);
highLighter.Show(5000);Kind Regards,
Markus
Ranorex Support Team