Software Testing

1. Software Testing Intro 2. What is Testing 3. Why Software Testing necessary 4. Role of Testing 5. General Testing Principles 6. Types of Software Testing 7. Load,Performance & Stress Test 8. Software Development Process 9. Project/System Life Cycle 10. Difference between terms 11. Manual V/s Automated Testing 12. Economic of Bug/Error/Fault 13. Fundamental Test Process 14. Software Testing Tools 15. HP- QTP 16. Installing QTP 9.2 17. Ex.01 Evaluating AUT 18. Ex.01 Answer 19. Ex.02 Learning AUT 20. QTP 9.2 / 10 21. QTP Window Layout 22. Test Object Model 23. Applying Test Object Model 24. Object SPY & Object Properties 25. Designing Test 26. Ex.03 Record & Running a Test 27. Ex.03 Answer 28. Saving a Test 29. Printing a Test 30. App. Record & Run Options 31. Ex.04 Sample Web Site 32. Web Record & Run options 33. Ex.05 Recording a Test 34. Working with Keyword View 35. Keyword View Description 36. Recorded Object Hierarchy 37. Ex.06 Identifying Objects 38. Ex.06 Answers 39. Keyword view columns 40. Microsoft VBScripting 41. Running VBScript 42. Msgbox Function 43. Variable 44. VBScript and QTP 45. Print statement 46. InputBox function 47. Operator Precedence 48. Cint( ) function 49. Data Types 50. VarType( ) Function 51. TypeName( ) Function 52. Cbool( ) Function 53. Cbyte( ) Function 54. Cdate( ) Function 55. CDbl( ) Function 56. Cint( ) Function 57. CLng( ) Function 58. CSng( ) Function 59. CStr( ) Function 60. If Then - End If statement 61. If Then -Else-End If statement 62. If-Elseif-Else-End If Statement 63. Len( ) Function 64. Left( ) Function 65. Right( ) Function 66. Mid( ) Function 67. Ltrim(), Rtrim(), Trim() Function 68. For-Next Statement 69. Array Function 70. ABS( ) Function 71. ASC( ) Function 72. Chr( ) Function 73. Date( ) Function 74. Now( ) Function 75. DateAdd( ) Function 76. Time( ) Function 77. DateDiff( ) Function 78. InStr( ) Function 79. InStrRev( ) Function 80. StrComp( ) Function 81. Lcase( ) Function 82. Ucase( ) Function 83. Rnd( ) & Randomizer 84. Round( ) Function 85. VBScript Procedure 86. Ex.07 QTP Logon App.Script 87. Ex.08 Synchronization 88. Ex.09 Synchronization I/O 89. Ex.10 Output Parameter 90. Ex.11 Create Input Parameter 91. Check Points 92. Ex.12 Add Standard Checkpoint 93. Ex.13 Checking Objects 94. Ex.14 Page Checkpoint 95. Ex.15 Checking Text 96. Ex.16 Checking Tables 97. Ex.17 Parameterization Test 98. Testing Interview Part1 99. Testing Interview Part2 100.Testing Interview Part3 101.Testing Interview Part4 102.Testing Interview Part5 103.Testing Interview Part6 104.Testing Interview Part7 105.Testing Interview Part8 106.Testing Interview Part9 107.Testing Interview Part10 108.Testing Interview Part11
Pr.Pg Next Pg

Exercise 2: Learning the AUT (Application Under Test) tutorials

  • Before you can create and write automated test and script, you need to learn application.

  • We will start with Mercury Flight Reservations.

  • You will launch Application and perform a simple exercise.


Part 1: Create and Insert a New Order

1) From the START menu, select PROGRAMS > QUICKTEST PROFESSIONAL > SAMPLE APPLICATIONS > FLIGHT. The login screen appears.

2) Log in using the ( AGENT NAME: samir with a PASSWORD: mercury. )


sw testing login screen


3) Click OK. The application will launch the FLIGHT RESERVATION window


sw testing flight reservation screen


4) Enter the following data in the flight reservation fields: date of travel in format "mm/dd/yy", and flying from London to Paris.

5) Click the FLIGHTS button to display the flight schedule.

sw testing flight schedule table page


6) The first flight on schedule is highlighted. Click OK to accept flight or choose another flight & click OK button to close flight schedule

7) In the NAME field, type your name and write name here for future reference here .__________________

8) In the Class field, choose First class radio button.

9) Click INSERT ORDER. Notice how the application processes your reservation and displays an INSERT DONE message when the function is completed.

10) Your order number appears in the bottom right corner of the FLIGHT RESERVATION window. Write the order number assigned to your reservation for future reference here :_______________.


Part 2: Retrieve an Order

1. From the FILE menu, select OPEN > ORDER. The OPEN ORDER screen appear as follow

sw testing order page


2. Put a check in the ORDER NO. field then type your order number for example Order no 12 so on.

sw testing order page


3) Click OK. Your order appears on your screen.

4) Change the date of travel to next date.

5) If flight need to change, it will ask you to select Flight, do as directed.

6) Click UPDATE ORDER. Notice how the application processes your update and displays an

UPDATE DONE message when the function is completed


Part 3: Delete an Order

1) If your flight reservation order is not displayed on your screen, reopen it from the FILE menu

2) Enter your order number and click OK. Your order will appear on your screen.

3) Click the DELETE ORDER button.

4) When the delete confirmation message appears, click YES. Your order is now removed from the database.


Practice following and find out:-

  • What happens if you try to logon using some other name

  • What happens if you give some other Password other than Mercury?

  • What happens if you try to logon using username with more than 3 characters and less than 3.

  • What happens if you enter date in DD/MM/YY format

  • Can you accept date prior or after current System date?

  • Could you retrieve earlier entered Order using name?

  • Could you retrieve earlier entered Order using Order No?

  • Could you Delete earlier entered Order?

  • What is given reports?

  • Have you confirmed that once order is entered and then viewed in report, after deleting it appears in Report?


Pr.Pg border                                              Next Pg