Professional Documents
Culture Documents
Unified Functional Testing Reviewer
Unified Functional Testing Reviewer
FEATURE
The Unified Functional Testing platform from Hewlett Packard Enterprise provides developers and testers with tools for
application test automation. Rather than manually assess developed mobile and web applications and their integrated
features, HPE Unified Functional Testing provides users with application testing tools for establishing automated
assessments that evaluate the functionality and performance protocols of the application(s) in question. The platform was
formerly known as HP QuickTest Professional prior to version 11.5, and as HP UFT prior to Hewlett Packard's name
change in 2015.
To create a new test script, users open a new project and select what type of app (Windows desktop, mobile or web) the
test is to be performed on. If a test for a desktop or web app is to be performed, users select the proper settings on an in-
platform prompt and begin the test by hitting the Record button. Once this is done, the platform will automatically record
any interactive or keyword-based on-screen actions and commands undertaken by the user -- such as opening a web
browser and launching the app in question -- and document them as part of the software testing procedure.
If a test for a mobile app is selected, HPE Unified Functional Testing allows users to install or push their developed mobile
apps to real Android, iOS or Windows devices and interact with both the device and the app from within the platform.
Access to these devices is achieved through the use of a cloud-based device lab service built into the platform. The
Unified Functional Testing platform gives users the option of establishing their own device labs as well. Once the intended
device is selected, users again hit Record to begin creating the script and the platform will automatically document all on-
screen actions and commands.
Once all the parameters have been established in the test, users can then save the script for future use on other devices
and operating systems. Users can also revisit and edit the script post-test to remove or add steps in the automated
testing process.
m Next Steps
Learn about the major categories of application testing tools.
What are the differences between Web app testing and mobile app testing?
HPE bolsters GreenLake with support for HPE GreenLake delivers high
Microsoft Azure Stack performance computing cloud
CLOUD COMPUTING
A 2 Reduce latency with the right AWS
placement group
When prioritizing latency in AWS, evaluate the advantages and
APPLICATION ARCHITECTURE limitations of placement groups and how they fit the desired cloud ...
2
IT OPERATIONS
Cloud-native development still a work in
progress for companies
JAVA
Enterprise Strategy Group's Paul Nashawaty breaks down the
research firm's latest survey on the state of cloud-native application...
AWS
About Us Contributors Guides
Corporate Site
Privacy Policy
Do Not Sell or Share My Personal Information
CS-6306 UNIFIED FUNCTIONAL TESTING
INTRODUCTION TO UFT 12.0 Page |1
Module Objectives:
After completing this module, you should be able to:
Identify course content and goals
Identify associated course
Specify class schedule and course logistics
Discuss laboratory setting specifics
Class Logistics:
CS-6306 UNIFIED FUNCTIONAL TESTING
INTRODUCTION TO UFT 12.0 Page |3
CS-6306 UNIFIED FUNCTIONAL TESTING
INTRODUCTION TO UFT 12.0 Page |4
Certification
Module Objectives:
Advantages of UFT:
This page welcomes you to the GUI Test UFT page and summarizes
all the new features, including links, in this version. The Start Page has a
variety of user interface elements:
Options – Start page viewing options. The Start Page can be selected
to appear immediately after startup of UFT, on Startup. After test
loads you can pick Close Start Page to close the Start Page after a test
has been loaded.
CS-6306 UNIFIED FUNCTIONAL TESTING
Software Overview Pa ge |3
Community Area – To open news about UFT GUI testing, link to UFT
for HP Software Testing, link to the UFT Testing Forum for business
process, links to the GUI Testing Forum, connections to the Business
Process Testing Forum, or the UFT GUI Testing Blog, click the
Community icon.
Links Area – Click the Links button to open links to the UFT for GUI
Testing Help. ␣ Support Area – To open UFT connects to UFT, click
the Support button, and access to the HP Software Support website's
Knowledge Base and Troubleshooting sections.
Recently, the UFT help system has been improved to improve its
visual appearance and make it easier to use.
Choose Help ---> HP Unified Functional Testing Aid to access the aid guide,
which has a general aid center based on the most common assistance
subjects. Also available for the topics covered are tutorials, the User Guide,
the Object Model Reference and a comprehensive VBScript Reference.
Also, don’t forget to review the Help ---> What are new issues when a new
software version is released? , and
So, what are we waiting for? Let us now explore the Unified Functional Testing
12.0
CS-6306 UNIFIED FUNCTIONAL TESTING
Preparing to Record Page |2
Module Objectives:
The timely and laborious manual testing calls for high human
resource commitment. More seriously, time limitations frequently prevent
every feature from being completely tested manually until the application
is published. So you question whether major problems have not been
identified.
Reliable – Every time they are conducted, tests do exactly the same
processes, thereby removing human error.
CS-6306 UNIFIED FUNCTIONAL TESTING
Preparing to Record Page |3
Repeatable – After repeated actions, you may test how the website
or app reacts.
Data Testing is conducted using UFT dynamic input for GUI Testing
to test the functionality. The values are static when we record. We change
this static value to dynamic in data driven tests so that we may supply the
most inputs that we wish to have the feature for diverse inputs.
Do automate:
Tests using the same operation with multiple data values (data-
driven tests).
Do not automate:
To save the reusable action you may construct the action repository
test for your tests. Generally speaking, for each section of your application
you construct an action repository test. Specific testing can keep your
activities at a central spot by storing all your actions. The shared object
repositories then are associated with the respective activities. You may
thus put steps into the activities via the objects in the repositories of the
objects. You insert calls to one or more actions stored in the repository
while creating your tests. The update reflects all tests including a call to the
action when you change an action in the action repository. Only the
corresponding repository tests are loaded when you do a test.
The following other techniques can also add stages to your test:
Drag objects – Drag items to add keyword driven steps to your
Keyword View or toolbox pane from your object repository or
toolbox. All objects that you wish to test in your application are in
the object repository and toolbox pane. In the action with the default
operation, a step is produced in the Keyword View when you move
an object. For instance, the click procedure for a step will
immediately be established if you drag a button subject into the
Keyword View. You can change the step as necessary.
Record on your application – During the registration session, each
step you do is shown as a row in the Keyword View across your
application. One step leads to or modifies your application, such as
a click on a link or picture, or a data form. The Editor shows these
stages in a test script as lines (VBScript). A description of each step
in easily understandable phrases appears in the Documentation
column of the Keyword View.
You should also establish the start and finish points for every test
case before automating a test. This relates to the status of the original and
final conditions application. An initial requirement relates to the situation
of the AUT before the test run. An end-condition refers to the status of the
AUT when a test is running. This makes it possible for the test to iterate.
To plan starting and end requirements for a test, use the following
questions:
Do you have a major window in which most business operations
begin, such as the search or home page?
What is the condition of the AUT in which most business operations
can begin? Is the login window or the program home page ready for
new order, for example?
Does the last step reset the AUT to their starting state if the test is
performed with numerous sets of data?
the application met —Login, then Search, then Purchase, and finally
Itinerary Check. But when the grid was constructed, it was soon evident
that the purchasing process needed the most priority to bring the business
processes with the greatest controls to the top. Consequently, only if
adequate time and resources are available would the team automatically
check the route.
You must identify the input data you are using for the program
before recording a test
Data that might have to come from another program will not be
caught off guard. Except if this region is involved in your testing from the
beginning, it may take a while to generate the data which might delay your
testing. It is essential to involve your SMEs and application areas to
minimize these delays at the beginning of your testing.
For instance, if your test requires a lot of login IDs and your own
application database manages these IDs, somebody on your team will need
to generate them before testing begins. However, if your data security
department is responsible for generating login identifiers, it may take
weeks of time and possibly charge the tasks for your application. If these
lead times and expenses are not anticipated, your project budget might be
reduced.
So, what are we waiting for? Let us now explore the Unified Functional Testing
12.0
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |2
Module Objectives:
Class Logistics:
During a run session, UFT uses the recorded steps to replicate the
operations you performed while recording. While you record the steps,
UFT creates test objects representing the objects in your application on
which you perform operations, and stores them in an object repository.
This enables UFT to identify the objects in your application both while
creating the test or component and during a run session.
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |3
Recording Modes
Default – There are stages that use objects, their attributes, and their
methods in the typical object-based recording mode for UFT
recording sessions.
Analog Recording – Keep track of your mouse and keyboard
motions as they relate to the screen or the program window. This
approach, unlike Default mode, does not result in the identification
of objects, but instead makes a "movie" of your activities. While the
approach is sometimes necessary when interacting with objects not
recognized by UFT, it should be used sparingly since steps created
in this mode are not editable.
Low-Level Recording – Some steps provide extra information, such
as the coordinates of a mouse click on an item, so that UFT may
utilize that information during playback to improve its ability to
locate and interact with an object.
Insight Recording (tests and scripted components only) – Rather
than recognizing items based on their natural features, it looks at
them. This can be useful if you are recording on an application
whose technology is not supported by UFT GUI Testing, or on an
application running on an emulator or a remote-computer.
Record a Test
When you click Record, UFT keeps track of every action taken by a
user in the AUT. In the automated test, each activity that is recorded
becomes a step. There are three components to each phase of an automated
test:
Item – In the AUT, this refers to the thing that was touched.
Operation – The action you take on the object during the recording
session is referred to as the action. The technique is another term
for this.
Value – he data you provide for the object's functioning is referred
to as the data you provide.
Because UFT employs internal hooks to identify user activities on
the application under test, it should be running before it is called. If
the application's hooks aren't set up appropriately, UFT may not be
able to record effectively if it's already open.
By selecting the test to Run a Test and Save the Results in the Run
Settings dialog box, you may prepare for the test run.
Run Settings dialog box lets you prepare for the test run by
selecting the test to run and providing a location for the results. The steps
to perform this are as follows:
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |5
When we run the test, each step systematically runs. The step which
is being run is highlighted by a yellow arrow on UFT interface and it gets
performed on the AUT (Application Under Test).
When you run a test, UFT performs each step as it was recorded in
the application under test. The application under test cannot detect if UFT
or an actual tester is performing the steps.
You can watch the application under test as UFT performs each step.
A yellow arrow in the left margin of the keyword view indicates the step
currently running, if the test is run in normal mode.
Save a Test
When we create a new test then we specify location to save the test.
To save any changes made select File --->Save Test (Ctrl +S), the default
location used by UFT to save a test is: C:\Demo information\UFT
11.50\Sample of Virtual Service.
Each UFT test script is a directory itself. The name of the UFT script
directory will be the name of the script. Change in the name of this folder
will result in change in the script name.
By default each UFT script contains two sub folders Action 0 and
Action1. If we increase the number of actions then the number of the
subfolders will increase accordingly. However please note that changing
the name of action will not result into change of the sub folder names.
Action 0 – Only Script.mts file is useful in this folder. This file contains the
call to the actions and the number of iterations on which the action has to
iterate. We can also add code here.
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |6
Action 1:
Snapshots – This folder contains the snapshot of the application
taken during recording. It contains the HTML, XML and PNG files.
Objectrepository.bdb ( BDB = Berkeley Data base, an oracle
product) – This is the local object repository of the action.
Resource.mtr – This is a binary file and contains the information
about the action IO parameters and similar action info.
Script.mts (Script files) – This file contains the UFT code.
Default.xls (Default Excel file) – This is the default xls data file of the
test script.
Default.cfg (Configuration file) – Configuration file of the script
mainly for the loadRunner.
Lock.lck (locks the file opened by UFT Script) – It locks the open files
of the test. If a script is open at one machine. Then it locks that script
so that it will open only in read mode by other machines or by UFT
script editor.
Note: If you make this file read then UFT script will always open in
read only mode. To enable the editing mode back you need to
remove the read only mode from the lock.lck file.
Parameters.mtr – It contains the test script IO parameters info
Test.tsp (test settings) – A binary file not sure about but most
probably contains the UFT test settings.
ScriptName.usr – LoadRunner file.
Default.usp – LoadRunner file.
UFT enables you to compress the test folder to conserve hard disk
space on your computer and to ensure easy transfer of tests within a
network or over the Internet.
This dialog box enables you to zip your GUI tests together with
configuration, run-time, setup data, and (optionally) Active Screen files.
Zipping these files together helps conserve space and makes tests easier to
transfer.
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |7
The results of your test may be viewed in the test results window
when it has been completed. After a run session has finished, the test
results window opens by default.
You may see the results of a run session in the Test Results Viewer
window. The run results tree is displayed in the left pane (dockable) by
default. Two rows of dockable panes are located on the right side of the
window.
Run Results Viewer menu bar and toolbar – Commands for viewing
run session results may be found in the Run Results Viewer toolbar
and menu bar.
Test Flow Pane – This pane contains a snapshot of the canvas
containing the steps of the script. The snapshot shows the order of
the steps and the connections between them. You can scroll down,
zoom in, and set the displayed details level, as you would in the
canvas.
A search box
Displays the test or component phases, as well as the specific
locations where the program failed.
Result Details pane – At each level of the test or component, detailed
explanations of each phase and checkpoint pass or fail.
For each node that has a corresponding step in a GUI test, you may
see the UFT step that corresponds to a node in the Run Results tree.
Perform the following steps to see the test step that corresponds to
a node:
In the Run Results Viewer, make sure UFT is open to the test whose
results are presented.
In the tree of run results, choose a node.
Choose one of the following actions:
From the Run Results toolbar, click the Jump to Step in Test button.
From the context menu, right-click and select Jump to Step in Test.
Select View ---> Jump to Step in Test.
The step is highlighted and the UFT window is opened.
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test Page |9
CS-6306 UNIFIED FUNCTIONAL TESTING
Creating Basic Test P a g e | 10
Course Objectives
Module Objectives
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Week 001: Introduction to UFT 12.0
Objectives