You are on page 1of 4

Test Case# - Emisoft - Resources

Project Section
Project Code
Project Emisoft
Version 0.0.0.5

Description

Module Resources

Test Section
Test case#
Test type 1 Functional test Status Sent for Review
Prepared by Sravanthi.T Date
Reviewed by Murali Krishna KR Date
Start Date End Date

SL# Steps Description Test Data Expected result Actual result Status Remarks
Add new Resource
It should open add resource form and focus should
The add resource form is opened and
be in Name field. The resource should be added to the focus is in name field and the
1 Add new resource Click Add resource main resource list. resource is added to main resource list Pass
The add resource form is opened and
It should open add resource form and focus should
the focus is in name field and the
be in Name field. The resource should be added to resource is added to child list of selected
2 Add child Select any resource and Click Add child child list of selected resource resource Pass

It is displaying parent resource Help and


Yellow tip text and Icon for the child
resource by default Pass

TestresourceTestresourceTestres
ourceTestresourceTestresourceT
estresourceTestresourceTestreso Name is accepting more than 100
3 Name Enter Name more than 100 characters urceTestresourceTestresource Name should not accept more than 100 characters characters Fixed

TestresourceTestresourceTestres
ourceTestresourceTestresourceT
estresourceTestresourceTestreso
3.1 Enter Name equal to 100 characters urceTest Name should accept 100 characters Name is accepting 100 characters Pass
Name is accepting less than 100
3.2 Enter Name less than 100 characters Testresource Name should accept less than 100 characters characters Pass

It should not accept special character " . * , + - / ( Name field is not accepting mentioned
3.3 Enter Name containing special characters Testresource&#$,:' )=<>^" special characters Pass

While entering Name itself it is not


accepting mentioned special characters
except comma(,). It will accept comma
while entering and validating while
saving the data. Validation should be
similar so that it should not accept
comma while entering itself Fixed

By default the text <New> will be


displaying in Name field. It is saving the
resource with that name. But Name field
should not accept <,> Fixed

It should not accept blank name and should display


Name is not accepting blank value and it
Enter blank name and click Save is displaying message "Name should fall
message that name should be with in 1 to 100
4 Save characters with the range of 1 to 100" Pass

Enter name already existing and click Save


5 Save - Duplicate Name It should not accept Duplicate Resource name Name is not accepting duplicate values Pass

It should save the resource with default icon and


by default the resource name itself should be The resource is saved as selected main
6 Save with Mandatory fields Enter only name and click Save displayed as yellow tip or child resource with default icon Pass

By default the resource name itself is


displayed as yellow tip Pass
7 Help Enter help text and click save Resource with properties Help text should be saved Help text is saved Pass
Yellow tip is added and this text is
Yellow tip text should be saved and this text should displayed when mouse hover the
8 Yellow tip Enter yellow tip text and click save TestResource display whenever mouse hover the resource name resource name Pass
The selected icon is displayed for the
9 Icon Select any icon to be uploaded The selected icon should be uploaded resource Pass
The selected icon should be deleted and default
9.1 Icon - Delete Deselect the icon icon should be set for the property No option to deselect the icon Fail
The properties whos domain is default
The properties whos domain is default(Thing) they Thing they are displaying in property list
10 Property list Property list should display for all resources. for all resources Pass
The properties whos domain is set as
The properties whos domain is set as any resource
any resource they are displaying for
they should display for respective resource in respective resource property list in
10.1 addition to default thing properties additon to default thing properties Pass

Property list is not displaying in


Property list should display in alphabetical order alphabetical order Fixed
The selected property should be set as Group for The selected propety is set as group for
11 Set Group Drag and drop the desired property on to the form. selected resource. selected resource Pass
Drag other properties on to the same group in the All the selected properties should be set in Same All the selected properties are set in
12 Group - Multiple Properties form group Same group Pass
Duplicate Propery in a
12.1 group Drag the existing property for a group Group should not allow duplicate properties
If different properties are dragged to different
Drag and drop the desired properties to different places different groups are set for each selected Multiple groups are set with selected
13 Multiple Groups places on the form to set different groups property properties pass
The property field is displaying it's range
The property field should display it's range which is which is set while adding that property
14 Default value for Property Default value for property set while adding that property by default by default pass

15 Group name Double click on group name and enter group name Group name should be set Group name is set Pass

15.1 Enter group name with blank value Group name should not accept blank value Group name is not accepting blank value Pass
Group name is not accepting blank
15.2 Enter group name with blank spaces Group name should not accept blank spaces spaces Pass
Group name is accepting duplicate
15.3 Enter existing group name Group name should not accept duplicate values values Fail
Group name should not accept special characters " Group name is accepting special
15.4 Enter group name with special characters .*,+-/()=<>^" character comma (,) Fixed
GroupGroupGroupGroupGroupGr
oupGroupGroupGroupGroupGrou Group name should not accept more than 50 Group name is not accepting more than
15.5 Enter group name more than 50 characters p characters 50 characters Pass
Validation message is not propert if
group name entered is more than 50
15.6 characters Fail

GroupGroupGroupGroupGroupGr
15.7 Enter group name equal to 50 characters oupGroupGroupGroupGroup Group name should accept 50 characters Group name is accepting 50 characters Pass
If group name is long within 50
characters only then look and feel form
15.8 is not good Fail
Group name is accepting less than 50
15.9 Enter group name less than 50 characters Group1 Group name should accept less than 50 characters characters Pass

If Heritage is checked then that group should be The selected group is inherited to child
16 Heritage Select the group and click the check box for Heritage inherited to child resources of the selected resource resources of the selected resource Pass

Validations for property - Should display validations and range fields for the Displaying validations and range fields
17 Data type Int or Decimal select the property of data type Int or Decimal selected property to set to set for the selected property Pass
If the selected property type is Decimal
If the selected property type is only Decimal then it then it is displaying Prec.Length field in
should display Prec.Length field in Range Range pass
The selected property should be mandatory while
17.1 Validation - Required Check the Required check box entering data
The selected property should be set readonly and
17.2 Validation - Readonly Check the Readonly check box not able to edit

17.3 Validation - Nullable Check the Nullable check box The selected property is set to accept null values
The selected property unit field is set as read only
17.4 Validation - Unit Read only Check the Unit Read only check box and not able to edit
Minimum range for the selected field should be set
17.5 Range - Min.Range Enter the value for Min.Range as entered value

17.5.1 Min.Range - Validations


maximum range for the selected field should be set
17.6 Range - Max.Range Enter the vlaue for Max.Range as entered value

17.6.1 Max.Range - Validations


The precession length for the selected field should
17.7 Range - Prec.length Enter the value for Prec.Length be set

17.7.1 Prec.length - Validations


Validations for property - It should display Validation and String validation It is displaying Validation and String
18 Data type String Select the property of type String fields validation fields pass
The selected property should be mandatory while
18.1 Validation - Required Check the Required check box entering data
The selected property should be set readonly and
18.2 Validation - Readonly Check the Readonly check box not able to edit
Format for dat should be set for the selected
18.3 String validation - Mask Enter the format for the property in Mask field property field
It is displaying Regular Expression editor
18.4 String validation - RegEx click to select RegEx It should display Regular expression editor window window Pass
The selected regular expression should not be
18.4.1 Reg.Ex - Cancel Select any RegEx from the list and click Cancel selected
The regular expression should be set for the
18.4.2 REgEx - Ok Select any REgEx from the list and click Ok selected field
String Validation - The minmum length should be set for the selected
18.5 Min.length Enter minimum length field

18.5.1 Min.Length - Validation


String Validation - The maximum length should be set for the selected
18.6 Max.Length Enter maximum length for the string field

18.6.1 Max.Length - Validation

Validations for Property - Select any property whoes range is set as It is displaying Validation and Filter
19 Thing/Resource/Schema Thing/Resource/Schema It should display Validation and Filter fields fields Pass
The selected property should be mandatory while
19.1 Validation - Required Check the Required check box entering data
The selected property should be set readonly and
19.2 Validation - Readonly Check the Readonly check box not able to edit
It is displaying Domain filter window
It should open Domain filter window with all with all resources and schema list for
19.3 Filter - Target Click to select Target to be filtered resources and schema list for Thing Thing Pass
It is displaying corresponding
resources/Schema list depending on the
It should display corresponding resources/schema selected resource/schema if Property is
list for Resourc/Schema type Resource/Schema type Pass
Select target to be filtered from the list and click
19.3.1 Filter Target - Cancel Cancel Filter targets should not be selected

19.3.2 Filter Target - Ok Select target to be filtered from the list and click Ok Filter targets should be set
Validations for property -
Date and time Select any property of type Date and time It should display Validation and Range fields Displaying Validation and Range fields Pass
The selected property should be mandatory while
Validation - Required Check the Required check box entering data
The selected property should be set readonly and
Validation - Readonly Check the Readonly check box not able to edit
Range - Max.Range Select date for max.range Max.Range should be set
Range - Min.Range Select date for min.range Min.Range should be set

20 Data for property - String Enter the data for the property
20.1 Data Validation
Data for Property -
21 Thing/Resource/Schema Select value for the property from the list The value should be set for selected property
Data for Property -
22 Int/Decimal Enter the data for the property The value should be set for selected property
22.1 Data validation
23 Unit Select unit for the property from the list The unit should be set for selected property
Data for Property - Date
and time Enter date

The property fields can able to accept multiple


The property fields can accept multiple
values and table is displyaed with all fields as values and a table is displayed with
24 1:n Check the check box 1:n columns present in the group property fields as columns Pass
Showing error while entering data in
25 Data table Enter values for each property for each set Should accept set of values as each row table Fixed
Group details for 1:n - No
of rows Enter no of rows No of rows to accept data should be set
Enter the row number to be deleted in box at the
26 Delete row in table bottom of the table and click Delete The selected row should be deleted
27 Delete Property Click Delete for any property in the group The selected property should be deleted The selected property is deleted Pass
28 Minimise Group Click to minimise Group The selected group should be Minimized The selected group is minimized Pass
29 Delete Group Click Delete for Group The selected Group should be deleted The selected Group is deleted Pass

It should display message to save details with Yes,It is displaying message to save details
30 Cancel Without saving click any link outside form No and Cancel buttons with Yes,No and Cancel buttons Pass
The details should not be saved and redirected to The details are not saved and redirected
30.1 No Click No selected page to selected page Pass
The details should be saved and redirected to The details are saved and redirected to
30.2 Yes Click Yes selected page selected page Pass
30.3 Cancel Click Cancel It should retain in same page It is retaining in same page Pass
The resource should be added to main/child list as Resource is added to main/child list as
31 Save After entering all details click Save selected selected pass
The resource tree should display in alphabetical The resource tree is displaying in
32 Resource tree Resource tree order alphabetical order Pass
Update Resource
The selected resource details are
33 Update Select resource to be edited The selected resource details should display displayed Pass
34 Edit details Edit the required details and Click Save The edited details should be updated The edited details are updated Pass

Not tested as
If the resource have references it should not be
Save is
able to edit and should display message that the showing error
34.1 selected resource have references message
If the group is inherited from the parent group to
If the group is inherited from the parent
selected group then the group details should not be group to selected group then group
34.2 Edit group Edit the group details able to edit details are not able to edit Pass
If the group is not inherited group then it should If the group is not inherited group then
34.3 update the edited details it is updating the edited details Pass

Edit the required details and click any other link It should display message to save details with Yes,It is displaying message to save details
35 Edit - Cancel outside form No and Cancel buttons with Yes, No and Cancel buttons Pass
Details should not be updated and redirected to Details are not updated and redirected
35.1 No Click No selected page to selected page Pass
Details should be updated and redirected to Details are updated and redirected to
35.2 Yes Click Yes selected page selected page Pass
It should retain in same page without updating any It is retaining in same page without
35.3 Cancel Click Cancel details updating details Pass
Delete Resource
If the selected resource have any
references it is displaying message that
If the selected resource is referred by any
"The selected resource have references"
properties, data types and schema it should display but after clicking Yes in the delete
36 Delete Select resource to be deleted and click Delete message "The selected resource have references" confirmation message Pass
If the selected resource doesn't have
references but have child resources it is
If the selected resource doesn't have references
but have child resources it should display message
displaying message that "Selected
that "Selected resource contain child resources, resource contain child resources, Can
36.1 Can not be deleted" not be deleted" Pass

If the selected resource doesn't have references it


If the selected resource doesn't have
should display confirmation message with Yes and references it is displaying confirmation
36.2 No buttons message with Yes and No buttons Pass

36.2.1 No Click No in the confirmation message The selected resource should not be deleted The selected resource is not deleted Pass

36.2.2 Yes Click Yes in the delete confirmation message The selected resource should be deleted The selected resource is deleted Pass
Usability
No such
37 Ctrl A Place the cursor in any textbox and click Ctrl A All text in the textbox should be selected No text is selected Fail functionality
Test case type Test Status

3 Unit Test Prepared


1 Functional test Sent for Review
2 GUI / Usability test Reviewed
5 Performance test In Progress
6 Secutiry related test Bugs reported
4 UAT (Customer) Closed

You might also like