How and When Testing Starts

.. Continuing the Beginners Guide to Software Testing series

For the betterment, reliability and performance of an Information System, it is always better to involve the Testing team right from the beginning of the Requirement Analysis phase. The active involvement of the testing team will give the testers a clear vision of the functionality of the system by which we can expect a better quality and error-free product.

Once the Development Team-lead analyzes the requirements, he will prepare the System Requirement Specification, Requirement Traceability Matrix. After that he will schedule a meeting with the Testing Team (Test Lead and Tester chosen for that project). The Development Team-lead will explain regarding the Project, the total schedule of modules, Deliverable and Versions.

The involvement of Testing team will start from here. Test Lead will prepare the Test Strategy and Test Plan, which is the scheduler for entire testing process. Here he will plan when each phase of testing such as Unit Testing, Integration Testing, System Testing, User Acceptance Testing. Generally Organizations follow the V – Model for their development and testing.
After analyzing the requirements, Development Team prepares System Requirement Specification, Requirement Traceability Matrix, Software Project Plan, Software Configuration Management Plan, Software Measurements/metrics plan, Software Quality Assurance Plan and move to the next phase of Software Life Cycle ie., Design. Here they will prepare some important Documents like Detailed Design Document, Updated Requirement Traceability Matrix, Unit Test Cases Document (which is prepared by the Developers if there are no separate White-box testers), Integration Test Cases Document, System Test Plan Document, Review and SQA audit Reports for all Test Cases.

After preparation of the Test Plan, Test Lead distributes the work to the individual testers (white-box testers & black-box testers). Testers work will start from this stage, based on Software Requirement Specification/Functional Requirement Document they will prepare Test Cases using a standard Template or Automation Tool. After that they will send them for review to the Test Lead. Once the Test Lead approves it, they will prepare the Test Environment/Test bed, which is specifically used for Testing. Typically the Test Environment replicates the Client side system setup. We are ready for Testing. While testing team will work on Test strategy, Test plan, Test Cases simultaneously the Development team will work on their individual Modules. Before three or four days of First Release they will give an interim Release to the Testing Team. They will deploy that software in Test Machine and the actual testing will start. The Testing Team handles configuration management of Builds.

After that the Testing team do testing against Test Cases, which are already prepared and report bugs in a Bug Report Template or automation Tool (based on Organization). They will track the bugs by changing the status of Bug at each and every stage. Once Cycle #1 testing is done, then they will submit the Bug Report to the Test Lead then he will discuss these issues with Development Team-lead after which they work on those bugs and will fix those bugs. After all the bugs are fixed they will release next build. The Cycle#2 testing starts at this stage and now we have to run all the Test Cases and check whether all the bugs reported in Cycle#1 are fixed or not.

And here we will do regression testing means, we have to check whether the change in the code give any side effects to the already tested code. Again we repeat the same process till the Delivery Date. Generally we will document 4 Cycles information in the Test Case Document. At the time of Release there should not be any high severity and high priority bugs. Of course it should have some minor bugs, which are going to be fixed in next iteration or release (generally called Deferred bugs). And at the end of Delivery Test Lead and individual testers prepare some reports. Some times the Testers also participate in the Code Reviews, which is static testing. They will check the code against historical logical errors checklist, indentation, proper commenting. Testing team is also responsible to keep the track of Change management to give qualitative and bug-free product.

Also ssee: Why Start Testing Early.

Requirement Specification document Review Guidelines and Checklists


To prepare effective test cases, testers and QA engineers should review the software specs documents carefully and raise as much queries as they can.
The purpose of Software Requirement Specification Review is to uncover problems that are hidden within the specification document. This is a part of defect prevention. These problems always lead the software to incorrect implementation. So following guidelines for a detailed specification review is suggested:
1. Always review specification document with the entire testing team. Discuss each point with team members.
2. While reviewing specification document, look carefully for vague/fuzzy terms like – “ordinarily, most, mostly, some, sometimes, often, and usually” and ask for clarification.
3. Many times it happens that list values are given but not completed. Look for terms: “etc., and so forth, and so on, such as.” And be sure all the items/list values are understood.
4. When you are doing spec review, make sure stated ranges don’t contain unstated/implicit assumptions. For example: “The range of Number field is from 10 to 100.
But is it Decimal? Ask for Clarification.
5. Also take care of vague/fuzzy terms like – skipped, eliminated, handled, rejected, processed. These terms can be interpreted in many ways.
6. Take care of unclear pronouns like – “The ABC module communicates with the XYZ module and its value is changed to 1.” But whose value (of ABC Module or XYZ Module)?
7. Whenever a scenario/condition is defined in paragraph, then draw a picture of that in order to understand and try to find the expected result. If paragraph is too long, break it in multiple steps. It will be easy to understand.
8. In the specification document, if a scenario is described which hold calculations, then work on its calculations with minimum two examples.
9. If any point of the specs is not clear then get your queries resolved from the Business Analyst or Product Manager as soon as possible.
10. If any mentioned scenario is complex then try to break it into points.
11. If there is any open issue (under discussion) in the specs (sometimes to be resolved by client), then keep track of those issues.
12. Always go thru the revision history carefully.
13. After the specs are sign off and finalized, if any change come, then see the impacted areas.


HP QTP Certification HP0-M016 Exam Sample Question Bank

Question Bank:
1. QTP workflow Phases
2. what are the conditional statements provided in QTP?
3. Break point is used to :
4. What is the first step to change the logical name of the object recorded by Quick test?
5. Where can you find the result of an output parameter?
6. Where do you set action iterations for a specified action?
7. which of the following is created by default with new action?
8. What are the default addins provided by QTP?
9. Which source property specifies that data is retrieved from database?
10. Local object Repository is used for Single action tests.
11. shared object Repository is created in Object Repository Manager.
12. which tool is used to merge two shared object repositories.
13. Low level Recording is used to record:
14. virtual objects are stored in : dat folder…
15. bitmap checkpoint takes into consideration:
16. When using recovery scenario wizard ,the first phase is to specify : Trigger
17. Trigger events : popup window,object state, test run error,application crash
18. GetToProperty is used to:
19. Two ADODB objects are : Recordset and Connection.
20. Close method is used to close the data base session.
21. Exportsheet is used for
22. recovery scenario: is used to handle exceptions.
23. Action iterations are set in: Action call properties.
24. question on step generator.
25. information pane and missing resource used for?
26. where do you enable smart identification?
27. environment variable types: User defined and built-in.
28. One more area to look into is Menu options i.e., where to look to enable or disable different features of QTP .There are around 4 to 5 questions covering the same.

29. QTP workflow Phases
30. what are the conditional statements provided in QTP?
31. Break point is used to :
32. What is the first step to change the logical name of the object recorded by Quick test?
33. Where can you find the result of an output parameter?
34. Where do you set action iterations for a specified action?
35. which of the following is created by default with new action?
36. What are the default addins provided by QTP?
37. Local object Repository is used for Single action tests.
38. shared object Repository is created in Object Repository Manager.
39. which tool is used to merge two shared object repositories.
40. Low level Recording is used to record:
41. virtual objects are stored in : dat folder…
42. bitmap checkpoint takes into consideration:
43. When using recovery scenario wizard ,the first phase is to specify : Trigger
44. Trigger events : popup window,object state, test run error,application crash
45. GetToProperty is used to:
46. Two ADODB objects are : Recordset and Connection.
47. Close method is used to close the data base session.
48. Exportsheet is used for
49. Recovery scenario: is used to handle exceptions.
50. Action iterations are set in: Action call properties.
51. Question on step generator.
52. information pane and missing resource used for?
53. environment variable types: User defined and built-in.
54. By which type, procedure parameters passes the values: By Ref
55. If we create a procedure under any test/script, Where we can use it: Test/script in which it is created, not callable from other test
56. If we create a procedure under function library, how does it save with which extension: .QFL
57. What is the difference between function and subroutine: function can return a value, where as subroutine cannot.
60 What are the different STEP commands: Step In, Step Out, Step Over

61 Which keyword is used for counter increment Under For…Next loop: Step
62 In Do Loop, at which point the condition is checked to proceed for next iteration: End of the loop, minimum one iteration will execute
63 What is the first step to use the low level recording mode: Open in Normal mode
64 How do register a procedure/function to a test object : RegisterUserFunc
65 How do you bypass the object repository: Descriptive Programming or Programming Desc
66 Where do you set the action as reusable action: Action Properties
67 Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default: One time
68 Test –>Settings –> Run tab belongs to which sheet: Global
69 Global Data sheet is having no records and Local Data sheet is having two records, how many times the test executes: One time
70 How do you find the number of columns in database table: Fields.Count
71 What will return for ChildObjects method?: Collection object
72 Where can u set the smart identification “ON”: object identification
73 How can we release the database after its use: close the connection and recordset objects
74 How can u link individual actions to shared repository :resources>associate repositories
75 which object properties are shown in object identification box: Mandatory and assistive
76 where can we disable the virtual object recognition: general options
77 how to associate a procedure to a test object class: register user func
78 which object is used in sending information to the test results.: Reporter
79 what is default identifier type for web objects: index
80 test object properties are: those mentioned in object identification box and in object repository
81 which object is used to read from text file: file system
82 A dot followed by object in expert

—————-

1 QTP workflow Phases Prepare, record, Verify/enhance, Integrate
2 what are the conditional statements provided in QTP? Do Loop, For Next, While Wend
3 Break point is used to : Pause the execution at the specified point, before executing the step
4 What is the first step to change the logical name of the object recorded by Quick test? Open Object Repository???
5 Where can you find the result of an output parameter? Runtime Data Table
6 Where do you set action iterations for a specified action? Action Call Properties
7 which of the following is created by default with new action? Local Data Sheet, Folder, —-
8 What are the default addins provided by QTP? ActiveX, VB, Web
9 Which source property specifies that data is retrieved from database? Source
10 Local object Repository is used for Single action tests.
11 shared object Repository is created in Object Repository Manager.
12 which tool is used to merge two shared object repositories. Object Repository Manager
13 Low level Recording is used to record: Exact coordinates of mouse movements
14 Virtual objects are stored in : dat folder… Under VOCollection folder
15 bitmap checkpoint takes into consideration: Screen Resolution, Image Size??
16 When using recovery scenario wizard ,the first phase is to specify : Trigger Trigger
17 Trigger events : popup window,object state, test run error,application crash
18 GetToProperty is used to: Retrieve the value of property of test object
19 Two ADODB objects are : Recordset and Connection.
20 Close method is used to close the data base session. ??
21 Exportsheet is used for to export the local data sheet to excel file
22 Recovery scenario: is used to handle exceptions.
23 Action iterations are set in: Action call properties.
24 Options available under Category dropdown of Step Generator window Test Objects, Utility Objects, Functions
25 Information pane used for? to find out syntax errors
26 Missing resource used for? displays the missing resources under test e.g., objects..
27 where do you enable smart identification? Object Identification
28 environment variable types: User defined and built-in.
29 Where do you find “disable recognition of virtual objects while recording” option Tools -> Options
30 Where do you configure an action to use shared object repository Associate Object Repositories tool
31 By which type, procedure parameters passes the values By Ref
32 If we create a procedure under any test/script, Where we can use it Test/script in which it is created, not callable from other test
33 If we create a procedure under function library, how does it save with which extension .QFL
34 What is the difference between function and subroutine function can return a value, where as subroutine cannot.
35 What are the different STEP commands Step In, Step Out, Step Over
36 Which keyword is used for counter increment Under For…Next loop Step
37 In Do Loop, at which point the condition is checked to proceed for next iteration End of the loop, minimum one iteration will execute
38 While merging the two object repositories, what are the filter options available for target object repository ??
39 What is the first step to use the low level recording mode Open in Normal mode
40 How do register a procedure/function to a test object RegisterUserFunc
41 How do you bypass the object repository Descriptive Programming
42 Where do you set the action as reusable action Action Properties
43 Global Data sheet is having one record and Local Data sheet is having two records, how many times the test executes by default One time
44 Test –>Settings –> Run tab belongs to which sheet Global
45 Global Data sheet is having no records and Local Data sheet is having one record, how many times the test executes by default One time
46 How do you find the number of columns in database table Fields.Count
47 What will return for ChildObjects method? Collection object

QTP Sample paper – Part 14 – **** Mostly asked questing in QTP Certification – 5…

1) You cannot expand …… actions from the test flow
view.
A) reusable
B) non-reusable
C) both A & B
D) None

2) You can associate shared object repositories with
…… actions simultaneously, using the Associate
Repositories dialog box
A) seven
B) Two
C) Three
D) Multiple

3) You can associate ……. object repositories with
an action, and the same object repository can be
associated with different actions as needed
A) Nine
B) Twenty one
C) as many as you need
D) Twelve

4) Sometimes you may want to call an action from
within an action. This is called …….
A) Reusability
B) Nesting
C) Sharing
D) None

5) If a reusable action is called more than once in a
test and you split the action into two independent
actions, each call to the action within the test will be
followed by a call to the new (reusable) action. If a
reusable action is called from another test, however,
…… it may cause the calling test to fail.
A) Nesting
B) Splitting
C) Reusing
D) Both A & C

6) You must use the …… Action option in QuickTest
if you want to save an action under another name.
A) Resave
B) Rename
C) Reuse
D) Split

7) When you remove an external action, you remove all
calls and the action from the action list. The original
action is also affected.
A) True
B) False

8) You can also press …… to open the Rename Action
dialog box
A) Shift + F2
B) Shift + F3
C) Shift + F4
D) Shift + F5

9) If you want to include one or more statements in
every new action in your test, you can create an ….
A) reusable action
B) split action
C) Function
D) action template

11) Only the file name …… is recognized as an
action template
A) ActionTemplate.mst
B) Action_Template.mst
C) Action-Template.mst
D) ActionTemplates.mstAnswers:
1) a 2) d 3) c 4) b 5) b 6) b 7) b 8) a 9) d 11) a

QTP Sample paper – Part 13 – **** Mostly asked questing in QTP Cerification – 4…

1. When a procedure is created in the Function Library editor, what is the extension on the file?

A. .INI
B. .TXT
C. .QFL
D. .VBS

2. What are the categories in the Step Generator?

A. Object, Operation, Value
B. Library, Built-in, Local Script
C. Operation, Arguments, Return Value
D. Test Objects, Utility Objects, Functions

3. In Test Settings ->Run the Data Table iteration options are for which data sheet?

A. Local
B. Global
C. Run-time Data Table
D. Design-time Data Table

4. What can you use to handle unpredictable testing exceptions?

A. A Do Loop
B. Recovery Scenario
C. IFHEN statement
D. Selectase statement

5. In which command can you associate a function library to a test?

A. Run Options
B. Test Settings
C. View Options
D. Function Definition Generator

6. Where do you set the action iterations for a specified action?

A. Action Settings
B. Action Properties
C. Action Run Settings
D. Action Call Properties

7. Where do you mark an action as reusable?

A. Action Settings
B. Action Properties
C. Action Run Settings
D. Action Call Properties

8. After running a test that contains both input and output parameters, where can the results of an
output parameter be found?

A. Local DataSheet
B. Global DataSheet
C. Run-time Data Table
D. Design-time Data Table

9. If you have a Virtual Object Collection stored on your machine, and you don’t want to use it, what
must you do?

A. Disable Virtual Objects in Test Settings
B. Remove the Collection from your machine
C. Disable Virtual Objects in General Options
D. Remove the Collections from the Resources list

10. Which method for the DataTable utility object will allow you to retrieve information from the Data
Table during a test run?

A. Value
B. Import
C. GetCell
D. GetValue
Answers:
1 2 3 4 5 6 7 8 9 10
C D B B B D B C C A