Auto Script Generator Utility – SoliteraTA

SoliteraTA

Auto Script Generator Utility

Introduction #

The Auto Script Generator is a utility designed to streamline the process of creating automated test scripts for the SoliteraTA tool. This utility assists users in generating Behaviour Driven Development (BDD) scripts from recorded actions in web applications using Selenium IDE and desktop applications using WinApp UI Recorder.

Key Features #

  • Supports script generation from Java JUnit code (web) and C# code (desktop).
  • Generates BDD-based scripts proprietary to the SoliteraTA tool.
  • Integrates directly into SoliteraTA, allowing for immediate script addition and customization.
  • Provides error handling by inserting issues as comments within the generated script.

Supported Platforms #

Web: Works with any browser that supports the Selenium IDE plugin.
Desktop: Accepts C# code generated by WinApp UI Recorder.
Mobile: To be added… Accepts C# code generated by Appium desktop recorder.

Usage #

Step 1: Recording Actions

For web applications: #
  1. Install the Selenium IDE plugin in a supported browser.
  2. Record the necessary steps within the web application.
  3. Export the recorded steps as Java JUnit code with the following options:
  • Include origin tracing code comments.
  • Include step description as a separate comment.
For desktop applications: #
  1. Use WinApp UI Recorder to capture the required actions.
  2. Copy the generated C# code (from copy button on the Ui recorder) for use in the Auto Script
    Generator.

Step 2: Generating the Script

  1. In SoliteraTA, navigate to the desired location in the project tree.
  2. Right-click and select the Auto Script Generator option.
  3. Insert or upload the recorded code when prompted.
  4. Provide names for the application, elements, test data, and script file, adhering to the naming
    conventions.
    • Does not exceed 100 characters.
    • Does not contain double spaces or special characters.
    • Does not start with a number.
  5. Select the appropriate release for the script.
  6. Click on ‘Create’ to generate the script.

Step 3: Post-Creation

  • Once created, the new script will be added to the selected location in SoliteraTA.
  • Users can then modify and enhance the script according to their testing needs.

Error Handling #

  • Any errors or issues detected during script generation will be included as comments within the
    script.
  • Users are responsible for reviewing and addressing these comments.

Integration with SoliteraTA

  • The utility seamlessly adds the generated script to the SoliteraTA environment, where users can
    further edit and execute the script as needed.

Best Practices

  • Regularly update your Selenium IDE and WinApp UI Recorder to ensure compatibility.
  • Familiarize yourself with BDD scripting within SoliteraTA to effectively modify and enhance
    generated scripts.
  • Review and resolve any comments inserted by the Auto Script Generator to maintain script
    integrity.

Solitera may collect certain information by automated means, such as cookies and web beacons, when a user visits our website. A “cookie” is a small piece of data that a website can send to your browser, which may then be stored on your system. learn more

Choose your Operating System