AbsolutePath property does not return absolute path
Posted: Fri Jul 27, 2012 2:01 pm
Hi,
I have following example source code:
Button Updater is an SysTry icon. It is set to always visble.
Above code should throw exception when returned path is not absolute... and it throws.
The path which I get starts without slash:
With Ranorex Spy I can find the button but only if I add missing slash (means make absolute path).
Anyway my question is: Is this mean that AbsolutePath has a bug and does not returns Absolute path?
I have Ranorex 3.0.5.
I have following example source code:
Code: Select all
if (!repo.MenuBarExplorer.ButtonUpdaterInfo.AbsolutePath.IsAbsolute)
throw new RanorexException("PATH IS NOT ABSOLUTE!");
Above code should throw exception when returned path is not absolute... and it throws.
The path which I get starts without slash:
Code: Select all
menubar[@processname='explorer']/container[@caption='' and @controlid='303']/container/toolbar/button[@text='Updater']
Anyway my question is: Is this mean that AbsolutePath has a bug and does not returns Absolute path?
I have Ranorex 3.0.5.