Friday 16 August 2013

Quick Test Professional Basic Features of QTP



Quick Test Professional   Basic Features of QTP
QTP Launched in 2002 (Nov). By Mercury Interactive. Later taken over by HP, in 2007.
QTP is an Object Based Testing Tool.
QTP is for functional and Regression Testing.
It follows Keyword driven approach.
It supports Windows Operating Environment only.
It supports GUI based (Graphical user interface) and Web based Applications Automation, does not support CUI (Command user interface) Applications.
It has multilingual support. (It supports English, Chinese, Japanese, Korean, etc languages with respect to license.)
It has adapted Microsoft Visual Basic Scripting edition for programming and excel like spread sheet for Data driven testing.
SQL (Structured query language) embedded or inserted with QTP, so we can use SQL statements directly from QTP.
It can be integrated with other Tools like  Quality Center.
It can be used for user interface (UI) test case automation and some limited (Non UI) Test case automation like File system operations and Data base operations.
It was derived from Astra QuickTest (mother tool of QTP).
It supports IE (Internet Explorer) only for recording tests, for execution it supports other browsers like Mozilla and AOL, opera Etc apart from IE.
QTP has UNI code support.

Saturday 3 August 2013

Manual Testing Content

Software Testing Content

Software IT Industry Introduction               Software Testing  Introduction

Benefits of the Testing                                  Software Development Life Cycle Phases

Development life cycle models (or) process models

1. waterfall model                                          2.V –process Model

3. Iterative models Or Incremental Model 4. RAD ( Rapid Application Development ) model:

5. Spiral model                                             6.Agile Model or Extreme programming

Software Testing Methodologies

1.Static Testing                                          2.Dynamic Testing

1.Static Testing                                           Informal Reviews

( Peer Review )                                           Technical  Review

Lead Reviews                                              Management Review

Formal  Review                                           ( Inspections & Audits )

Walk Through

Approaches or  Methodologies of  Dynamic Testing

White Box Testing                                            Black Box Testing

 Gray Box Testing                                           1) White Box Testing     Or    Structural Testing

 A)Unit Testing:                                               B)Integration Testing:

 Black Box Testing   Or Specification Based Testing

 A) System Testing:                                         B) Acceptance Testing:

 Testing Terminologies:

 Project:                                                              Product:

Vendor:                                                             Client:

Customer:                                                         Templates:

Report                                                              1) Status Report

B) Daily Status Report                                    2) Defect Reports:

Clarification Document (RCN):                     Knowledge Transfer(Kt):

Sme (Subject Matter Expert):                          Build:

Deployment:                                                    Deliverable:

SRN ( Software Release Note ) :                     DD ( Deployment Document ):

 Installation Document:                                    Unit Test Report:

 Test Set:                                                           Test Cycle:

 Issue Log:                                                        Test Execution:

Traceability Matrix:                                         White Box Testing Techniques

 Statement Coverage                                        Path /Branch/Condition Coverage

 2.Black Box Testing                                        Testing Life Cycle Process Implementation

 As Part Of That The First Activity Performed is :

 Requirements Analysis                                     Benefits Of Requirements Study

 Black Box Testing                                            Test Design Techniques

 Boundary Value Analysis(BVA)                       Equivalence Class Partitioning(ECP):

 State Transition Testing                                    Decision Table Testing

 Use case Based Testing:

Software Testing Life Cycle

Test Planning :                                                  Test Analysis :

Test Design :                                                     Test Execution

Test Closure :                                                    Environments

Architecture There Are Different Architecture:

A) One Tier Architecture:                             B) Two Tier Architecture:

C) Three Tier Architecture:                          D) N-Tier Architecture:

1) Production Environment:                         2) Development Environment:

3) Test Environment :                                    Deployment:

Deployment For Desktop/Client-Server Based Applications:

Deployment For Web Based Applications:

Test Environment Set Up:

Test Set:

Test Plan:

Contents of Test Plan:

Test Analysis and Implementation manual Process

BRS (Business Requirements Specifications)

 SRS (Software Requirement Specifications)

 FRS (Functional Requirement Specifications)

 Test Scenario Template                               Test Case Preparation

 Qualities Of Good Test Case:                       Fields in Test Case Template:

 Test Case Description:                                  Step Name:

 Step Description:                                           Test Data:

 Expected Result:                                           Priority:

 Review Comments:                                      Types of System Tastings

 Smoke Testing                                               Sanity Testing :

 Patch                                                              Formal Testing :

 Retesting :                                                     Regression Testing :

 Informal Testing Or Adhock Testing :        Special Testing Tags In Functional System Testing           Exploratory Testing

 Error Guessing :                                           Mutation Testing :

 Monkey Testing ( Or ) Rattle Testing :       End To End Testing :

 Non Functional System Testing Types :

 UI Testing :                                                   Check List For UI Testing   :

 Usability Testing :                                          Security Testing :

 Check List For Security Testing   :              Check For Access Control (Authorization ) :

 Check For Authentication :                           Performance Testing :

 Compatibility Testing :                                  Recovery Testing :

 Installation Testing :                                     Un installation Testing :

 Globalization Testing :                                  Localization Testing :

                                         Functional Testing:

 1. Behavioral / GUI:                                     2. Input Domain:

3. Error Handling:                                         4. Manipulations:

5. Database Validity:                                      6. Sanitation:

Defect Life Cycle

New->Open->Fixed,Resolved->Closed

New->Rejected

New->Hold

New->Open->Fixed->Reopen->Fixed

New->Duplicate

New->Differed

Defect Reporting

Prepare Defect Report                                  Reproducible

Different Defect Severities                           Different Defect Priorities:

Data Base Testing                                         Necessity Of DB Testing

Software Configuration Management Tools

Common Repository :                                     Software Configuration Management :

Benefits Of Common Repository :                 Test Management

1) Requirement Management :                        2) Change Management :

3) Version Controlling :                                   4) Test Planning

5) Risk And Mitigation Planning :                  6) Defect Management

Traceability Matrix

 Traceability  :

 Traceability Matrix Template

Advantages Of Traceability Matrix :

Others

Resume Preparation

                 Mock Interview

                 Personal Round

                 Technical Interview

                 Manager Round

                 HR round

Thursday 1 August 2013

QTP Training Program



                                                      INDEX
Introduction
       Test Automation                                      Disadvantages of Manual Testing
       Advantages of Test Automation           Drawbacks of Test Automation
       Types of Test Automation                     Functional Test Automation
       Types of Test Tool                                   Functional & Regression Testing Tools
       History of QTP                                         Basic Features of QTP
       Installation process of QTP
QTP Test Process
       Planning                                                     Generating Basic Tests
       Enhancing Tests                                       Debugging Tests
       Running Tests                                           Analyzing Test Results
       Reporting Defects
Key Elements of QTP
       Recording & Running                             Key Elements of QTP
        Test Pane                                                  Active Screen
        Data Table                                                Debug Viewer
        Missing Resources                                  Information
        QTP Commands                                      Missing Resources pane
        QTP Tool bars                                          QTP Menu items / QTP commands
        Tool Settings
Recording & Running Tests
       Recording Process                                   Running Process
       Recording Modes                                     Advantages of Recording
       Drawbacks of Recording
Software objects
       Types of object in QTP                           Runtime Objects
       Test Objects                                              Utility Objects
       Automation Objects
Object Repository
       Local Repository                                       Shared Repository
Operations on Object Repository
       Adding Objects                                          Renaming Objects
       Deleting Objects                                        Associating Object Repositories to an Action
       Exporting Local Objects                          Merging Repositories
       View Options                                             Spying Objects
       Importing, Exporting Repositories using XML,       Defining New Test Objects 
  Checkpoints & Output Values
  
     Inserting Check points                            Standard Checkpoint
       Text Checkpoint                                        Text Area Checkpoint
       Bitmap Checkpoint                                   Database Checkpoint
       Accessibility Checkpoint                          XML Checkpoint (From Application)
       XML Checkpoint (From Resource) Page Checkpoint
       Image Checkpoint                                     Table Checkpoint
 Inserting Output values
       Standard Output value                             Text Output value
       Text Area Output value                            Database Output value
       Keyword driven methodology                 Generating Tests Manually through Expert view
       Generating Steps through Keyword view, Generating statements through Step Generator
       Object Identification Configuration

Object Identification Configuration
       Normal Identification                               Mandatory Properties
       Assertive Properties                                  Smart Identification
       Base filter Properties                                Option filter properties
       Ordinal Identifier
Virtual Object Configuration
        Virtual Object Manager                           Defining a Virtual Object
        Removing or Disabling Virtual Object       
 Synchronization
        Synchronization                                        Inserting Wait Statement
        Inserting Synchronization Poi               Increasing Tool Default Synchronization Time
        Sync method (only for web)                   Selecting appropriate method
 VB Script
       Introduction, Variables                             VB Script Fundamentals & Features
       Scripting Languages vs.
                       Programming Languages
       Basic Features of VBScript                       Hosting Environments & Script Engines
       Crating & Running a Script
Data Types, Variables                                       VBScript data types
       Declaring Variables
                            Dynamic Arrays, Dimensional Arrays
       Option Explicit Statement                         Assigning Values to Variables
       Scalar Variables and                                   Array Variables
 Comments, Constants, Operators
       Comments                                                    Constants
       Operators                                                      Operator Precedence
       Arithmetic Operators                                 Comparison Operators
       Concatenation Operators                          Logical Operators
Flow Control (Conditional Statements)
       VBScript Conditional Statements            If condition is true (Single line Syntax)
       If Condition is true                                      If a Condition is True or If a Condition is False
       Several Alternatives (IF..Else If…)           statements when two/more conditions are True(Nested If…)
       several Alternatives (Select Case Statement)
Flow Control (Looping through the Code)
       Do…Loop ( until a condition is True.)
       While…Wend (Loops while a condition is True.)
       For…Next: Uses a counter to run statements a          specified number of times.
       For Each…Next (Repeats a group of statements for each item in a collection or each element of an    array.)
       Nested Loops
Descriptive Programming
       Descriptive Programming                            Advantages of Descriptive Programming
       Static Programming                                      Dynamic Programming
       Creating Library files  /                                Collection objects .VBS,qfl
       Handling Dynamic Objects                          Retrieving Child Objects
Parametrization                                                     Action or Test
     Data Table                                                          Environment Variable
     Random numbers
Types of actions
       Non-reusable Actions                                    Re-Usable actions
       External Actions                                             Creating an Action
       Splitting Actions                                             Renaming an Action
       Deleting an Action                                          Calling an existing Action
       Copying an Actions                                         Action Parameters


Environment Variables
       Built-in Variables                                           User Defined Variables
       Defining, modifying and associating environment variables
       Loading Environment file during run-time
Transaction Points, Adding Comments
       Inserting Transaction Points                         Start Transaction & End Transaction
       Timer Function                                                 Defining Test Results
       Adding Comments                                           Purpose of Comments
       Basic Syntax                                                       Comment a Block of Statements
       Uncomment a Block                                         Debugging Tests, Batch Testing
       Debug Commands & Break Points                Step Into
       Step Over                                                            Step Out
       Inserting/Removing Brake Points                Watching variables
       Changing Variable values
Batch Testing
       Test Batch Runner                                          Creating Test Batches
       Providing permission to Test Batch Runner
       Running Test Batches                                     Running Partial Batches
Automating QuickTest Operations
       Recovery Scenarios                                          Recovery Scenarios
       Trigger events                                                    Pop-Up window
       Object State                                                        Test Run Error
       Application Crash
Recovery Operations
       Keyboard or Mouse Operation                     Close Application Process
       Function Call                                                    Restart Microsoft Windows
       Creating Recovery Scenarios                         Associating Recovery Scenarios
User Defined Functions
       Types of Procedures                                        Internal & External Functions
       Creating Library files                                      Creating Sub Procedures
       Creating Function Procedures                      Associating Library files
       Loading Function Libraries run-time         Generic Functions
       Project Specific Functions
Built-In Functions
       Conversions (Cdbl. Cint etcc…)                   Dates/Times (Date, Time, Now, IsDate, DateDiff, etc…)
       Formatting Strings                                         Input/Output (InputBox and MsgBox)
       Math                                                                  Miscellaneous
       Rounding                                                         Strings (Len, Left, Right, Mid Etc….)
       Arrays (Array, IsArray, Split etc..)              Variants
File System Operations
       File System Operations                                     FileSystemObject
       Examples:                                                             Create a Folder
       Check if the Folder Exist or not? If not create the Folder
       Copy a Folder                                                       Delete a folder
       Creating a Text File                                             Check if the File Exist or not? If not create the File
       Read Data Character by Character from a text file
       Read Line by Line from a Text File                Data Driven Testing by fetching Test data directly from a Text file.                                                                       Write Data to a Text File
       Delete a Text File                                                 Check if the File Exists or not? If Exists delete the File
       Calculate size of a Text File                               Compare Two Text File by Size, by Text and by Binary values
       Count the number of times a word appears in a Text File
Excel Object Model
       Excel Object Model:                                          Creating an Automation Object
       Excel Scripting Examples:                               Create an Excel file,
       enter some data and save the file through VB script?
       Check if the Excel file exists or not, if exists open the file and enter some data, If not
       Exists create the file and enter some data and save the file through VB script?
       Data Driven Testing through an External Excel Sheet
       Data Driven Testing using Data Table methods
      Calculator Example using Data Table methods
      Open an Excel Spreadsheet
      Read an Excel Spreadsheet
      Add Formatted Data to a Spreadsheet
      Sort an Excel Spreadsheet on Three Different    Columns
      Short an excel sheet column
      Add New Sheet to Excel File
      Rename Sheets in an Excel File (Workbook)
      Add a Sheet to an Excel File (Workbook) and change the Position
Database Object Model
     ActiveX Data Objects                                 ADODB Connection Object & Recordset Object
     Test Database Creation & Collecting Test Data
     Databases Connections (Ms-Access, SQL Server and Oracle)
     Data Driven Testing by fetching Data from a Database
     Data Comparisons
Regular Expressions
     Understanding & Using Regular Expressions
     Handling Dynamic Objects                      Defining Regular Expressions
     Search Operations                                      Regular expressions in Recovery scenarios
     Regular Expression Object
Error Handling
      Overview on Error Handling                   Error Handling Methods in QTP
      Synchronization                                         Exist Property
      Exit Statement                                            On Error Statement
      Recovery scenarios                                     Web Script Examples
Introduction, Basic Framework
      Automation Framework, Types of Framework       Creating Folder Structure
      Creating & Storing Automation Resources              Organizing & Managing Resources
      Generating Driver Scripts                                            Generating Initialization Script (AOM Script)
Data Driven Framework
       Test Data Collection                                                      Ways of Parameterization
       Data Driven Implementation Techniques                Using Data Table Methods
Keyword Driven Framework
       Keywords                                                                          Keyword Driven Approach
       Creating Functions                                                         Creating Test Automation resources
       Creating Organizer Spread sheet                                 Generating the Driver Script
       Generating the Initialization Script
Hybrid Framework
       Hybrid Automation Framework                                   Keyword Driven & Data Driven Test Approach
       Advantages of Hybrid Approach                                  Organizing & Managing Resources
Quality Center (Site Administration)
       Creating Domains/ Deleting domains
       Creating a project/ deleting a project
       Creating users
       Deleting users
       Assigning users to a project
       Tracking a project statu

Quality Center (Working with Real  rime Application)    
       Quality Center
       Requirements
       Creating/Modifying/Deleting test requirements and child requirements
Test plan
       Creating/Modifying/Viewing/Deleting manual as well as automated tests
       Mapping requirements with test cases
       Exporting Manual test cases to quality center project
       Exporting QTP tests to quality center project
Test Lab
       Creating folders
       Forming test batches
       Executing manual and automated tests
Defects
       Posting defects
       Tracking defects
       Sending defects directly from QTP result window
QTP Live Implementation

Implementation  of all  above  Learned Concepts on a Live Application