Page 1 of 1

A few questions regarding AJAX

PostPosted: Mon Oct 20, 2014 5:54 pm
by DavidM
Good evening.

Is special synchronization for AJAX, like you keep talking about on the fourm, is it always necessary?

Doesn't eValid have built in sync modes?

Thanks

Re: A few questions regarding AJAX

PostPosted: Tue Oct 21, 2014 9:38 am
by eValid
DavidM wrote:Good evening.

Is special synchronization for AJAX, like you keep talking about on the fourm, is it always necessary?

Doesn't eValid have built in sync modes?

Thanks


Thanks for posting DavidM.

If your AJAX application is quiescent -- there is not back and forth communication between the browser and the server -- then the built-in synchronization modes work fine.

But when your AJAX application is communicating there is the possibility that the built-in (native) synchronization method may fail, which will cause the playback of your test script to "get ahead" of the state of the browser.

Almost always this results in complete chaos after that missed step and your test will be useless.

To overcome this you can either record a sync step into your script, as described here:

http://www.e-valid.com/Products/Documen ... imple.html

This will get you good sync without much extra work at recording time. We find this VERY reliable when used as indicated.

Finally, you can edit a variety of eValid commands into your script for advance synchronization based on values of DOM properties within the page.

Here is a summary of ALL of the sync modes avai:

http://www.e-valid.com/Products/Documen ... mmary.html

-- eValid Support