1. Preface
    1. About MarathonITE
    2. Supported Platforms
      1. Java/Swing™
      2. Java/FX™
      3. Web Applications
    3. What's New in MarathonITE 5.0
    4. Change Log a.k.a Version History
    5. System Requirements
    6. Copyright Notice
  2. Getting Started
    1. Introduction to Test Automation
      1. Unattended Testing
      2. Semi Automated Testing
      3. Exploratory Testing
    2. MarathonITE Projects
    3. Your First Project
      1. Java/Swing™ Test Project
        1. Application Under Test - SwingSet3
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
      2. Java/FX™ Test Project
        1. Application Under Test - Ensemble
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
      3. Web Application Test Project
        1. Application Under Test - DuckDuckGo Search
        2. Creating a Project
        3. Recording a Test
        4. Anatomy of a Test Script
        5. Running Tests
        6. Looking at Results
    4. MarathonITE Sample Projects
  3. User Guide
    1. Installation and Startup
    2. MarathonITE User Interface
      2. Editors
      3. Output Views
    3. Creating Marathonite Test Projects
    4. Recording Tests
    5. Managing Checklists
    6. Exploratory Tests
    7. Semi Automated Tests
    8. Executing Tests
      1. Executing a Test from Editor
        1. Debugging Scripts
        2. Using Script Console
      2. Executing Tests from Test Runner
      3. Executing Tests in Batch Mode
    9. Organizing Tests
      1. Organizing Tests in Folder Heirarchy
      2. Organizing Tests as Features and Stories
      3. Organizing Tests in Suites
      4. Linking Tests to TMS and Issue Manager
    10. Modularizing Test Scripts
      1. Module Methods
      2. Extract Method Refactoring
      3. Using Data Loops
      4. Convert to Data Loop Refactoring
    11. Data Driven Tests
      1. Convert to DDT Refactoring
  4. Advanced Scripting
    1. Ruby Programming Language
    2. Marathon and Ruby
    3. Selenium/WebDriver Bindings
      1. Java/Swing™ Components
      2. Java/FX™ Controls a Project

In MarathonITE, a project holds all the testing project resources. Let us start by creating a new project for the DuckDuckGo application.

If you have MarathonITE running, quit it. And start marathonite without any arguments.

MarathonITE displays a project selection dialog. The project selection dialog allows you to create, modify projects. From the project selection, click on the New and from the displayed options select Web Application Project.

MarathonITE opens up a new project dialog.

Configuring the Project

MarathonITE project configuration is provided in 3 sections which are displayed as tabs in the dialog. Generic information regarding the project is given in the Project tab, the default fixture configuration is provided in the Application tab and script language settings in the Language tab.

Project Tab

Marathonite Project Tab - Web Application

In the project tab, provide the name of the project and use the Browse button to select an empty folder to save the project. Optionally you can provide Description. We shall leave the pattern fields as empty for this tutorial.

Click on the Application tab.

Application Tab

MarathonITE borrows the concept of Fixtures from xUnit family of testing frameworks. A fixture defines how an application is launched from MarathonITE and also provides setup and teardown methods that are executed at the beginning and end of a test script respectively. A MarathonITE project can have more than one fixture. The application tab is used to create a default fixture.

Application tab allows you to select a launcher and appropriate information required for the launcher. We will use Web Application Launcher designed for launching web applications using a browser.

From the launcher combobox, select Web Application.

Marathonite Application Tab for Web Applications

Enter the website URL - into the URL (Prefix) field. For this example, we can leave the Start Path field empty. Select Chrome as the Default Browser. You can select initial browser window size by setting the Initial Window Size options.

Note: When using https protocol you can use only Chrome browser for recording. You can, ofcourse, use other browsers for playing back the scripts.

Now select Language Tab.

Language Tab

Language Tab

Language tab allows you to select the scripting language and customize the language runtime used in MarathonITE scripts. At this time MarathonITE supports Ruby and we intend to support other languages. For this example, there is nothing we need to customize in this tab.

Testing the Configuration

You can test the configuration and check for any errors by using the Test option. When you select the option, MarathonITE uses the given configuration to launch and connect to the webdriver.

Marathonite Testing Application Configuration for Web Applications

Once MarathonITE is able to connect to the driver - a window is shown. The window shows the standard output and error from the command - you can see any errors if MarathonITE is unable to connect to the webdriver intsance.

Click on the Close button. This should close the window.

Saving the Project

Click on the Save button to save the project. MarathonITE will close the project configuration window and you are presented with the project selection dialog with the newly created project already select.

Marathonite Project Selection Dialog with New Web Project Selected

Click on the Select button to start MarathonITE with the new project.

Suggest Edit
Close Menu