Creating tests or components

Relevant for: GUI tests and components

Can I use OpenText Functional Testing on virtual machine or a virtualized environment.

Yes. Check the OpenText Functional Testing Support Matrix for the list of supported environment.

Back to top

How can I record on objects or environments not supported by OpenText Functional Testing?

  • Install and load any of the add-ins that are available for OpenText Functional Testing

  • Map objects of an unidentified or custom class to standard Windows classes. For details on object mapping, see Test object mapping.

  • Use Insight recording mode, possibly combined with recorded Text test objects.

  • Use UI Automation recording mode (for Windows-based technologies that have implemented the UI Automation interfaces).

  • Use add-in extensibility to extend OpenText Functional Testing built-in support for various objects.

  • Define virtual objects for objects that behave like test objects, and then record in the normal recording mode. For details on defining virtual objects, see Virtual Objects.

  • You can record your clicks and keyboard input based on coordinates in the low-level or analog recording modes.

  • Use Artificial Intelligence-based testing. For details, see AI-based testing.

Back to top

How can I launch an application from a test or component?

  • Configure the Record and Run Settings for your technology to automatically open an application

  • In a GUI test or scripted GUI component, add a SystemUtil step, such as:

    SystemUtil.Run "D:\My Music\Breathe.mp3","","D:\My Music\Details","open" 
  • In a keyword GUI component, select Operation from the Item column, select OpenApp from the Operation column, and then enter the full path in the Value column, for example:

    %ProgramFiles%\OpenText\UFT One\samples\flight\app\flight4a.exe

Back to top

How does OpenText Functional Testing capture user processes in Web pages?

OpenText Functional Testing hooks into your selected browser. As the user navigates the Web-based application, OpenText Functional Testing records the user operations. (For details on modifying which user operations are recorded, see the section on configuring Web event recording in the Add-ins section of the OpenText Functional Testing Help Center.) OpenText Functional Testing can then run the test or component by running the steps as they originally occurred.

Back to top

See also: