Can one use eValid to examine AJAX calls?

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

Can one use eValid to examine AJAX calls?

Postby Zerra09 » Tue Oct 15, 2013 9:53 am

Can one use eValid to examine AJAX calls?

If so, how can an end user do that?

Thanks

Zerra09
Zerra09
 
Posts: 1
Joined: Tue Oct 15, 2013 9:48 am

Re: Can one use eValid to examine AJAX calls?

Postby eValid » Mon Oct 21, 2013 2:40 pm

You haven't been very specific about which AJAX calls you're talking about, so the answer in the eValid User Forum will have be be rather general.

Remember that eValid is a browser and as such it is the engine that is making the AJAX calls. What JavaScript function is called is a fumction first and foremost of what the JavaScript code that has been given to the browser to exeucte. When the browser runs these commands you can see the result of them by looking at the EventLog with detailed timings turned on. Each JavaScript exeucted action shows up in the EventLog with an entry that describes what was downloaded as a result. So the "invoking" is automatic, and the observing is as simple as watching the EventLog.

eValid also has a command that will let you run your OWN JavaScript function, provided that you know the name of it, or that you have put it into the JavaScript workspace in the browser with a self-supplied page. The command is CallJavaScript (aguments) and it will pass control, during test playback, to the named JavaScript function -- assuming it is present in the current page.

A word of caution here: You really must be certain that the JavaScript function you invoke this way does the things that you want it to do. Our experience is that this command can be powerfully disruptive -- if you call the wrong thing in the wrong way, all best can be off.

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