Micro Focus Unified Functional Testing

Last updated

Micro Focus Unified Functional Testing
Uft.png
UFT-12.0-Start-Up-Window.png
UFT 12.0 Start Page
Developer(s) Micro Focus
Stable release
14.53 / July 1, 2019;3 years ago (2019-07-01)
Operating system Microsoft Windows
Type Test Automation Tools
License Proprietary
Website software.microfocus.com/en-us/products/unified-functional-automated-testing/overview

Micro Focus Unified Functional Testing (UFT), formerly known as QuickTest Professional (QTP), [1] is software that provides functional and regression test automation for software applications and environments. [2]

Contents

UFT supports keyword and scripting interfaces and features a graphical user interface. [3] 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. [3] 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. [4]

UFT was originally written by Mercury Interactive and called QuickTest Professional. [5] Mercury Interactive was subsequently acquired by Hewlett-Packard (HP) in 2006. [6] UFT 11.5 combined HP QuickTest Professional and HP Service Test into a single software package, [7] which was available from the HP Software Division until 2016, when the division was ultimately sold to Micro Focus. [8]

Description

Micro Focus UFT 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. [9] 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. [10]

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

Micro Focus UFT manages exception handling using recovery scenarios; the goal is to continue running tests if an unexpected failure occurs. [11] 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

Micro Focus UFT 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. [12]

Automating custom and complex UI objects

Micro Focus UFT 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. [13]

Extensibility

Micro Focus UFT 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. [14] HP QuickTest Professional and the HP QuickTest Professional add-ins are packaged together in HP Functional Testing software. [15]

User interface

Micro Focus UFT 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. [16]

Expert view

VBScript code in Expert View HP Quick Test Professional VBScript Code.png
VBScript code in 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. [17]

Languages

Micro Focus UFT 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. [18]

Some Windows script (WScript, WSH, WMI) & VB.Net code can be used in a script in the expert view.

Drawbacks

Micro Focus UFT 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. [19]

Micro Focus UFT cannot test with all browser types and versions. In particular it does not support Opera. [20] [21]

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. [22] [23]

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.) [24]

Supported Technologies

The supported technologies, depending on the version, are available for Web, Java (Core and Advanced), .Net, WPF, SAP, Oracle, Siebel, PeopleSoft, Delphi, Power Builder, Stingray 1, Terminal Emulator, Flex, Web Services, Windows Mobile, VisualAge Smalltalk, Silverlight and mainframe terminal emulators. [25]

Release History

Integration

Micro Focus UFT and Quality Center work together for additional testing capabilities. Users can use HP Quality Center with UFT assets, such as tests, shared object repositories, libraries, recovery scenarios and external data tables. [27]

HP Application Lifecycle Management (ALM) enables IT staff in multiple roles to manage activities associated with their core application lifecycle, from requirements through development, testing, defect management and readiness for delivery. [28] The software was tailored to work with a number of testing tools, including UFT, to test for functional defects in the code. [29]

See also

Related Research Articles

VBScript is an Active Scripting language developed by Microsoft that is modeled on Visual Basic. It allows Microsoft Windows system administrators to generate powerful tools for managing computers with error handling, subroutines, and other advanced programming constructs. It can give the user complete control over many aspects of their computing environment.

Visual Basic for Applications (VBA) is an implementation of Microsoft's Event-Driven Programming language Visual Basic 6.0 built into most desktop Microsoft Office applications. Although based on pre-.NET Visual Basic, which is no longer supported or updated by Microsoft, the VBA implementation in Office continues to be updated to support new Office features. VBA is used for professional and end-user development due to its perceived ease-of-use, Office's vast installed userbase, and extensive legacy in business.

In computing, cross-platform software is computer software that is designed to work in several computing platforms. Some cross-platform software requires a separate build for each platform, but some can be directly run on any platform without special preparation, being written in an interpreted language or compiled to portable bytecode for which the interpreters or run-time packages are common or standard components of all supported platforms.

Windows Management Instrumentation (WMI) consists of a set of extensions to the Windows Driver Model that provides an operating system interface through which instrumented components provide information and notification. WMI is Microsoft's implementation of the Web-Based Enterprise Management (WBEM) and Common Information Model (CIM) standards from the Distributed Management Task Force (DMTF).

<span class="mw-page-title-main">Visual programming language</span> Programming language written graphically by a user

In computing, a visual programming language is any programming language that lets users create programs by manipulating program elements graphically rather than by specifying them textually. A VPL allows programming with visual expressions, spatial arrangements of text and graphic symbols, used either as elements of syntax or secondary notation. For example, many VPLs are based on the idea of "boxes and arrows", where boxes or other screen objects are treated as entities, connected by arrows, lines or arcs which represent relations.

In software testing, test automation is the use of software separate from the software being tested to control the execution of tests and the comparison of actual outcomes with predicted outcomes. Test automation can automate some repetitive but necessary tasks in a formalized testing process already in place, or perform additional testing that would be difficult to do manually. Test automation is critical for continuous delivery and continuous testing.

Silk Test is a tool for automated function and regression testing of enterprise applications. It was originally developed by Segue Software which was acquired by Borland in 2006. Borland was acquired by Micro Focus International in 2009. The original name for the product from 1993 through 1996 was QA Partner.

<span class="mw-page-title-main">LoadRunner</span>

LoadRunner is a software testing tool from Micro Focus. It is used to test applications, measuring system behaviour and performance under load. LoadRunner can simulate thousands of users concurrently using application software, recording and later analyzing the performance of key components of the application.

Active Scripting is the technology used in Windows to implement component-based scripting support. It is based on OLE Automation and allows installation of additional scripting engines in the form of COM modules.

Micro Focus Content Manager is an electronic document and records management system (EDRMS) marketed by Micro Focus. Content Manager is an enterprise document and records management system for physical and electronic information designed to help businesses capture, manage, and secure business information in order to meet governance and regulatory compliance obligations.

Mobile app development is the act or process by which a mobile app is developed for mobile devices, such as personal digital assistants, enterprise digital assistants or mobile phones. These software applications are designed to run on mobile devices, such as a smartphone or tablet computer. These applications can be pre-installed on phones during manufacturing platforms, or delivered as web applications using server-side or client-side processing to provide an "application-like" experience within a web browser. Application software developers also must consider a long array of screen sizes, hardware specifications, and configurations because of intense competition in mobile software and changes within each of the platforms. Mobile app development has been steadily growing, in revenues and jobs created. A 2013 analyst report estimates there are 529,000 direct app economy jobs within the EU then 28 members, 60 percent of which are mobile app developers.

<span class="mw-page-title-main">Visual Basic (classic)</span> Event-driven programming language

The original Visual Basic is a third-generation event-driven programming language from Microsoft known for its Component Object Model (COM) programming model first released in 1991 and declared legacy during 2008. Microsoft intended Visual Basic to be relatively easy to learn and use. Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using Data Access Objects, Remote Data Objects, or ActiveX Data Objects, and creation of ActiveX controls and objects.

Micro Focus SiteScope is agentless monitoring software focused on monitoring the availability and performance of distributed IT infrastructures, including Servers, Network devices and services, Applications and application components, operating systems and various IT enterprise components.

TestPartner is a GUI software testing tool from Micro Focus that is intended to enable software development project teams to functionally automate and test application Graphical User Interfaces, with the goal of being able to accomplish more application testing in a given amount of time than could be performed manually. On 6 May 2009, Micro Focus announced the purchase of the Quality Solutions part of Compuware which included TestPartner. Borland acquired the rights and support of TestPartner as Silk Test Partner, but the product has been discontinued in favor of Silk Test and will continue to provide support only.

<span class="mw-page-title-main">TestComplete</span> Software test automation tool

TestComplete is a functional automated testing platform developed by SmartBear Software. TestComplete gives testers the ability to create automated tests for Microsoft Windows, Web, Android, and iOS applications. Tests can be recorded, scripted or manually created with keyword driven operations and used for automated playback and error logging.

Eggplant Functional is a black-box GUI test automation tool. It was developed in Boulder, Colorado by Doug Simons, Jonathan Gillaspie, and John McIntosh. The software was developed by Redstone Software starting in 2002. Redstone was acquired on 2 September 2008 by a UK-based company called Eggplant.

Micro Focus Application Lifecycle Management (ALM) is a set of software tools developed and marketed by Micro Focus for application development and testing. It includes tools for requirements management, test planning and functional testing, performance testing, developer management, and defect management.

The HP Service Manager is one of the applications acquired by HP when it purchased Peregrine Systems in 2005. The application was originally known as PNMS. After releasing the first version of PNMS, Peregrine Systems eventually added functionality such as Request Management, Call Management, and Change Management and rebranded the application as Peregrine ServiceCenter.

Katalon Platform is an automation testing software tool developed by Katalon, Inc. The software is built on top of the open-source automation frameworks Selenium, Appium with a specialized IDE interface for web, API, mobile and desktop application testing. Its initial release for internal use was in January 2015. Its first public release was in September 2016. In 2018, the software acquired 9% of market penetration for UI test automation, according to The State of Testing 2018 Report by SmartBear.

References

  1. "HP Unified Functional Testing (UFT 11.5) - QTP's Latest Version - XX - XX". www.automationrepository.com. Retrieved August 10, 2018.
  2. "HP QuickTest Professional software data sheet" . Retrieved August 10, 2018.
  3. 1 2 "HP Release QTP 10.0". Automatedtestinginstitute.com. March 7, 2009. Retrieved January 27, 2011.
  4. Jackson, Joab (November 6, 2012). "HP simplifies automated software testing suite" . Retrieved August 10, 2018.
  5. "Mercury QuickTest Professional (QTP) Evaluation". Devbistro.com. November 8, 2006. Retrieved January 27, 2011.
  6. "HP Press Release: HP Closes Landmark Mercury Acquisition; Companies Unite to Lead in Business Technology Optimization Software". Hp.com. Retrieved January 27, 2011.
  7. "HP-UFT 11.50 (Unified Functional Testing)". selftechy.com. Retrieved August 10, 2018.
  8. QA Financial, How the $8.8 billion HPE — Micro Focus merger will shake up testing, September 23, 2016
  9. "Software Testing FAQ: GUI Test Drivers". Testingfaqs.org. Archived from the original on December 21, 2010. Retrieved January 27, 2011.
  10. "QTP with Descriptive programming". Slideshare.net. March 4, 2008. Retrieved January 27, 2011.
  11. "Mastering QuickTest Professional (QTP)". Qtpautomation.com. March 16, 2009. Retrieved January 27, 2011.
  12. "Using Global and Action Data Sheets in QTP ~ Guide to QuickTest Professional 10". Qtp10.com. July 5, 2009. Retrieved January 27, 2011.
  13. "QuickTest Professional User’s Guide.”
  14. "QTP 10 Tutorial". Scribd.com. July 8, 2010. Retrieved January 27, 2011.
  15. Software Quality Engineering IT (August 4, 2010). "Tool info : HP Functional Testing software". Stickyminds.com. Retrieved January 27, 2011.
  16. "Working with Keyword View in HP QTP - QTP Tutorial 6 ~ Guide to QuickTest Professional 10". Qtp10.com. July 4, 2009. Retrieved January 27, 2011.
  17. "Archived copy" (PDF). Archived from the original (PDF) on April 19, 2009. Retrieved April 6, 2010.{{cite web}}: CS1 maint: archived copy as title (link)
  18. "Key Differences Between VB and VB Script". www.htmlgoodies.com. January 23, 2011. Retrieved January 27, 2011.
  19. "HP Functional Testing software System Requirements" [ permanent dead link ], 'HP', accessed May 2, 2011.
  20. "HP QuickTest Professional 11.00 Product Availability Matrix", 'HP', October 1, 2010, accessed May 2, 2011.
  21. "Firefox & VBScript • mozillaZine Forums". forums.mozillazine.org. Retrieved August 10, 2018.
  22. "Migrating from QTP to Microsoft Test Manager(MTM)".
  23. "Run QTP script on system without QTP IDE". www.learnqtp.com. Retrieved August 10, 2018.
  24. Hammant, Paul. "I think it is time for QTP to die" accessed May 2, 2011.
  25. "Functional Testing software System Requirements - HP - BTO Software". HP. Retrieved January 27, 2011.
  26. "Discover What is UFT HP's Unified Functional Testing - Test Automation Made Easy: Tools, Tips & Training Awesomeness". www.joecolantonio.com. July 11, 2011. Retrieved August 10, 2018.
  27. "HP Quality Center 10.00 integration | HP Enterprise TV: Online Videos and Podcasts". H30423.www3.hp.com. Retrieved January 27, 2011.
  28. "HP - HP Software ALM - Application Lifecycle Management - Rubric". Archived from the original on December 14, 2013. Retrieved December 11, 2013.
  29. "HP fuses dev management and testing tools". Archived from the original on December 14, 2013. Retrieved December 11, 2013.