Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions functional_tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Roost Generated Functional Test

**Execution Date:** 1/11/2026, 3:46:00 AM

**Test Unique Identifier:** "TCSBaNCS_functional-after-fix"

**Input(s):**
1. bankspromot.txt
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/bankspromot.txt
2. TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx
3. TCS BaNCS-Functional Specifications-Securities Back Office Processing-v1.8.1.docx
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/TCS BaNCS-Functional Specifications-Securities Back Office Processing-v1.8.1.docx

**Test Output Folder:**
1. [TCSBaNCS_functional-after-fix.json](TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.json)
2. [TCSBaNCS_functional-after-fix.feature](TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.feature)
3. [TCSBaNCS_functional-after-fix.csv](TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.csv)
4. [TCSBaNCS_functional-after-fix.xlsx](TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.xlsx)
5. [TCSBaNCS_functional-after-fix.docx](TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.docx)

---

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"project": {
"name": "TCSBaNCS_functional-after-fix",
"created_at": "2026-01-11T03:46:00.357Z",
"updated_at": "2026-01-11T03:46:00.357Z"
},
"files": {
"input_files": [
{
"fileName": "TCSBaNCS_functional-after-fix.txt",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/functional_tests/TCSBaNCS_functional-after-fix/TCSBaNCS_functional-after-fix.txt",
"fileSha": "cf83e1357e"
},
{
"fileName": "bankspromot.txt",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/functional_tests/TCSBaNCS_functional-after-fix/bankspromot.txt",
"fileSha": "0664b099ba"
},
{
"fileName": "TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/functional_tests/TCSBaNCS_functional-after-fix/TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx",
"fileSha": "55a242034e"
},
{
"fileName": "TCS BaNCS-Functional Specifications-Securities Back Office Processing-v1.8.1.docx",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/da05e5ae-caf9-4b36-a894-d9f1055540db/functional_tests/TCSBaNCS_functional-after-fix/TCS BaNCS-Functional Specifications-Securities Back Office Processing-v1.8.1.docx",
"fileSha": "2cd5271236"
}
]
},
"api_files": {
"input_files": []
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
User Registration and Account Creation
Product Search and Filtering
Shopping Cart Management
Checkout Process and Payment Gateway Integration
Order Confirmation and Notification
User Profile Management
Role-based Access Control
Data Validation and Error Handling
UI Interactions Across All Screens
Guest Checkout Process
Wishlist Management
Order History and Details
Password Recovery
Multi-Currency Support
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
Feature: E-commerce Platform Functional Testing

# UI Test Scenarios
@ui
Scenario Outline: User Registration and Account Creation
Given I am on the registration page
When I enter valid user details including name "<name>", email "<email>", and password "<password>"
And I agree to terms and conditions
And I click the 'Register' button
Then I should receive a confirmation email
And the account should be created successfully

Examples:
| name | email | password |
| John | john@example.com | Pass123! |
| Alice | alice@example.com| Pass456! |

@ui
Scenario Outline: Product Search and Filtering
Given I am on the homepage
When I enter "<product_name>" in the search bar
And I apply filters such as price range "<price_range>", category "<category>", and brand "<brand>"
And I click the 'Search' button
Then relevant products should be displayed according to the search criteria and filters applied

Examples:
| product_name | price_range | category | brand |
| Laptop | 500-1000 | Electronics | Dell |
| Shoes | 50-100 | Fashion | Nike |

@ui
Scenario Outline: Shopping Cart Management
Given I am logged in
And I have added a product "<product>" to the cart
When I update the quantity of the product to "<quantity>"
And I remove a product "<product_to_remove>" from the cart
Then the cart should be updated with correct item quantities and total price

Examples:
| product | quantity | product_to_remove |
| Laptop | 2 | Shoes |
| Shoes | 1 | Laptop |

@ui
Scenario Outline: Checkout Process and Payment Gateway Integration
Given I have items in the cart
When I proceed to checkout
And I enter shipping details "<shipping_details>"
And I select a payment method "<payment_method>"
And I complete the payment process
Then payment should be processed successfully
And an order confirmation should be displayed

Examples:
| shipping_details | payment_method |
| Address1 | Credit Card |
| Address2 | PayPal |

@ui
Scenario Outline: Order Confirmation and Notification
Given I have completed a purchase
When I check for order confirmation on the website
And I verify receipt of email notification
Then order confirmation should be displayed
And email notification should be received

Examples:
| purchase_id |
| 12345 |
| 67890 |

@ui
Scenario Outline: User Profile Management
Given I am logged in and on the profile settings page
When I update profile details including name "<name>", email "<email>", and password "<password>"
And I save changes
Then profile information should be updated successfully
And changes should be reflected in the user account

Examples:
| name | email | password |
| John | john@example.com | NewPass123! |
| Alice | alice@example.com| NewPass456! |

@ui
Scenario Outline: Role-based Access Control
Given I am logged in with a user account assigned a specific role "<role>"
When I attempt to access various sections of the application
Then I should be able to access permitted areas
And I should be restricted from unauthorized sections

Examples:
| role |
| Admin |
| Customer |

@ui
Scenario Outline: Data Validation and Error Handling
Given I am logged in
When I navigate to different forms and enter invalid data "<invalid_data>"
And I submit the form
Then the system should display appropriate error messages
And prevent form submission

Examples:
| invalid_data |
| invalid_email@format |
| negative_price |

@ui
Scenario Outline: UI Interactions Across All Screens
Given I am logged in
When I navigate through different pages and interact with UI elements
And I resize the browser window
Then UI elements should function correctly
And the layout should be responsive across different screen sizes

Examples:
| page |
| home |
| product |
| checkout |

@ui
Scenario Outline: Guest Checkout Process
Given I have items in the cart
When I proceed to checkout
And I select 'Checkout as Guest'
And I enter shipping details "<shipping_details>"
And I select a payment method "<payment_method>"
And I complete the payment process
Then payment should be processed successfully
And an order confirmation should be displayed

Examples:
| shipping_details | payment_method |
| Address1 | Credit Card |
| Address2 | PayPal |

@ui
Scenario Outline: Wishlist Management
Given I am logged in
When I navigate to a product page and add the product "<product>" to the wishlist
And I view the wishlist
And I remove a product "<product_to_remove>" from the wishlist
Then the wishlist should be updated accordingly with correct items

Examples:
| product | product_to_remove |
| Laptop | Shoes |
| Shoes | Laptop |

@ui
Scenario Outline: Order History and Details
Given I am logged in and have completed at least one purchase
When I navigate to the order history page
And I select an order "<order_id>" to view details
Then order history and details should be displayed accurately

Examples:
| order_id |
| 12345 |
| 67890 |

@ui
Scenario Outline: Password Recovery
Given I have an existing account
When I navigate to the login page
And I click on 'Forgot Password'
And I enter registered email address "<email>"
And I follow the instructions in the password recovery email
Then I should be able to reset my password
And log in with the new password

Examples:
| email |
| john@example.com |
| alice@example.com |

@ui
Scenario Outline: Multi-Currency Support
Given I have items in the cart
When I navigate to the currency selection option
And I select a different currency "<currency>"
And I proceed to checkout
And I complete the payment process
Then prices should be displayed in the selected currency
And payment should be processed successfully

Examples:
| currency |
| USD |
| EUR |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"functional","title":"User Registration and Account Creation","description":"Verify that a new user can successfully register and create an account.","testId":"TC-001","testDescription":"A new user provides valid information to register and create an account.","prerequisites":"User must have access to a valid email address.","stepsToPerform":"1. Navigate to the registration page.\n2. Enter valid user details including name, email, and password.\n3. Agree to terms and conditions.\n4. Click 'Register' button.","expectedResult":"User receives a confirmation email and account is created successfully.","additionalFields":"PII handling, data masking for sensitive fields"},{"type":"functional","title":"Product Search and Filtering","description":"Verify that users can search for products and apply filters.","testId":"TC-002","testDescription":"A user searches for a product and applies filters to narrow down results.","prerequisites":"Products must be available in the database.","stepsToPerform":"1. Navigate to the search bar.\n2. Enter a product name or keyword.\n3. Apply filters such as price range, category, and brand.\n4. Click 'Search' button.","expectedResult":"Relevant products are displayed according to the search criteria and filters applied.","additionalFields":"Boundary Value Analysis for price filters"},{"type":"functional","title":"Shopping Cart Management","description":"Verify that users can add, update, and remove items from the shopping cart.","testId":"TC-003","testDescription":"A user manages items in their shopping cart.","prerequisites":"User must be logged in and products must be available.","stepsToPerform":"1. Add a product to the cart.\n2. Update the quantity of the product.\n3. Remove a product from the cart.","expectedResult":"Cart is updated accordingly with correct item quantities and total price.","additionalFields":"State Transition testing for cart status"},{"type":"functional","title":"Checkout Process and Payment Gateway Integration","description":"Verify that users can complete the checkout process and make a payment.","testId":"TC-004","testDescription":"A user completes the checkout process using a valid payment method.","prerequisites":"User must have items in the cart and a valid payment method.","stepsToPerform":"1. Proceed to checkout.\n2. Enter shipping details.\n3. Select a payment method.\n4. Complete the payment process.","expectedResult":"Payment is processed successfully and an order confirmation is displayed.","additionalFields":"High-risk edge cases in payment processing"},{"type":"functional","title":"Order Confirmation and Notification","description":"Verify that users receive an order confirmation and notification after a successful purchase.","testId":"TC-005","testDescription":"A user receives confirmation and notification for their order.","prerequisites":"User must have completed a purchase.","stepsToPerform":"1. Complete a purchase.\n2. Check for order confirmation on the website.\n3. Verify receipt of email notification.","expectedResult":"Order confirmation is displayed and email notification is received.","additionalFields":"Data integrity checks for order details"},{"type":"functional","title":"User Profile Management","description":"Verify that users can update their profile information.","testId":"TC-006","testDescription":"A user updates their profile details such as name, email, and password.","prerequisites":"User must be logged in and have an existing profile.","stepsToPerform":"1. Navigate to the profile settings page.\n2. Update profile details including name, email, and password.\n3. Save changes.","expectedResult":"Profile information is updated successfully and changes are reflected in the user account.","additionalFields":"Data integrity checks for profile updates, PII handling"},{"type":"functional","title":"Role-based Access Control","description":"Verify that users have appropriate access based on their roles.","testId":"TC-007","testDescription":"A user with a specific role attempts to access restricted areas.","prerequisites":"User must be logged in with a defined role.","stepsToPerform":"1. Log in with a user account assigned a specific role.\n2. Attempt to access various sections of the application.\n3. Verify access permissions.","expectedResult":"User can access permitted areas and is restricted from unauthorized sections.","additionalFields":"Decision Table testing for role permissions"},{"type":"functional","title":"Data Validation and Error Handling","description":"Verify that the system handles invalid inputs gracefully.","testId":"TC-008","testDescription":"A user enters invalid data in various fields across the application.","prerequisites":"User must be logged in.","stepsToPerform":"1. Navigate to different forms (e.g., registration, checkout).\n2. Enter invalid data (e.g., incorrect email format, negative price).\n3. Submit the form.","expectedResult":"System displays appropriate error messages and prevents form submission.","additionalFields":"Handling of invalid inputs, error messaging"},{"type":"functional","title":"Integration with External Systems","description":"Verify integration with external payment processors.","testId":"TC-009","testDescription":"A user completes a transaction using an external payment gateway.","prerequisites":"User must have items in the cart and a valid payment method.","stepsToPerform":"1. Proceed to checkout.\n2. Select an external payment gateway.\n3. Complete the payment process.","expectedResult":"Payment is processed successfully through the external gateway and order is confirmed.","additionalFields":"Integration testing with payment processors"},{"type":"functional","title":"UI Interactions Across All Screens","description":"Verify consistent UI interactions and responsiveness across all screens.","testId":"TC-010","testDescription":"A user navigates through various screens and interacts with UI elements.","prerequisites":"User must be logged in.","stepsToPerform":"1. Navigate through different pages (e.g., home, product, checkout).\n2. Interact with UI elements (e.g., buttons, links, dropdowns).\n3. Resize browser window to test responsiveness.","expectedResult":"UI elements function correctly and the layout is responsive across different screen sizes.","additionalFields":"UI consistency, responsiveness testing"},{"type":"functional","title":"Guest Checkout Process","description":"Verify that users can complete the checkout process as a guest without creating an account.","testId":"TC-011","testDescription":"A user completes the checkout process as a guest using a valid payment method.","prerequisites":"User must have items in the cart.","stepsToPerform":"1. Proceed to checkout.\n2. Select 'Checkout as Guest'.\n3. Enter shipping details.\n4. Select a payment method.\n5. Complete the payment process.","expectedResult":"Payment is processed successfully and an order confirmation is displayed.","additionalFields":"Guest checkout, PII handling for guest users"},{"type":"functional","title":"Wishlist Management","description":"Verify that users can add, view, and remove items from their wishlist.","testId":"TC-012","testDescription":"A user manages items in their wishlist.","prerequisites":"User must be logged in.","stepsToPerform":"1. Navigate to a product page.\n2. Add the product to the wishlist.\n3. View the wishlist.\n4. Remove a product from the wishlist.","expectedResult":"Wishlist is updated accordingly with correct items.","additionalFields":"State Transition testing for wishlist status"},{"type":"functional","title":"Order History and Details","description":"Verify that users can view their order history and details.","testId":"TC-013","testDescription":"A user views their past orders and order details.","prerequisites":"User must be logged in and have completed at least one purchase.","stepsToPerform":"1. Navigate to the order history page.\n2. Select an order to view details.\n3. Verify order details such as items, total amount, and status.","expectedResult":"Order history and details are displayed accurately.","additionalFields":"Data integrity checks for order history"},{"type":"functional","title":"Password Recovery","description":"Verify that users can recover their password using the password recovery feature.","testId":"TC-014","testDescription":"A user recovers their password using the password recovery process.","prerequisites":"User must have an existing account.","stepsToPerform":"1. Navigate to the login page.\n2. Click on 'Forgot Password'.\n3. Enter registered email address.\n4. Follow the instructions in the password recovery email.","expectedResult":"User is able to reset their password and log in with the new password.","additionalFields":"PII handling, email verification"},{"type":"functional","title":"Multi-Currency Support","description":"Verify that the system supports transactions in multiple currencies.","testId":"TC-015","testDescription":"A user selects a different currency and completes a purchase.","prerequisites":"User must have items in the cart.","stepsToPerform":"1. Navigate to the currency selection option.\n2. Select a different currency.\n3. Proceed to checkout.\n4. Complete the payment process.","expectedResult":"Prices are displayed in the selected currency and payment is processed successfully.","additionalFields":"Currency conversion, Boundary Value Analysis for currency fields"}]
Binary file not shown.