Page 1 of 1

How does eValid determine if a page is visible or not

PostPosted: Thu Aug 20, 2015 10:33 am
by MarleenT
Greetings.

Can eValid tell whether a page is "Not Visible"?

How does the tool do this?

Thanks

Re: How does eValid determine if a page is visible or not

PostPosted: Fri Aug 21, 2015 11:07 am
by eValid
MarleenT wrote:Greetings.

Can eValid tell whether a page is "Not Visible"?

How does the tool do this?

Thanks


Thanks for posting MarleenT.

Determining a property of a particular element in the DOM of a page is going to involve the DOM access and manipulation commands, described in general at this page:

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

That is a LOT of capability, but the main thing you wan to do is to (a) use the PageMap to find the index or id name of the element you want to check and (b) use the ValidateSelectedObjProperty command to confirm that the particular item you are looking for has the "visible" attribute set for the DOM element in question.

Here are the commands involved:

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

The non-existence of the "visible" attribute can be trapped by setting an ERROR flag, so that the script will drop into an alternative mode when the property requested isn't there.

-- eValid Support