PMorris wrote:Good morning.
Is there an eValid method in the page-object model that tells if the element is present?
If you can, please provide me some reference material along with your answer.
Thanks
Thanks for posting your question PMorris.
The simplest thing to do it to search for it and see if the internal value of Source Index changes.
To search for it you use this command: IndexFindElement wid { UP | DOWN } "property_name" ["property_value"] "frame_path"
Here is the documentation page for this command:
http://e-valid.com/Products/Documentati ... ement.htmlThe main thing to not is that in case this command does NOT find a match in the current DOM for whatever it is you've specified for the property_name or for property_name=property_value, then the SourceIndex is not modified.
Not found means no change.
So, set SourceIndex to 0, run the search, and examine if Source Index has changed.
Simple as that.
-- eValid Support