i cannot re-use my test cases
i cannot re-use my test cases
i am a beginner in ranorex but not automation, i am testing a web application and every-time i open the webpage the object id keeps on changing so ranorex cannot identify it because the id during the time of recording is different from the id when playing the recorded test case.
Re: i cannot re-use my test cases
Hi lakiphala and welcome here,
There is a nice Ranorex blog post regarding your problem...
http://www.ranorex.com/blog/automated-t ... ynamic-ids
There is a nice Ranorex blog post regarding your problem...
http://www.ranorex.com/blog/automated-t ... ynamic-ids
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: i cannot re-use my test cases
Hi odklizec thanks for the link.i tried that but not sure if the weight changed.
You do not have the required permissions to view the files attached to this post.
Re: i cannot re-use my test cases
Hi,
To see if the xpath weight rule is saved correctly, go to Spy and try to track the element again. It should now prefer atag over div. Which means you also need to re-record your existing repository elements with new weight. I'm afraid, changed weight will not update existing repo items.
To see if the xpath weight rule is saved correctly, go to Spy and try to track the element again. It should now prefer atag over div. Which means you also need to re-record your existing repository elements with new weight. I'm afraid, changed weight will not update existing repo items.
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