Você está na página 1de 11

Prepare By: Sorabh Bhargava

Objects to test in GUI Testing


Text Box Text Area

Drop Down

Check Box/ Radio Button

File Upload Date Field

Text Box
Text Box
qwert 1000000 99999 -00001 00000 123@ 123 345 !@#$% ABCefg 12345

Input For Test Cases


Test For Entering Numeric Values.. Test For entering Alphabets ( in both the cases). Test for entering special Characters. Test For entering Leading Spaces. Test For Entering Trailing Spaces. Test for entering Blanks. Test For Entering some Special Characters Like @,&,* Test for entering values on lower boundary Test for entering values lower than lower boundary Test for entering values on Upper boundary.

Test for entering values More than Upper boundary Text for Max. No of Characters to be entered

Test For Editability of the text Box.

Radio Button/Checkbox
Radio Button/Check Box

Input Data For Test Case


Check for default position of radio. Check for Selecting all the buttons ( Not for Radio Button) Check for selecting no buttons.

Check for Tab Sequence for movement between buttons


Check for the title of radio button

Testing for Date Field


Date Field

Input Data For Test Case


Test For Editability of the date field

31/12/03 30/12/05 30/12/98 30/12/00 31/04/03 3A/0#4/0* 31/12/03* 12/31/03 01/12/06 01/12/99 29/02/1997 31/12/03

Manual Entering Date in different Format(DD/MM/YYYY or MM-DD-YY) Entering Past Dates Entering Future Date

Entering From Date is greater than To Date


Entering Dates through Calendar Option Check for Default Date( Blank or current date) Entering incorrect Dates ( 31/04/03, 29/02/1997, 31/13/03) which are not possible Test for Alphabets, Special Characters, Blanks Test For Leading and Trailing Spaces

Drop Down
Drop Down

Input Data For Test Case


Check for Default selection No selection from the list Check for sort order of list (Alphabetic Order etc) Check for Scrolling in list through keyboard arrow keys. Check for multiple selection of values Check for Editability of Drop Down Box Check for select values through pressing first character by keyboard Check for Dependability for other fields. Check data base for Drop Down list.

Upload File
File Upload

Input Data For Test Case

Manually entering the Path


Uploading different file Type

File:

D:\sorabh\Test Plan(100KB) D:\sorabh\xyz.xls D:\sorabh\Test Plan.txt M:\sorabh/TestPlan* M:\sorabh\TestPlan.txt D:\sorabh\Test.xlsPlan(500KB) D:\sorabh\Download\Test Plan

Entering the path through Browse Option Upload various sizes of File( More than boundary)

Manually entering the wrong path where same file doesn't exist.
Manually entering the path where particular directory not present Manually entering the path using /,\,*,%,@ Upload the file where system does not have the capacity or free available space

Download Data
Click Here

Download File

Input Data For Test Case


Click on Download File and select the location. Manually entering the Path Manually entering the wrong path.

Manually entering the path where particular file already exist


Manually entering the path using /,\,*,%,@ Download the file where Disk does not have the capacity.

Destination:

D:\sorabh\Download\Test Plan D:\sorabh\ Download\Test M:\sorabh\xyz.xls A:\sorabh\Test Plan.txt Plan D:\sorabh/TestPlan*

Text Area
Text Area
Qweqwee qweqweeqweqwewqeqweqweqwerrewr Kindly Enter the address where you wants qweqwerrewrwer!@##$$$*wererereqw werwererereqwreqrqerqerwerwererorot the goods to be delivered. reqrqerqe+_=()/rwerwererorotowrtorto owrtortogkkvgv1xsdfsdfsdfdfdfdfdsfsdfd gkkvgv1x1121232323232343434343431 sfdfdfdffzmcvmzxmvmqzVmzvmmzvmzq

Input Data for test case Check for Max no of Characters

Check for Horizontal and vertical scroll bar


Entering Spaces,Alphabets,special characters,numbers Check for Entering Blank values

Check for Default or prepopulated values

GUI Testing
Check for spelling errors in all screens.

Check for relevance of error messages and spelling errors.


Check for Heading and the user name if present on screen. Check for Tab Sequence ( Forward Tab and Reverse Tab). Check for Minimize, Maximize and other options. Check for present of Different Links, Buttons etc on the Page. While clicking on Refresh option current values should disappear. While clicking on Save button values should get stored.

General testing
Check for Navigation between screens by clicking Next Button or through explorer. If there are hyperlink on screen by clicking on that either new window should open or in the same window changes can take place. Check for Session handling Use of same screen by multiple users.

If we are testing for password than it should appear in encrypted form.


If are testing for password than while pasting on notepad it should be in encrypted form or copy option should be disabled.

Você também pode gostar