[Webtest] Running of Webtest scripts in "Browser Playback" mode

webtest@lists.canoo.com webtest@lists.canoo.com
Tue, 19 Apr 2005 12:36:25 +0530


Hi,

Has anyone tried running Webtest in "Browser playback" mode earlier? By "Br=
owser playback" mode I mean that when Webtest is running then the resulting=
 pages are shown in a browser as the steps are progressed. From end user re=
quirement perspective, it helps in verifying whether the recorded scripts a=
re correct or not.

I wanted to try to accomplish this feature. If someone has already tried to=
 do it earlier then let me know.

My thought process for usability (story) is something like this.
We should be in a position to run Webtest in a Browser playback mode. Meani=
ng it should be configurable or even command line option.
If we choose not to run it in Browser playback mode then the overhead of br=
owser playback code should be minimal (ideally none :-)).
When we run in Browser playback mode, we should be able to see the resultin=
g pages in a browser.
For every "set" and "verify" form fields we should be able to depict them i=
n the browser. Meaning when we fire the "set" the actual value should also =
appear in the browser.
User should be able to pause / stop during the playback.
The current executing line in the script (current XML tag being processed) =
should be highlighted so that the user understands where in the script are =
we.

While doing a preliminary study on this story, I found that the Browser com=
ponent from JDIC looks like a good fit for depicting and interacting with t=
he browser.

Since there would interaction between Webtest and the browser component, I =
am not sure where to enhance the webtest module so that this feature remain=
s outside of Webtest. Also in Webtest I do not know whether we can attach l=
isteners to listen to tasks which are completed. I tried using ANT listener=
s but you do not get the events for any of the steps (E.g. invokeUrl, click=
Button etc.). If any of you can give me the direction then it will be great.

Thanks.
Regards,
- Nimesh


MASTEK
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCO

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that =
of Mastek Limited, unless specifically indicated to that effect. Mastek Lim=
ited does not accept any responsibility or liability for it. This e-mail an=
d attachments (if any) transmitted with it are confidential and/or privileg=
ed and solely for the use of the intended person or entity to which it is a=
ddressed. Any review, re-transmission, dissemination or other use of or tak=
ing of any action in reliance upon this information by persons or entities =
other than the intended recipient is prohibited. This e-mail and its attach=
ments have been scanned for the presence of computer viruses. It is the res=
ponsibility of the recipient to run the virus check on e-mails and attachme=
nts before opening them. If you have received this e-mail in error, kindly =
delete this e-mail from all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~