HP QuickTest Professional

HP QuickTest Professional
HP QuickTest Professional
Developer(s) HP/HP Software Division
Stable release 11.0
Development status Active
Operating system Microsoft Windows
Type test automation tools
License Proprietary
Website HP QuickTest Professional

HP QuickTest Professional software provides functional and regression test automation for software applications and environments.[1] Part of the HP Quality Center tool suite, HP QuickTest Professional can be used for enterprise quality assurance.[2]

HP QuickTest Professional 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]

HP QuickTest Professional was originally written by Mercury Interactive.[4] Mercury Interactive was subsequently acquired by Hewlett Packard (HP) in 2006.[5] HP QuickTest Professional 11 is currently available from HP Software Division.[6]

Contents

Description

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

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, database testing or Web services testing.

Verification

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

Exception handling

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

Whenever 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..

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

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


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

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

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 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, 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.

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

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

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

Drawbacks

HP QuickTest Professional runs only in Windows environments. It relies on largely obsolete Windows-only technologies such as ActiveX.[19]

QTP cannot test with all browser types and versions. In particular it does not support Safari, or Opera.[20]

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

Supported Technologies

The supported technologies, depending on the QTP 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[22]

Versions

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

License models

HP QuickTest Professional is available through single-seat licenses, as well as floating or concurrent licenses.[23] A trial version of the software is also available.[24]

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

See also

References

  1. ^ HP QuickTest Professional software data sheet
  2. ^ "A complete guide to working on Quality Center with QTP". Learn QTP. http://www.learnqtp.com/qtp-quality-center-test-director-guide/. Retrieved 2011-01-27. 
  3. ^ a b "HP Release QTP 10.0". Automatedtestinginstitute.com. 2009-03-07. http://www.automatedtestinginstitute.com/home/index.php?view=article&id=%201215&option=com_content&Itemid=1000. Retrieved 2011-01-27. 
  4. ^ "Mercury QuickTest Professional (QTP) Evaluation". Devbistro.com. 2006-11-08. http://www.devbistro.com/articles/Testing/Mercury-QuickTest-Professional-Evaluation. Retrieved 2011-01-27. 
  5. ^ "HP Press Release: HP Closes Landmark Mercury Acquisition; Companies Unite to Lead in Business Technology Optimization Software". Hp.com. http://www.hp.com/hpinfo/newsroom/press/2006/061107xa.html?jumpid=reg_R1002_USEN. Retrieved 2011-01-27. 
  6. ^ "HP QuickTest Professional - Free software downloads and software reviews - CNET Download.com". Download.cnet.com. 2009-09-29. http://download.cnet.com/HP-QuickTest-Professional/3000-2383_4-10969380.html. Retrieved 2011-01-27. 
  7. ^ "Software Testing FAQ: GUI Test Drivers". Testingfaqs.org. http://www.testingfaqs.org/t-gui.html. Retrieved 2011-01-27. 
  8. ^ "QTP with Descriptive programming". Slideshare.net. http://www.slideshare.net/kuldeepse/qtp-with-descriptive-programming-293056. Retrieved 2011-01-27. 
  9. ^ "QTP Tutorials & Interview Questions: Checkpoints in QTP (QuickTest Professional)". Qtp.blogspot.com. 2004-02-27. http://qtp.blogspot.com/2007/05/checkpoints-in-qtp-quicktest.html. Retrieved 2011-01-27. 
  10. ^ a b "QTP 10 Tutorial". Scribd.com. 2010-07-08. http://www.scribd.com/doc/26190751/QTP-10-Tutorial. Retrieved 2011-01-27. 
  11. ^ "Mastering QuickTest Professional (QTP)". Qtpautomation.com. 2009-03-16. http://www.qtpautomation.com/. Retrieved 2011-01-27. 
  12. ^ "Using Global and Action Data Sheets in QTP ~ Guide to QuickTest Professional 10". Qtp10.com. 2009-07-05. http://www.qtp10.com/2009/07/using-global-and-action-data-sheets-in.html. Retrieved 2011-01-27. 
  13. ^ "QuickTest Professional User’s Guide.”
  14. ^ Software Quality Engineering IT (2010-08-04). "Tool info : HP Functional Testing software". Stickyminds.com. http://www.stickyminds.com/sitewide.asp?ObjectId=3323&Function=edetail&ObjectType=TOOL. Retrieved 2011-01-27. 
  15. ^ Test Results Analysis with New Reporting Functionality.”
  16. ^ "Working with Keyword View in HP QTP - QTP Tutorial 6 ~ Guide to QuickTest Professional 10". Qtp10.com. 2009-07-04. http://www.qtp10.com/2009/07/working-with-keyword-view-in-hp-qtp.html. Retrieved 2011-01-27. 
  17. ^ http://www.fdscallcentre.com/homepage/data/mi/DS-0413-020_QTPro6.0.pdf
  18. ^ "Key Differences Between VB and VB Script". www.htmlgoodies.com. 2011-01-23. http://www.htmlgoodies.com/beyond/asp/vbs-ref/article.php/3458611. Retrieved 2011-01-27. 
  19. ^ "HP Functional Testing software System Requirements", 'HP', accessed May 2, 2011.
  20. ^ "HP QuickTest Professional 11.00 Product Availability Matrix", 'HP', Oct 1 2010, accessed May 2, 2011.
  21. ^ Hammant, Paul. "I think it is time for QTP to die" accessed May 2, 2011.
  22. ^ "Functional Testing software System Requirements - HP - BTO Software". HP. http://www.hp.com/go/QTP_SysReq. Retrieved 2011-01-27. 
  23. ^ "Download QTP 10.0 Evaluation ~ Guide to QuickTest Professional 10". Qtp10.com. 2009-04-17. http://www.qtp10.com/2009/04/download-qtp-100-evaluation.html. Retrieved 2011-01-27. 
  24. ^ HP QuickTest Professional software official web page
  25. ^ "HP Quality Center 10.00 integration | HP Enterprise TV: Online Videos and Podcasts". H30423.www3.hp.com. http://h30423.www3.hp.com/?rf=sitemap&fr_story=399876c51bce0e1612eb0f1a3cd2c27ce70a26c3&jumpid=reg_R1002_USEN. Retrieved 2011-01-27. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • HP QuickTest Professional — (QTP)  один из ведущих[1] инструментов автоматизации функционального тестирования, является флагманским продуктом компании HP в своей линейке. Для разработки автоматизированных тестов QTP использует язык VBScript, и поддерживает следующие… …   Википедия

  • Testroboter — werden in der Softwarequalitätssicherung auch als Capture Replay bzw. Capture Playback Tools bezeichnet. Dabei zeichnet das Werkzeug alle vom Tester manuell durchgeführten Bedienschritte, wie zum Beispiel Tastatureingaben oder Mausklicks, während …   Deutsch Wikipedia

  • Автоматическое тестирование — Тестирование  один из важнейших этапов контроля качества в процессе разработки программного обеспечения. Автоматизированное тестирование является его составной частью. Оно использует программные средства для выполнения тестов и проверки… …   Википедия

  • HP LoadRunner — HP LoadRunner  утилита для автоматизированного нагрузочного тестирования. Программа может выполнять как тестирование различных приложений, так и тестирование сайтов различного уровня сложности. Подключая виртуальных пользователей выполняющих …   Википедия

  • Test automation — Compare with Manual testing. Test automation is the use of software to control the execution of tests, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting… …   Wikipedia

  • List of Hewlett-Packard products — The following is a partial list of products manufactured under the Hewlett Packard brand. Contents 1 Printers 1.1 LaserJet printers (color and monochrome) 1.2 ColorJet printers 1.3 …   Wikipedia

  • Test script — A test script in Software Testing is a set of instructions that will be performed on the System Under Test to test that the system functions as expected. These steps can be executed manually or automatically.There are various means for executing… …   Wikipedia

  • HP WinRunner — Developer(s) HP/Mercury Interactive Stable release 9.2 Development status end of support Operating system Microsoft Windows …   Wikipedia

  • Mercury Interactive — For another company with a similar name, see Mercury Computer Systems. Mercury Interactive Type Now owned by Hewlett Packard Industry Computer Systems Computer Software Consulting IT Services Fate Acquired by HP Founded …   Wikipedia

  • List of GUI testing tools — GUI testing tools serve the purpose of automating the testing process of GUI applications.Some better known tools are: # TestPartner from Compuware # QuickTest Professional (QTP) from Mercury. # WinRunner from Mercury. # LoadRunner from Mercury.… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”