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 4 HP - Mercury Tours Sample Web Site tutorials

  • Hp - Mercury Tours is the sample Web application used throughout this tutorial. It simulates a Web-based flight information and reservation service. You should familiarize yourself with this application before starting the tutorial.

  • You can access the HP- Mercury Tours Web site using any Web browser, but you can perform the tutorial using only Microsoft Internet Explorer.


Optimizing Browser Settings for Your Test

In Microsoft Internet Explorer, you should clear the option to use AutoComplete for user names and Passwords for the purposes of this tutorial. This ensures that all of your operations are accurately recorded while creating your tests.

To clear the AutoComplete option:

  • In the Microsoft Internet Explorer menu bar, choose Tools > Internet Options > Content tab.

  • Click AutoComplete in the Personal information area. The AutoComplete Settings dialog box opens.

  • In the Use AutoComplete for area, clear the User names and passwords on forms option.

  • Click OK to save your changes and close the AutoComplete Settings dialog box, then click OK again to close the Internet Options dialog box.


Using the HP - Mercury Tours Web Site for the First Time

Before you begin recording your tests on the Mercury Tours Web site, you must register as a user.

To run Mercury Tours:

  • In Microsoft Internet Explorer, type the following URL:

  • (old website name was

  • The Mercury Tours home page opens.

  • From the home page, click the REGISTER navigation link. The Register page opens.

  • In the User Information section at the bottom of the page, enter any user name and password, and confirm your password. (Other information is not required.)

  • Click SUBMIT. Mercury Tours confirms your registration. From this confirmation page, click the sign-in navigation link to enter the application.

  • The SIGN-ON page opens. Enter your registered user name and password, and click SUBMIT.

  • The Flight Finder page opens.


Explore the Mercury Tours site.

  • Beginning with the Flight Finder page, follow the on-screen instructions to get flight information and reserve a flight.

  • On the Book a Flight page, Enter required data

  • NOTE:- Do not enter actual personal or credit card information;

  • Just enter the required information (indicated by red) in the Passengers and Credit Card sections. (You may enter fictitious information.)

  • End your Mercury Tours session.

  • When you have finished exploring the Mercury Tours application, click the LOG OUT button on the Flight Confirmation page or the SIGN-OFF link at the top of any application page.

  • To sign on again, simply enter your registered user name and password in the Sign on page or in the Mercury Tours home page.

  • Close the Web browser.

  • You are now ready to begin using this tutorial to create tests on the Mercury Tours application using QuickTest!


Pr.Pg border                                              Next Pg