INFORMATION ABOUT MANUAL AND AUTOMATION TESTING MATERIAL AND JOB OPENINGS Check www.udyogh.wordpress.com
Tuesday, 19 June 2012
http://www.guru99.com/test-case.html
Check this link and see the video for more information
on test cases
http://www.guru99.com/test-case.html
How to write effective Test cases, procedures and definitions
How to write effective Test cases, procedures and definitions
Posted In | Software Testing Templates, Testing Tips and resources
Here I will share some tips on how to write test cases, test case procedures and some basic test case definitions.
What is a test case?
“A test case has components that describes an input, action or event and an expected response, to determine if a feature of an application is working correctly.” Definition by Glossary
There are levels in which each test case will fall in order to avoid duplication efforts.
Level 1: In this level you will write the basic test cases from the available specification and user documentation.
Level 2: This is the practical stage in which writing test cases depend on actual functional and system flow of the application.
Level 3: This is the stage in which you will group some test cases and write a test procedure. Test procedure is nothing but a group of small test cases maximum of 10.
Level 4: Automation of the project. This will minimize human interaction with system and thus QA can focus on current updated functionalities to test rather than remaining busy with regression testing.
So you can observe a systematic growth from no testable item to a Automation suit.
Why we write test cases?
The basic objective of writing test cases is to validate the testing coverage of the application. If you are working in any CMMi company then you will strictly follow test cases standards. So writing test cases brings some sort of standardization and minimizes the ad-hoc approach in testing.
How to write test cases?
Here is a simple test case format
Fields in test cases:
Test case id:
Unit to test: What to be verified?
Assumptions:
Test data: Variables and their values
Steps to be executed:
Expected result:
Actual result:
Pass/Fail:
Comments:
So here is a basic format of test case statement:
Verify
Using [tool name, tag name, dialog, etc]
With [conditions]
To [what is returned, shown, demonstrated]
Verify: Used as the first word of the test case statement.
Using: To identify what is being tested. You can use ‘entering’ or ‘selecting’ here instead of using depending on the situation.
For any application basically you will cover all the types of test cases including functional, negative and boundary value test cases.
Keep in mind while writing test cases that all your test cases should be simple and easy to understand. Don’t write explanations like essays. Be to the point.
Try writing the simple test cases as mentioned in above test case format. Generally I use Excel sheets to write the basic test cases. Use any tool like ‘Test Director’ when you are going to automate those test cases.
Feel free to comment below any query regarding test case writing or execution.
QTP Add-Ins Information
QTP Add-Ins Information
I) ActiveX
Environment
|
Object
|
Description
|
|
An ActiveX control.
|
|
|
An ActiveX button.
|
|
|
An ActiveX calendar object.
|
|
|
An ActiveX check box.
|
|
|
An ActiveX combo box object.
|
|
|
An ActiveX edit box.
|
|
|
An ActiveX radio button.
|
|
|
An ActiveX table.
|
|
|
An object that enables you to work with objects returned by
performing an operation (usually via the Object property) on an ActiveX test
object.
|
II) Delphi
Environment
|
Object
|
Description
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
|
|
A
|
III) Java Environment
|
Object
|
Description
|
|
A Java applet.
|
|
|
A Java button.
|
|
|
A Java calendar.
|
|
|
A Java check box.
|
|
|
A Java dialog box.
|
|
|
A Java edit box.
|
|
|
A Java control that contains labeled bar items, which can be
expanded or collapsed by the user.
|
|
|
An internal frame that can be activated from the Java applet.
|
|
|
A Java control that displays text with links.
|
|
|
A Java list box with single or multiple selection.
|
|
|
A Java menu item.
|
|
|
A generic Java object.
|
|
|
A Java radio button.
|
|
|
A Java slider.
|
|
|
A Java spin object.
|
|
|
A Java static text object.
|
|
|
A Java tabstrip control containing tabbed panels.
|
|
|
A Java table.
|
|
|
A Java toolbar.
|
|
|
A Java tree.
|
|
|
A Java window.
|
IV) .NET Web Forms Environment
|
Object
|
Description
|
|
A .NET Web Forms calendar control.
|
|
|
A .NET Web Forms DataGrid object.
|
|
|
A .NET Web Forms tabstrip control.
|
|
|
A .NET Web Forms toolbar control.
|
|
|
A .NET Web Forms tree view object.
|
|
|
A .NET Web Forms UltraGrid object.
|
V) .NET Windows Forms Environment
|
Object
|
Description
|
|
A .NET Windows Forms button object.
|
|
|
A DateTimePicker or a Month Calendar .NET Windows Forms calendar
object.
|
|
|
A .NET Windows Forms check box.
|
|
|
A .NET Windows Forms combo box.
|
|
|
A .NET Windows Forms edit box.
|
|
|
A .NET Windows Forms multi-line edit box.
|
|
|
A .NET Windows Forms static text object.
|
|
|
A .NET Windows Forms list.
|
|
|
A .NET Windows Forms ListView control.
|
|
|
A standard .NET Windows Forms object.
|
|
|
A property grid control based on the .NET Windows Forms library.
|
|
|
A .NET Windows Forms radio button.
|
|
|
A .NET Windows Forms scroll bar.
|
|
|
A .NET Windows Forms spin object.
|
|
|
A .NET Windows Forms status bar control.
|
|
|
A .NET Windows Forms tab control.
|
|
|
A grid control based on the .NET Windows Forms library.
|
|
|
A .NET Windows Forms toolbar.
|
|
|
A .NET Windows Forms TreeView control.
|
|
|
A .NET Windows Forms window.
|
VI) Windows Presentation Foundation
Environment
|
Object
|
Description
|
|
A button control in a Windows Presentation Foundation
application.
|
|
|
A check box control in a Windows Presentation Foundation
application.
|
|
|
A combo box control in a Windows Presentation Foundation
application.
|
|
|
A document, rich text box, or text control in a Windows
Presentation Foundation application.
|
|
|
A grid control in a Windows Presentation Foundation application.
|
|
|
An image control in a Windows Presentation Foundation
application.
|
|
|
A hyperlink control in a Windows Presentation Foundation
application.
|
|
|
A list control in a Windows Presentation Foundation application.
|
|
|
A menu control in a Windows Presentation Foundation application.
|
|
|
An object control in a Windows Presentation Foundation
application.
|
|
|
A progress bar control in a Windows Presentation Foundation
application.
|
|
|
A radio button control in a Windows Presentation Foundation
application.
|
|
|
A scroll bar control in a Windows Presentation Foundation
application.
|
|
|
A slider control in a Windows Presentation Foundation
application.
|
|
|
A status bar control in a Windows Presentation Foundation
application.
|
|
|
A tab control in a Windows Presentation Foundation application.
|
|
|
A toolbar control in a Windows Presentation Foundation
application.
|
|
|
A tree control in a Windows Presentation Foundation application.
|
|
|
A window control in a Windows Presentation Foundation
application.
|
VII) Oracle Environment
|
Object
|
Description
|
|
An Oracle Applications session window.
|
|
|
An Oracle button.
|
|
|
An Oracle calendar.
|
|
|
A check box Oracle field.
|
|
|
An Oracle flexfield window.
|
|
|
An Oracle Form window.
|
|
|
An Oracle poplist (combo box) or list.
|
|
|
An Oracle window containing a list of values for selection.
|
|
|
An Oracle Applications sign-on window.
|
|
|
An Oracle Navigator window.
|
|
|
An Oracle error or message window.
|
|
|
An Oracle option (radio button) group.
|
|
|
The status line and message line at the bottom of an Oracle
Applications window.
|
|
|
An Oracle tabbed region.
|
|
|
An Oracle block of records.
|
|
|
An Oracle text field.
|
|
|
An Oracle tree.
|
VIII) PeopleSoft Environment
|
Object
|
Description
|
|
A frame object within a PeopleSoft application.
|
IX) PowerBuilder Environment
|
Object
|
Description
|
|
A PowerBuilder button.
|
|
|
A PowerBuilder check box.
|
|
|
A PowerBuilder combo box.
|
|
|
A PowerBuilder DataWindow control.
|
|
|
A PowerBuilder edit box.
|
|
|
A PowerBuilder list.
|
|
|
A PowerBuilder listview control.
|
|
|
A standard PowerBuilder object.
|
|
|
A PowerBuilder radio button.
|
|
|
A PowerBuilder scroll bar.
|
|
|
A PowerBuilder tab strip control
|
|
|
A PowerBuilder tree-view control.
|
|
|
A PowerBuilder window.
|
X) SAP Web Environment
|
Object
|
Description
|
|
An SAP Gui for HTML application button, including icons, toolbar
buttons, regular buttons, buttons with text, and buttons with text and image.
|
|
|
A calendar in a Web-based SAP application.
|
|
|
An SAP Gui for HTML application toggle button, including check
boxes and toggle images.
|
|
|
A menu that is opened by clicking a menu icon within an SAP Gui
for HTML application.
|
|
|
An SAP Gui for HTML application edit box, including single-line
edit boxes and multi-line edit boxes (text area).
|
|
|
An SAP Gui for HTML application frame.
|
|
|
An SAP Enterprise Portal application iView frame.
|
|
|
A drop-down or single/multiple selection list in an SAP Gui for
HTML application.
|
|
|
An SAP Gui for HTML application top-level menu.
|
|
|
A navigation bar in a Web-based SAP application.
|
|
|
An OK Code box in an SAP Gui for HTML application.
|
|
|
An SAP Enterprise Portal desktop.
|
|
|
An SAP Gui for HTML application radio button group.
|
|
|
An SAP Gui for HTML application status bar.
|
|
|
An SAP Gui for HTML application table or grid.
|
|
|
An SAP Gui for HTML application tab strip object (an object that
enables switching between multiple tabs).
|
|
|
An SAP Gui for HTML application tree object.
|
XI) SAP GUI for Windows
Environment
|
Object
|
Description
|
|
An
|
|
|
A button in an SAP GUI for Windows application.
|
|
|
A calendar object in an SAP GUI for Windows application.
|
|
|
A check box in an SAP GUI for Windows application.
|
|
|
A combo box in an SAP GUI for Windows application.
|
|
|
An edit box in an SAP GUI for Windows application.
|
|
|
Any object in an SAP GUI for Windows application.
|
|
|
A grid control in an SAP GUI for Windows application.
|
|
|
A static text label in an SAP GUI for Windows application.
|
|
|
A menu bar in an SAP GUI for Windows application.
|
|
|
An OK Code box in an SAP GUI for Windows application.
|
|
|
A radio button in an SAP GUI for Windows application.
|
|
|
Represents the SAP GUI for Windows session on which an operation
is performed.
|
|
|
A status bar in an SAP GUI for Windows application.
|
|
|
A table control in an SAP GUI for Windows application.
|
|
|
A tab strip in an SAP GUI for Windows application.
|
|
|
A text area in an SAP GUI for Windows application.
|
|
|
A toolbar in an SAP GUI for Windows application.
|
|
|
A column tree, list tree, or simple tree control in an SAP GUI
for Windows application.
|
|
|
A utility object in an SAP GUI for Windows application.
|
|
|
A window or dialog box containing objects in an SAP GUI for
Windows application.
|
XII) Siebel Environment
|
Object
|
Description
|
|
An edit box whose value can be set by a dynamic object that
opens after clicking on a button inside the edit box
|
|
|
A Siebel button.
|
|
|
A check box with an ON and OFF state.
|
|
|
An edit box.
|
|
|
A drop-down pick list.
|
|
|
A Siebel table containing a variable number of rows and columns.
|
|
|
A number of tabs and four arrows that move its visible range to
the left and to the right.
|
|
|
A tree view of specific screen data.
|
|
|
An applet in a Siebel test automation environment.
|
|
|
An application in a Siebel test automation environment.
|
|
|
A button control in a Siebel test automation environment.
|
|
|
A calculator control in a Siebel test automation environment.
|
|
|
A calendar control in a Siebel test automation environment.
|
|
|
A checkbox in a Siebel test automation environment.
|
|
|
The communications toolbar in a Siebel test automation
environment.
|
|
|
A currency calculator in a Siebel test automation environment.
|
|
|
A list object in a Siebel test automation environment.
|
|
|
A menu or menu item in a Siebel test automation environment.
|
|
|
A page tab in a Siebel test automation environment.
|
|
|
A predefined query in a Siebel test automation environment.
|
|
|
A pick list in a Siebel test automation environment.
|
|
|
A rich text control in a Siebel test automation environment.
|
|
|
A screen object in a Siebel test automation environment.
|
|
|
A screen view in a Siebel test automation environment.
|
|
|
The Task Assistant in a Siebel test automation environment.
|
|
|
The task UI pane in a Siebel test automation environment.
|
|
|
A text box in a Siebel test automation environment.
|
|
|
A text area in a Siebel test automation environment.
|
|
|
A threadbar in a Siebel test automation environment.
|
|
|
A toolbar in a Siebel test automation environment.
|
|
|
A tree view object in a Siebel test automation environment.
|
|
|
A view object in a Siebel test automation environment.
|
|
|
A view applet in a Siebel test automation environment.
|
XIII) Standard Windows Environment
|
Object
|
Description
|
|
An object that enables you to access top-level items on your
desktop.
|
|
|
A Windows dialog box.
|
|
|
A static text object.
|
|
|
An object used to control applications and processes during a
run session.
|
|
|
A Windows button.
|
|
|
A Windows calendar.
|
|
|
A Windows check box.
|
|
|
A Windows combo box.
|
|
|
A standard window.
|
|
|
A Windows edit box.
|
|
|
A Windows multi-line editor.
|
|
|
A Windows list.
|
|
|
A Windows list-view control.
|
|
|
A Windows menu.
|
|
|
A standard (Windows) object.
|
|
|
A Windows radio button.
|
|
|
A Windows scroll bar.
|
|
|
A Windows spin box.
|
|
|
A Windows status bar.
|
|
|
A Windows tab strip in a dialog box.
|
|
|
A Windows toolbar.
|
|
|
A Windows tree-view control.
|
XIV) Stingray Environment
|
Object
|
Description
|
|
A Windows tab strip in a dialog box.
|
|
|
A Stingray grid.
|
|
|
A Windows toolbar.
|
|
|
A Stingray tree control.
|
XV) Terminal Emulators
Environment
|
Object
|
Description
|
|
A terminal emulator field that fully supports HLLAPI.
|
|
|
A terminal emulator screen that fully supports HLLAPI.
|
|
|
A terminal emulator screen that uses text-only HLLAPI or does
not support HLLAPI.
|
|
|
A terminal emulator window.
|
XVI) Visual Basic Environment
|
Object
|
Description
|
|
A Visual Basic button.
|
|
|
A Visual Basic check box.
|
|
|
A Visual Basic combo box.
|
|
|
A Visual Basic edit box.
|
|
|
A Visual Basic multi-line editor.
|
|
|
A Visual Basic frame.
|
|
|
A static text object.
|
|
|
A Visual Basic list.
|
|
|
A Visual Basic list-view control.
|
|
|
A Visual Basic radio button.
|
|
|
A Visual Basic scroll bar.
|
|
|
A Visual Basic toolbar.
|
|
|
A Visual Basic tree-view control.
|
|
|
A Visual Basic window.
|
XVII) VisualAge Smalltalk Environment
|
Object
|
Description
|
|
A button in the VisualAge Smalltalk application.
|
|
|
An edit box in the VisualAge Smalltalk application.
|
|
|
A list in the VisualAge Smalltalk application.
|
|
|
An object in the VisualAge Smalltalk application.
|
|
|
A tab strip in the VisualAge Smalltalk application.
|
|
|
A table in the VisualAge Smalltalk application.
|
|
|
A tree-view control in the VisualAge Smalltalk application.
|
XVIII) Web Environment
|
Object
|
Description
|
|
A Web browser (or browser tab).
|
|
|
An HTML frame.
|
|
|
An image with or without a target URL link.
|
|
|
A hypertext link.
|
|
|
An HTML page.
|
|
|
A Viewlink object.
|
|
|
A section of an image (usually a section of a client-side image
map).
|
|
|
An HTML button.
|
|
|
A check box with an ON and OFF state.
|
|
|
An edit box, usually contained inside a form.
|
|
|
A general Web object that can represent any Web object.
|
|
|
An edit box with a browse button attached, used to select a file
from the File dialog box.
|
|
|
A drop-down box or multiple selection list.
|
|
|
A set of radio buttons belonging to the same group.
|
|
|
A table containing a variable number of rows and columns.
|
|
|
An XML document contained in a Web page.
|
XIX) Web Services Environment
|
Object
|
Description
|
|
An object that supports attachment-related test object
operations.
|
|
|
An object that supports configuration-related test object
operations.
|
|
|
An object that supports header-related test object operations.
|
|
|
An object that supports security-related test object operations.
|
|
|
A test object representing a Web service.
|
|
|
A utility object used to check WSDL files.
|
B) Utility Objects
- Crypt
Object
- DataTable Object
- Description Object
- DotNetFactory Object
- DTParameter Object
- DTSheet Object
- Environment Object
- Extern
Object
- LocalParameter Object
- MercuryTimers Object (Collection)
- MercuryTimer Object
- Parameter Object
- PathFinder Object
- Properties Object (Collection)
- QCUtil
Object
- RandomNumber Object
- Recovery Object
- Reporter Object
- RepositoriesCollection Object
- Repository Object
- Services Object
- Setting
Object
- SystemMonitor Object
- TextUtil Object
- TSLTest
Object
- XMLUtil
Object
The following utility statements help you
control your test.
- DescribeResult Statement
- ExecuteFile Statement
- ExitAction Statement
- ExitActionIteration Statement
- ExitComponent Statement
- ExitComponentIteration Statement
- ExitTest Statement
- ExitTestIteration Statement
- GetLastError Statement
- InvokeApplication Statement
- LoadAndRunAction Statement
- ManualStep Statement
- Print
Statement
- RegisterUserFunc Statement
- RunAction Statement
- SetLastError Statement
- UnregisterUserFunc Statement
- Wait Statement
C) Supplemental Objects
- DbTable
Object
- VirtualButton Object
- VirtualCheckBox Object
- VirtualList Object
- VirtualObject Object
- VirtualRadioButton Object
- VirtualTable Object
- XMLAttribute Object
- XMLAttributesColl Object
- XMLData Object
- XMLElement Object
- XMLElementsColl Object
- XMLFile Object
- XMLItemColl Object
Subscribe to:
Posts (Atom)