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

Applying eValid to AJAX applications that require advanced DOM-based methods.

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

Postby GinaTS » Fri Jul 17, 2015 1:18 pm

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
GinaTS
 
Posts: 1
Joined: Fri Jul 17, 2015 1:08 pm

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

Postby eValid » Mon Jul 20, 2015 4:01 pm

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
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons