What can you say about making AJAX testing easy?

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

What can you say about making AJAX testing easy?

Postby TRafael » Mon Jul 08, 2013 10:58 am

What can you say about making AJAX testing easy?
TRafael
 
Posts: 1
Joined: Mon Jul 08, 2013 10:54 am

Re: What can you say about making AJAX testing easy?

Postby eValid » Mon Jul 22, 2013 11:18 am

Actually, the main issue in testing an AJAX application is the fact that the asynchronous nature of a typical AJAX application means that it is likely that a "out of the box recording" [that is, one using a standard setup] will probably have some instances where, because of the variable length of time it takes some components to respond, the test will "de-synchronize." That it, the playback engine will get ahead of the application.

There is a simple recording protocol that we recommend that reduces the chances of this, and it goes like this:

(1) After having taken an action and seen something show up in the script window, wait until the page fully stabilizes.
(2) Choose something to highlight on the page (near the bottom is usually best) and do a "synchronize on visible text" step.
(3) THEN take the next action and you're back at (1) above.

The result of this is a script that includes the synchronzation step (2) above) right after every action command. This kind of script is essential self-synchronizing because it is recorded with the necessary synchronization steps already in place.

We find that this work in the VAST majority of cases.

--eValid Support
eValid
 
Posts: 2392
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