CNelson wrote:Hi.
Can I mononitor how long it takes for a web page to be refreshed completely after I take an action that starts of some AJAX interactions?
Thanks
Interesting question CNelson.
It all depends on what you mean by "refreshed completely".
The standard document Complete signal in the DOM will indicate that the download has completed, but in the case of freshly initiated AJAX actions, this may be misleading.
Our recommendation is to identify a particular element, the status of which you know is going to be updated as the consequence of the AJAX action.
Then, using ValuePutElement put some property value="stale" combination into that DOM node.
This a value that you know will be changed to "<new value>" when the page is updated.
Then, start a synchronization loop and wait for that index's property to turn to "<new value>".
Here is a page that summarizes possible synchronizations:
http://e-valid.com/Products/Documentati ... mmary.htmlIn effect, you set a marker that can be the pivot of your synchronization loop and then wait for the needed update.
-- eValid Support