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. Intro.to 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

Check points tutorials

  • A checkpoint is a verification point that compares a current value for a specified property with the expected value for that property.

  • This enables you to identify whether Web site or Application is functioning correctly.

  • When you add a checkpoint, QuickTest adds a checkpoint to the current row in the Keyword View and adds a Check CheckPoint statement in the Expert View.

  • By default, the checkpoint name receives the name of the test object on which the checkpoint is being performed. You can choose to specify a different name for the checkpoint or accept the default name.

  • If the current and expected value match, it generate "PASS" status otherwise it generate "FAIL" status

  • When you run the test, QuickTest compares the expected results of the checkpoint to the current results. If the results do not match, the checkpoint fails. You can view the results of the checkpoint in the Test Results window.

  • QTP assigns a default name to checkpoint. You can input your preferred name

  • There are many types of checkpoints and the most generic is the standard checkpoint.

  • Standard checkpoints compare the expected values of object properties captured during recording to the object's current values during a run session

  • A Checkpoint is a confirmation or verification point in which the value of some property which is expected at a particular step is compared with the actual value which is displayed in the application. Based on the expected values Checkpoints are classified as follows

 

Understanding Types of Checkpoints

 

Types

Description

Example of use

Standard Checkpoint

Checks values of an objectís properties in application or Web Page.

It can check variety of objects such as buttons, radio buttons, combo boxes, lists etc.

 

Check that a radio button is selected

Image Checkpoint

Checks the property value of an image in Web Page or Application

Compare Image Option Enable to compare the expected and Actual Image Source File.

 

Check that the image source file is correct

Table Checkpoint

You can create Table checkpoint by inserting Standard Checkpoint on Table object.

It Checks information in a table

 

Check that the value in a table cell is correct

Page checkpoint

A standard Checkpoint created on Webpage is called Page Checkpoint

Checks the characteristics of Web page

Used to check total number of links and images on web page.

Can check Load Time i.e. Time taken to load Web page

Can check Broken Links

 

Check how long a Web Page takes to load or if Web Page contains broken links.

Text Checkpoint

Checks that a text string is displayed in the appropriate place in a Web page or application

Check whether the expected text string is displayed in the expected location in a text object

Text Area Checkpoint

Checks that a text string is displayed within a defined area in a Windows-based application

Check that an area of a dialog box includes text that was entered in another part of the application

Bitmap Checkpoint

Checks an area of webpage or application after capturing it as a bitmap.

During recording you can insert a bitmap checkpoint. QTP will store it as expected Value

During Script Run, QTP will compare actual Bitmap with expected Bit map and give result.

 

Checks that a Web page or any portion of it is displayed as expected.

Database Checkpoint

Checks the contents of databases accessed by an application or Web site.

 

Check that the value in a database query is correct

Accessibility Checkpoint

It is specific to Web Applications.

Identifies areas of a Web Site to check for Section 508 compliancy.

W3C World Wide Web Consortium came up some guidelines for Web based technology and Information System.

These guidelines make it easy for disabled to access the web.

ALT text property is compulsory for an image.

So Blind person can hear its description using Text to Speech Convertor application.

 

Check if the images of a Web page include ALT properties required by the W3C Web Content Accessibility Guidelines.

For e.g. guideline 1.1 of W3C requires you to provide Text equivalent for every non-text elements. You can add and ALT property check it.

XML Checkpoint

Checks the data content of XML documents

Check the content of an element to make sure that its tags, attributes and values have not changed.

 

Pr.Pg border                                              Next Pg