Can someone help me on weitghing ? I see I can not change two at a time. I added a new weight rule pressing plus button, change both control id and instance, but whatever I change the other one goes back to original, can somebody tell its reason to me ?
My other question is, in SPy I see that there are few rules plus mine, when ı open Ranorex Studio how will I know which rule I am using ? all of them ?
Object weighting problem from Spy
Re: Object weighting problem from Spy
Hi,
All rules with green check mark are applied. You can either disable or delete unwanted rules.
As for changing two attributes at a time, you just have to create two rules. But typically, it's enough to increase/decrease the weight value of just one attribute. Just make sure (by examining the default values of available attributes) that your changed attribute has higher/lower value than the attribute you want to prioritize/eliminate for/from the xpath building process.
All rules with green check mark are applied. You can either disable or delete unwanted rules.
As for changing two attributes at a time, you just have to create two rules. But typically, it's enough to increase/decrease the weight value of just one attribute. Just make sure (by examining the default values of available attributes) that your changed attribute has higher/lower value than the attribute you want to prioritize/eliminate for/from the xpath building process.
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