Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the responsive-lightbox domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hueman domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/wp-includes/functions.php on line 6114
Tool features - Part 1

Tool features – Part 1

This article is for beginner who are looking for how to start with the UFT. Before starting with any tool, It is important to understand the functionalities/ features of the tool as this could be the first step to start the journey of your coding (Definitely, assuming you have the tool successfully installed. :)).

We will explain useful features of the tool which will help you to start with. Let’s do it.

Open the Tool :

1.  Double click on the icon as shown below.

Tool Icon

2. You will see an add-in Manager window. Select the required add-in and click on OK button.

Start Page:

 A) You will see the start page window  as shown below.

Number 1:  New –  Click it if you want to create a new Test.

Number 2: Open – You can open your existing test which were already saved.

Number 3: Recent tests/Components – This box will show you the test which you have recently worked on. If you close the tool and reopen it. Even though , It will show you the recent last used items. You can directly open     last saved items from this without going into system directory.

Start Page Feature

B) Options on start Page:  You have 2 options there with check-boxes ‘display start page on start up’ and ‘Close start page after test loads’.

If you check ‘display start page on start up’, the start page will always be displayed when you open UFT and If you check ‘Close start page after test loads’, start page will be closed when you open any test.

you can also view start up page by going to ‘View’ -> ‘Start Page’.

New Test Window: 

We can provide the name of our test and location where we want to save the test. We can also provide the solution name(Solution is nothing but the parent container/ Folder which comprises of all the test resources or components.

The check-box ‘Create directory for Solution’ is selected, then it will create the Folder with the name given in ‘Solution Name’.

New Window

A folder will be created at the specified path as shown below.

Directory

A new Action will be displayed in the solution explorer on the left side.

Action new

Solution explorer:

– Solution GUITest2: It is solution which will have all the test resources and components.

-GUITest2:  This is a Test which can have multiple Actions.

Action1: Here, we will write the script.

We can rename the solution,Test and Action as well. (Please look at screen shots below).

Save As: Solution

Save Solution

Save Test :

Save As Test

Rename Action: We can rename the action as per the requirement. While renaming , It will give a warning that ‘If this Action is used by other test , It may cause those test to fail’. But, as this is not being used in other test , we can click ‘Yes’ and proceed.

Renaming Action

Renaming Action

We can add new Tests as well in the same solution.

Add new Test to the Solution

Add new Test to the Solution

Added Test

File Menu:

you can use the same feature from file menu also as shown below for create a  new test and opening a existing test. You can see other options also in the dropdown , we will discuss about them later.

File Menu

Active Screen Pane: This pane will show you the screen shot captured during the recording time. It will capture a screen shot for each and every recorded step. Once you click on the recorded step in the script editor, the same object will be highlighted in the active screen.

View -> Active Screen

Active Screen

Active Screen

Data Pane: This pane is very useful. This is basically used for data parametrization. You can go to File –> Settings–> Resources. Select Other location radio button and provide the path of your excel sheet.  It will be attached to the Data Pane and look like below screen.

View -> Data

Data Pane

Data Pane

Error Pane: This pane will provide you the information about the missing resources and syntax error if any. We can double click on the error and it will take us to the particular line in the script. It will be opened automatically if UFt detects any error.

View -> Errors

Error

Error Pane

Debug Pane: This is very useful pane and used while the script is in debug mode. It has following sub pane.

Remaining part will be completed in the Part 2.

 

Avatar photo

Shekhar Sharma

Shekhar Sharma is founder of testingpool.com. This website is his window to the world. He believes that ,"Knowledge increases by sharing but not by saving".

You may also like...