missing Dynamic capabilities in Path Weight editor

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

missing Dynamic capabilities in Path Weight editor

Post by odklizec » Fri Aug 23, 2013 3:41 pm

Hi all,

Could anyone please tell me, how can I change the Path Weight of Dynamic capabilities (like AccessibleName, AccessibleRole, etc...)? The problem I'm facing is that there seems to be no Dynamic capability in the Path Weight editor?...
Dynamic_1.png
The closest capability containing the accessible attributes is Accessible...
Dynamic_2.png
But this capability seems have no effect on the Dynamic attributes?

And another thing, I noticed that all "Dynamic" options have default weight = 0...
Dynamic_3.png
And because of this, they are not even accessible in the Path Editor (attributes are not used in the path if weight is less than 100). So as of now, my only option how to use the Dynamic accessibility attributes seems to be to add them manually to each path? - EDIT: missing Dynamic attributes in Path Editor are not caused by path weight<100 but by missing refresh, as described in this post: http://www.ranorex.com/forum/missing-at ... t5096.html

I'm using RX 4.1.
You do not have the required permissions to view the files attached to this post.
Last edited by odklizec on Tue Aug 27, 2013 2:32 pm, edited 1 time in total.
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

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

Re: missing Dynamic capabilities in Path Weight editor

Post by odklizec » Mon Aug 26, 2013 2:35 pm

Hi again,

Just an additional info about my problem. I tried to follow the steps suggested here...
http://www.ranorex.com/forum/reusing-re ... t4020.html
But it seems the "Edit Path Weights" link disappeared from 4.1 Spy GUI? Maybe as a side effect of newly added screenshot section? I think it would be nice to have this link back. Currently, the only option to edit the path weights requires to use Settings dialog, which means few more clicks ;)

In any case, the dynamic capabilities seems to be missing in the Path Weights editor. Any suggestion (even temporary) how to solve my problem?
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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: missing Dynamic capabilities in Path Weight editor

Post by Support Team » Tue Aug 27, 2013 2:56 pm

Hello,

Unfortunately the dynamic capability is no longer available.
I made an entry in our bug tracking system and we will discuss internally how to solve this issue.
As workaround you can edit the path weight settings manually in the RanorexConfig.xml which can be found in the %APPDATA% directory.

For example:
...
<rxpathweights>
	<rule
	name="Dynamic Capabilities"
	enabled="True"
	capability="dynamic"
	attribute="accessiblename"
	setweight="150"
	conditionsoperator="or"/>
</rxpathweights>
...
Concerning your second question, you are right, the link for the "Edit Path Weights Editor" was removed in order to get more space for the image.
Thank you!

Regards,
Bernhard

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

Re: missing Dynamic capabilities in Path Weight editor

Post by odklizec » Tue Aug 27, 2013 3:08 pm

Hi Bernhard,

Thank you for the reply and suggestion! I will give it a try.

As for the removed "Path Wight Editor" link, It would be really nice to have it back, because it definitely saved few mouse clicks. Or maybe you could add a new button to spy toolbar? Even a global shortcut to start the Path Weight Editor would be just enough ;)
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

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

Re: missing Dynamic capabilities in Path Weight editor

Post by odklizec » Tue Aug 27, 2013 4:07 pm

OK, manual editing of RanorexConfig.xml helped. Thanks again for this workaround!
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

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: missing Dynamic capabilities in Path Weight editor

Post by Support Team » Thu Aug 29, 2013 4:54 pm

Hello,

We will discuss internally if we add the link to Spy again.
Thank you!

regards,
Bernhard