Page 1 of 1

Will eValid search a webpage backwards

PostPosted: Fri Dec 22, 2017 2:54 pm
by JulieP
Good Afternoon.

Can eValid search a page backwards?

Thanks

Re: Will eValid search a webpage backwards

PostPosted: Tue Dec 26, 2017 5:44 pm
by eValid
JulieP wrote:Good Afternoon.

Can eValid search a page backwards?

Thanks


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