I have two edit fields in my test application page.
I have used renoex recording to enter the data in those fields.
(1)I played the recording and Ranorex was able to find the fields vey quickly.
(2)Then I have abbreviated the xpath in the repository and tried to play the same recording. This time it took few secs to searh those fields.
(3)Next time when I ran the same steps it was faster than last time.
Questions
1. Why it was slow in the step -2
2.How it became faster in the step (3) even though when I was using the same abbreviate xpath.
Thanks,
Abbreviate Xpath
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Abbreviate Xpath
Hello,
here the answer to your two questions:
1) the RanorexPath can be used to find an element using minimal specification,
like /dom[...]//div[@style~'xyz']. In such a case a lot of elements must be checked to find the one that fits to the RanorexPath. So it will take longer. How long depends on how many applications/pages you have open.
2) Then there is caching done: so once a element fitting to a repository folder has been found it is remembered and reused. Caching can be turned off.
Regards,
Roland
Ranorex Support Team
here the answer to your two questions:
1) the RanorexPath can be used to find an element using minimal specification,
like /dom[...]//div[@style~'xyz']. In such a case a lot of elements must be checked to find the one that fits to the RanorexPath. So it will take longer. How long depends on how many applications/pages you have open.
2) Then there is caching done: so once a element fitting to a repository folder has been found it is remembered and reused. Caching can be turned off.
Regards,
Roland
Ranorex Support Team