Jump to content

UFT One: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
SwisterTwister (talk | contribs)
Undid revision 437005249 by 202.65.138.34 (talk)Vandal
Liuyuns (talk | contribs)
No edit summary
 
(346 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Short description|Software testing automation tool}}
{{Use mdy dates|date=January 2017}}
{{More citations needed|date=December 2015}}
{{Manual|date=March 2023}}
{{infobox software
{{infobox software
| name = OpenText UFT One
| name = HP QuickTest Professional
| logo = UFT LOGO.png
| developer = [[HP]]/[[HP Software Division]]
| logo_alt = UFT Icon
| latest release version = 11.0
| logo_size = 32px
| latest release date =
| screenshot = File:UFT ONE 24.2.png
| operating system = [[Microsoft Windows]]
| caption = Start Page
| genre = [[test automation|test automation tools]]
| developer = [[OpenText]]
| license = [[Proprietary software|Proprietary]]
| latest release version = 24.2
| website = [https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24%5E1352_4000_100__ HP QuickTest Professional]
| latest release date = {{Start date and age|2024|04|17}}
| status = Active
| operating system = [[Microsoft Windows]]
| genre = [[Test automation|Test automation tools]]
| license = [[Proprietary software|Proprietary]]
| website = {{URL|https://www.opentext.com/products/uft-one}}
}}
}}


'''OpenText™ UFT One''', an AI-powered functional testing tool, accelerates test automation across desktop, web, mobile, mainframe, composite, and packaged enterprise-grade applications.
'''HP QuickTest Professional''' software provides functional and [[Regression testing|regression test]] automation for software applications and environments.<ref>[https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1352_4000_100__ HP QuickTest Professional software data sheet]</ref> Part of the [[HP]] Quality Center tool suite, HP QuickTest Professional can be used for enterprise quality assurance.<ref>{{cite web|url=http://www.learnqtp.com/qtp-quality-center-test-director-guide/ |title=A complete guide to working on Quality Center with QTP |publisher=Learn QTP |date= |accessdate=2011-01-27}}</ref>


It was formerly known as '''Micro Focus Unified Functional Testing''' and '''QuickTest Professional''' ('''QTP''').
HP QuickTest Professional supports keyword and scripting interfaces and features a graphical user interface.<ref name="automatedtestinginstitute1">{{cite web|url=http://www.automatedtestinginstitute.com/home/index.php?view=article&id=%201215&option=com_content&Itemid=1000 |title=HP Release QTP 10.0 |publisher=Automatedtestinginstitute.com |date=2009-03-07 |accessdate=2011-01-27}}</ref> 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.<ref name="automatedtestinginstitute1"/>


UFT One supports keyword and scripting interfaces and features a graphical user interface.<ref name="automatedtestinginstitute1">{{cite web|url=http://www.automatedtestinginstitute.com/home/index.php?view=article&id=%201215&option=com_content&Itemid=1000 |title=HP Release QTP 10.0 |website=Automated Testing Institute |date=March 7, 2009 |access-date=January 27, 2011}}</ref> 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.<ref name="automatedtestinginstitute1"/> 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.<ref>{{cite web|url=http://www.computerworld.com/s/article/9233308/HP_simplifies_automated_software_testing_suite|title=HP simplifies automated software testing suite|first=Joab|last=Jackson|date=November 6, 2012 |access-date=August 10, 2018}}</ref>
HP QuickTest Professional was originally written by [[Mercury Interactive]].<ref>{{cite web|url=http://www.devbistro.com/articles/Testing/Mercury-QuickTest-Professional-Evaluation |title=Mercury QuickTest Professional (QTP) Evaluation |publisher=Devbistro.com |date=2006-11-08 |accessdate=2011-01-27}}</ref> Mercury Interactive was subsequently acquired by [[Hewlett Packard ]](HP) in 2006.<ref>{{cite web|url=http://www.hp.com/hpinfo/newsroom/press/2006/061107xa.html?jumpid=reg_R1002_USEN |title=HP Press Release: HP Closes Landmark Mercury Acquisition; Companies Unite to Lead in Business Technology Optimization Software |publisher=Hp.com |date= |accessdate=2011-01-27}}</ref> HP QuickTest Professional 11 is currently available from [[HP Software Division]].<ref>{{cite web|url=http://download.cnet.com/HP-QuickTest-Professional/3000-2383_4-10969380.html |title=HP QuickTest Professional - Free software downloads and software reviews - CNET Download.com |publisher=Download.cnet.com |date=2009-09-29 |accessdate=2011-01-27}}</ref>


UFT was originally written by [[Mercury Interactive]] and called QuickTest Professional.<ref>{{cite web|url=http://www.devbistro.com/articles/Testing/Mercury-QuickTest-Professional-Evaluation |title=Mercury QuickTest Professional (QTP) Evaluation |website=Devbistro.com |date=November 8, 2006 |access-date=January 27, 2011}}</ref> Mercury Interactive was subsequently acquired by [[Hewlett-Packard]] (HP) in 2006.<ref>{{cite web|url=http://www.hp.com/hpinfo/newsroom/press/2006/061107xa.html?jumpid=reg_R1002_USEN |title=HP Press Release: HP Closes Landmark Mercury Acquisition; Companies Unite to Lead in Business Technology Optimization Software |website=HP |access-date=January 27, 2011}}</ref> UFT 11.5 combined HP QuickTest Professional and HP Service Test into a single software package,<ref>{{cite web|url=http://selftechy.com/2013/10/07/hp-uft-11-50-unified-functional-testing|title=HP-UFT 11.50 (Unified Functional Testing)|website=selftechy.com|access-date=August 10, 2018}}</ref> which was available from the [[HP Software Division]] until 2016, when the division was ultimately sold to [[Micro Focus]].<ref>QA Financial, [https://qa-financial.com/news/companies/8-8-billion-hpe-micro-focus-8-8-billion-merger-will-shake-testing/ How the $8.8 billion HPE — Micro Focus merger will shake up testing], September 23, 2016.</ref>
==Overview==
HP QuickTest Professional 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.<ref>{{cite web|url=http://www.testingfaqs.org/t-gui.html |title=Software Testing FAQ: GUI Test Drivers |publisher=Testingfaqs.org |date= |accessdate=2011-01-27}}</ref> 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. HP QuickTest Professional 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]].<ref>{{cite web|url=http://www.slideshare.net/kuldeepse/qtp-with-descriptive-programming-293056 |title=QTP with Descriptive programming |publisher=Slideshare.net |date= |accessdate=2011-01-27}}</ref>


Micro Focus was acquired by [[OpenText]] in 2023.
Although HP QuickTest Professional is usually used for "UI Based" [[Test Case]] Automation, it also can automate some "Non-UI" based Test Cases such as file system operations and database testing.<ref>{{cite web|url=http://www.gcreddy.com/2010/03/qtp-basic-features.html |title=QuickTest Professional: QTP Basic Features |publisher=Gcreddy.com |date=2010-03-16 |accessdate=2011-01-27}}</ref>


===Verification===
==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.<ref>{{cite web |url=http://www.testingfaqs.org/t-gui.html |title=Software Testing FAQ: GUI Test Drivers |website=Testingfaqs.org |access-date=January 27, 2011 |url-status=dead |archive-url=https://web.archive.org/web/20101221192636/http://testingfaqs.org/t-gui.html |archive-date=December 21, 2010}}</ref> 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]].<ref>{{cite web|url=http://www.slideshare.net/kuldeepse/qtp-with-descriptive-programming-293056 |title=QTP with Descriptive programming |date=March 4, 2008 |website=SlideShare |access-date=January 27, 2011}}</ref>
Checkpoints verify that an application under test functions as expected. Users can add a checkpoint to check if a particular object, text or a bitmap is present in the automation run. Checkpoints verify that during the course of test execution, the actual application behavior or state is consistent with the expected application behavior or state.<ref>{{cite web|url=http://qtp.blogspot.com/2007/05/checkpoints-in-qtp-quicktest.html |title=QTP Tutorials & Interview Questions: Checkpoints in QTP (QuickTest Professional) |publisher=Qtp.blogspot.com |date=2004-02-27 |accessdate=2011-01-27}}</ref>
HP QuickTest Professional offers 9 types of checkpoints, enabling users to verify various aspects of an application under test, such as: the properties of an object, data within a table, records within a database, a bitmap image, or the text on an application screen. The types of checkpoints are standard, image, table, page, text, text area, bitmap, database, accessibility and XML checkpoints. Users can also create user-defined checkpoints.<ref name="scribd1">{{cite web|url=http://www.scribd.com/doc/26190751/QTP-10-Tutorial |title=QTP 10 Tutorial |publisher=Scribd.com |date=2010-07-08 |accessdate=2011-01-27}}</ref>


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.{{Citation needed|date=March 2023}}
===Exception handling===
HP QuickTest Professional manages [[exception handling]] using recovery scenarios; the goal is to continue running tests if an unexpected failure occurs.<ref>{{cite web|url=http://www.qtpautomation.com/ |title=Mastering QuickTest Professional (QTP) |publisher=Qtpautomation.com |date=2009-03-16 |accessdate=2011-01-27}}</ref> For example, if an application crashes and a message dialog appears, HP test cases from that point. Because HP QuickTest Professional hooks into the memory space of the applications being tested, some exceptions may cause HP QuickTest Professional to terminate and be unrecoverable.


===Exception handling===
When ever there occurs some unexpected event while testing an application with QTP, there are chances of unexpected events and QTP may not understand it so in order to continue the testing process we develop exception handling in the QTP
OpenText UFT One manages [[exception handling]] using recovery scenarios; the goal is to continue running tests if an unexpected failure occurs.<ref>{{cite web|url=http://www.qtpautomation.com/ |title=Mastering QuickTest Professional (QTP) |website=Qtpautomation.com |date=March 16, 2009 |access-date=January 27, 2011}}</ref> 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===
===Data-driven testing===
HP QuickTest Professional 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 HP QuickTest Professional. HP QuickTest Professional 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.<ref>{{cite web|url=http://www.qtp10.com/2009/07/using-global-and-action-data-sheets-in.html |title=Using Global and Action Data Sheets in QTP ~ Guide to QuickTest Professional 10 |publisher=Qtp10.com |date=2009-07-05 |accessdate=2011-01-27}}</ref>
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.<ref>{{cite web|url=http://www.qtp10.com/2009/07/using-global-and-action-data-sheets-in.html |title=Using Global and Action Data Sheets in QTP ~ Guide to QuickTest Professional 10 |website=Qtp10.com |date=July 5, 2009 |access-date=January 27, 2011}}</ref>


===Automating custom and complex UI objects===
===Automating custom and complex UI objects===
HP QuickTest Professional may not recognize customized user interface objects and other complex objects. Users can define these types of objects as virtual objects. HP QuickTest Professional does not support virtual objects for analog recording or recording in low-level mode.<ref>[http://students.depaul.edu/~slouie/QTUsersGuide.pdf "QuickTest Professional User’s Guide.”]</ref>
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.<ref>[http://students.depaul.edu/~slouie/QTUsersGuide.pdf "QuickTest Professional User's Guide.”]</ref>



===Extensibility===
===Extensibility===
HP QuickTest Professional can be extended with separate add-ins for a number of development environments that are not supported out-of-the-box. HP QuickTest Professional add-ins include support for Web, .NET, Java, and Delphi.<ref name="scribd1"/> HP QuickTest Professional and the HP QuickTest Professional add-ins are packaged together in HP Functional Testing software.<ref>{{cite web|author=Software Quality Engineering IT |url=http://www.stickyminds.com/sitewide.asp?ObjectId=3323&Function=edetail&ObjectType=TOOL |title=Tool info : HP Functional Testing software |publisher=Stickyminds.com |date=2010-08-04 |accessdate=2011-01-27}}</ref>
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 (programming language)|Delphi]].<ref name="scribd1">{{cite web|url=https://www.scribd.com/doc/26190751/QTP-10-Tutorial |title=QTP 10 Tutorial |publisher=Scribd.com |date=July 8, 2010 |access-date=January 27, 2011}}</ref> HP QuickTest Professional and the HP QuickTest Professional add-ins are packaged together in HP Functional Testing software.<ref>{{cite web|author=Software Quality Engineering IT |url=http://www.stickyminds.com/sitewide.asp?ObjectId=3323&Function=edetail&ObjectType=TOOL |title=Tool info : HP Functional Testing software |website=StickyMinds |date=August 4, 2010 |access-date=January 27, 2011}}</ref>

===Test results===
At the end of a test, HP QuickTest Professional generates a test result. Using XML schema, the test result indicates whether a test passed or failed, shows error messages, and may provide supporting information that allows users to determine the underlying cause of a failure. Release 10 lets users export HP QuickTest Professional test results into HTML, Microsoft Word or PDF report formats. Reports can include images and screen shots for use in reproducing errors.<ref>[http://www.qtp10.com/2009/04/test-results-analysis-with-new.html“QTP Test Results Analysis with New Reporting Functionality.”]</ref>


==User interface==
==User interface==
HP QuickTest Professional provides two views--and ways to modify-- a test script: Keyword View and Expert View. These views enable HP QuickTest Professional to act as an [[Integrated Development Environment]] (IDE) for the test, and HP QuickTest Professional includes many standard IDE features, such as [[breakpoint]]s to pause a test at predetermined places.
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 [[breakpoint]]s to pause a test at predetermined places.


===Keyword view===
===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, HP QuickTest Professional displays a corresponding line of script based on the row and column value. Users can add, delete or modify steps at any point.
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.<ref>{{cite web|url=http://www.qtp10.com/2009/07/working-with-keyword-view-in-hp-qtp.html |title=Working with Keyword View in HP QTP - QTP Tutorial 6 ~ Guide to QuickTest Professional 10 |publisher=Qtp10.com |date=2009-07-04 |accessdate=2011-01-27}}</ref>
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.<ref>{{cite web|url=http://www.qtp10.com/2009/07/working-with-keyword-view-in-hp-qtp.html |title=Working with Keyword View in HP QTP QTP Tutorial 6 ~ Guide to QuickTest Professional 10 |website=Qtp10.com |date=July 4, 2009 |access-date=January 27, 2011}}</ref>


===Expert view===
===Expert view===
[[File:SampleCode.JPG|thumb|300px|VBScript code in Expert View]]
[[File:HP Quick Test Professional VBScript Code.png|right|thumb|392x392px|VBScript code in Expert View]]
In Expert View, HP QuickTest Professional 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.<ref>http://www.fdscallcentre.com/homepage/data/mi/DS-0413-020_QTPro6.0.pdf</ref>
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.<ref>{{Cite web |url=http://www.fdscallcentre.com/homepage/data/mi/DS-0413-020_QTPro6.0.pdf |title=Mercury Interactive QuickTest Professional |access-date=April 6, 2010 |archive-url=https://web.archive.org/web/20090419201544/http://www.fdscallcentre.com/homepage/data/mi/DS-0413-020_QTPro6.0.pdf |archive-date=April 19, 2009 |url-status=dead}}</ref>


===Languages===
===Languages===
HP QuickTest Professional 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 has 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.<ref>{{cite web|url=http://www.htmlgoodies.com/beyond/asp/vbs-ref/article.php/3458611 |title=Key Differences Between VB and VB Script |publisher=www.htmlgoodies.com |date=2011-01-23 |accessdate=2011-01-27}}</ref>
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.<ref>{{cite web|url=http://www.htmlgoodies.com/beyond/asp/vbs-ref/article.php/3458611 |title=Key Differences Between VB and VB Script |website=HTMLGoodies |date=January 23, 2011 |access-date=January 27, 2011}}</ref>

Some Windows script (WScript, WSH, WMI) and VB.Net code can be used in a script in the expert view.{{Citation needed|date=March 2023}}


===Drawbacks===
===Drawbacks===
{{Criticism section|date=March 2023}}
HP QuickTest Professional runs only in Windows environments. It relies on largely obsolete Windows-only technologies such as ActiveX.<ref> [https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24%5E9674_4000_100__ "HP Functional Testing software System Requirements"], 'HP', accessed May 2, 2011.</ref>
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.<ref>[https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24%5E9674_4000_100__ "HP Functional Testing software System Requirements"]{{Dead link|date=April 2020 |bot=InternetArchiveBot |fix-attempted=yes}}. ''HP''. Retrieved May 2, 2011.</ref>


QTP cannot test with all browser types and versions. In particular it does not support Webkit based browsers such as Chrome and Safari, or Opera.<ref> [http://support.openview.hp.com/selfsolve/document/KM998699/binary/QTP11.0_ProductAvailableMatrix.pdf?searchIdentifier=1a3154a8%3a12bc911cd5d%3a5fd6&resultType=document "HP QuickTest Professional 11.00 Product Availability Matrix"], 'HP', Oct 1 2010, accessed May 2, 2011.</ref>
OpenText UFT One cannot test with all browser types and versions. In particular it does not support Opera.<ref>[http://support.openview.hp.com/selfsolve/document/KM998699/binary/QTP11.0_ProductAvailableMatrix.pdf?searchIdentifier=1a3154a8%3a12bc911cd5d%3a5fd6&resultType=document "HP QuickTest Professional 11.00 Product Availability Matrix"]. ''HP''. October 1, 2010. Retrieved May 2, 2011.</ref><ref>{{cite web|url=http://forums.mozillazine.org/viewtopic.php?f=7&t=277002|title=Firefox & VBScript |website=mozillaZine Forums |access-date=August 10, 2018}}</ref>


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.<ref>{{Cite web|url=http://social.msdn.microsoft.com/Forums/vstudio/en-US/c55675ba-e3ab-4296-8010-d14fa4fd74ca/migrating-from-qtp-to-microsoft-test-managermtm|title=Migrating from QTP to Microsoft Test Manager(MTM)}}</ref><ref>{{cite web|url=http://www.learnqtp.com/forums/Thread-Run-QTP-script-on-system-without-QTP-IDE|title=Run QTP script on system without QTP IDE|website=www.learnqtp.com|access-date=August 10, 2018}}</ref>
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.)<ref>Hammant, Paul. [http://paulhammant.com/blog/die-qtp-die.html "I think it is time for QTP to die"] accessed May 2, 2011.</ref>


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 [[Information silo|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).<ref>Hammant, Paul. [http://paulhammant.com/blog/die-qtp-die.html "I think it is time for QTP to die"]. ''Paul Hammant's blog.'' Retrieved May 2, 2011.</ref>
==Supported Technologies==
The supported technologies, depending on the QTP version, are available for Web, Java(Core and Advanced), .Net, WPF, [[SAP ERP|SAP]], [[Oracle]], [[Siebel]], [[PeopleSoft]], [[Delphi]], [[Power Builder]], Stingray 1, Terminal Emulator, Flex, Web Services, [[Windows]] Mobile, VisualAge Smalltalk, [[Silverlight]] and mainframe terminal emulators<ref>{{cite web|url=http://www.hp.com/go/QTP_SysReq |title=Functional Testing software System Requirements - HP - BTO Software |publisher=HP |date= |accessdate=2011-01-27}}</ref>


==Versions==
==Integration==
OpenText UFT One 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.<ref>{{cite web|url=http://h30423.www3.hp.com/?rf=sitemap&fr_story=399876c51bce0e1612eb0f1a3cd2c27ce70a26c3&jumpid=reg_R1002_USEN |title=HP Quality Center 10.00 integration &#124; HP Enterprise TV: Online Videos and Podcasts |website=H30423.www3.hp.com |access-date=January 27, 2011}}</ref>
11.0 - Released in 2010
* 11.0 - Released in 2010
* 10.0 - Released in 2009
* 9.5 - Released in 2007
* 9.2 - Released in 2007
* 9.0 - Released in 2006
* 8.2 - Released in 2005
* 8.0 - Released in 2004
* 7.0 - Never released.
* 6.5 - Released in 2003
* 6.0 - Released in 2002
* 5.5 - First release. Released in 2001


[[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.<ref>{{Cite web |url=http://www.rubric.co.za/tool-support/hp |title=HP – HP Software ALM – Application Lifecycle Management |website=Rubric |access-date=December 11, 2013 |archive-url=https://web.archive.org/web/20131214162347/http://www.rubric.co.za/tool-support/hp |archive-date=December 14, 2013 |url-status=dead}}</ref> The software was tailored to work with a number of testing tools, including UFT, to test for functional defects in the code.<ref>{{Cite web |url=http://www.networkworld.com/news/2010/113010-hp-fuses-dev-management-and.html |title=HP fuses dev management and testing tools |access-date=December 11, 2013 |archive-url=https://web.archive.org/web/20131214010956/http://www.networkworld.com/news/2010/113010-hp-fuses-dev-management-and.html |archive-date=December 14, 2013 |url-status=dead}}</ref>
==License models==
HP QuickTest Professional is available through single-seat licenses, as well as floating or concurrent licenses.<ref>{{cite web|url=http://www.qtp10.com/2009/04/download-qtp-100-evaluation.html |title=Download QTP 10.0 Evaluation ~ Guide to QuickTest Professional 10 |publisher=Qtp10.com |date=2009-04-17 |accessdate=2011-01-27}}</ref> A trial version of the software is also available.<ref>[https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24^1352_4000_100__ HP QuickTest Professional software official web page]</ref>

==HP Quality Center Integration==
HP QuickTest Professional and HP Quality Center work together for additional testing capabilities. Users can use HP Quality Center with HP QuickTest assets, such as tests, shared object repositories, libraries, recovery scenarios and external data tables.<ref>{{cite web|url=http://h30423.www3.hp.com/?rf=sitemap&fr_story=399876c51bce0e1612eb0f1a3cd2c27ce70a26c3&jumpid=reg_R1002_USEN |title=HP Quality Center 10.00 integration &#124; HP Enterprise TV: Online Videos and Podcasts |publisher=H30423.www3.hp.com |date= |accessdate=2011-01-27}}</ref>


==See also==
==See also==

{{Portal|Software Testing}}
*[[HP Quality Center]]
*[[Test automation]]
*[[Test automation]]
*[[GUI software testing]]
*[[GUI software testing]]
Line 99: Line 87:


==External links==
==External links==
*[https://software.microfocus.com/en-us/products/unified-functional-automated-testing/overview Micro Focus Unified Functional Testing Product Page]
*[https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24%5E1352_4000_100__ HP QuickTest Professional official web page]
*[https://admhelp.microfocus.com/uft/ Micro Focus Unified Functional Testing Help Center]


{{OpenText}}
[[Category:Graphical user interface testing]]
[[Category:Hewlett-Packard products]]


[[Category:OpenText]]
[[ru:HP QuickTest Professional]]
[[Category:Graphical user interface testing]]
[[Category:HP software|QuickTest Professional]]

Latest revision as of 05:25, 15 July 2024

OpenText UFT One
Developer(s)OpenText
Stable release
24.2 / April 17, 2024; 8 months ago (2024-04-17)
Operating systemMicrosoft Windows
TypeTest automation tools
LicenseProprietary
Websitewww.opentext.com/products/uft-one

OpenText™ UFT One, 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.[1] 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.[1] 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.[2]

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

Micro Focus was acquired by OpenText in 2023.

Description

[edit]

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.[7] 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.[8]

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.[citation needed]

Exception handling

[edit]

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

[edit]

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.[10]

Automating custom and complex UI objects

[edit]

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.[11]

Extensibility

[edit]

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.[12] HP QuickTest Professional and the HP QuickTest Professional add-ins are packaged together in HP Functional Testing software.[13]

User interface

[edit]

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

[edit]

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.[14]

Expert view

[edit]
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.[15]

Languages

[edit]

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

Some Windows script (WScript, WSH, WMI) and VB.Net code can be used in a script in the expert view.[citation needed]

Drawbacks

[edit]

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.[17]

OpenText UFT One cannot test with all browser types and versions. In particular it does not support Opera.[18][19]

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.[20][21]

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

Integration

[edit]

OpenText UFT One 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.[23]

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.[24] The software was tailored to work with a number of testing tools, including UFT, to test for functional defects in the code.[25]

See also

[edit]

References

[edit]
  1. ^ a b "HP Release QTP 10.0". Automated Testing Institute. March 7, 2009. Retrieved January 27, 2011.
  2. ^ Jackson, Joab (November 6, 2012). "HP simplifies automated software testing suite". Retrieved August 10, 2018.
  3. ^ "Mercury QuickTest Professional (QTP) Evaluation". Devbistro.com. November 8, 2006. Retrieved January 27, 2011.
  4. ^ "HP Press Release: HP Closes Landmark Mercury Acquisition; Companies Unite to Lead in Business Technology Optimization Software". HP. Retrieved January 27, 2011.
  5. ^ "HP-UFT 11.50 (Unified Functional Testing)". selftechy.com. Retrieved August 10, 2018.
  6. ^ QA Financial, How the $8.8 billion HPE — Micro Focus merger will shake up testing, September 23, 2016.
  7. ^ "Software Testing FAQ: GUI Test Drivers". Testingfaqs.org. Archived from the original on December 21, 2010. Retrieved January 27, 2011.
  8. ^ "QTP with Descriptive programming". SlideShare. March 4, 2008. Retrieved January 27, 2011.
  9. ^ "Mastering QuickTest Professional (QTP)". Qtpautomation.com. March 16, 2009. Retrieved January 27, 2011.
  10. ^ "Using Global and Action Data Sheets in QTP ~ Guide to QuickTest Professional 10". Qtp10.com. July 5, 2009. Retrieved January 27, 2011.
  11. ^ "QuickTest Professional User's Guide.”
  12. ^ "QTP 10 Tutorial". Scribd.com. July 8, 2010. Retrieved January 27, 2011.
  13. ^ Software Quality Engineering IT (August 4, 2010). "Tool info : HP Functional Testing software". StickyMinds. Retrieved January 27, 2011.
  14. ^ "Working with Keyword View in HP QTP – QTP Tutorial 6 ~ Guide to QuickTest Professional 10". Qtp10.com. July 4, 2009. Retrieved January 27, 2011.
  15. ^ "Mercury Interactive QuickTest Professional" (PDF). Archived from the original (PDF) on April 19, 2009. Retrieved April 6, 2010.
  16. ^ "Key Differences Between VB and VB Script". HTMLGoodies. January 23, 2011. Retrieved January 27, 2011.
  17. ^ "HP Functional Testing software System Requirements"[permanent dead link]. HP. Retrieved May 2, 2011.
  18. ^ "HP QuickTest Professional 11.00 Product Availability Matrix". HP. October 1, 2010. Retrieved May 2, 2011.
  19. ^ "Firefox & VBScript". mozillaZine Forums. Retrieved August 10, 2018.
  20. ^ "Migrating from QTP to Microsoft Test Manager(MTM)".
  21. ^ "Run QTP script on system without QTP IDE". www.learnqtp.com. Retrieved August 10, 2018.
  22. ^ Hammant, Paul. "I think it is time for QTP to die". Paul Hammant's blog. Retrieved May 2, 2011.
  23. ^ "HP Quality Center 10.00 integration | HP Enterprise TV: Online Videos and Podcasts". H30423.www3.hp.com. Retrieved January 27, 2011.
  24. ^ "HP – HP Software ALM – Application Lifecycle Management". Rubric. Archived from the original on December 14, 2013. Retrieved December 11, 2013.
  25. ^ "HP fuses dev management and testing tools". Archived from the original on December 14, 2013. Retrieved December 11, 2013.
[edit]