Ranorex Repository Issue

Ask general questions here.
Posts: 94
Joined: Tue Jun 16, 2009 10:27 pm

Ranorex Repository Issue

Post by costamesakid » Tue Feb 21, 2012 12:23 am

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
You do not have the required permissions to view the files attached to this post.

Posts: 16
Joined: Wed Mar 31, 2010 7:45 am

Re: Ranorex Repository Issue

Post by Liam » Tue Feb 21, 2012 3:06 am

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$']