ROrison wrote:Afternoon.
Can eValid ever run into a "stale element" error?
That's when you go back to a page and try to recover a DOM element value you found previously, but can't find it.
Do you have a solution or workaround to correct this kind of problems?
Thanks
Thanks for posting your question ROrison.
The definition of a "stale element" is not very precise.
There can be content in a web page DOM that is not as current as you would like, so in that sense it may be "stale".
But there is no date information kept in the DOM, like when an element was last updated.
Usually all of the DOM contents is updated whenever events that modify the content have finished.
Two observations:
(1) It is possible, but the safest thing to do is to "reload" the page so you have fresh (original) content.
Then this is a non-issue.
The command to do that in eValid is: (Reload wid) where wid is the eValid number of the window that is to be reloaded.
(2) You could make a copy a particular DOM element value and store it locally.
Then, to determine if it has changed you simply re-read that same element and compare with the prior value.
For you to this you would need the DOM Value Manipulation commands, described here:
http://e-valid.com/Products/Documentati ... ation.html-- eValid Support