Have a special "wait/sync/act" protocol for recording AJAX

General discussion about eValid, its characteristis and applications.

Have a special "wait/sync/act" protocol for recording AJAX

Postby Chadd » Mon Jul 16, 2012 4:19 pm

Why do you have to have a special "wait/sync/act" protocol for recording AJAX? Why can't you do it automatically?
Chadd
 
Posts: 1
Joined: Mon Jul 16, 2012 4:17 pm

Re: Have a special "wait/sync/act" protocol for recording AJ

Postby eValid » Fri Jul 20, 2012 10:32 am

Chadd wrote:Why do you have to have a special "wait/sync/act" protocol for recording AJAX? Why can't you do it automatically?
The problem is, every AJAX implementation is "different" from every other one, and the variations in how individual teams build AJAX support into their web applications makes it impossible to apply a general rule.

The one thing in common with AJAX is that there is asynchronous page loading work going on in the background.

So this presents a technically difficult challenge: How to synchronize playback into a fundamentally asynchronous process, that is AJAX. Remember the "A" in AJAX stands for asynchronous!

The wait/sync/act simplified protocol is just a way to make sure your recording of an AJAX application always includes a check -- before taking an action -- to make sure that the action you take really IS present (so the action will be meaningful). The simplest command to do this is to use the SyncOnText (Ctrl-Y) command after you highlight something on the page that show that it's there. [Of course, you can't highlight it unitl it's there and that, after all, is the point!]

There are other synchronizations available, but this method is the easiest to remember and use.

eValid Support Team
eValid
 
Posts: 2395
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to General Solution Topics

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