ArticleslgStudy

computer science

UFT One

UFT One is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand UFT One rather than just read about it. In short: OpenText UFT One is an AI-powered functional testing tool, accelerates test automation across desktop, web, mobile, mainframe, composite, and packaged enterprise-grade applications. It was formerly known as Micro Focus Unified Functional Testing and QuickTest Professional (QTP).

UFT One — main illustration
UFT One — illustration

Key takeaways

  • UFT One belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect UFT One to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of UFT One from memory before moving on to harder problems.

Reference excerpt

OpenText UFT One is an AI-powered functional testing tool, accelerates test automation across desktop, web, mobile, mainframe, composite, and packaged enterprise-grade applications. It was formerly known as Micro Focus Unified Functional Testing and QuickTest Professional (QTP). UFT One supports keyword and scripting interfaces and features a graphical user interface. It uses the Visual Basic Scripting Edition (VBScript) scripting language to specify a test procedure, and to manipulate the objects and controls of the application under test. UFT allows developers to test all three layers of a program's operations from a single console: the interface, the service layer and the database layer. UFT was originally written by Mercury Interactive and called QuickTest Professional. Mercury Interactive was subsequently acquired by Hewlett-Packard (HP) in 2006. UFT 11.5 combined HP QuickTest Professional and HP Service Test into a single software package, which was available from the HP Software Division until 2016, when the division was ultimately sold to Micro Focus. Micro Focus was acquired by OpenText in 2023.

Description OpenText UFT One is automated testing software designed for testing various software applications and environments. It performs functional and regression testing through a user interface such as a native GUI or web interface. It works by identifying the objects in the application user interface or a web page and performing desired operations (such as mouse clicks or keyboard events); it can also capture object properties like name or handler ID. HPE Unified Functional Testing uses a VBScript scripting language to specify the test procedure and to manipulate the objects and controls of the application under test. To perform more sophisticated actions, users may need to manipulate the underlying VBScript. Although UFT is usually used for "UI based" test case automation, it also can automate some "non-UI" based test cases, such as file system operations, database testing, Web services testing and API testing.

Exception handling OpenText UFT One manages exception handling using recovery scenarios; the goal is to continue running tests if an unexpected failure occurs. Because UFT hooks into the memory space of the applications being tested, some exceptions may cause HPE Unified Functional Testing to terminate and be unrecoverable.

Data-driven testing OpenText UFT One supports data-driven testing. For example, data can be output to a data table for reuse elsewhere. Data-driven testing is implemented as a Microsoft Excel workbook that can be accessed from UFT. UFT has two types of data tables: the Global data sheet and Action (local) data sheets. The test steps can read data from these data tables in order to drive variable data into the application under test, and verify the expected result.

Automating custom and complex UI objects OpenText UFT One may not recognize customized user interface objects and other complex objects. Users can define these types of objects as virtual objects or as insight objects (bitmap comparison). UFT does not support virtual objects for analog recording or recording in low-level mode.

Extensibility OpenText UFT One can be extended with separate add-ins for a number of development environments that are not supported out-of-the-box. UFT add-ins include support for Web, .NET, Java, and Delphi. HP QuickTest Professional and the HP QuickTest Professional add-ins are packaged together in HP Functional Testing software.

User interface OpenText UFT One provides two views—and ways to modify—a test script: Keyword View and Expert View. These views enable UFT to act as an Integrated Development Environment (IDE) for the test, and UFT includes many standard IDE features, such as breakpoints to pause a test at predetermined places.

Keyword view Keyword View lets users create and view the steps of a test in a modular, table format. Each row in the table represents a step that can be modified. The Keyword View can also contain any of the following columns: Item, Operation, Value, Assignment, Comment, and Documentation. For every step in the Keyword View, UFT displays a corresponding line of script based on the row and column value. Users can add, delete or modify steps at any point. In Keyword View, users can also view properties for items such as checkpoints, output values, and actions, use conditional and loop statements, and insert breakpoints to assist in debugging a test.

Expert view

In Expert View, UFT lets users display and edit a test's source code using VBScript. Designed for more advanced users, users can edit all test actions except for the root Global action, and changes are synchronized with the Keyword View.

Languages OpenText UFT One uses VBScript as its scripting language. VBScript supports classes but not polymorphism and inheritance. Compared with Visual Basic for Applications (VBA), VBScript lacks the ability to use some Visual Basic keywords, does not come with an integrated debugger, lacks an event handler, and does not have a forms editor. HP added a debugger, but the functionality is more limited when compared with testing tools that integrate a full-featured IDE, such as those provided with VBA, Java, or VB.NET. Some Windows script (WScript, WSH, WMI) and VB.Net code can be used in a script in the expert view.

Drawbacks

OpenText UFT One runs primarily in Windows environments. It relies on largely obsolete Windows-only technologies such as ActiveX and VBScript which is not an object-oriented language. OpenText UFT One cannot test with all browser types and versions. In particular it does not support Opera. The Test Execution engine is combined with the GUI Test Code development IDE, so there is no way to run the tests independent of UFT, even though remote execution is still possible with HPE Unified Functional Testing running on a different machine. High licensing costs often mean that the tool is not widely used in an organization, but instead is limited to a smaller testing team. This encourages a siloed approach to QA/testing where testing is performed as a separate phase rather than a collaborative approach where QA/testers work closely with the business and development teams (as is advocated by newer agile approaches to software development).

… excerpt ends here. Continue reading the full article.

Illustrations

UFT One illustration
UFT One: VBScript code in Expert View
VBScript code in Expert View

Worked examples

Example 1 — a first encounter with UFT One

Start with the simplest possible case. Write down what UFT One claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to UFT One before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about UFT One ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of UFT One

In research
UFT One appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses UFT One in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
UFT One is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graphical user interface testing, HP software, OpenText, so understanding it makes those chapters shorter.
In everyday life
Look for UFT One outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “UFT One” →

How to study UFT One in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what UFT One means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain UFT One out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is UFT One in simple terms?

OpenText UFT One is an AI-powered functional testing tool, accelerates test automation across desktop, web, mobile, mainframe, composite, and packaged enterprise-grade applications. It was formerly known as Micro Focus Unified Functional Testing and QuickTest Professional (QTP).

Why does UFT One matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study UFT One?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on UFT One.

Tags

  • Graphical user interface testing
  • HP software
  • OpenText

Keep exploring