Subscribe by Email


Showing posts with label Menu. Show all posts
Showing posts with label Menu. Show all posts

Friday, October 19, 2012

What are the default test plans attributes? How to define new test plan attributes?


Test plan is one of the important aspects of the silk test and is often characterized by some default attributes called the default test plan attributes. Well, the default test plan attributes are what we are going to talk about in this article. We shall also discuss how new test plan attributes can be defined. 

What is a Test Plan?

- A test plan forms the basis of the primary document that lays down the foundation for the testing that is to be carried out in a manner that is well organized. 
- Test plan is very important for the project managers as it is the document using which the testing projects can be managed well. 
- A badly drawn test plan is just same as not having any test plan.
- On the other hand, an intelligently drawn plan helps in smooth execution of the test cases and analysis of the other testing activities. 
- It would not be wrong to say that the test plan is actually a kind of dynamic document. 
- It acts especially in the spiral environments which have a tendency to change constantly. 
- The test plan is said to be a dynamic document since it changes according to the changes that occur in the software system or application. 
- Basically, a frame work is provided by the test plan which consists of a majority of the considerations that are made while planning. 

Attributes of Test Plan

Below mentioned are some of the attributes of a good test plan:
  1. It stands a greater probability of catching majority of the defects of an application under test or AUT.
  2. It provides greater test coverage for covering most of the test code.
  3. It stays quite flexible throughout the testing process.
  4. It is easy to be executed over and again automatically.
  5. It properly defines the tests that are to be performed.
  6. It lists out the expected results as clearly as possible.
  7. It helps in reconciliation of the defects whenever a defect is found.
  8. It helps in defining the objectives of testing.
  9. It helps in defining the testing strategy in definite terms.
  10. It helps in defining the criteria of test exit.
  11. It always stays meaningful.
  12. It never becomes become redundant.
  13. It helps in identification of the risks
  14. It helps in defining the test requirements as clearly as possible.
  15. It helps in describing the test deliverable as clearly as possible.
Every test plan created is concluded with the following 3 steps:
  1. Defining metrics
  2. Conducting periodic audits as well as scheduling them
  3. Approving the test plan
In the test plan view window, there is a tab titled “attributes” clicking on which will enable you to see all the project attributes that have been assigned to that particular test. Attributes can be thought of as an administrator created characteristics that are quite applicable to the tests. 
An attribute is defined as follows:
- item
Description
- Attribute
Name of the attribute
- value
Value that has been assigned to the attribute
- Type
Attribute type
- Inheritance
Whether or not the attribute is inherited

- The concept of inheritance in attributes is somewhat similar to what we have regarding the inheritance of success conditions and properties. 
- Attributes that are inherited throughout all the child test definitions and sub folders are assigned to a parent node. 
- To define an attribute follow the steps:
  1. Open the test project.
  2. Click define attributes menu
  3. Click new button.
  4. Enter the name for the new attribute.
  5. Select the attribute type.
  6. Click ok.


Thursday, September 6, 2012

What is split action and the purpose of using this in QTP?


Well, here is another article that talks about what is meant by split action and what purpose does it has to serve in test automation using quick test professional. 
In quick test professional, after recording of an action it has to be split in to various parts. This is known as split action. 

In quick test professional two types of split actions have been provided as mentioned below:
  1. Splits independent to each other and
  2. Nested splits
- After the recording is complete, it is run and designed the option “keyboard view” is selected and the part to be highlighted is clicked. 
- After this the “split action” option is selected from the step menu for splitting the action. 
- Before you decide to split, you should always remember that once you split the action, it cannot be undone. 
- Your original recorded action will be lost and you won’t be able to recover it. - Therefore, to avoid such kind of situations it is important that the recorded action must be saved the very before splitting it. 
- Saving before splitting is always recommended.
- In some cases multiple split actions that are independent of each other can be obtained. 
- There are several advantages of split action:
  1. With the actions tests can be divided in to business processes and logical units.
  2. With actions quite a modular and efficient scripts can be created.
  3. Multiple actions can be contained within a test script.
- The action that is stored in the test scripts that you recorded can be split either in to parent child nested actions or in to sibling actions. 
- Whenever you split an action the beginning of the other part of the action takes place from the step that was selected during the process of splitting the action. 
- You cannot split an action under following situations:
  1. If you already have an external action in selection.
  2. You have selected the first step of an action.
  3. Some read only test is active.
  4. Running a test
  5. Recording of a test is in progress.
- Some tests make use of a local repository and so while splitting actions contained in such tests following things happen:
  1. A copy of local repository is created by the quick test professional.
  2. The two action splits are assigned the identical local object repositories. Such local repositories consist of all the objects that were present in the original local object repository.
  3. If the objects are added to only one of the split actions, those objects are added to the local object repository of that action only.
- To split an action you need to select the particular step before which according to you lies the starting of the second action. 
- Now, go to the edit menu, the action, and then to split action. 
- Up on clicking on this option you get a split action dialog box. 
- Select the type of actions you want to have i.e., independent or nested. 
- Here, you can also modify the names and description of the two actions in their respective names and description boxes. 
- One important point that you should always take care of is that if you call a reusable action through another test, splitting such an action will cause the test to fail.

Basic purpose of Split Action

- The basic purpose the split action serves is that it makes the application reusable. 
- The reusability is increased since the actions are divided based up on their functionality. 
- Another point is that calling an action is same as asking to execute it and only reusable functions can be called. 


Facebook activity