Skip to content

Commit

Permalink
Formal adjustments have been made to the contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChatGTHB committed Apr 23, 2023
1 parent aa2abce commit e25fbe8
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 102 deletions.
13 changes: 0 additions & 13 deletions src/test/java/featureFiles/Cam04.feature
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Feature:Document Types Functionality
| parameters |
| documentTypes |


Scenario Outline:Add Document Types
When Admin Add New Document Type name as "<name>" stage as <stage>
And Click save button
Expand All @@ -19,7 +18,6 @@ Feature:Document Types Functionality
| name | stage |
| cambrige | 3 |


Scenario Outline:Edit Document Type
When Admin Edit Document name as "<name>" stage as <stage>
And Click Search Button
Expand All @@ -31,7 +29,6 @@ Feature:Document Types Functionality
| name | stage | newname |
| cambrige | 4 | cambrige10 |


Scenario Outline:Delete Document Type (Positive Test)
When Admin Delete Document name as "<name>" stage as <stage>
And Click Delete button
Expand All @@ -41,7 +38,6 @@ Feature:Document Types Functionality
| name | stage |
| cambrige10 | 4 |


Scenario Outline:Delete Document Type (Negative Test)
When Admin again Delete Document name as "<name>" stage as <stage>
And Click Search button on Page
Expand All @@ -50,12 +46,3 @@ Feature:Document Types Functionality
Examples:
| name | stage |
| cambrige10 | 4 |









11 changes: 0 additions & 11 deletions src/test/java/featureFiles/Cam05.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Feature: Add-Edit-Delete Fields under Parameters under Setup Functionality

Background:

Given Navigate to Campus
When Enter username and password and click button
Then User should login successfully
Expand All @@ -10,41 +9,31 @@ Feature: Add-Edit-Delete Fields under Parameters under Setup Functionality
| parameters |
| fields |


Scenario: Add Fields (Positive)

And Click on the element in Dialog
| addButton |
And Add name, code and field type
And Click on the element in Dialog
| saveButton |
Then Success message should be displayed on the screen


Scenario: Add Fields (Negative)

And Click on the element in Dialog
| addButton |
And Add name, code and field type
And Click on the element in Dialog
| saveButton |
Then Already exist message should be displayed on the screen


Scenario: Edit Fields (Positive)

When Enter the name of the fields you added in test case one in the name field to edit
Then Success message should be displayed on the screen


Scenario: Delete Fields (Positive)

When Enter the name of the fields you edited in test case three in the name field and press the search button and push delete button
Then Success message should be displayed on the screen


Scenario: Delete Fields (Negative)

When Enter the name of the fields you edited in test case three in the name field
And Click on the element in Dialog
| searchButton |
Expand Down
12 changes: 1 addition & 11 deletions src/test/java/featureFiles/Cam06.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,35 @@ Feature:Human Resources Functionality
When Enter username and password and click button
Then User should login successfully


Scenario: Adding a new position (Positive)
When User navigates to Human the Resources page
And Click on the Setup option and Positions option
And Click on the Add button and fill in the required fields
And Click Save button
Then System should display success message


Scenario: Not being able to add a new position (Negative)
When User navigates to Human the Resources page
And Click on the Setup option and Positions option
And Click on the Add button and fill in the required fields
And Click Save button
Then Already exist message should be displayed on the page


Scenario: Editing Positions (Positive)
When User navigates to Human the Resources page
And Click on the Setup option and Positions option
And Enter the necessary information and click on the search button
And Click the edit button to enter the necessary edit
Then System should display update message


Scenario: Deleting Positions (Positive)
When User navigates to Human the Resources page
And Click on the Setup option and Positions option
And Click on delete button
Then System should display success message


Scenario: Not being able to delete Positions (Negative)
When User navigates to Human the Resources page
And Click on the Setup option and Positions option
And Enter name and short name and click on search button
Then System should display no data message





Then System should display no data message
11 changes: 1 addition & 10 deletions src/test/java/featureFiles/Cam07.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,27 @@ Feature: Cam7
Then User should login successfully

Scenario: Adding Subject Categories (Positive Test)

And Navigate to Subject Categories page
When Admin add an Subject Categories
Then Success message should be displayed

Scenario: Adding Subject Categories (Negative Test)

And Navigate to Subject Categories page
When Admin add an Subject Categories
Then Already exist message should be displayed

Scenario: Edit Subject Categories (Positive Test)

And Navigate to Subject Categories page
When Admin edit an Subject Categories
Then Subject Categories successfully updated message is displayed

Scenario: Delete Subject Categories (Positive Test)

And Navigate to Subject Categories page
When Admin delete an Subject Categories
Then Subject Categories successfully deleted message is displayed

Scenario: Delete Subject Categories (Negative Test)

And Navigate to Subject Categories page
And Enter the Subject Categories will be delete
And Clicks on search button
Then There is no data to show message is displayed




Then There is no data to show message is displayed
1 change: 0 additions & 1 deletion src/test/java/featureFiles/Cam08.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Feature:School Locations Functionality

Background:
Expand Down
7 changes: 0 additions & 7 deletions src/test/java/featureFiles/Cam09.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

Feature:School Departments Functionality

Background:
Expand Down Expand Up @@ -30,9 +29,3 @@ Feature:School Departments Functionality
Scenario: Delete to Departments (negative)
When click to departments
Then Element should not displayed






8 changes: 1 addition & 7 deletions src/test/java/featureFiles/Cam10.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,31 @@ Feature: Bank Account Setup
Then User should login successfully

Scenario: Add Bank Account (Positive)

When Click Setup button Parameters Button and Bank Accounts Button
And Click Bank Accounts Add Button
And Fill the Bank Accounts Blanks
And Click Bank Accounts save button
Then Verify that Element is Visible

Scenario: Add Bank Account (Negative)

When Click Setup button Parameters Button and Bank Accounts Button
And Click Bank Accounts Add Button
And Fill the Add Blanks with same Data
And Click Bank Accounts save button
Then Verify Bank Accounts error

Scenario: Delete Bank Account (Positive)

When Click Setup button Parameters Button and Bank Accounts Button
And Click Bank Accounts DeleteButton
Then Verify Bank Accounts delete text

Scenario: Delete Bank Account (Negative)

When Click Setup button Parameters Button and Bank Accounts Button
And Re-enter a deleted Bank Accounts data and try to delete it
Then Verify that the delete key is not visible

Scenario: Edit BAnk Account

When Click Setup button Parameters Button and Bank Accounts Button
And Click Bank Accounts Edit Button
And Fill the Edit Blanks and save
Then Verify that Edit Element is Visible

Then Verify that Edit Element is Visible
16 changes: 1 addition & 15 deletions src/test/java/featureFiles/Cam11.feature
Original file line number Diff line number Diff line change
@@ -1,50 +1,36 @@
Feature: Bank Account Setup


Background:
Given Navigate to Campus
When Enter username and password and click button
Then User should login successfully


Scenario:Add Grade Levels (Positive)

When Click Setup button Parameters Button and Grade Levels Button
And Click Grade Levels Add Button
And Fill Grade Levels the Blanks
And Click Grade Levels save button
Then Verify that Grade Levels Element is Visible


Scenario: Add Grade Levels (Negative)

When Click Setup button Parameters Button and Grade Levels Button
And Click Grade Levels Add Button
And Fill Grade Levels the Blanks with same data
And Click Grade Levels save button
Then Verify that Grade Levels error text


Scenario: Edit Grade Levels

When Click Setup button Parameters Button and Grade Levels Button
And Click Edit Button Grade Levels
And Fill the Blanks and save
And Verify that Editable Element is Visible


Scenario: Delete Grade Levels(Positive)

When Click Setup button Parameters Button and Grade Levels Button
And Click Grade Levels first Delete Button
And Verify Grade Levels Delete


Scenario: Delete Grade Levels (Negative)

When Click Setup button Parameters Button and Grade Levels Button
And Re-enter a deleted data and try to delete First Delete Element
Then Verify that the first delete key is not visible



Then Verify that the first delete key is not visible
15 changes: 1 addition & 14 deletions src/test/java/featureFiles/Cam12.feature
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Feature: Discount Functionality

Background: Login, Parameters and Discounts Functionalities

Given Navigate to Campus
When Enter username and password and click button
Then User should login successfully
Expand All @@ -12,7 +11,6 @@ Feature: Discount Functionality


Scenario Outline: Discounts Add Feature (Positive Test)

Then Click on the element in Dialog
| addButton |

Expand All @@ -32,9 +30,7 @@ Feature: Discount Functionality
| descriptionInput | intCode | prrtyCode |
| Cam12 | 13 | 14 |


Scenario Outline: Discounts Add Feature (Negative Test)

Then Click on the element in Dialog
| addButton |

Expand All @@ -54,9 +50,7 @@ Feature: Discount Functionality
| descriptionInput | intCode | prrtyCode |
| Cam12 | 13 | 14 |


Scenario Outline: Discounts Edit Feature

When User sending the keys in Dialog Content
| descriptionSearch | <descriptionInput> |
| discountsIntegrationCodeSearch | <intCode> |
Expand All @@ -69,9 +63,7 @@ Feature: Discount Functionality
| descriptionInput | intCode |
| Cam12 | 13 |


Scenario Outline: Discounts Delete Feature (Positive Test)

Then User delete input from Dialog Content
| <descriptionInput> |

Expand All @@ -81,9 +73,7 @@ Feature: Discount Functionality
| descriptionInput |
| Cam99 |


Scenario Outline: Discounts Delete Feature (Negative Test)

When User sending the keys in Dialog Content
| descriptionSearch | <descriptionInput> |
| discountsIntegrationCodeSearch | <intCode> |
Expand All @@ -95,7 +85,4 @@ Feature: Discount Functionality

Examples:
| descriptionInput | intCode |
| Cam99 | 44 |



| Cam99 | 44 |
Loading

0 comments on commit e25fbe8

Please sign in to comment.