Insight in using synchronization method with AJAX apps

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

Insight in using synchronization method with AJAX apps

Postby SharonA » Wed May 31, 2017 1:10 pm

Afternoon.

Why is synchronization so important in testing an AJAX program?

I read all of these mentioned in your documentation pages, but what is the motivation?

Thanks
SharonA
 
Posts: 1
Joined: Wed May 31, 2017 1:05 pm

Re: Insight in using synchronization method with AJAX apps

Postby eValid » Thu Jun 01, 2017 11:49 am

SharonA wrote:Afternoon.

Why is synchronization so important in testing an AJAX program?

I read all of these mentioned in your documentation pages, but what is the motivation?

Thanks


Thanks for posting SharonA.

The basic issue with playback synchronization is this:

You want to have your tests fail when an error is detected, not when the test fails because it doesn't account for timing issues correctly.

The problem is most severe in AJAX applications.

You can always add enough Wait or Delay commands to make your test work OK, but there will ALWAYS be a time when your delays are not long enough.

A negative aspect of too-long delays is that you increase the total time of the test -- and that is not necessarily a positive.

To give you a sense of how complex "synchronization" can be, take a look at this page:

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

Just to be clear, the extra work you put into making a script fully self-synchronizing will pay off many times over because it'll never fail due to a fault in the test -- only with a fault in the web application being tested!


-- 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