Different Types of Testing in UFT

UFT can perform different types of testing like UFT GUI Testing, UFT API Testing, Unified Functional Testing, UFT Integrated Testing, and Business Process Testing (BPT) in UFT.

1. UFT GUI Testing

Graphical User Interface or GUI testing is the process of ensuring the proper functionality of the graphical user interface (GUI) for a given application and making sure it conforms to its written specifications.

GUI testing involves checking the screens with the controls like menus, buttons, icons, and all types of bars – toolbar, menu bar, dialog boxes and windows etc.

2. UFT API Testing

UFT’s API (service) testing solution provides tools for the construction and execution of functional tests for headless (GUI-less) systems. For example, you can use UFT to test standard Web Services, non-SOAP Web Services, such as REST, and so on.

You create an API test by dragging and dropping activities from the UFT Toolbox pane into the test, displayed on the canvas. The toolbox provides a collection of activities for functional testing in areas such as REST, Web Services, JMS, and HTTP. You can add more activities to the toolbox by importing WSDLs or providing other contract definitions.

3. Unified Functional Testing

UFT’s combined solution for GUI and API (service) testing enables you to test functionality across multiple application layers, such as the front-end GUI layer as well as back-end service layers. Additionally, the integrated BPT features enable a wider range of both technical and non-technical UFT users, maximizing your opportunity to create comprehensive automated tests.

UFT helps you to cut time-to-market by starting automated functional testing earlier in your process. You can also streamline your tools, cutting costs on both training and licenses.

4. UFT Integrated Testing

Integration for GUI and API Testing

You can integrate your GUI and service testing processes in a single test by including calls from your GUI test to API tests, or from your API tests to GUI tests. When you insert a call to another test, the call is displayed as nested under the relevant action on the canvas.

  • You insert and modify calls to API tests from GUI tests using the Call to API Test/Action Dialog Box.
  • You insert and modify calls to GUI tests from API tests by dragging the Call GUI Action or Test onto the canvas from the HP Automated Testing Tools node in the Toolbox pane. For more details, see How to Call External Tests or Actions.

Integration with ALM

You can also use UFT together with ALM – the HP centralized quality solution – to manage the entire testing process. For example, you can use ALM to:

  • Create a project (central repository) of manual and automated tests.
  • Build, test cycles.
  • Run tests.
  • Report and track defects.

You can also create reports and graphs to help you review the progress of test planning, runs, and defect tracking before a software release.

Tests and components created in UFT can be saved directly to your ALM project, and you can run UFT tests and review and manage the results in ALM.

5. Business Process Testing in UFT

Business Process Testing (BPT) works within UFT or ALM as a component-based testing framework. Working with a testing framework provides many advantages to enterprises, including streamlining the creation and maintenance of both manual and automated tests, and maximizing efficiency for testing complete business processes.

Business Components:

  • Enable structured automated testing.
  • Reduce the duplication of effort when combining manual tests with automatic tests.
  • Enable component reusability to speed up the automation process.
  • Provide the ability to pass parameters from one step to another within your business process. You can save the output of a step to a parameter and use it as an input value for subsequent steps.
  • Simplify on-going test maintenance.
  • Minimizes time-to-test.

Business Process Testing in UFT describes how to use BPT in UFT, including how to maintain business process tests and flows, business components, and application areas in the UFT.

About the Author

Leave Comment