Вы находитесь на странице: 1из 54

Document Type Author Creation Date Modules Sl. No.

1 2 3 4 5 6 7 8 9 Business Requirements

Numeric field Alphanumeric field Character Field Single line textbox Multiline textbox Decimal/Floating point field Date Field Email Id field Web Page Total

Standard UI Test Cases Manee Doda, Ankit Bhandari 14-Apr-11 Modules No. of Test Cases

24 10 12 19 16 15 20 25 46 187

Numeric fiel Sl. No. 1 2 Validate the negative or positive Value 3 4 5 Validate the alignment of numeric field User Interface Verifying a field containing only numeric value

6 Validate the range of numeric field (Boundary Value Analysis)

9 Validate the minimum Digits user can enter in the field (when range of number not specified) Validate the maximum digits user can enter in the field (when range of number not specified)

10

11

12

13

Validate Fixed length numeric field text box

Validate Fixed length numeric field text box

14

15 16 17 18 19 20 21 22 23 24

Validate if user left the field as blank Validate If user put space in the numeric field

Validate If user enter special characters in numeric Field

Validate if user enter decimal field Validate if user enter characters in numeric field Validate if user enter combination of numeric, characters and special symbols Validate the Label of currency in amount field

Numeric field Validations Execution Method Enter any number of digits Enter any positive value Test Data 1234567890 5233

Enter any negative value

-13345

Enter any number of digits Lower bound- 1

12323

Lower bound

Enter any range of number

Between lower bound and upper bound Upper bound

Upper bound+1

Enter any number of digits

1234 (e.g.- Zip code ) 1234567890 (e.g.- Telephone number)

Enter any number of digits

Enter any numeric data in text boxes

123-456-8944 (Telephone number) 23565-5988(Zip code)

Enter any numeric data in text boxes

+23-456-8944 (Telephone number) 26366- (zip code)

Enter any numeric data in first text boxes Tab to next field and leave the numeric field as blank Enter space in the field Enter all special symbols (except Hyphen) Enter any number with hyphen

123-456-8944 (Telephone number)

Blank field

Space !#$%^& (-)123

Enter a fraction as the number

5/2

Enter number between quotes. "123" Enter any decimal or floating point number Decimal (39.11), Floating point number digits ( 0.000003234)

Enter any characters


Enter numbers, special characters and alphabets Enter any number of digits

abcd
123!@#Abc

1223

Expected Result User should able to enter numeric values in the given field It should accept positive value

Status Cycle1 Cycle2 Cycle3 Pass/Fail Pass/Fail Pass/Fail

It should not accept negative value (depending upon requirement) Numeric field should be align to right Application should not accept the number less the its lower bound of range Application should accept the number to its lower bound of range Application should accept the number between the range of lower and upper bound Application should accept the number to its upper bound of range Application should not accept the number more then its upper bound of range Numeric field should accept at least three digits (depending upon the requirement) A numeric field should accept max of 10 digits (depending upon the requirement) A fixed length text box field should accept only numeric field considering the upper limit of text box Should not accept the numeric digits with any special characters

Cursor should automatically highlight to next text box once values enter to first Depending upon the mandatory field, a numeric field should not accept the blank field Numeric field should not contain any space Special character should not be accepted for numeric field Hyphen and combination of numeric should be acceptable
Should not be accepted any number in fractions Should not accept the 123 It should accept decimal or floating point numbers (depending upon the requirements)

A numeric field should not accept any character value


Should not be accepted any combination of numeric, special character and characters amount field should be display with currency label

Back to Index Telephone number Yes Yes Yes (Accept only positive value) No No Yes Yes Amount

Yes Yes Yes

No

Yes

No

Yes

No

Yes

No

Yes

Yes

No

Yes (Maximum upper limit is No 10)

Yes

No

Yes

No

Yes

No

Yes Yes Yes Yes (phone number can be seperated by hyphen) Yes Yes No Yes Yes No

Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes

Zip Code Yes Yes

Yes No No

No

No

No

No

Yes (Minimum 5 digits limit) Yes (Maximum 9 digits excluding hyphen, total length 10 (5 digits- 4 digits))

Yes

Yes

Yes

Yes Yes Yes Yes (zip code is seperated with single hyphen after 5 digits) Yes Yes Yes Yes Yes Yes

Alphanumeric Sl. No. User Interface Execution Method Enter any character value 1 2 3 4 Validate the alignment of alphanumeric field Validating the field containing alphanumeric values Enter any numeric values Enter any combination of character and numeric value Enter any combination of character and numeric value Enter minimum alphanumeric Input Validate the limit of alphanumeric field 6

Enter Maximum alphanumeric Input

Enter any special symbol (except Hyphen, dot, slash, apostrophe, doube quotation) Validating the special symbol in an alphanumeric Enter any value using hyphen, field apostrophe, Slash, comma, double quotation Enter space as alphanumeric input

Validate user put space as input to alphanumeric field

10

Tab to next control leave the Validate user put the alphanumeric as blank alphanumeric field as blank

Alphanumeric Fields Validation Test Data abcd, ABCD Expected Result An alphanumeric field should accept character both in upper case and lower case 1234567890 An alphanumeric field should accept numbers as Input abcd123, ABCD123 An alphanumeric fields should accept a combination of Integer and character inputs Alphanumeric field should be aligned to left An alphanumeric field should accept minimum 3 letters (depending upon the requirements)

abcd123, ABCD123 ab1 (e.g- Zip code)

Enter values exceeding 100 letters An alphanumeric field should accept (e.g- Account number) maximum of 20 letters (depending upon the requirements) !#$%^*(()) An alphanumeric field should not accept any special symbols

-,',/

Hyphen, Apostrophe, slash, double quotation marks, comma should be acceptable (depending on requirements) Space should not be accept in an alphanumeric field Blank field should not accept in an alphanumeric field

Space

Blank field

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail Zip Code

Character Sl. No. User Interface Execution Method Validating the field containing the character value Validating the field containing the character value Enter any numeric values Enter any combination of numeric and alphanumeric values Enter any character value in the field Enter minimum 3 character in the field Validate the limit on character field 6 7 8 9 10 11 12 Enter any character value in the field Enter space into character field Validate user put the space in character field Enter consecutive space between two characters Enter any special symbol (exceptdot, apostrophe) Validate special symbol in the character field Enter any combination of character and special symbol Enter any name with an apostrophe Enter any name postfix with dot

1 2 3 4 5 Validate the alignment of the character values

Character field Validation Test Data abcd Expected Result All characters in lower and upper case should be acceptable 1234 Any numeric values should not be acceptable as an input abc1233 Any alphanumeric values should not be acceptable as an input Character field should be left aligned Character field should accept at least 3 letters (depending upon the requirements) User should not be able to enter 50 characters (depending upon the requirements) Space should be acceptable in character field Consecutive spaces should not be acceptable Special symbol should not be acceptable in character field Combination of character and special symbol should not be accepted Apostrophe should be acceptable in character fields A dot should be accepted as an input to character field

abc abc

more then 100 character

Space Space !#$%^&*() abc!#$%

Kevin's Brain Mr. Kevin's Brain

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail Yes Yes Yes Yes Yes Name Field

Yes Yes Yes Yes Yes Yes Yes

Single Line Te Sl. No. User Interface Validate the Textbox 1 2 3 4 5 6 7 8 9 10 11 12 13 Validate the consistency of a textbox Validate the alignment of various inputs Enter some input values to a textbox Check the label against textbox Mouse over to the textbox Enter large data input in multiline fashion Enter at least 1 letter to textbox 14 Validate minimum and maximum limit of text boxes Validate the height and width of a textbox Validate the focus on Text box Validate the edit/ write feature to textbox Validate the auto filled textboxes Check the position of cursor and press tab key Enter some input values to a textbox Enter some input values to textbox Select the data input from auto filled textbox Check UI look to validate the consistency of textbox Execution Method Check the consistency and location of textbox

Enter any values to textbox

15

Enter any numeric data input 16 Enter any character data input 17 Validate the data type acceptance in textbox

Validate the data type acceptance in textbox 18

Enter any special symbols

19

Enter space or skip entering any value to textbox

Single Line Textbox field Validation Test Data N/A Expected Result Location of textbox should be consistent and screened (XY coordinates) A cursor position should always to left in textbox A textbox should able to get and loss focus to other object on press of Tab button A textbox should be editable when acquiring inputs Predefined values should be displayed alike a dropdown according to Input values User should able to select the input from auto filled texboxes Width should be set to a standard of 40 mm unless specified in the requirements. Height of textbox should be 14 mm Characters and special symbols should be left aligned Numeric data should be right aligned A textbox should always accompanied by a label A textbox should have a tooltip for more details

N/A Press Tab button

Peterson Pe (e.g- IMAP textboxes with defined inputs) N/A N/A

N/A Peterson 123455 N/A N/A

A text has been written to test the A text box should not accept multiline data functionality of text box with and input should only in single line. various data input A A textbox should accept minimum 1 letter (depending upon the requirements and mandatory field) A textbox should accept the maximum length of 50 characters (depending upon the requirements) A comment box should accept the numeric data input (depending upon the requirements) A comment box should accept the alphanumeric data input (depending upon the requirements)

Enter value exceeding 50 letters

12345

abcd, ABCD

!#$%^&*()":';

A comment box should accept all kinds of special symbols (depending upon the requirements) Blank field and space are acceptable for comment box (depending upon the requirements)

Space, Blank field

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Multiline Te Sl. No. User Interface Validate the physical property of comment box Execution Method Check the consistency of comment box with other fields Check the label against any comment box Mouse over the comment box Validate the consistency of Enter any values to comment box also press enter for multiline data a comment box input Press tab to check for focus on comment box and cursor placement Check for the feature like font style and sizes and color of text entered Validate the Notepad tools available for the comment box Check for feature of Bold, Italics and underline the written text Check for feature of hyperlink the text and insert any picture Validate the limit of letter a Enter any values to completely to comment box accept fill the comment box field Validate the wrap feature of Write long sentence for check the comment box feature of wrapping text Enter any numeric value to comment box Validate the data type acceptance in comment box Enter any special symbol to comment box Enter space and keep the comment field as blank Validate the Edit functionality for comment box Validate for the hidden functionality Enter any data input to comment field Check for the dependency display of comment box Enter any character value to comment box

1 2 3 4

10 11 12 13 14 15 16

Multiline Textbox (Comments box) Test Data N/A Expected Result Location, height, width and length should be consistent on the page A comment box should accompany with some label A comment box should have a tooltip for viewing more details Multiline text should be acceptable in comment box Comments box follow general validation on tab order and Initial focus should be on top -left corner A comment box should available with features like font style, font sizes, font colors, highlight text colors A comment box should available with feature to Bold, Italics and underline the text Hyperlink and insert picture should be optional if specified in requirements User should not able to enter letters more then the limit of comment box A comment box should always be available with enable wrap functionality A comment box should accept the numeric data input A comment box should accept the alphanumeric data input A comment box should accept all kinds of special symbols Blank field and space are acceptable for comment box A comment box should be editable for acquiring more inputs (it can be disable on specified validation or requirements) A comment box should be active only for specific business requirements

N/A N/A N/A

N/A

N/A

N/A

N/A

N/A

N/A

12345 abcd, ABCD !#$%^&*()":'; Space, Blank field N/A

N/A

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Float /D Sl. No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Validating the rounding of the number after decimal Enter decimal number to round of to two decimals Validate the range of numeric field (Boundary Value Analysis) Enter any range of number User Interface Execution Method Enter the numeric field with decimal Enter the numeric field contains two times decimals Enter positive decimal number Validating the positive or negative decimal number Validate the alignment of numeric field Enter negative decimal number Enter any number of digits

Validate the Floating point/ decimal number field

Validate the presentation of floating Enter the number with large number with large number of digits number of digits

Validating the floating point number Enter the number with 7 digits after decimals

Float /Decimal Type field Validation Test Data Expected Result 1234.41 User should able to enter numeric data input with decimal. 123.421.231 122.34 -12.3688 12323.23 Lower bound- 1 Lower bound Between lower bound and upper bound Upper bound Upper bound+1 1233445543 A numeric field with two decimals should not be accepted A decimal /float should accept positive numbers (depending upon requirements) A decimal /float should accept negative numbers (depending upon requirements) Numeric field should be align to right Application should not accept the number less the its lower bound of range Application should accept the number to its lower bound of range Application should accept the number between the range of lower and upper bound Application should accept the number to its upper bound of range Application should not accept the number more then its upper bound of range Floating point number can be represent in form of exponential form 1233e4 Floating point number representing the number as 3*10^-5 It should display the number up to two decimal like '12.46' it should display the number up to two decimal like '12.49' Fixed point floating number accept 7 digits after decimals

3.00E-05 12.46 12.49 123.34

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Da Sl. No. 1 2 3 4 5 6 7 8 9 10 11 12 Validate the date field 13 14 15 16 17 18 19 Validate the dates validation Validate the date part in Date field Enter the date as '000000 '. Validate the date format User Interface Execution Method Click on a image next to date field Validate the consistency of Click to pick date(s), month(s) and date field and picker pop up year(s) Select any particular date Validate the default value for the Date field Validate the date field Check the default value for the date field Check the date format mentioned next to date label Check for the date format for the date field Enter the date in format other then mentioned in requirement Enter the spaces in date field and tab out Enter the characters in date field and tab out Enter the special characters in date field and tab out Skip entering data input to date field Enter the date with special characters Edit the date field.

Enter the date as exceeding then it exist in a month

Validate the months in date Enter the month value more than field 12 and tab out Validate the Separator in date field Validate the past date in date field Enter the separator other than '-' or '/' Enter the date as past date.

20

Validate the future date in date field

Enter the date as future date.

Date field Validation Test Data N/A 14-Apr-11 14-Apr-11 N/A N/A DD-MMM-YY MM-DD-YYYY Expected Result Calendar popup will be open next to the date field Calendar popup will be enable with selection of date(s)/ month(s)/ year(s) User should able to pick the date from calendar popup Current date should be displayed (depending upon the requirements) Date format should be mentioned next to the date label The Date format should be as per the requirement A validation message should appear that enter dates in valid format A validation message should appear that enter dates in valid format A validation message should appear that enter dates in valid format A validation message should appear that enter dates in valid format A validation message should appear please enter the dates Hyphen, dot, and slash are accepted while entering the dates Date text box should be editable (User should be able to enter the date by typing or through date picker). A validation message should appear that enter valid date

MM/ DD/ YYYY as/cd/loih !#$%^&*() Blank /, ., N/A

"00/00/0000'

'31/02/2011' (Feb with 31 as date) A validation message should appear that enter valid date 32/03/2011 (March with 32 as date) 21/13/2011 21*12^2011 1-Apr-11 A validation message should appear that enter valid date A validation message should appear that enter valid date A validation message should appear that enter valid date User should be able to enter the past date as per the requirement

30-Apr-11

User should be able to enter the future date as per the requirement

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Email I Sl. No. 1 2 3 4 5 6 7 8 9 10 Enter the email id without any dot in domain part Enter email id with missing username 12 Enter email id with incorrect domain i.e. without any character after @ Enter the email id with @ twice 14 Enter the email id as garbage values 15 Enter the email id with multiple consecutive dot(s) Enter email id contains dot in sub domain Enter email id contains hyphen and + before the @ Enter email id with IP address as domain Enter email id with IP address as domain with square brackets Enter email Id with quotes before the @ Enter email Id with hyphen in domain part Enter the email id missing @ sign User Interface Validate the Email Id field Enter the email id Execution Method

11

13

16

Enter email id encoded with html 17 Enter email id leading with dot 18 Enter email id missing top level domain. 19

20 Enter the email id with space in local part and domain part

21

22

23 Enter the email id having '_' after @ 24 Enter the email address with two types of special symbol used before @

25

Email Id field Validation Test Data Email@domain.com Expected Result Email Id should be accepted as valid

firstname.Lastname@domain.com Email Id should accept top level domain like- Net, Com, Org, Edu, Co, etc. email@subdomain.domain.com Email Id should be accepted as valid

firstname+lastname@domain.com Email Id should be accepted as valid firstname-Lastname@domain.com Email Id should be accepted as valid email@123.123.123.123 email@[123.123.123.123] "email"@domain.com email@domain-one.com Plainaddress Email Id should be accepted as valid Email Id should be accepted as valid Email Id should be accepted as valid Email Id should be accepted as valid An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id"

Email@domaincom

@domain.com

username@.com

firstname@lastname@domain.com An error message should be displayed "Please enter valid email id" !#$^#%%%*&($@.com An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id"

email@domain..com

Joe smith <email@domain.com>

An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id" An error message should be displayed "Please enter valid email id"

.@domain.com

dev@domain.

dev@

.com

dev

@tdc.com

dev@tdc

.com

dev@td_sd.com

dev@tdc.co_mm

Dev.Infy_k@xyzzz.co.in

Cycle1 Pass/Fail

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Sl. No. 1 2 3 4 5 6 7

User Interface

Execution Method Check the screen resolution Check for the resizable

Validate the screen resolution

Validate the scroll feature on web page Validate the Font size

Validate the Scroll bar of the web page

Check the font size Check the focus when the web page is loaded Check for the focus after error message

Validate the focus on webpage

9 10 11 12 13 14 15 16 17 18 19

Validate the Tab order on web page Validate the default fields

Continuous clicking the Tab key in order to check the Tab order Check the tab order when last control on screen is hit Check for the default values Check for mandatory fields

Validate all the mandatory indicators

Leave blank the mandatory fields Check for the Label of fields on screen

Validate the label against each control on web page

Check for Label Check for read only fields

Validate the Disabled/ read only fields

Check for disabled dependent controls

Validate the Caption/Screen Check the Caption of web page title Validate the tool tip for each control Check tool tip

Check the Height and Width 20 Validate the Dropdowns Controls on a web page Check for the order of values in dropdown Check for the navigation keys Check for the entered character value for specific search Validate the Grid display on a webpage 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Validate the Grid displayed Select a row in the grid on Web page Check for the sorting of the columns Check for the sorting of the columns High light any row and press 'Del' button from the key board Check the alignment for numeric data Inputs Validate the alignment of data inputs in controls Validate the hit on Enter key Check the alignment for alphanumeric data inputs Enter key on search window

21 22 23 24

Enter key on disabled webpage/ Popup Mandatory fields validations Check for the mandatory fields Validate the processing time /hour glass Validate the spelling on a web page Check for the hour glass/ progress bar Check for the Labels/Control Texts/Error spellings

Validate the pop up on web Check for the pop ups page Validate the functionality of Check for the screen refresh Refresh button Click on submit button

39 Validate the functionality of Submit button

Validate the functionality of Submit button 40

Click on submit button more than once

Click on 'Back' button given on web page 41 42 43 Validate the Clear/Cancel/Reset Button Validate the Session timeout of webpage Validate the upload file functionality Validate the functionality of Back button

Click on 'Back' button on internet web page Click on Cancel/Clear/Reset button

44

Keep the web page idle for 10 min, and click on any control or further navigation 1. Click on Browse button. 2. Select the valid file. 3. Click on Upload button.

45

Web Page Validation Test Data N/A N/A N/A N/A N/A Arial -10 N/A N/A

N/A N/A N/A N/A N/A N/A N/A N/A

N/A N/A N/A

N/A

N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A

N/A

N/A

N/A

N/A N/A

N/A

files with extension -xls, xlsx, doc, docx, pdf, tiff (As per the requirement)

Web Page Validation Status Expected Result Screen resolution should be consistent as required and compatible with version of browser Screen should be resize-able by clicking on the maximize button (Pop ups should not be resizable) A web page should not have horizontal scroll bar unless necessary. A web page should not have vertical scroll bar unless necessary. User should able to scroll for have full view of webpage Font size should be consistent on webpage as required Focus should be set on the first editable field of the screen. After error message, focus should go to the control, which caused the error? (E.g. After message: Invoice date is mandatory field, when user clicks OK--focus should go on the Invoice Date text box) The flow of the control should be from Top to Bottom and Left to Right. Focus should take the user back to the first control in the tab sequence On screen load default values should load as per the requirement The mandatory fields should be indicated by * symbol on the screen. A message should be displayed " please enter data in mandatory fields " Each control should be accompany with some label and it should be display on left of the control There will be consistent spacing maintained between the label and their corresponding controls across web page Font color of "read only" text should be grey. Cycle1 Pass/Fail

Enable /disable of controls should as per the dependency requirement Caption for the web page should be as per the requirement Tool Tip (Float Over) should be provided for controls.

1. Height of the dropdowns should be as per the requirement 2. Width of the dropdowns should be as per the requirement

Values in the dropdown should be in alphabetical/chronological order Up and down navigation keys should work Focus should be on values started with hit character. Grid should be consistent and should not go outside the web page Heading of grid should be highlighted as bold and hyperlinked for sorting The full active row should be highlighted and this applies to both editable and non-editable grids. Data in grids should be sorted as per default sort order Sorting should be removed once the screen is refreshed Row should not get deleted. All numeric data should be right aligned All alphanumeric data input should be left aligned Enter Key should be mapped to the Ok button on search webpage Enter key on popup will close the window Proper validation messages should come if the mandatory fields are not entered When application is busy hour glass/ processing should be displayed All the spellings for Labels/Control Texts/Error messages should be correct Pop ups should close on hit of Esc button Page should get refreshed and all the fields should get set to default value All the values should get saved and the confirmation message should be displayed to the user.

Cursor should get changed to hour glass on submit. Or Submit button should get disabled. Or On click of Submit -A message should be displayed that 'Please wait while system processing. Back button will take user to last open web page on browser and Data values would be lost Back button will navigate user to last page on open on browser and data values to current page would be lost Page should get refreshed and all the fields should get set to default value. 1. Session time out message should display. 2. Redirect to the login page 1. A confirmation message should be displayed that file has been uploaded successfully. 2. A file should get uploaded.

Status Cycle2 Pass/Fail

Back to Index Cycle3 Pass/Fail

Вам также может понравиться