Simply check that status until the sync = true

How to use eValid to support regression testing.

Simply check that status until the sync = true

Postby Tysonj » Mon Aug 20, 2012 3:53 pm

We love eValid but we had a problem in synchronizing. Your suggestions were great, but we have made it much simpler and it seems to be quite stable.

Our architect has added a clever span element to the page that changes from a runtimeStatus of 'loading' on page initialize to a status 'initialized' after completion of the last JS.

It has a fixed index so now I simply check that status until the sync = true. Like so:

SyncOnSelectedObjProperty 0 18 "id" "__runtimeStatus" "innerText" "initialized" ""

Works a treat.

What do you think?
Tysonj
 
Posts: 2
Joined: Mon Aug 20, 2012 3:26 pm

Re: Simply check that status until the sync = true

Postby eValid » Mon Aug 20, 2012 4:12 pm

You're lucky that the developers are close enough to cooperate on this kind of very simple change to the application.

This is a perfect example of a minor modification of an application that renders it testable. Invisible to the user, you now have an application that is EASILY testable -- with just the one command the application exposes a key piece of information to the outside world, namely, that, "...OK, I'm done to this point..."

We have had other users do this kind of thing, but you are among the first to see the opportunity and act on it so quickly.

Even better, since the "id" is always found, eValid does not trip over into adaptive playback mode with the extra playback time overhead that may entail (especially for a large page with high item counts).

Overall, a super solution. What we would call "Engineered for testing!"
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Regression Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons