Quick Test Professional (QTP) is an automated functional Graphical User Interface (GUI) testing tool that allows the automation of user actions on a web or client based computer application.
It is primarily used for functional regression test automation. QTP uses
a scripting language built on top of VBScript to specify the test procedure, and to manipulate the objects and controls of the application under test.
Contents:
- Testing Process
- Create your test plan
- Recording a session
- Enhancing your test
- Replay & Debug
- Run your Tests
- Analyzing the test results
- Reporting defects
- Test Object Model
- Object Repositories
- Checkpoints:
- Standard checkpoint.
- Image checkpoints.
- Bitmap Checkpoint.
- Table checkpoints.
- Accessibility Checkpoint.
- Text Checkpoint.
- Page Checkpoint.
- Database Checkpoint.
- XML checkpoints.
- QTP Recording
- Parameterizing Tests
- Keyword View
- Actions in QTP
- VBScript in QTP
Features of QTP:
- Ease of use.
- Simple interface.
- Presents the test case as a business workflow to the tester (simpler to understand).
- Uses a real programming language (Microsoft’s VBScript) with numerous resources available.
- QuickTest Pro is significantly easier for a non-technical person to
adapt to and create working test cases, compared to WinRunner.
- Data table integration better and easier to use than WinRunner.
- Test Run Iterations/Data driving a test is easier and better implement with QuickTest.
- Parameterization easier than WinRunner.
- Can enhance existing QuickTest scripts without the “Application Under Test” being available; by using the ActiveScreen.
- Can create and implement the Microsoft Object Model (Outlook objects, ADO objects, FileSystem objects, supports DOM, WSH, etc.).
- Better object identification mechanism.
- Numerous existing functions available for implementation – both from within QuickTest Pro and VBScript.
- QTP supports .NET development environment
- XML support
- The Test Report is more robust in QuickTest compared to WinRunner.
- Integrates with TestDirector and WinRunner (can kick off WinRunner scripts from QuickTest).
Drawbacks of QTP: As of QTP version 10
1) Huge Tests in QTP consume lots of memory and increase CPU utilization.
2) Since QTP stores results in HTML file (and not txt) the result folder sometimes becomes big.