Wednesday, May 24, 2006

Here is a screen recording of my JavaScript Macro Recorder in action.

Here is a test URL for a page that has the JavaScript code embedded. Works under IE and Firefox. Safari "Real Soon Now" :)

Add these two lines of code into your pages <HEAD> element and your page will be recordable.

<script src="http://js.metawrap.com/mw_lib.js"></script>
<script src="http://js.metawrap.com/mw_pkg_macrorecorder.js"></script>

Post a comment and tell me how long it takes to load please :)

I started writing this last year, finished it a few months ago and have spent the last few months tweaking and testing.

It is entirely written in JavaScript and does not need a proxy server of any kind.

You simply need to add a few lines of JavaScript to your page and a small text control panel is added to the page.

macro_recorder_cpanel.png

  • [record] will start recording.
  • [stop] will stop recording or playback
  • [play] will playback the current macro.
  • [fast] will play the macro back at faster than recorded speed
  • [loop] will loop the macro
  • [hide] will hide the control panel during playback

The control panel and the macro recorder itself is based around a simple plugin architecture. I have plugins close to completion that will load and save macros and record a suite of testcases of multiple macros across a whole site. 

I've also started on plugins that will transcode a recorded macro into Watir and Selenium formats.

Does not work under Safari, but there is no reason why it can't. Any Safari guns willing to help? More on that in the screen recording tonight.

Enjoy!

 

Wednesday, May 24, 2006 12:28:06 PM (AUS Eastern Standard Time, UTC+10:00)  #    Comments [9]Tracked by:
"Latest Version Of Edit In Place JavaScript Library" (James Mc Parlane's Blog) [Trackback]
"ClickTale" (James Mc Parlane's Blog) [Trackback]