UFT Interview Questions Part 2

UFT Interview Questions Part 2
1) What is Add in Manager in UFT?

It shows all available Add ins in our company, we have to select appropriate Add ins for our Application.

2) What is Test Pane?

It is an area where we create, view and modify Tests/Test Scripts.

It has two views,

i) Editor view - Test in VBScript format

ii) Keyword view - Test in GUI format

Switch from Editor view to Keyword view

View menu -> Keyword view

Switch from Keyword view to Editor view

View menu -> Editor

3) What is Active Screen?

It captures and holds Screen shots for every user operation on AUT during record.

Using Active Screen we can easily understand and update the Test/Test Script

It requires more memory, so tool performance will be reduced.

Launch Active Screen

View menu -> Active screen

4) What is Data Table?

It is an integrated workbook (Excel like) for Data related operations.

Launch Data Table:
View menu -> Data

It has 2 types of sheets
i) Global sheet for entire test

ii) Actions sheet/s / Local Sheets

> UFT attaches one Data Table for every Test.

Usage of Data Table:
i) Enter test data directly into Data Table and connect to the Test

ii) Import test data from an external file (Text/Excel) and connect to the Test

iii) Import test data from a database and connect to the Test
> Data Table is located in 2 areas

i) In UFT tool main window (Design time Data Table)

ii) In UFT tool Result window (Run-time Data Table)

5) What is Errors pane?

It shows syntax errors automatically while saving the Test.

6) What is Step Generator?

It is a library of functions and utility objects used to generate recordable and non-recordable steps.

7) What is Test Recording?

It is a process of generating steps/statements for user actions on AUT and storing Objects information into Object Repository.

8) What is Test Run?

During Test execution UFT reads steps one by one and gets Objects information from Object Repository, based on that info performs actions on AUT.

9) How many Recording Modes available in UFT and what are they?
UFT has Four Recording Modes,
i) Normal Recording or Default Recording?

ii) Analog Recording

iii) Low Level Recording

iv) Insight Recording

10) What is Normal Recording?

It records user actions on AUT based on Objects.

It is the default Record mode in UFT.
It is unable record continuous mouse operations.

11) What is Analog Recording?

It records user actions on AUT based on x, y coordinates of either desktop or Application window.

It also records Normal operations.

i) It requires more memory than Normal Recording

ii) It doesn't generate steps for every user action on AUT, generates all actions in a track file, so Test Script is not readable as well as editable.

12) What is Low Level Recording?

It records some operations on Non supported environments (records based on object coordinates), also records normal steps.

i) It requires more memory than Normal Recording

ii) Test Script is nor readable

13) What is Insight Recording?

It records some operations on Non supported environments (it capturers object screen shots also).

14) What are the Pre-requisites to create Tests in UFT?

i) Test Scenario:
Ex: Verify Login Functionality in GcrShop (http://www.gcrit.com/build3/admin/)

ii) Steps / Navigation

a) Launch the Browser and navigate to http://www.gcrit.com/build3/admin/

b) Enter user name

c) Enter password

d) Login Login button

iii) Verification Point/s
Check the existence of Logoff Link.

iv) Input Data
User name: admin

Password: admin@123

v) Error Handling
Example: Capture Error message and Close the Browser.

vi) Test Objects Information

vii) Test Methods Information

15) What is Run-time Object?

The Object present in the Application is called Run-time object.

States of Run-time objects:

Enabled, Disabled, Visible, Hidden and Focused.

16) What is Test Object?

Reference of Run-time object is Called Test object.

Test object names vary from one environment to another.

17) What are Utility Objects?

They are UFT Reserved objects used for Testing and Result Reporting.

Example: SystemUtil, RepositoriesCollection, Services, Reporter etc...

18) What are Automation Objects?

Automation objects are User defined objects used to work with Drives, Folders, Files and Databases.

i) File System Object

ii) Excel Application Object

iii) Database Connection Object

iv) Database Recordset Object

v) Dictionary object

No comments:

Post a Comment