Frankenstien Setup and Usage

Overview

This document explains how to set up OpenQA's Frankenstein . It also contains a short guide on using it to run a simple test on the Gateway Client GUI.

Setup

  • Visit OpenQA's download site for Frankenstein and download the latest version from here .
  • Extract the .zip file you obtained to a path like C:\frankenstein\ .

Usage

  • Copy the latest compiled version of the client GUI sstp-client-gui-X.X-jar-with-dependencies.jar to C:\frankenstein\dist\ .
  • From the command line issue the command:
    C:\frankenstein\dist>java -classpath C:\frankenstein\dist\frankenstein.jar;C:\frankenstein\dist\commons-lang-2.2.jar;C:\frankenstein\dist\ognl-2.6.9.jar;C:\frankenstein\dist\picocontainer-1.2.jar;C:\frankenstein\dist\sstp-client-gui-2.0-jar-with-dependencies.jar; com.thoughtworks.frankenstein.application.PipingMain net.sf.gateway.client.sstp.GatewayClientGUI
  • This will launch the main class com.thoughtworks.frankenstein.application.PipingMain which takes a Swing main class as an argument, in this case it is our sstp-client-gui net.sf.gateway.client.sstp.GatewayClientGUI .
  • There is a window that appears in addition to the Swing application we specified that contains a recording and palyback suite for Frankenstein.

Test

  • Load up this test in the Frankenstein Recorder GUI, make sure the Slow option is selected and click Play .
  • The test should ping the OSU Gateway Demo, send a test transmission, request an acknowledgement and a last acknowledgement.