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

Setting Windows Applications Record and Run Options tutorials

  • In QTP when you click Record button it gives you choice i.e. Web or Windows Application

  • The Windows Application tab defines your preferences for recording and running tests on Windows applications including Standard Windows, Visual Basic, and ActiveX applications.

sw testing windows application

 

Option

Description

Record and runtest on any open Windows-basedApplication

Instructs QuickTest to record and run on any open Windows-based application. It records all operations performed on any Windows-based application that is opened while recording your test (including e-mail applications, file management applications, and so forth). QuickTest only records and runs on applications that have a user interface,

Note: Make sure that all the applications on which you want to record are currently closed. QuickTest can record on the applications that you open manually only after you select this option and click OK. Instances of these applications that are already open when the Record and Run Settings dialog box opens may be ignored or may not be recorded correctly.

Record and run only on

Instructs QuickTest to restrict its record and run operations to one or more of the following options:

Applications opened by QuickTest. This option records and runs only on applications invoked by QuickTest (as child processes of QuickTest). For example, applications opened during a record or run session using a SystemUtil.Run statement, or using a statement such as Set shell = createobject("wscript.shell"); shell.run "notepad".

Applications opened via the Desktop (by the Windows shell). This option records and runs only on applications that are opened via the Windows Desktop. For example, applications opened from the Windows Start menu, by double-clicking executable files in the Windows Explorer, by double-clicking a shortcut on the Windows Desktop, or by clicking icons on the Quick Launch bar.

Applications specified below. This option records and runs only on applications listed in the Application details area. This is the recommended option to use.

When working with standard Windows applications only, you can manually add steps to your test and then run them, even if you select this option and leave the

Application details area blank (or if the list does not contain the application for which you want to add a step).

 

Note: Make sure that all the applications listed in the Application details area are currently closed. QuickTest can record only on the instances of the specified applications that are opened after you select this option and click OK. Instances of these applications that are already open when the Record and Run Settings dialog box opens may be ignored or may not be recorded correctly.

sw testing

Opens the Application Details dialog box to enable you to add an application to the application list. You can add up to ten applications.

dialog box

Opens the Application Details dialog box to enable you to edit the application details for the selected application.

sw testing

Deletes the selected application from the application list.

 

Adding or Editing Application Details

When you click the Add or edit buttons Edit buttons in the Windows Applications tab of the Record and Run dialog box, the Application Details dialog box opens.

 

sw testing application details

 

Option

Description

Application

Instructs QuickTest to record and run on the specified executable file.

You can enter the executable file as a relative path. During the run session, QuickTest searches for the file in the folder for the current test, and then in the folders listed in the Folders tab of the Options dialog box.

The Application box should contain only the file name and path for the application. If you want to add command line arguments, use the Program arguments box.

The full path name is used to launch an application only when Launch application is selected. QuickTest records and runs on any application with the specified executable file name. For example, if you specify C:\Windows\Notepad.exe,

QuickTest records on a Notepad application invoked from any folder.

Tip: You can specify a document or other file associated in the file system with an application, for example, c:\tmp\a.txt. In this case, QuickTest automatically opens the specified file in the associated application (Notepad in this example). If you use

this option, QuickTest ignores any defined program arguments.

Working Folder

Optional. Specifies the current working folder for the application. The current working folder is used by the application to search for related files. If a working folder is not specified, the executable folder is used as the working folder.

Note: This parameter is used only when Launch application is selected. If Launch application is not selected, its value has no effect.

Program Arguments

Optional. Instructs QuickTest to open the application using the specified command line arguments.

Note: This parameter is used only when Launch application is selected. If Launch application is not selected, its value has no effect.

Launch Application

Instructs QuickTest whether to launch the selected application when the record and run session begins. By default, this option is selected.

Include Descendant Process

Instructs QuickTest whether to record and run on processes created by the specified application during the record and run session. For example, a process that is used only as a launcher may create another process that actually provides the

application functionality. This descendant process must therefore be included when recording or running tests on this application, otherwise the functionality will not be recorded,or the run session will fail.

By default, this option is selected.

 

Pr.Pg border                                              Next Pg