This is the fourth tutorial in our UFT tutorial series. In this tutorial, we will learn all about various menus found in UFT IDE (Integrated Development Environment).

Wikipedia defines IDE:

An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development.

In our case, UFT IDE is the application that you see when you double click on UFT desktop icon to launch the tool.

UFT IDE

To learn and master UFT, you need to understand everything that happens inside this interface. Inside UFT IDE, we can record and run UFT scripts, write VB Script to enhance recorded scripts, connect to 3rd party tools like ALM and more!

UFT Menus

uft-menu

Like a typical windows based application, UFT has a:

  • Title Bar: Displays the path and name of current open test.
  • Menu Bar: Displays the menu available for your IDE. We will discuss in detail all settings and options available in the menu bar.
  • Tool Bar: Displays the important options available in menu in the form of buttons. Once you get a hang of UFT, you will be using tool bar buttons often.

Menu Bar

It is always a good idea to start from scratch while learning any new technology. This gives you firm grasp on the concepts and helps you later while you are into more advanced learning. In this section, we will learn all available sub-menus under the Menu bar.

File Menu

file-menu

  • New: Using File –>New, you can create a new Test, Business Component, Solution, Function Library or an Application Area. We will see each of these in detail in the coming tutorial but for now just remember this location and various document types that can be created in UFT.
  • Open: Using this option, you can open an already created Test, Business Component, Solution, Function Library, Application Area or any file type that can be opened in UFT.
  • Add: You can add a new Test, Business Component, Function Library, Application Area to a Solution. While we will talk about Solution Pane in detail later, for now think about Solution as a binder where you can hold all your testing artifacts at one place for easy access.
  • Close: Close the currently opened asset in the view. Keyboard shortcut is Ctrl + F4
  • Close Solution: Close the Solution. Keyboard shortcut is Ctrl + Shift + F4
  • Save <Test Name>: Save the current test.
  • Save <Test Name> As…: Save the current test with a different name. GUI tests have an extension .tsp
  • Save All: Save all testing documents in the Solution Explorer.
  • Save (Other) : Save a test with resources including Active Screen.
  • Recent: Shows a list of tests recently opened on your machine.
  • Settings: This comes up as a dialog bar and consists some of the most frequently used settings in a UFT test. We will see this option in a detailed separate tutorial later.
  • Export Test: Export a test into a zip format.
  • Import Test: Import a test from a zip format.
  • Exit: Close UFT application.

Edit Menu

uft-edit-menuThere are some regular options which are found in any windows based application, meanings of which are self evident:

  • Undo
  • Redo
  • Cut
  • Copy
  • Paste
  • Delete

There are two more options which you should note:

  • Format: Out of all the options present under Format (as shown below), you would be using Comment and Uncomment more often. Learn Ctrl+M and Ctrl+Shift+M keyboard shortcuts by heart.uft-edit-format
  • Code Snippet: This is a helpful tool for VB Script beginners. Using Code Snippet option, you can quickly copy syntax for various types of conditional and logical statements found in VB Script.uft-edit-code-snippet

View Menu

This consists of shortcuts to various types of panes found in UFT. UFT panes will be our topic for the upcoming tutorial.

uft-view-menu

  • Solution Explorer
  • Toolbox
  • Properties
  • Data
  • Output
  • Errors
  • Active Screen
  • Debug
  • Tasks
  • Search Results
  • Bookmarks
  • Test Flow
  • Run Step Results
  • Keyword View
  • Start Page
  • Last Run Results
  • Reset Window Layout
  • Switch BPT View

 

Search Menu

This sub-menu lets you find and replace keywords in your test or an entire solution. You can even enhance your search using regular expressions. There is another interesting option of Incremental Search and Reverse Incremental Search under this menu. This is like an instant search available for you which shows up the keyword as you type. While Incremental Search starts from the top , Reverse Incremental Search starts from bottom.uft-search-menu

Design Menu

This is one of the most important and frequently used menus in UFT. You would use various options available here to design and build your tests. Each of the options shown in the screenshot will be discussed in detail in the relevant tutorial. uft-design-menu

Record Menu

Under Record menu, you will find the Record button, Web Event Recording Configuration and Record And Run Settings   uft-record-menu

Run Menu

All settings related to Running your tests can be found under Run menu. You can also find options related to inserting and removing breakpoints here. Related: How to fix MS Debugger Error in UFT?uft-run-menu

Resources Menu

The heart of UFT is controlled using Resources menu. All settings related to object repositories are available here. uft-resources-menu

ALM Menu

You can connect HPE ALM tool to UFT and run your UFT tests direct from ALM. This menu option provides a dialog box to connect to the ALM server.uft-alm-menu

Tools Menuuft-tools-menu

Under tools menu you will find:

  • Object Spy: This guy with hat-and-shades will become your friend. You will hang-out on a daily basis with him. Object Spy is used to find methods and properties available in an object.
  • .NET Windows Forms Spy: Similar to object spy but works only on Windows forms controls.
  • Object Identification: UFT object identification mechanism is located inside this dialog box. You will find settings related to mandatory, assistive properties, Smart Identification and Ordinal identifiers here.
  • Regular Expression Evaluator: This was introduced with UFT 11.5. You can quickly validate your regular expressions using this tool.
  • Data Driver: One of the ways to data-drive or parameterize your tests.
  • Change Active Screen: UFT records screenshot of each and every screen it encounters while recording. These screenshots are known as Active Screens. With this option you can change any active screen.
  • Extensibility Accelerator: This is an advanced functionality to extend UFT add-ins support.
  • Virtual Object: One of the object identification mechanisms employed when regular object identification fails. Rarely used.
  • Open Application in HPE Mobile Center: You would use this for mobile testing using UFT.
  • Options: This dialog box consists of several important options related to UFT. We will dedicate an entire tutorial for this.

Window Menu

You can shuffle through open tabs in UFT using Window menu.uft-window-menu

Help Menu

UFT comes with a robust and exhaustive documentation. This menu consist of links to UFT documentation and various official HPE resources.You can find UFT version information under About HP Unified Functional Testinguft-help-menu

Starting with UFT 14, UFT help files have been moved to online by default.

However, you can still configure the help files so that they can reside on your machine and can be launched using the favorite shortcut F1.

Here are the steps to configure UFT help on your local machine.

  1. Download UFT 14 Help file
  2. The download is in the form of a zip file. Extract the contents to <UFT installation folder>/help. Most likely the location would be C:\Program Files (x86)\HP\Unified Functional Testing\help
  3. In UFT, go to Tools > Options > Help and select Access local Help radio button.uft-local-help

With this we come to an end of UFT Menus tutorial. We are slowly and steadily building concepts and moving towards main topics in UFT.

Here is the complete set of tutorials we have covered till now in the UFT tutorial series:

Enter your name and address below to receive the next tutorial as soon as it is ready.

If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by Email and have new UFT articles sent directly to your inbox.

Subscribe to get free updates on UFT!

LearnQTP is the most popular site on UFT (formerly QTP).

Enter your first name and email address below to instantly subscribe and download an eBook on Optimizing UFT Scripts. In future, we will make sure you get new tips & tricks on UFT delivered direct to your email box.

Please check your email and confirm free subscription!