Using Multiple Synchronizations with eValid

Applying eValid to AJAX applications that require advanced DOM-based methods.

Using Multiple Synchronizations with eValid

Postby RobbieB » Thu Mar 21, 2019 7:00 am

Morning all.

Does it make sense to have multiple synchronizations on different parts of the same page?

Or is that a little overkill with eValid?

Thanks
RobbieB
 
Posts: 1
Joined: Thu Mar 21, 2019 6:57 am

Re: Using Multiple Synchronizations with eValid

Postby eValid » Fri Mar 22, 2019 8:44 am

RobbieB wrote:Morning all.

Does it make sense to have multiple synchronizations on different parts of the same page?

Or is that a little overkill with eValid?

Thanks


Thanks for posting your question RobbieB.

This is, presumably, an AJAX application and the question amounts to this:

Do all of the AJAX-generated parts of a page arrive in a fixed order.

The best answer is to assume NOT!

It may be that there is an order in which page parts are loaded, but it probably is not wise to pivot one part of a test on an element that is not involved in that specific part of the test.

The commands to be concerned with are these:

http://e-valid.com/Products/Documentati ... n.dom.html

We have indeed seen cases where a cascade pf synchronizations is necessary.

But the general rule is, better safe than sorry, and what this means in practice is, synchronize first and then test for something.

Full disclosure: Even that safe procedure can fail, if the value of the element in question is varying rapidly.


-- eValid Support
eValid
 
Posts: 1961
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to AJAX Applications & DOM Processing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons