A few questions regarding AJAX

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

A few questions regarding AJAX

Postby DavidM » Mon Oct 20, 2014 5:54 pm

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
DavidM
 
Posts: 1
Joined: Mon Oct 20, 2014 5:44 pm

Re: A few questions regarding AJAX

Postby eValid » Tue Oct 21, 2014 9:38 am

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
eValid
 
Posts: 1721
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