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?...
The closest capability containing the accessible attributes is Accessible...
But this capability seems have no effect on the Dynamic attributes?
And another thing, I noticed that all "Dynamic" options have default weight = 0...
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.
missing Dynamic capabilities in Path Weight editor
missing Dynamic capabilities in Path Weight editor
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 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: missing Dynamic capabilities in Path Weight editor
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?
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 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: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: missing Dynamic capabilities in Path Weight editor
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:
Thank you!
Regards,
Bernhard
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
Re: missing Dynamic capabilities in Path Weight editor
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
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 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: missing Dynamic capabilities in Path Weight editor
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 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: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: missing Dynamic capabilities in Path Weight editor
Hello,
We will discuss internally if we add the link to Spy again.
Thank you!
regards,
Bernhard
We will discuss internally if we add the link to Spy again.
Thank you!
regards,
Bernhard