Playing script from mid-point (actually from any point)

How to use eValid to support regression testing.

Playing script from mid-point (actually from any point)

Postby nostoc » Thu Jul 14, 2011 3:52 pm

I am updating a fairly long script and would like to know if there is a way to commence playing it from mid-point (actually from any point). In other words, is there a way to not have to start running the script from the very beginning every single time (assuming all of the proper pages are loaded/active)?

If there is a way to do this, that would be great since I would not have to play it, revise the script, and then start playing it again from the start.

Posts: 2
Joined: Thu Jul 14, 2011 3:42 pm

Re: Playing script from mid-point (actually from any point)

Postby eValid » Thu Jul 14, 2011 4:21 pm

(1) There's no direct way to do this.

(2) eValid is a stateful product so its internal state is critical. It is likely that if you start a script in the middle without having done the first part then your eValid browser state will be such that the latter part will NOT work correctly.

Starting from the beginning each time, from a known state that is reproducible, maximizes the chance that that state of the browser at the time you reach you breakpoint.

(3) You could easily split the long script into two parts so that:

CallScript Part1.evs
CallScript Part2.evs

is equivalent to the original. This makes runing to the Breakpoint easier to do, at least.

(4) You could just run Part2.evs and see what happens. If it works, great! But we're not hopeful...

eValid Support Team
Posts: 1871
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