Search This Blog

Showing posts with label Testing QTP QualityCenter and FAQ's. Show all posts
Showing posts with label Testing QTP QualityCenter and FAQ's. Show all posts

Wednesday, October 7, 2009

QA and QTP

http://qualitypoint.blogspot.com/2009/05/all-links.html

Tuesday, October 6, 2009

Descriptive Programming in QTP

http://tips-testing.blogspot.com/2008/06/qtp-descriptive-programming.html

Test Automation Framework(Wikipedia)

http://en.wikipedia.org/wiki/Test_automation_framework

Test Automation (Wikipedia)

http://en.wikipedia.org/wiki/Test_automation

Friday, September 18, 2009

Tuesday, September 15, 2009

TESTING INTERVIEW QUESTION LINKS

http://www.qainterviews.com/web_testing.htm

Tuesday, September 8, 2009

QTP Version Difference

http://mercuryquicktestprofessional.blogspot.com/2007/09/difference-between-qtp82-and-qtp90qtp92.html

Object Repoistory Manager

The Object Repository Manager enables you to manage all of the shared object repositories used in your organization from a single, central location, including adding and defining objects, modifying objects and their descriptions, parameterizing repositories to make them more generic, maintaining and organizing repositories, merging repositories, and importing and exporting repositories in XML format.

Each object repository contains the information that enables QuickTest to identify the objects in your application. QuickTest enables you to maintain the reusability of your tests by storing all the information regarding your test objects in a shared object repository. When objects in your application change, the Object Repository Manager provides a single, central location in which you can update test object information for multiple tests.

If an object with the same name and description is located in both the local object repository and in a shared object repository that is associated with the same action, the action uses the local object definition. If an object with the same name and description is located in more than one shared object repository, and these shared object repositories are all associated with the same action, QuickTest uses the object definition from the first occurrence of the object, according to the order in which the shared object repositories are associated with the action.

You can use the same shared object repository with multiple actions. You can also use multiple object repositories with each action. Therefore, when the property values of objects in your application change, you should modify the corresponding test object property values in the corresponding object repository so that you can continue to use your existing tests. You can modify objects in a shared object repository using the Object Repository Manager. You can modify objects stored in a local object repository using the Object Repository window.

qtp: object spy in QTP

Object spy in QTP

Object spy is the very much important tool in qtp. With the use of Object spy we can learn basic structure of test object. The main advantage of object spy is that we can see object structure of specific object in tree view. So that makes test object more understandable and easier.

In addition to this we can view the run-time and test object properties and methods of any object in open application.

Now let’s understand and use object spy practically.

How to use Object spy in qtp?

1. Go to Tools->Object spy.
2. One window named Object Spy will open
3. Then open the application whose object properties or methods you want to see.
4. Then just click on “Pointer image” of object spy window.
5. Click on Object whose object properties or methods you want to see.



Above figure is window of object spy. I have used “object Spy” tool on “google.com” logo “Google’. QTP recognize this logo 'Google' as image. Using Object spy you can view two things one is properties of specific object and second is methods applicable for that object.

Use of Object spy:

- You can view different object properties of selected objects.
- Let’s see some example, you can know file name of image see in fig. �"

Tuesday, August 25, 2009

Bug Life Cycle & Guidelines

Introduction:

Bug can be defined as the abnormal behavior of the software. No software exists without a bug. The elimination of bugs from the software depends upon the efficiency of testing done on the software. A bug is a specific concern about the quality of the Application under Test (AUT).

Bug Life Cycle:

In software development process, the bug has a life cycle. The bug should go through the life cycle to be closed. A specific life cycle ensures that the process is standardized. The bug attains different states in the life cycle. The life cycle of the bug can be shown diagrammatically as follows:

The different states of a bug can be summarized as follows:

1. New
2. Open
3. Assign
4. Test
5. Verified
6. Deferred
7. Reopened
8. Duplicate
9. Rejected and
10. Closed

Description of Various Stages:

1. New: When the bug is posted for the first time, its state will be “NEW”. This means that the bug is not yet approved.

2. Open: After a tester has posted a bug, the lead of the tester approves that the bug is genuine and he changes the state as “OPEN”.

3. Assign: Once the lead changes the state as “OPEN”, he assigns the bug to corresponding developer or developer team. The state of the bug now is changed to “ASSIGN”.

4. Test: Once the developer fixes the bug, he has to assign the bug to the testing team for next round of testing. Before he releases the software with bug fixed, he changes the state of bug to “TEST”. It specifies that the bug has been fixed and is released to testing team.

5. Deferred: The bug, changed to deferred state means the bug is expected to be fixed in next releases. The reasons for changing the bug to this state have many factors. Some of them are priority of the bug may be low, lack of time for the release or the bug may not have major effect on the software.

6. Rejected: If the developer feels that the bug is not genuine, he rejects the bug. Then the state of the bug is changed to “REJECTED”.

7. Duplicate: If the bug is repeated twice or the two bugs mention the same concept of the bug, then one bug status is changed to “DUPLICATE”.

8. Verified: Once the bug is fixed and the status is changed to “TEST”, the tester tests the bug. If the bug is not present in the software, he approves that the bug is fixed and changes the status to “VERIFIED”.

9. Reopened: If the bug still exists even after the bug is fixed by the developer, the tester changes the status to “REOPENED”. The bug traverses the life cycle once again.

10. Closed: Once the bug is fixed, it is tested by the tester. If the tester feels that the bug no longer exists in the software, he changes the status of the bug to “CLOSED”. This state means that the bug is fixed, tested and approved.

While defect prevention is much more effective and efficient in reducing the number of defects, most organization conducts defect discovery and removal. Discovering and removing defects is an expensive and inefficient process. It is much more efficient for an organization to conduct activities that prevent defects.

Guidelines on deciding the Severity of Bug:

Indicate the impact each defect has on testing efforts or users and administrators of the application under test. This information is used by developers and management as the basis for assigning priority of work on defects.

A sample guideline for assignment of Priority Levels during the product test phase includes:

  1. Critical / Show Stopper — An item that prevents further testing of the product or function under test can be classified as Critical Bug. No workaround is possible for such bugs. Examples of this include a missing menu option or security permission required to access a function under test.
    .
  2. Major / High — A defect that does not function as expected/designed or cause other functionality to fail to meet requirements can be classified as Major Bug. The workaround can be provided for such bugs. Examples of this include inaccurate calculations; the wrong field being updated, etc.
    .
  3. Average / Medium — The defects which do not conform to standards and conventions can be classified as Medium Bugs. Easy workarounds exists to achieve functionality objectives. Examples include matching visual and text links which lead to different end points.
    .
  4. Minor / Low — Cosmetic defects which does not affect the functionality of the system can be classified as Minor Bugs.

Guidelines on writing Bug Description:

Bug can be expressed as “Result followed by the action”. That means, the unexpected behavior occurring when a particular action takes place can be given as bug description.

  1. Be specific. State the expected behavior which did not occur - such as after pop-up did not appear and the behavior which occurred instead.
  2. Use present tense.
  3. Don’t use unnecessary words.
  4. Don’t add exclamation points. End sentences with a period.
  5. DON’T USE ALL CAPS. Format words in upper and lower case (mixed case).
  6. Mention steps to reproduce the bug compulsorily.

Wednesday, August 19, 2009

Software testing Video

http://www.youtube.com/watch?v=zZdQ6HXXDiE&feature=channel

http://www.youtube.com/watch?v=B_yYAbQVitQ&feature=channel