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 HCL® Quality Server.

  3. Configuration of test runs from the UI Test perspective

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

  4. Configuration of Web UI test runs

    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 HCL® Quality Server.

    • Configuration of test runs from the UI Test perspective

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

      • Configuration of Web UI test runs

        See the different ways to play back Web UI tests.

        • Prerequisites to running Web UI tests

          • Setting a specific browser profile for the playback

            When you play back a Web UI test in a browser, the test is played back in the temporary profile of the browser. You can set a specific user profile, which includes the extensions and settings to use for the test, for the browser in HCL OneTest™ UI to play back the Web UI 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.

          • Setting or changing the ANDROID_HOME path in Linux operating systems

            When you want to run or play back recorded mobile tests by using the UI Test agent in HCL OneTest™ UI, you must ensure that the ANDROID_HOME path is set correctly in computers that run on Linux.

          • Setting or changing the ANDROID_HOME path in Mac operating systems

            When you want to run or play back recorded mobile tests by using the UI Test agent in HCL OneTest™ UI, you must ensure that the ANDROID_HOME path is set correctly in computers that run on Mac operating systems.

          • Setting or changing the ANDROID_HOME path in Windows operating systems

            When you want to run or play back recorded mobile tests by using the UI Test agent in HCL OneTest™ UI, you must ensure that the ANDROID_HOME path is set correctly in computers that run on Windows operating systems.

        • Running a Web UI test

          To verify that a web application works as designed, run the test in a browser. Optionally, you can run the test in more than one browser at a time to speed up your test effort. Before running the test, you can choose to use a specific browser profile for the test.

        • Running Web UI tests on BitBar Cloud

          You can run Web UI tests on mobile devices that are connected to the BitBar cloud device. After the test run is completed, you can view the test reports in HCL OneTest™ UI.

        • 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 Web UI tests on the pCloudy cloud

          You can run Web UI test on Android or iOS devices that are connected to the pCloudy cloud testing platform. After the test run is completed, you can view the test reports in HCL OneTest™ UI.

        • 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.

        • 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.

        • Running tests in the headless mode

          When you do not want to view the GUI of the application under test as the recorded test is played back on a web browser, you can choose to run the test in the headless mode. Running of tests in the headless mode is useful when you use an automated testing environment.

        • Running tests in the private or incognito mode

          When you play back Web UI tests, if the user profile that is stored in the browser prevents the test from running without intervention, then you can use the private or incognito mode. Also, when you do not want cookies, caches, and user information to affect your test play back, you can choose the private mode.

        • Testing with Docker images

          HCL OneTest™ Performance, HCL OneTest UI, and HCL OneTest Performance 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.

      • Configuration of mobile test runs

        After you record the tests for mobile applications by using HCL OneTest™ UI, you can play back the recorded tests by using HCL OneTest UI. The test reports help you to analyze the functional and performance issues in the mobile applications developed.

      • Configuration of Windows test runs

        You can run Windows tests that you created for Windows desktop applications in HCL OneTest™ UI.

      • 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 HCL OneTest™ UI, from the command line, or from Rational® Quality Manager. This topic describes how to run a test from the UI Test perspective.

      • Configuration of test runs from the command line

        When you need to run Web UI, mobile, and windows tests using the command line without opening the desktop client to run these tests, you can use the command line of HCL OneTest™ UI.

    • Configuration of test runs from the Functional Test perspective

      When you created functional tests, you must configure the run of the recorded functional tests from the Functional Test perspective before you can view the test results.

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:
  • Setting a specific browser profile for the playback
  • Clearing cache, cookies, and history of browsers

Rate this topic


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