User    Pass    























Quick Start



LiquidTest Quick Start Guide for LiquidTest Selenium HTML Tests

Below are the steps for creating your first LiquidTest JUnit test case in Eclipse.

Before you start...

Ensure that you have installed LiquidTest Standalone or the LiquidTest Plugin into Eclipse before continuing to the next steps in this guide.

License Key

If you did not insert your LiquidTest License Key during install, please see Setting your License Key.

Create a Project

LiquidTest requires an Eclipse Project to structure Test Cases. If you have not created a project, create one via the File → New → Project.. menu.

From the many Project options choose JavaJava Project (assuming you are intending to Record Selenium HTML or Selenium JUnit) test cases.

Check LiquidTest preferences

Click on the LiquidTest/Eclipse Window → Preferences menu option and then select the LiquidTest tab. On this pane the Browser and Test Writer can be changed as well as the timeout and other code generation options. To create JUnit tests make sure you have chosen the appropriate writer for your JUnit library (JUnit 4 in the example below).

Create a LiquidTest Test Case

LiquidTest has a helpful Wizard to help with the creation of LiquidTest test cases. The Wizard imports the necessary LiquidTest library into the project to allow your test cases to replay. Click on the LiquidTest button..

The LiquidTest Wizard provides an interface to create your Test Case and to configure LiquidTest prior to recording.

Select the preferred base package and class name and press the Finish button. This creates the new test class, switches the Workbench to the LiquidTest Perspective and starts the recording using Firefox or Internet Explorer in the LiquidTest browser view. Note: For more screen space you may wish to close the “Welcome” pane (if you have installed the LiquidTest Eclipse Standalone version).

Create a test scenario by navigating to a site and performing a transaction. For instance adding a new record, performing a search or purchasing an item using a shopping cart. When the transaction is complete press the Finish Recording button on the LiquidTest Browser.

This will write out the test into the class selected as a single method.

Run your Test Case!

Running your first Test Case is as simple as right clicking and selecting the appropriate runner. In the example above, if you recorded a Selenium HTML (.html) test you would right click and select Run As..Selenium.

Watch your Test Case execute: Now that you have executed the Test Case the browser (in the browser view) should repeat the actions you recorded and you should see the Runner stating the results:

  • Bookmark "Recording and replaying selenium tests" at del.icio.us
  • Bookmark "Recording and replaying selenium tests" at Digg
  • Bookmark "Recording and replaying selenium tests" at Furl
  • Bookmark "Recording and replaying selenium tests" at Reddit
  • Bookmark "Recording and replaying selenium tests" at Google
  • Bookmark "Recording and replaying selenium tests" at StumbleUpon
  • Bookmark "Recording and replaying selenium tests" at Newsvine
  • Bookmark "Recording and replaying selenium tests" at DZone

   News / Events


 > LiquidTest EOL Announcement - Info
 > LiquidTest Release 3.0! - Available
 > Visual Studio Plugin Released! - Release
 > Cruise Control .NET Integration - Info
 > Automate your Dev/Test Process - Webinar
 > Is manual testing crippling your project? - Blog
 > Testing complex Ajax content - Blog
   Recently Added Content  
 > Run LiquidTest's on Selenium RC/Server - Info
 > Setting up LiquidTest with Maven - Blog
 > Officially Supported Ajax Frameworks - Info
 > Atlassian Bamboo Integration - Tech
 > Setting up LiquidTest with SVN and Hudson - Blog
 > Creating Data-Driven Functional Tests - Blog
 > Reducing Test Maintenance - Blog

 © JadeLiquid, LiquidTest and WebRenderer are trademarks of JadeLiquid, all rights reserved.  Privacy Policy  |  Disclaimer











Contact Us