by eValid » Wed Mar 06, 2013 10:53 am
It's always best to use a script that is recorded directly from life and doesn't need any modification. In a perfect world that would be the normal case. But we don't live in a perfect world...
OK then: yes, depending on a number of factors, a lot of modification may be need to make sure that a script plays back reliably when it is dealing with AJAX.
The main problem is, de-synchronization of playback due to longer-than-normal processing times in the page due to AJAX actions.
What we do is wait until we see such a de-sync, then build a synchronization step into the script ahead of the point where the action that leads to the de-sync happens. This protects against de-sync by making sure the right stuff is in the browser face before the potentially offending command is issued.
If we had to declare a number it would have to be in the 5%-10% range, that is, 5%-10% of the commands in a script may need some help by adding additional synchronization commands.
eValid Team