Introduction to QTP (Quick Test Professional)
Type of Tool: - it is a functional Regression Testing Tool
Earlier Version: -
5.5 Released in 2001
6.0 Released in 2002
6.5 Released in 2003
7.0 Never Released
8.0 Released in 2004
8.2 Released in 2005
9.2 Released in 2007
9.5 Released in 2007
10.0 Released in 2009
11.0 Released in 2011(this version
is called as UFT: - Unified
Functional Tester)
11.5 Beta version 24/12/2012
Scripting Language: - VB script, java script, Perl script
Note: - While latest versions of QTP supports all most all versions.
License in QTP: -
Seat license: - it is 1:1 license (this is single user license)
Concurrence license: - This is a network based license which can share by all the machines in net work.
Launching QTP: -***
Step 1: - currently we are using client license, so we need to connect to the client machines.
We can connect to the client machine with help of Citrix access get way/ VAP/ Remote Desktop (MSTSC)
Step 2: - Click on start > All Programs > Quick Test Professional > select Quick Test Professional
Step 3: - While lunching QTP it verifies QTP license and add-in license
Step 4: - It Opens add- in Manager Windows with add-ins
Step 5: - Select required add- in and click ok button.
Add-in Manager: -
> It displays all the available add-ins, by default Quick Test Professional provides ActiveX, VB, and Web
Note: -by default QTP supports windows environment and hence it is not showing is add-in manager
window.
> Add-in manager is used to select required environment (Add-in) to make compatible with required environment.
> Apart from all this add-ins, if user wants any extra add-ins then user need buy from HP and install.
Architecture of QTP: -
QTP window is divided in to bellow parts.
1. Test Pane
2. Active Scripts
3. Data Table
4. Information Pane
5. Debug viewer Pane
6. Missing resource Pane
7. Tool option
1. Test Pane: - It is an area where we can write a new test script or to open existing test scripts.
It is divided in to 2 views
1> Expert view: - It displays test script in VB Script format
2> Keyword view: - it displays test script in GUI format.
It is divided into bellow views
1. Item: - displays fields names
2. Operation: - Displays operation names (Actions performed)
3. Value: - it displays test data.
4. Documentation: - it displays a sentence about item, operation and value.
Note 1: - If we do any operation in expert view it effects to keyword and vice versa
Note 2: - If we have any syntax errors in expert view not able to navigate to keyword view
Note 3: - We can also design test scripts from keyword view.
2. Active Screen: - it is displays a screen shot for each and every VBScript statement. (view menu --> Active
Screen)
3. Data Table: - It holds multiple Test Data. It is looks like ms-excel sheet (it contains 65, 536 rows and 256
columns). By default data table provides following 2 sheets 1.Global, 2. Action1
4. Information Pane: - (Navigation:- view menu--> Information )
> It displays syntax error massages. When we save test script.
Note: - After save a test script QTP internally compiles the script and display syntax errors in information pane
> Information pane contains bellow information
Details: - It displays syntax error information
Item: - It displays script name
Action: - It displays Action name
Line no: - It displays error line number
5. Debug viewer Pane: - It is used to find the logical errors and variable values during script execution
(viewdebug viewer)
6. Missing resource: - It displays not available file path which we associated to test script.
7. Tool option: - these are menu options where we can select required menu options.
*** End of Chapter II ***


No comments :
Post a Comment