Ignore a repo item when using the recorder?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Langrisser
Posts: 8
Joined: Tue Jun 21, 2016 1:53 pm
Location: Germany

Ignore a repo item when using the recorder?

Post by Langrisser » Mon May 31, 2021 8:13 am

Hello there,

I am working on a win 10 system with the Ranorex version 9.5.

I am not allowed to upload a Ranorex snapshot for now and hope you can still help me solve this.

My problem (see attached screen):
When using the recorder or spy I can only track one item with this path:
container[@type='DecorationPane']//container[@name='AlwaysOnTopPane']
As the name "AlwaysOnTopPane" states, it makes it impossible to track the real items of interest (e.g. from the container Viewspane)

While I can modify the path in the spy to get the items I want, other testers who like to use the recorder can't properly track the items they want.
(They will always get the "AlwaysOntopPane" as tracked repository item for every action)

My question:
Is there an option to globally ignore a repository item or XPath? Or is this something I have to solve with my dev team?
Thanks for taking the time.

Kindest regards

Langrisser
You do not have the required permissions to view the files attached to this post.

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Ignore a repo item when using the recorder?

Post by odklizec » Mon May 31, 2021 8:20 am

Hi,

I know what you mean. I've faced this kind of issue myself several times in the past. Unfortunately, there is no such feature available. So the only "workaround" is to add the elements manually, via scrolling/expanding Spy tree.
Pavel Kudrys
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

Langrisser
Posts: 8
Joined: Tue Jun 21, 2016 1:53 pm
Location: Germany

Re: Ignore a repo item when using the recorder?

Post by Langrisser » Mon May 31, 2021 10:15 am

@odklizec
Thanks for your quick reply. I hoped there would be an "easy-lazy" way to solve this :')

EDIT
I will talk to my dev team and see if changing the default visibility of the pane is possible and won't impact the expected behavior of the production code.