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.htmlThat 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.htmlThe 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