OS: Windows 10 Pro 64bit latest updates
Ranorex: 8.3 downloaded 12 October
Web Browsers: tested with Edge and Chrome, same behaviour
web page: https://www.ranorex.com/why-ranorex/
Scenario:
Recorded some very simple actions against the Ranorex.com website.
Here is the O.R.:
If I then click 'Edit in Spy' for the 'DownLoadFreeTrial' Element, it opens in the Spy as normal, however, if I edit the Ranorex Path directly in the top bar of the Spy and add an Index:
and hit Enter, when I then click the highlight button in the Spy, it removes the index attribute and cannot find the item. This seems to be the same when trying to highlight from the O.R. as well:
It works fine when I run the test Suite, but cannot use the Spy to highlight the element, as Ranorex removes the index attribute every time.
After trying this out a bit further, I have found that using this identifier: /dom[@domain='www.ranorex.com']//a[@innertext='Download free trial'][1]
I can now highlight the element from the O.R. and run the test fine (finds the element no problem), but when I click edit in Spy, the element reports not found in the Spy! and if I click refresh it removes the index attribute. Some very odd behaviour when using indexes
Repository Editor in 8.3 ignoring index when highlighting
Re: Repository Editor in 8.3 ignoring index when highlighting
Hi,
I'm not experiencing anything like this with Ranorex 8.3. I can use index in xpath both in standalone and integrated Spy in Studio and it does not disappear. And yes, I tried the very same url and Chrome/Edge. The only things that spy reports is that it cannot uniquely identify parent folder. BTW, make sure you have Chrome and Edge processes on the white list! It's a requirement for Edge browser.
I'm not experiencing anything like this with Ranorex 8.3. I can use index in xpath both in standalone and integrated Spy in Studio and it does not disappear. And yes, I tried the very same url and Chrome/Edge. The only things that spy reports is that it cannot uniquely identify parent folder. BTW, make sure you have Chrome and Edge processes on the white list! It's a requirement for Edge browser.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
Re: Repository Editor in 8.3 ignoring index when highlighting
I have both browsers whitelisted. As I say, it identifies the element, until I click refresh or highlight, then the index gets dropped & it finds more than one element.
Re: Repository Editor in 8.3 ignoring index when highlighting
I've captured the process on video, see below.
Steps are:
1. in the O.R. select the item that uses the index and click Edit in Spy
2. In the Spy click refresh or Highlight button
3. Ranorex loses the index (changes the Ranorex path)
Video capture on dropbox: https://www.dropbox.com/sh/dlnsuiqdzgr8 ... P9fma?dl=0
Steps are:
1. in the O.R. select the item that uses the index and click Edit in Spy
2. In the Spy click refresh or Highlight button
3. Ranorex loses the index (changes the Ranorex path)
Video capture on dropbox: https://www.dropbox.com/sh/dlnsuiqdzgr8 ... P9fma?dl=0
Re: Repository Editor in 8.3 ignoring index when highlighting
I was about to write it all works as expected, but now I saw it too. I thought the index is removed, only if you edit the repo item, add index and THEN you click on highlight or refresh. But it seems it happens, if the index is already stored in repo! Once the xpath with index is started to be edited in spy, and then you click highlight or refresh, the index disappears. So yes, it appears to be a bug.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
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
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Repository Editor in 8.3 ignoring index when highlighting
Hi Tomsk666,
Thank you for reporting this issue.
We created an entry in our internal bug tracking tool and our developers will further analyze this behavior.
Please note, that all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex.
Kind regards,
Stephan
Thank you for reporting this issue.
We created an entry in our internal bug tracking tool and our developers will further analyze this behavior.
Please note, that all reported bugs and feature requests are documented in the release notes, with every new version release of Ranorex.
Kind regards,
Stephan