Interaction With Javascript

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

Interaction With Javascript

Postby unsigned » Fri Nov 06, 2009 12:23 pm

We're been looking for products to test pure-Javascript applications and most of the products we have reviewed use Javascript and they all seem to interfere with the normal operation of our application. What is the story on this with eValid?
unsigned
 
Posts: 167
Joined: Tue Jan 01, 2008 12:48 pm

Re: Interaction With Javascript

Postby eValid » Sat Nov 07, 2009 10:44 am

unsigned wrote:We're been looking for products to test pure-Javascript applications and most of the products we have reviewed use Javascript and they all seem to interfere with the normal operation of our application. What is the story on this with eValid?

Yes, there are some products that achieve test playback by feeding the browser with JavaScript and you are correct, this approach sometimes does interfere with the operation of the actual application.

The reason for this is simple: JavaScript in a browser is single-threaded.

Only one JavaScript program can be running at any one time in the JavaScrip engine that is running inside the browser. The reason for this has to do with the reality that a muti-threaded JavaScript interpreter would be a significant security risk. So that is a given, well-accepted convention for JavaScript in a browser.

The eValid architecture, on the other hand, does not use JavaScript for its playback activity: instead, eValid drives events in the browser directly. It can do this because eValid is built as a browser -- using available browsing components (e.g. the IE rendering engine and other DLLs). So it is perfectly possible for eValid to playing back a command and the browser's JavaScript engine to work away at performing some AJAX function.

This independence is why eValid is uniquely able to fully synchronize AJAX applications. The DOM-based synchronization methods that eValid uses never interfere with the JavaScript engine, so they don't affect the AJAX behavior at all.

--The eValid Team
eValid
 
Posts: 2395
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