Spotlight on Rapise 8.0 - New Test Frameworks That Sync with Spira

12-Jun-2023 by Inflectra Product News

We are excited to announce the upcoming release of Rapise v8.0 at the end of the month. This major new update to our award-winning test automation platform includes a completely new way to create and manage test automation frameworks. The new Framework mode is being introduced in Rapise 8.0 to simplify test case and test set management, as well as the management of parameters, page objects/modules, object repositories, and shared code.

rapise-spotlight-new-test-frameworks-that-sync-with-spira-inflectra-image

Benefits of Rapise 8.0

The previous way of dealing with Sub-Tests and linking tests to SpiraTest required doing it on a per test case basis, whereas in the new Framework mode, there is a single button labeled Sync with Spira that handles everything. When this button is pressed, test cases and test sets are automatically synchronized with SpiraTest, and files are uploaded/downloaded.

With the Framework mode, team collaboration is streamlined because changes made by team members are automatically merged. In addition, it is possible to view diffs and resolve conflicts in complex cases. In addition, the new Framework mode offers the following additional benefits:

Modules / Pages

The new framework mode introduces the new concept of Modules. Every module has its own dedicated object repository, allowing for better organization and isolation. Defining module actions in both RVL and JavaScript mode is straightforward. These actions can accept parameters and return values, offering increased flexibility and reusability.

The key advantage is that using a module in a test case is as simple as selecting the module in the Object column of RVL and then choosing the desired action from the Action  column. If there are any parameter values required, they can be easily filled in.

Test Cases

With the new Framework mode, test cases also have their own private object repositories, providing a dedicated space for organizing test-specific elements. It is effortless to record steps into any test case and execute them for testing purposes. Additionally, the Object Tree displays the color-coded status of the last local execution for each test case, using green, yellow, and red indicators. This visual representation allows users to quickly assess the execution status of test cases at a glance.

Test Sets

On the Framework  page of the Spira Dashboard  in Rapise 8.0, you can conveniently create test sets. By simply setting checkboxes next to the desired test cases, you can include them in a test set.

Parameters / Configurations

The Framework mode in Rapise 8.0 introduces Test Set Configurations, offering a powerful feature for managing parameters. Defining parameters of various types and assigning different values for parameters in different configurations is incredibly simple and straightforward. When a configuration is assigned to a test set, every executed test case within that test set can access the specific parameter values defined for that configuration. This capability enables flexible and customizable parameterization, allowing for fine-tuning test behavior and data based on specific configurations.

Libraries

In the Framework mode the burden of manually loading libraries is eliminated. Modules and test cases are intelligent enough to recognize the required libraries and load them automatically. For instance, if a test case interacts with a browser, it automatically loads the Web   library. Similarly, if a module interacts with a desktop application, it automatically loads the UIAutomation   or Managed  library.

Further Reading

If you'd like to learn more about the specific new features in Rapise 8.0, we have some more detailed Knowledge Base (KB) articles available:

  • Rapise 8.0: recommended way of executing code before and after each test case
    Rapise 8.0 has introduced a new  feature called the Framework mode.  In  this mode a new framework is created with the Common.js file which contains event handlers such as SeSOnTestInit and SeSOnTestFinish that get executed for every test case.
  • Rapise 8.0: how to run test cases on different browsers
    In this article, we will demonstrate how to configure multi-browser execution of test cases in Rapise to ensure compatibility of a web application across major web browsers. This method is specifically designed for the Framework mode, which was introduced in Rapise 8.0.
  • Rapise 8.0: how to define and use parameters in test cases
    In test automation projects, it is often necessary to parameterize test cases for various purposes. For instance, this could involve specifying different URLs for running tests in different environments (development, staging, production), or providing user credentials for logging into the system. Additionally, there might be a need to quickly modify playback speed, error handling, and screenshot settings for multiple test cases. In the Rapise 8.0 Framework mode, managing parameters is made simple and convenient, allowing easy creation and management of parameters, including the ability to run the same test case with different input data, such as filling a form with various values to create multiple records in a system database.
  • Rapise 8.0: how to define and use test set configurations
    Rapise 8.0 provides the simplified way of parameterizing test sets . With the ability to define parameters and create configurations, managing different test scenarios has never been easier. Each configuration automatically includes all the defined parameters, but you can override specific parameter values as needed. If a configuration does not explicitly assign a parameter value, the default value is utilized during test set execution.
  • Rapise 8.0: development flow for Test Automation Framework in Single User Mode
    If you are the sole automation engineer working on test creation with Rapise, it is recommended to follow these basic principles when developing a test automation framework. These guidelines specifically apply to the new Framework mode introduced in Rapise 8.0.
  • Rapise 8.0: development flow for Test Automation Framework in Team Mode
    When working as part of a team of automation engineers, the principles mentioned in the Single User Mode still apply. However, there are additional considerations to keep in mind, particularly when using a SpiraTest-based file repository.
  • Rapise 8.0: using multiselect and datacolumn parameters for comprehensive testing
    The true strength of test automation lies in its capability to execute the same test cases with varying input parameters. In Rapise 8.0, you can achieve this by utilizing multiselect and datacolumn parameters. Let's now explore a specific example to illustrate this concept.
  • Rapise 8.0: how to make a copy of a test automation framework
    There are various situations where duplicating a test automation framework and linking it with another product in SpiraTest becomes necessary. For instance, you may want to create a copy to test the next major version of your application or start fresh with a clean product in SpiraTest. Another common scenario is when you need to transfer the test repository from SpiraTest to Git.

Summary

Experience the power of Rapise 8.0's new Framework mode and revolutionize your test management workflow. With streamlined test case and test set management, simplified parameterization, modular organization, and seamless integration with SpiraTest, Rapise 8.0 empowers you to optimize your testing processes like never before. Say goodbye to manual library loading and embrace the automation and intelligence offered by Rapise. Take the leap and try Rapise 8.0 today to unlock enhanced collaboration, efficient test execution, and a more scalable and flexible testing framework. Your testing journey awaits with Rapise 8.0 - the future of test automation.