UFT Interview Questions and Answers
by Mohammed, on Apr 6, 2018 6:01:31 PM
Q1. What is UFT?
Ans: Unified Functional Testing ( formerly QuickTest Professional), popularly known by its acronym UFT is an automation functional testing tool originally from Mercury Interactive which was acquired by Hewlett Packard (HP) in 2006. UFT is primarily used for functional, regression and service testing. Using UFT, you can automate user actions on a web or client based computer application and test the same actions for different users, different data set, on various Windows operating systems and/or different browsers.
Q2. What is API test in UFT?
Ans: An API (Application Programming Interface) is a collection of software functions and procedures which can be executed by other software applications. So Api Testing is: Testing without GUI. Programmatically simulate data or control follow scenarios. Focus on functionality, not on behavior or customer experience.
Q3. What is UFT Tool?
Ans: HP Unified Functional Testing (UFT) is a Functional and Regression Test Tool, upgraded version of QTP Tool.
UFT = QTP + Service Tools
QTP (QuickTest Professional) supports GUI (Windows and Web based) Testing only, but UFT Supports GUI and API Testing.
Q4. What are the minimum requirements for installing UFT Tool?
Ans: To successfully install and run HP UFT, minimum system requirements are:
Computer/Processor: Pentium IV or higher microprocessor (minimum 1 Ghz)
Operating System: Windows 7 and higher
Memory: Minimum of 1GB when no more than three add-ins are loaded simultaneously.
Color Settings: High Color (16 bit)
Graphics Card: Graphics card with 64 MB video memory
Free Hard Disk Space: 1 GB of free disk space for application files and folders.
Q5. What is the difference between UFT and QTP?
Ans: Upgraded version of QTP is UFT,
HP Unified Functional Testing = QTP + Service Test Tool.
Q6. What is the latest version of UFT available in the market?
Ans: Unified Functional Testing 12.01
Q7. What is the difference between API Testing and Unit Testing?
Ans: API (Application Programming Interface) :An API is generally used by a program (rather than a human) to interact with or control another program.
GUI (Graphical User Interface): A GUI is the user-facing side of a program, the part that a user interacts with, and controls the program with. Common elements of such interfaces are buttons, text fields, check boxes, etc.
Q8. Does UFT support UNIX operating Environment?
Ans: UFT doesn't support UNIX operating environment, supports Windows operating environment only.
Q9. What are the internal Add ins available in UFT Tool?
Ans: 1. Standard Windows
3. Visula Basic
Q10. What is the built-in Add in available in UFT?
Ans: Standard Windows
Q11. What is the Add in for supporting Mainframe Applications?
Ans: TE (Terminal Emulators)
Q12. If we load unnecessary Add ins then what will happen?
Ans: UFT Tool test execution performance will be reduced.
Q13. What is the supporting Add in for Oracle RDBMS
Ans: In Order to communicate any Database, no Add in is required, using an integrated MS Access Database Engine UFT can perform Database operations.
Q14. How to Test D2K Application using UFT Tool?
Ans: No Add in is available for supporting D2K Applications.
Q15. How to select appropriate Add ins for AUT(Application Under Test)
Ans: First get Application Environment Details from Development team then based on User Interface design technology select Add ins.
Q16. How UFT supports Database operations?
Ans: UFT has an integrated MS Access Database engine, we execute use SQL commands in UFT Editor,
and using VBScript Database objects (Database Connection object, Recordset object) also UFT can perform Database operations.
Q17. What is the file format for exporting UFT Tests?
Ans: Using .ZIP format UFT can export Tests
Q18. What is the major change in UFT over QTP?
Ans: API Testing
QTP supports GUI Testing only where as UFT supports API and GUI testing of Desktop and Web based Applications.
Q19. What is Test Automation?
Ans: Accessing software objects from another Software.
Q20. What type of Tests can be automated?
1.Tests that we have to execute on every build (Ex: Sanity Tests)
2.Tests that we have to execute on modified build (Ex: Regression Tests)
3.Tests that we have to execute using mutiple sets of Test data.
Q21. What type of tests can’t be automated?
i) Test Cases that are newly designed and not executed manually at least once.
ii) Test Cases for which the requirements are changing frequently.
iii) Tests that require human user observation.
Q22. When to start Test Automation?
Ans: Depends on the Project, depends on company and some times depends on Customer interest also.
Q23. If UFT is not recognizing some our Application objects then what are the solutions
Ans: We have 3 levels of Solutions:
i) Tool Level solutions
a) Object Identification configuration
b) Use Low level and Insight Record modes
c) Use virtual object configuration
ii) Organization level solution:
Ask development team to provide proper propertie information for unrecognized objects.
iii) Vendor level solution:
Raise ticket to vendor
Q24. Can we start Test design process if AUT is not ready?
Ans: Yes, we can Using define New Test Objects feature we can start Test design even though application is not ready.
Q25. How to test input domain using UFT Tool?
Ans: Using Conditional statements and some built-in functions we can test input domain
Q26. What types of License available for UFT?
Ans: UFT has 2 types of License
Q27. How UFT stores its resources?
Ans: UFT stores it's resources using File format on Hard disk(File System)
Q28. What is Test Batch Runner Tool?
Ans: It is for executing series of tests (Test batches) with out human user interaction.
Q29. Can we open multiple Tests at a time in UFT Tool?
Ans: Yes, we can open multiple Tests at a time in UFT using Add Test Command (Available in File menu).
Q30. What are the two programming interfaces in UFT Tool?
1.UFT Tool Editor