Page 1 of 1

Ranorex Repository Issue

Posted: Tue Feb 21, 2012 12:23 am
by costamesakid
Using 3.2

I have my main application 'FormTacViewC2' with its xPath shown below:
ScreenHunter_01 Feb. 20 04.54.gif
When recording if the object was not referenced under this Form Ranorex would obviously create a new repo item and place it correctly there. If the object did exist Ranorex would correctly reference it in the recording.

Then I had to do some work with Adobe pdf files. Specifically to test the 'Help' feature of my application. While recording Ranorex correctly created an Adobe form and placed all needed elements under it as seen here:
ScreenHunter_01 Feb. 20 12.04.gif
Now whenever I record ANYTHING on my main TacView application, whether the object exists or not, Ranorex will create a new child item and ALWAYS place it under my Adobe repo item? It even highlights the item correctly which makes no sense because the Adobe Forms Path is not even close to the TacViews Form Path. In fact, even if I try to highlight the Adobe Main Form (with no Adobe forms open on my screen), Ranorex will highlight my TacView application. Very strange. Any help in this matter will be appreciated. Thanks

Re: Ranorex Repository Issue

Posted: Tue Feb 21, 2012 3:06 am
by Liam
When you open the Help files, does the title of your main application change to end with "License Agreement" or "License Agreement for Use on Personal Computers"?

Edit: I think you need to change the XPath of the Adobe Reader form to be
/form[@title~'License Agreement$|License Agreement for Use on Personal Computers$']