(1) The best way to confirm that the right page has arrived is to
have the validation done on some part of the page.
For example, an item of selected text or some DOM property.
Here is the complete description of eValid's Validation modes:
http://www.e-Valid.com/Products/Documentation.9/Testing/validation.htmlValidating on a text passage also can be used to synchronize
playback, and this is particularly important in an AJAX application.
Here is a detailed explanation of how DOM-based synchronization
works in eVlaid playbacks:
http://www.e-Valid.com/Products/Documentation.9/DOM/adaptive.sync.html(2) They SyncOnURL works by waiting for the specific URL to arrive
and be available in the DOM.
But as you have found out, if there are redirections involved then
the SyncOnURL command will probably time out rather than ever
complete the synchronizations.
(3) To throw an ERROR is automatic -- if the sync did not happen as
expected, within the time limit.
Or you can do your OWN checking in the script using the
OvertimeAlarm command.
Here is a worked example showing how to use the built-in eValid
Timer and the OvertimeAlarm commands:
http://www.e-valid.com/Products/Documentation.9/Monitoring/alarmex.html