Index of UFT tasks/actions

This topic is a reference of tasks and actions supported in UFT.

Manage documents and tests

The following table lists actions supported when creating and managing UFT tests and other documents.

Solutions
  • Create
  • Open
  • Add a test, component, application area, or function library to a solution.
Tests
  • Create
  • Open
  • Associate a resource with a test - including object repositories, recovery scenarios, and function libraries.
  • Import tests from a externally-saved .zip file.
  • Import tests from a Sprinter Automated Test Data file.
  • Export a GUI test to an externally saved .zip file.
  • Save with resources
  • Save in SVN
  • Save in a GIT repository
Components
  • Create. Components are always saved on ALM.
  • Open
  • Add items to a solution
  • Import a business component from a Sprinter Automated Test Data file.
Actions

Rename a test action's name in:

  • the Solution Explorer
  • the Action Properties dialog box
Function libraries Create

Back to top

Create and maintain test objects

The following table lists actions supported when creating and maintaining UFT test objects.

Object repositories
  • Create shared object repositories
  • Associate shared object repositories with a GUI test or component.
  • Compare multiple object repositories.
  • Merge multiple object repositories.
Test objects
  • Add new objects to an object repository
  • Edit objects in shared object repositories
  • Teach UFT to recognize the objects in your application and add these objects to a shared object repository.
  • Use Insight to recognize the objects in your application.
  • Specify which UFT test object should represent an unidentified object in your application.
  • Specify which objects in your application exist as virtual objects and instruct UFT where to find them.
description properties
  • Add or set the values of a selected test object's description properties.
  • Parameterize a test object's description properties from a data source (Excel, variable, etc.)
  • Specify optional/mandatory description properties during a run session.
  • Spy on an object to display the test object's description properties.
  • Update the description properties of an object by re-learning them from the application.

Back to top

Integrate with ALM

The following table lists actions supported when integrating UFT and ALM.

Connect to ALM
  • Connect to your ALM server and project.
  • Activating the ALM Remote Agent.
  • Update ALM Remote Agent settings
  • Install a certificate on the UFT computer to enable you to connect to your ALM project via external authentication.
Test/component management
  • Save a test or component in your ALM project.
  • Run a test from the ALM Test Lab module.

Version control

  • Save a test or component in a version-controlled ALM project.
  • Check in/out a test or component from a version-controlled ALM project.
  • View a specific version of a test or components.
  • View baseline information for a test or component.
  • Compare versions of a test or components.

Back to top

Edit and maintain tests and components

The following table lists actions supported when editing UFT tests and components.

Tests Divide tests logically with actions
Steps

Add steps:

  • With keywords

  • By adding objects

  • By recording user actions

  • Recording using Insight

  • With programming statements

Add specific step types:

  • Conditional steps

  • Loop steps

  • To run API tests

  • To API tests

  • Set property values for API test steps

Back to top

Customize and enhance tests

The following table lists actions supported when enhancing tests with additional code.

Add checkpoints to tests

Check:

  • Bitmap images

  • Browser page properties

  • Database content

  • File contents

  • Image properties

  • Objects

  • Specific areas of bitmap images

  • Table details

  • Text

  • Text in a specific area

  • Web page accessibility

  • XML content

Add output value steps

Create steps to capture values from a:

  • Database

  • File

  • Object

  • Table

  • XML

Function libraries
  • Add custom functions to a function library

  • Call functions in a test

  • Register/unregister a custom function

  • Generate a custom function

Add statements to tests

  • Checkpoint, with the Check method

  • Descriptive, to find objects

  • Do...Loop

  • For...Each

  • For...Next

  • If...Else

  • If...Then

  • If..Else...Then

  • Output value, using the Output method

  • Report

  • To open/close applications

  • To retrieve object properties

  • Wait

  • While...Wend

  • With...

Data sources and parameters

Add data sources:

  • Tables

  • Databases

  • XML

Use parameters:

  • Parameterize step values (link values to a data source)

  • Data drive test steps

  • Create test parameters and set values

  • Create action parameters and set values

Recovery scenarios Create, for when an application crashes during a test

Back to top

Run tests

The following table lists actions supported when running UFT tests.

Run tests
  • From ALM

  • From UFT

  • From Bamboo

  • From Jenkins

  • In a group, as a test batch

  • In LoadRunner

  • In Performance Center

  • Using a virtual service

  • Using data saved in ALM

  • Via the UFT Runtime Engine

  • With a disconnected RDP connection

Test results
  • View and analyze

  • Debug errors

Back to top

Use Add-ins

The following table lists additional actions supported for specific UFT Add-ins.

All technologies

Load add-ins

.NET Recognize .NET Windows Forms objects
Delphi Enable communication with Delphi applications
Flex Set record/run options
Flex
  • Configure UFT to recognize Flex applications

  • Compile Flex applications with code to ensure UFT can recognize it

Java
  • Set record/run options

  • Disable dynamic transformation support

  • Set Java environment values

Mobile
  • Set record/run options

  • Connect to Mobile Center

Mobile Set record/run options
Oracle
  • Set record/run options

  • Use dynamic transformation support

  • Use Oracle environment variables

SAP
  • Set record/run options

  • Enable SAP GUI for Windows Presentation Foundation

  • Use SAP environment variables

  • Configure to work with SAP GUI for HTML applications

Siebel
  • Set record/run options

  • Configure to work with Siebel applications

Solution Manager Connect to and integrate with Solution Manager
Stringray Configure how to communicate with and recognize Stingray objects
Terminal Emulator Configure how to communicate with and recognize objects in a Terminal Emulator window
Web
  • Set record/run options

  • Register browser controls

  • Enable agents for Firefox, Chrome

  • Run tests on multiple browsers

  • Load Web 2.0 toolkits

  • Install the UFT Connection Agent on a Mac computer to work with a Safari browser.

Windows Runtime Configure how to work with a Windows Runtime application
Windows-based Set record/run options

Back to top

Business Process Testing in UFT

The following table lists actions supported when integrating UFT and BPT.

Application areas

Configure associated files, keywords, and application settings

Business process tests, flows, and components
  • Add components to tests from those saved in ALM

  • Add iterations

  • Add objects to a component

  • Create new, blank tests (saved in ALM)

  • Create tests and components automatically for SAP applications

  • Create tests by recording

  • Set run conditions

  • Update tests for SAP applications

Parameters
  • Create for business process tests

  • Create for components

  • Export to/Import from Excel

  • Link test and component parameter values

  • Promote from component to test

  • Set values

  • Set values per iterations

Test configurations
  • Create

  • Select for test runs

Back to top

Shortcut Keys

The following table lists shortcut keys supported in UFT.

Action Command Shortcut
Document management New Test CTRL + T
New Business Component CTRL + SHIFT + N
New Function Library ALT + SHIFT + N
New Application Area CTRL + ALT + N
Open Test CTRL + O
Open Business Component CTRL + SHIFT + O
Open Function Library ALT + SHIFT + O
Open Application Area CTRL + ALT + O
Close CTRL + F4
Save CTRL +S
Save All CTRL + SHIFT +S
Solution management Add New Test CTRL + SHIFT + T
Add New Business Component CTRL + SHIFT + B
Add New Application Area CTRL + SHIFT + A
Add New Function Library CTRL + SHIFT + F
Add Existing Test CTRL + ALT + T
Add Existing Business Component CTRL + ALT + B
Add Existing Application Area CTRL + ALT + A
Add Existing Function Library CTRL + ALT + F
Close Solution CTRL + SHIFT + F4
Edit Undo CTRL + Z
Redo CTRL + Y
Copy CTRL + C
Paste CTRL + V
Select All CTRL + A
Check Syntax CTRL + F7
Comment CTRL + M
Uncomment CTRL + SHIFT + M
Indent TAB
Outdent SHIFT + TAB
Toggle Bookmark CTRL + B
Next Bookmark CTRL + OemPeriod
Previous Bookmark CTRL + OemComma
View Solution Explorer CTRL + ALT + L
Toolbox CTRL + ALT +X
Properties CTRL + ALT +P
Data CTRL + ALT +D
Output CTRL + ALT + U
Errors CTRL + ALT + E
Tasks CTRL + ALT + K
Next Window CTRL + TAB
Previous Window CTRL + SHIFT + TAB
Open Help F1
Search Find CTRL + F
Replace CTRL + H
Incremental Search CTRL + E
Reverse Incremental Search CTRL + SHIFT + E
Go to Matching Brace CTRL + M
Go to Location CTRL + G
Go to Definition CTRL + RETURN
Record and run Record F6
Run F5
Run Now SHIFT + F5
Stop (Run) F4
Compile F8
Recompile ALT + F8
Stop Compilation Pause
Insert/Remove Breakpoint F9
Enable/Disable Breakpoint CTRL + F9
Step Into F11
Step Over F10
Run to Step CTRL + F10
Add to Watch CTRL + TAB
Quick Watch CTRL + Q
Edit tests Step Generator F7
Insert Value in Data Sheet CTRL + I
Delete Value from Data Sheet CTRL + K
Fill Right in Data Table CTRL + R
Fill Down in Data Table CTRL + D
Recalc Cell in Data Table F9
Rename GUI test action F2
Insert Standard Checkpoints F12
Insert Output Value CTRL + F12
Object Repository Open Object Repository CTRL + R
Navigate and Learn (Object Repository Manager) F6
ALM Open ALM Connection CTRL + Q
Add-in tools Open .NET Windows Forms Spy CTRL + SHIFT +P
Open Application in Mobile Center CTRL + ALT +M

See also: