Jump to main content
HCL Logo Product Documentation
Customer Support Software Academy Community Forums
HCL OneTest UI
  • Release Notes
  • System Requirements
  • Getting Started Guide
  • Tutorials
  • Samples
  • Administrator Guide
  • Test Author Guide
  • Test Execution Specialist Guide
  • Test Manager Guide
  • Troubleshooting
  • Reference Guide
  • All Guides (PDF)
  • Security Considerations
  • Notices
  1. Home
  2. Test Execution Specialist Guide

    This guide describes how to automate the playback of the tests by using different methods such as Docker, IBM® Cloud Private, Jenkins and so on. The test results can be pushed to Rational® Test Control Panel.

  3. Running tests from Web UI Test perspective

    In this section, you will learn how to play back tests from the Web UI Test perspective.

  4. Running Web UI tests

    See the different ways to play back Web UI tests.

  5. Prerequisites to running Web UI tests

  • Test Execution Specialist Guide

    This guide describes how to automate the playback of the tests by using different methods such as Docker, IBM® Cloud Private, Jenkins and so on. The test results can be pushed to Rational® Test Control Panel.

    • Running tests from Web UI Test perspective

      In this section, you will learn how to play back tests from the Web UI Test perspective.

      • Running Web UI tests

        See the different ways to play back Web UI tests.

        • Prerequisites to running Web UI tests

          • Using a specific browser profile during playback

            By default, when you play back a test, a temporary browser profile is created. This browser profile is used by the test. To use a specific browser profile, which includes the extensions and settings to use for the test, create a separate browser profile and specify the path before playing back a test.

          • Clearing cache, cookies, and history of browsers

            To optimize the performance of web browsers that are used to play back Web UI tests, you can clear cache, cookies, and history of browsers.

        • Running tests from an Android mobile test client

          You can run a test from an Android mobile device or emulator. After the run, the report is automatically uploaded to Rational® Functional Tester. You can also view the report on the mobile test client.

        • Running Web UI tests on BitBar mobile device cloud

          You can run Web UI tests on mobile devices available in BitBar cloud device from the test workbench and to view the execution reports in the BitBar cloud.

        • Running Web UI tests on Perfecto mobile cloud

          To check the connection between the application and mobile cloud device, ideally before the test execution, you can enter the Perfecto mobile cloud credentials and get it verified.

        • Running a test using industry-standard mobile browsers

          Starting with 9.2.1, you can use industry-standard mobile browsers, such as Chrome and Safari, to run Web UI tests for mobile web applications. You can run tests with Chrome on Android devices and emulators and with Safari on iOS devices and simulators. This capability uses Appium to actually run the tests. Before 9.2.1, you could only run tests on mobile devices using the generic browser that is bundled with Rational® Functional Tester.

        • Running a test recorded in Google Chrome Device Mode

          You can run a test that you recorded in Chrome Device Mode. Doing so allows you to emulate the testing of applications on the browser of a mobile device.

        • Testing with Docker images

          IBM® Rational® Performance Tester, IBM Rational Functional Tester, and IBM Rational Performance Tester Agents are available for download as Docker images. You can use them to fulfill the continuous testing aspects of your DevOps lifecycle.

        • Starting a new recording immediately after playback

          Starting from 9.1.1.1, you can keep the Google Chrome browser active after Web UI test playback is complete. This feature allows you to continue recording at the point where playback finished without the need to re-record the earlier steps.

        • Adding custom JavaScript code as a test step in a Web UI test

          You can manually add JavaScript files (*.js) to test scripts with defined functions. You might want to run your own JavaScript snippet such as retrieving some data from the application, doing some actions within the application, or validating some complex logic actions within the application for example. To be able to execute specific code in a test, write your own JavaScript code and insert the custom JavaScript statement as a new test step in your test script.

      • Running mobile tests

        After you record the tests for mobile applications by using Rational® Functional Tester, you can play back the recorded tests by using Rational Functional Tester. The test reports help you to analyze the functional and performance issues in the mobile applications developed.

      • Running Windows tests

        You can run Windows tests that you created for Windows desktop applications in Rational® Functional Tester.

      • Configuration of AFT Suite runs

        When you create Web UI, mobile, or Windows tests, you must configure the play back of the recorded tests as AFT Suite runs before you can view their test results.

      • Running a test on multiple browsers and devices simultaneously

        Rather than run a Web UI test on one browser at a time, you can run a single Web UI test on multiple browsers simultaneously. Doing so can significantly speed up your test effort. You can also extend your test coverage by adding mobile devices to the test run. You can run the test from Rational® Functional Tester, from the command line, or from Rational Quality Manager. This topic describes how to run a test from the Web UI Test perspective.

      • Running a test from a command line

        You can run a test without opening the product by using the command-line interface.

    • Running tests from Functional Test perspective

      In this section, you will learn how to play back tests from the Functional Test perspective.

Prerequisites to running Web UI tests

Before you can run a Web UI test, you must complete the prerequisite tasks.

You can find the following information about the prerequisite tasks:
  • Using a specific browser profile during playback
  • Clearing cache, cookies, and history of browsers

Rate this topic


  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences