Jump to main content
HCL Logo Product Documentation
Customer Support Community
Customer Support HCLSoftware U Community Forums Customer Idea Portal
HCL OneTest UI
  1. Home icon
  2. Welcome
  3. Test Author guide

    As a test author, you are responsible to create test scripts and enhances them by applying different test elements such as dataset, variables, and verification points.

  4. Extending the UI Test perspective with custom code

    You can use custom code to extend the default Web UI testing capabilities. You can write custom Java™ code and call the code from the test. You can also specify that results from the tests that are affected by your custom code to be included in reports.

Product logo

  • Release Notes

    This document contains information about new features, system requirements, and known limitations in HCL OneTest™ UI.

  • System Requirements

    This document includes information about hardware and software requirements for HCL OneTest™ UI.

  • Getting Started Guide

    This guide provides an overview of HCL OneTest™ UI. You can find the task flows to get you started with HCL OneTest UI. This guide is intended for new users.

  • Tutorials

    This section contains the tutorials which explains the main features of HCL OneTest™ UI.

  • Samples

    This section describes about the sample project which can be used with HCL OneTest™ UI to test the functionality of an application.

  • Administrator guide

    Typically, a user with the administrator role is responsible for certain tasks including installation, configuration, and integration of the product. This guide lists all such topics.

  • Test Author guide

    As a test author, you are responsible to create test scripts and enhances them by applying different test elements such as dataset, variables, and verification points.

    • Testing in the UI Test perspective

      When you develop web applications, Windows-based applications, or mobile applications, you can use HCL OneTest™ UI to create functional tests for these applications. You must first record the tests and then use HCL OneTest UI to run the tests before you can view the test results.

    • Testing in the Functional Test perspective

      When you develop Java, HTML, or Terminal-based applications, you can use HCL OneTest™ UI to create traditional functional tests for these applications. You must first record the tests and then use HCL OneTest UI to run the tests before you can view the test results.

    • Extending the UI Test perspective with custom code

      You can use custom code to extend the default Web UI testing capabilities. You can write custom Java™ code and call the code from the test. You can also specify that results from the tests that are affected by your custom code to be included in reports.

      • Creating custom Java™ code

        Custom code uses references in the test as input and returns modified values to the test. Use the ICustomCode2 interface to create custom code and the ITestExecutionServices interface to extend test execution. These interfaces are contained in the com.ibm.rational.test.lt.kernel.services package.

      • Test execution services interfaces and classes

        You use the test execution services interfaces and classes to customize how you run tests. These interfaces and classes are located in the com.ibm.rational.test.lt.kernel package. Each interface and class is described briefly in this topic and in detail in the Javadoc information.

      • Reducing the performance impact of custom code

        If custom code runs inside a page, it can affect that page's response time.

      • Custom code examples

        Custom code enables you to perform such tasks as managing loops, retrieving virtual user information, running external programs from tests, and customizing data correlation.

    • Extending the Functional Test perspective

      You can use custom code to extend the default functional testing capabilities. You can write custom code and call the code from the test. You can also specify that results from the tests that are affected by your custom code to be included in reports.

    • Experimental Features

      HCL OneTest™ UI contains a set of pre-releases that enable you to test various experimental features. These experimental features, while still in progress, are introduced early in the release to seek your feedback on its overall functionality and performance. You can play around with these capabilities before they are made available and supported as a general feature in an upcoming release.

  • Test Execution Specialist guide

    A test executor automates 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.

  • Test Manager guide

    As a test manager, you can keep track of the performance of the application by evaluating the test results. Following topics cover how you can work with the test results.

  • Troubleshooting

    While working with HCL OneTest™ UI, you might encounter some problems that you can easily troubleshoot. The topics in this section address some of these problems.

  • Reference

    Use these additional topics to gain more knowledge about the product.

  • All Guides (PDF)

    You can find the link to view or download the content of the release notes, system requirements, and persona guides of HCL OneTest™ UI as a PDF file.

  • Security Considerations

    You can take certain actions to ensure that your installation is secure, customize your security settings, and set up user access controls.

  • Notices

    This document provides information about copyright, trademarks, terms and conditions for the product documentation.

 Feedback

Extending the UI Test perspective with custom code

You can use custom code to extend the default Web UI testing capabilities. You can write custom Java™ code and call the code from the test. You can also specify that results from the tests that are affected by your custom code to be included in reports.

You can find the following information:
  • Creating custom Java code
  • Test execution services interfaces and classes
  • Reducing the performance impact of custom code
  • Custom code examples
  • Share: Email
  • Twitter
  • Disclaimer
  • Privacy
  • Terms of use
  • Cookie Preferences