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 no 16: Checking Tables tutorials

  • In this section, you will add a table checkpoint to check the cost of the outbound flight, as displayed in the Book a Flight: Mercury page.

  • Locate the page where you want to add a table checkpoint.

  • In the Keyword View, expand Welcome: Mercury Tours > Book a Flight: Mercury.

  • Highlight the passFirst0 step (the step that enters the passenger’s first name into the First Name edit box). The page is displayed in the Active Screen.

  • Create a table checkpoint.

  • In the Active Screen, right-click the price displayed for the first flight (New York to San Francisco)—270—and choose Insert Standard Checkpoint.

  • The Object Selection – Checkpoint Properties dialog box opens. Select WebTable: New York to San Fransisco.


checkpoint properties


  • Note that the table you selected is highlighted in the Active Screen. Click OK.

  • The Table Checkpoint Properties dialog box opens, showing the rows and columns of the table.

checkpoint properties


  • In the Name box, enter CheckCost as the new checkpoint name.

  • Note that by default, check marks appear in all cells. You can double-click a cell to toggle the cell selection, or double-click a row or column header to toggle the selection for all the cells in the selected row or column.

  • Double-click each column header to clear the check marks. Double-click column 3, row 3 to check the value of this cell. (QuickTest checks only cells containing check marks.)



  • Scroll through the rows and columns to make sure that only the cell in column 3, row 3 is checked. If any other cells are checked, select each checked cell and click the Remove from Check button.

  • Tip: You can change the column widths and row heights by dragging the boundaries of the column and row headers.

  • Accept the rest of the settings as default and click OK.

  • QuickTest adds the table checkpoint to your test. It is displayed in the Keyword View as a new step under the Book a Flight: Mercury page.

  • Save the test. Choose File > Save or click the Save button.

  • Configuring Values

  • QTP enables you to configure the values for properties and other items by defining a value as a constant or a parameter. you can set values by following 2 ways.

  • Constant sets the expected value of the text before the checked text as constant. It is a value that is defined directly in the step and remains unchanged for the duration of the test.

  • Parameter sets the expected value of text as parameter. It is a value that is defined or generated separately from the step and is retrieved when the specific step runs. A parameter value is defined in an external file usually from Global Data file or Action data sheet.

  • To set parameter you have to use Keyboard view and click on value column of selected row. When you click the parameterization icon it gives you Value configuration Option dialog box as follow


Value configuration options


Pr.Pg border                                              Next Pg