Setting up the environment for testing AJAX-based web applications
You can test AJAX-based applications in two different ways; by setting the Auto Trace option to true or by setting the Auto Trace option to false. If you set the Auto Trace option to false, you must use the IBM® DevOps Test UI (Test UI) APIs for AJAX in the script by manually inserting them.
Setting the Auto Trace option to true
Setting the Auto Trace option to false
Note: During playback, if any action invokes an AJAX request,
the subsequent action is performed only after the request is completed.
If the AJAX request completion time is more than the script playback
timeout value, use the
waitforExistence()
method
for the Document control.