Wiki Help
FAQ
Installation
Forum
TechSupport

MBT Process
Literatures
Resources
Tech Support

We welcome your questions and comments. Please make sure your email address is entered correctly so that we may get back to you.
First Name:
Last Name:
E-Mail:
Comments & Question:
 
 
Literatures

The following diagram shows a typical Model-Based Testing process, from "Practical Model-Based Testing - A Tools Approach" by Mark Utting & Bruno Legeard. TestOptimal covers all of the steps described in the process starting at creating the behaviour model for your application, generating test cases from the model, executing the test cases on your application and eventually provides statistics and bug traces to help you identify and analyze defects found during the test execution.

You will find more references and presentations on Model-Based Testing in our Literature section. Be sure to check them out if you want to learn more about Model-Based Testing.

The above diagram was taken from "Practical Model-Based Testing: A Tools Approach by Mark Utting and Bruon Legeard. Copyright 2007 by Elsevier, Inc. All rights reserved." Information about this book can be found at the publisher's website: http://www.elsevierdirect.com/product.jsp?isbn=9780123725011
Literatures

The following are a few articles and presentations on Model-Based Testing.

  1. Intelligent Test Automation, Harry Robinson, Software Testing & Quality Engineering (STQE), Tools & Automation
    This is a very good introduction article to Model-Based Testing and it is interesting to read. It uses a fairy tale style to demonstrate the differences between Model-Based Testing and other traditional testing processes/methodologies.
  2. Drive Testing for Web-Based and Java Applications with Models, Jeffrey Feldstein, Cisco Systems
    This powerpoint slides gives you an overview of what Model-Based Testing is for the web application testing from a practical experience.
  3. Practical Model-Based Testing: A Tools Approach, by Mark Utting, Bruno Legeard, published in November, 2006
    An excellent reference and text book on Model-Based Testing, a must read for anyone who is serious about adopting Model-Based Testing in their projects.
  4. Model-Based Testing: Black or White, Google TechTalk, Auguest 2007, by Mark Utting
    This is a video recording of Mark Utting's presentation on Google TechTalk. The presenter did an excellent job in describing what Model-Based Testing is, how the model is built and how the test cases are generated from the model. The presentation is an hour long but certainly worth of watching it to its entirety.
  5. Tutorial on Model-Based Testing, by Harry Robinson from Google, 2006
    This tutorial gives an indepth description of Model-Based Testing with many examples (exercises) that demonstrate how Model-Based Testing is applied. The tutorial is 156 pages long. If you have any question about Model-Based Testing, you may find your answers from this tutorial.
    You may also want to check out Robinson's another presentation
  6. Model-Based Testing for Web Applications with TestOptimal (4 parts series), by Ray Vizzone, Recommended Test Labs.
    This is an excellent tutorial that demonstrates the Model-Based Testing process. It uses Google map as the target web application and takes you through the typical Model-Based Testing process using TestOptimal. Through this exercise, it clearly demonstrated the power of Model-Based Testing.
  7. Model-Based Testing of Web Applications using NModel by Juhan Ernits, et. al.
Resources

The following is a list of download links and links to other web resources which you might find useful.

  • Watij - an alternative to Selenium plugin to drive web applications. Currently only IE is supported. The support of FireFox is in the works. Download the package, unzip and copy all jar and dll files to TestOptimal/www/jar/ folder and restart TestOptimal.
  • Selenium Documentation - You can find the java API documentation on Selenium RC which you might find helpful explanation on the java methods and how they work if you are using Seleninum Plugin in your model.
  • Eclipse - TestOptimal can be integrated with Eclipse IDE. Refer to the Installation for the instructions on how to set up TestOptimal to run within Eclipse IDE.
  • NetBeans - TestOptimal can be integrated with NetBeans IDE. Refer to the Installation for the instructions on how to set up TestOptimal to run within NetBeans IDE.
  • SendSTMP.EXE - from Greyware, a command-line SMTP mailer for Windows. It may be used in batch files or interactively. It is free for non-commercial use in your home. Use this utility to have TestOptimal email you when test execution is completed. See example in TestOptimal/www/sendMail.bat.

JDBC Drivers - TestOptimal uses JDBC driver to access backend databases, Excel Spreadsheet and files. Below is a list of a few JDBC drivers you can download into TestOptimal.

Installation, Configuration and Startup Instructions

If you have not downloaded TestOptimal package, please do so at HERE and unzip / de-compress the download file.

  1. Minimum Requirements - verify if the Minimum requirements described below are met
    • JDK 1.6 or later. You can verify the JDK version by running "java -version". If you are running TestOptimal in an IDE (Eclipse, NetBeans), verify your IDE's JDK version or configure your run command to use an external JDK with compliant version.
    • Windows XP, VISTA, 2003, or Linux with at least 1GB memory and 2GB of free disk space.
  2. Install

    Depending on how you want to run TestOptimal, click on one of the links below:

    Standalone Server   Run in Eclipse (RAD, RSA)   Run in NetBeans  

    Standalone TestOptimal Server Installation

    1. New Install - copy all files from the de-compressed folder/subfolders to your local disk where you would like to have TestOptimal installed. For example c:/Program Files/ folder.
    2. Upgrade - copy all files from the de-compressed folder/subfolders to your existing TestOptimal folder. When prompted if ok to override the existing files, select ok/yes. Restart TestOptimal.
    Eclipse & RAD/RSA Installation
    • New Install
      1. Selelect "File" / "Import"
      2. Choose "Import from Existing Workspace Project" option
      3. Browse to the TestOptimalWorkspace and select TestOptimal project.
      4. Click "Finish".
      5. To start TestOptimal, right-mouse click on the project and select "Run" / "As Java Application".
      6. Enter "com.webmbt.TestOptimalServer" in the java class name field.
      7. Optionally you can set startup parameters for TestOptimal and JVM.
      8. Click "Run".
    • Upgrade
      1. copy all files from the de-compressed folder/subfolders to your existing TestOptimal folder. When prompted if ok to override the existing files, select ok/yes.
      2. Restart TestOptimal.
    NetBeans Installation
    • New Install
      1. Select "File" / "Import Project" / "Eclipse Project..."
      2. Browse to the de-compressed folder: TestOptimalWorkspace/
      3. click "Open".
      4. Check the checkbox next to "TestOptimal project" entry
      5. Accept default settings and click "Next".
      6. Click "Finish".
      7. To start TestOptimal, right-mouse click on the project and select "Run" or "Debug".
      8. You may need be prompted for the java main class in which case select "com.demo.MbtExample" class that came with the download.
      9. Optionally you can set startup parameters for TestOptimal and JVM.
      10. Click "Run".
    • Upgrade
      1. copy all files from the de-compressed folder/subfolders to your existing TestOptimal folder. When prompted if ok to override the existing files, select ok/yes.
      2. Restart TestOptimal.select "File" / "Import Project" / "Resynchronize Eclipse Projects".
      3. Restart TestOptimal.
  3. Configure TestOptimal

    The download package come pre-configured. All you need to do is to make sure the browser you want to test your application with is installed in the system standard location or it's executable is in the system path. Below is a few more details about this:

    For unix/linux, make sure the Firefox directory is in PATH environment variable and add Firefox libraries to LD_LIBRARY_PATH.

    For Mac OS X: it should be enough to install Firefox.app in /Applications directory add Firefox libraries to DYLD_LIBRARY_PATH environment variable.

  4. Start TestOptimal
    • Standalone - run startTestOptimalServer.bat (startTetOptimalServer.sh on linux/unix).
    • Eclipse - right mouse click on the project and select "Run" or "Debug". Click on "Java Application".
    • NetBeans - right mouse click on the project and select "Run" or "Debug".
  5. Access TestOptimal

    http://hostname:8888/ - replace hostname with the host name where TestOptimal server is running.