Page 1 of 1

A critical element on a test page vanished

PostPosted: Mon Mar 12, 2012 5:11 pm
by Jefferyk
What happens if a critical element on a test page vanished due to a change in the page?

Re: A critical element on a test page vanished

PostPosted: Wed Mar 14, 2012 10:56 am
by eValid
Jefferyk wrote:What happens if a critical element on a test page vanished due to a change in the page?
It depends on to whom (or to what) it is critical.

If the script you are running tries to synchronize on a particular object on the page, possibly by looking for its ID tag, and that element isn't present any more due to page maintenance, then that step will FAIL -- which is what you would expect eValid to do.

If the element in question is on the page, but is not used specifically in the script as a validation point, a structural pivot point, or as a synchronization point, then probably there'll be no change in operation of the script, because eValid's adaptive playback will compensate for that kind of change.

That having been said, there is the all-important caveat: sure enough there ARE pages where even removal of an element that is not used in the above roles causes the script to break (that is to FAIL).

But you would want that to happen...you would want to know that something critical had disappeared and that caused a FAILure.

-- eValid Support Team