JulieP wrote:Good Afternoon.
Can eValid search a page backwards?
Thanks for posting JulieP.
This is important, when the item you are looking for on a page is the LAST one to appear.
In this case the IndexFindElement and IndexFindElementEx commands both have a tag that specified UP and DOWN.
To be clear, UP means increasing DOM index values, and DOWN means decreasing.
Yes, we know, that means that if you use the: IndexSetEnd wid "frame_path" command to move the internal value of sourceIndex to the last most one on the page, and use the DOWN search mode, that you are actually starting at the bottom of the page and move through smaller index numbers, which is upwards.
Sorry about that. Can't be helped because the sense of index numbers and the way the eye works conflict. We did the best we could with this ambiguity.
-- eValid Support