Hi Chris,
I had some events that looked like what you are describing. In my case
the page did not fully load and since load times will vary (and can a
page can be half loaded) it is possible to have a statement fail
seemingly mid-way and or seemingly random. I was puzzled at first to
see a fail of a statement that was obviously not incorrect. What Todd
describes will help in that case (he usually is right :-). You could
opt to test for an element that loads at the end of the page. Than you
are sure that the whole page is loaded before you start filling the
fields, in that case you only have to do one test instead of several
tests for each statement that gives you trouble.
Hope it helps!
@Todd,
I wonder how a "load a page" is handled in Fake. It does seem to wait
until the browser gets a response. But does that imply that it waits
until the whole page is finished? And in my case (and perhaps Chris'
too), I guess there is a lot of content that is loaded after the
primary page is done . Say with Ajax or something similar. Could that
be the case why Fake proceeded with the next statement before a page
is fully loaded?