Page 1 of 1

Can eValid search find an element that is not visible?

PostPosted: Mon Feb 16, 2015 2:57 pm
by TraciS
Afternoon:

Can eValid's search capability find an element even if it is invisible?

Thanks

Re: Can eValid search find an element that is not visible?

PostPosted: Tue Feb 17, 2015 11:05 am
by eValid
TraciS wrote:Afternoon:

Can eValid's search capability find an element even if it is invisible?

Thanks


Thanks for asking TraciS.

Whether a DOM element is visible in a page is determined by one of the properties in the element and/or by a set of standard assumptions about DOM element visibility that are well understood.

The eValid DOM search commands, IndexFindElement and IndexFindElementEX, work on the structure of the DOM, and identify items in the DOM based on content.

Here are the relevant manual pages for these commands:

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

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

Both commands work WITHOUT regard to what is seen on the screen/face.

So a DOM element that is "invisible" is searched along with DOM elements that pertain to properties that are visible.

This even works when the page is minimized.

In that case, even though there is nothing on the screen to see, the DOM is still there (and possibly still being updated by the server).

So, answer is yes...visibility doesn't make a difference.

-- eValid Support