Page 1 of 1

Will eValid work if the ID tags on a page are not unique

PostPosted: Fri Jul 17, 2015 1:18 pm
by GinaTS
Afternoon

What does eValid offer if the ID tags of the pages I'm testing are not unique?

Is there are a way eValid can overcome this problem.

Thanks

Re: Will eValid work if the ID tags on a page are not unique

PostPosted: Mon Jul 20, 2015 4:01 pm
by eValid
GinaTS wrote:Afternoon

What does eValid offer if the ID tags of the pages I'm testing are not unique?

Is there are a way eValid can overcome this problem.

Thanks


Thanks for the post GinaTS.

A number widely used GUI generation systems do NOT assign unique ID tags to each HTML element as they are generating the page.

What is, perhaps, even worse is that they assign them afresh...a process that guarantees uniqueness of ID tag values, and infuriates testers who have built tests assuming ID tags are fixed.

There is no magic built on this one.

Sorry.

What we recommend is, when you know in advance you may NOT be able to rely on fixed ID tag assignments, is to work around using ID tags at all.

Instead we recommend that you pivot tests based on features of the page that you KNOW are not going to change.

The eValid PageMap facility, described in this manual page, will help you find DOM values that are constant:

http://www.e-valid.com/Products/Documen ... usage.html

Once you have a "fixed point" identified for a page element, then eValid provides a very robust collection of resources to use to organize your testing:

http://www.e-valid.com/Products/Documen ... urces.html

-- eValid Support