Does eValid have a script debugger?

Discussion of the technology underlying the eValid solution.

Does eValid have a script debugger?

Postby 473l » Wed Apr 27, 2011 4:22 pm

Does eValid have a script debugger? How do you debug scripts?
473l
 
Posts: 1
Joined: Wed Apr 27, 2011 4:16 pm

Re: Does eValid have a script debugger?

Postby eValid » Sat Apr 30, 2011 6:49 am

473l wrote:Does eValid have a script debugger? How do you debug scripts?

When a script is first read into eValid it is parsed into an internal format and any errors are noted to the user. The idea behind this is twofold: (1) the internal script form is very compact and thus very fast, so there is very low overhead at test playback time; and (2) eValid never tries to play back a test that has errors in it. You should think of this as a pre-compiling step.

Of course you could have a script that is syntactically perfect -- no errors in the pre-compiling stage -- that makes no sense relatiive to the web application under test. In that case you can: (1) insert Breakpoint commands that put the playback engine in Pause state; or, (2) use the SingleStep command mode (on the browser face).

Experienced eValid users employ a combination of these to get to the right parts of a script. Usually a Breakpoint followed by a series of SingleSteps. It's a good idea to watch the EventLog while the test is playing back, so you know what has actually happened.

eValid Support
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Technology

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