Monday, November 21, 2011

What type of metrics we prepare in testing?

In testing there are two types of metrics.
  • Process metrics
  • Product metrics
Process Metric: A metric used to measure the characteristic of the methods,technique, and tools employed in developing,imlementing,and maintaining the software system.

Product Metric: Metric used to measure the characteristic of the documentation and code.

What is Entry Criteria & Exit Criteria.

Entry criteria:
  • All source codes are unit tested
  • All QA resource has enough functional knowledge
  • H/W and s/w are in place
  • Test plans and test cases are reviewed and signed off
Exit criteria:
  • No defect over a perod of time or testing effort
  • Planned deliverables are ready
  • High severity defects are fixed

STLC process

  • Test Initiation
  • Test Planning
  • Test Design
  • Test Execution
  • Test Reporting
  • Test Closure.

Wednesday, November 9, 2011

What is a Test Case?

  • A test case is a set of conditions or variables and inputs that are developed for a particular goal or objective to be achieved on a certain application to judge its capabilities or features.
  • A formal written test case comprises of three parts -
    • Information
    • Activity
    • Result

When we use update mode in QTP?

When QTP scripts are expected to execute on AUT which may have GUI changes, we can execute QTP scripts in Object Repositories update mode, so that Object Repositories proerties can be modified in the execution.

What is keyword view and Expert view in QTP?

  • Keyword View is an icon based view which shows test steps in tabular format. It also automatically generates documentation for the test steps. It is used by Non IT Person.
  • Expert View gives the corresponding VB Script statement for every test step in the Keyword view. It is used by IT expert person.

Types of object Repositories in QTP?

QTP Supports 2 types of Object Repository

1) Shared Object Repository (also called Global). It is preferable while dealing with dynamic objects which are called in multiple tests. The extension is ".tsr"

2) Per-Action Object Repository, (also called Local). It is used by default. The extension for Per-Action repository is ".mtr" .

Types of recording modes in QTP?

QTP supports 3 types of recording modes
  1. Normal Mode: It is the default recording mode and takes full advantage of QTP's Test Object Model. It recognizes objects regardless of their position on -screen. This is the preferred mode of recoding and is used for most of the automation activities. 
  2. Low-level recording mode: This mode records the exact x,y co-ordinates of your mouse operations. It is helpful in testing hashmaps. It is useful for recording objects not identified by normal mode of QTP. 
  3. Analog mode: This mode records exact mouse and keyboard "movements" you perform in relation to the screen / application window. This mode is useful for the operation such as drawing a picture, recording signature., drag and drop operations.