CSC/ECE 517 Fall 2014/ch1a 22 as: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''HP QuickTest Professional'''
'''HP QuickTest Professional'''


Quick Test Professional(QTP) is a test automation tool originally developed by Mercury Interactive and later acquired by Hewlett Packard.
QuickTest Pro is a test automation tool originally developed by Mercury Interactive and later acquired by [http://en.wikipedia.org/wiki/Hewlett_Packard Hewlett Packard].<ref>http://www.devbistro.com/articles/Testing/Mercury-QuickTest-Professional-Evaluation</ref> This software offers regression and functional test automation for buisness quality control.


----
[https://docs.google.com/a/ncsu.edu/document/d/1XzVu0zEuk7LP4smGZV9lRpSx5-wri6oClpUAmGYPN44/edit# Writeup page.]
== Background ==
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 functions.GUI testing framework generates user interface events such as keystrokes and mouse clicks, and observes the changes that result in the user interface, to validate that the observable behaviour of the program is correct.


At its basic, GUI test automation works like robot clicking buttons and entering, validating data on the client app/web page. There are pitfalls with automation,it is not as easy as getting tests automated and then no more work needs to be done. Test Automation is a development discipline as it uses scripting languages to instruct the tool hot to interact with your application. As such careful consideration needs to be paid to
=='''Features'''==
QuickTest Pro is not a command line testing solution. It offers a graphical user interface, keyboard support, multiple testing views, and scripting language.<ref>http://www.softwaretestinghelp.com/qtp-quicktest-professional-tutorial-1/</ref>


Exception handling for bugs that occur during testing cycles(i.e, unexpected error messages during a test run).
===Testing===
How the tool synchronizes with your application(e.g. if there are slow response times from your environment)
QuickTest allows for both [http://en.wikipedia.org/wiki/Functional_testing functional] and [http://en.wikipedia.org/wiki/Regression_testing regression] testing. It also supports data-driven testing through spreadsheet software, allowing outputs to be recorded and organized.
The level of maintenance required to keep the tests up to date with changes in the application GUI(i.e, new buttons, data fields, custom controls etc)


Any test automation framework is a set of assumptions, concepts and tools that provide support for automating the major activities in the testing process. The main advantage of a framework is
===Views===
QTP has two different views for testing, a keyboard view and an expert view. In keyboard view, users modify tests in a table, one row per step. Users can view output values, set loops, and add breakpoints.


Increased Productivity
Expert view displays test code using [http://en.wikipedia.org/wiki/VBScript VBScript].
Easy and Reduced maintenance effort
consistent automation development across projects
process driven than person driven approach
controlled maintenance of automation artefacts


There is a range of automation testing tools available. Some of them are licensed and few others are open sourced. QTP, Cucumber, Capybara and other tools[]
===Scripting===
QuickTest Pro's VBScript allows for classes, but not other object oriented properties such as inheritance and polymorphism. It also lacks a debugger, however QTP has a debugger provided by HP.<ref>https://h20546.www2.hp.com/main/training/course_details.cfm?Course=00008165&sitepick=US</ref>


== Features ==
===Exception handling===
QuickTest Pro uses recovery scenarios to handle runtime exceptions, this allows testing to be uninterrupted as long as the exception did not affect the memory of the tested application.


== References ==
=='''Comparison to other tools'''==
Tools such as Cucumber and Capybara run tests from the perspective of the user. Cucumber converts user stories into tests and Capybara simulates a user or web browser. QuickTest Pro is used by programmers to preform specific test cases they code themselves.<ref>Engineering Long Lasting Software p136</ref>
 
=='''Disadvantages'''==
QuickTest Pro is developed mainly for Windows based systems and it relies on outdated Windows tools like VBXScript. Tests can not be run outside of the QuickTest environment nor are they compatible with all browser types.<ref>http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/demos-documents.html#!&pd1=1</ref>
 
=='''References'''==
<references/>
<references/>

Revision as of 20:18, 13 September 2014

HP QuickTest Professional

QuickTest Pro is a test automation tool originally developed by Mercury Interactive and later acquired by Hewlett Packard.<ref>http://www.devbistro.com/articles/Testing/Mercury-QuickTest-Professional-Evaluation</ref> This software offers regression and functional test automation for buisness quality control.

Writeup page.

Features

QuickTest Pro is not a command line testing solution. It offers a graphical user interface, keyboard support, multiple testing views, and scripting language.<ref>http://www.softwaretestinghelp.com/qtp-quicktest-professional-tutorial-1/</ref>

Testing

QuickTest allows for both functional and regression testing. It also supports data-driven testing through spreadsheet software, allowing outputs to be recorded and organized.

Views

QTP has two different views for testing, a keyboard view and an expert view. In keyboard view, users modify tests in a table, one row per step. Users can view output values, set loops, and add breakpoints.

Expert view displays test code using VBScript.

Scripting

QuickTest Pro's VBScript allows for classes, but not other object oriented properties such as inheritance and polymorphism. It also lacks a debugger, however QTP has a debugger provided by HP.<ref>https://h20546.www2.hp.com/main/training/course_details.cfm?Course=00008165&sitepick=US</ref>

Exception handling

QuickTest Pro uses recovery scenarios to handle runtime exceptions, this allows testing to be uninterrupted as long as the exception did not affect the memory of the tested application.

Comparison to other tools

Tools such as Cucumber and Capybara run tests from the perspective of the user. Cucumber converts user stories into tests and Capybara simulates a user or web browser. QuickTest Pro is used by programmers to preform specific test cases they code themselves.<ref>Engineering Long Lasting Software p136</ref>

Disadvantages

QuickTest Pro is developed mainly for Windows based systems and it relies on outdated Windows tools like VBXScript. Tests can not be run outside of the QuickTest environment nor are they compatible with all browser types.<ref>http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/demos-documents.html#!&pd1=1</ref>

References

<references/>