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, 4:20:34 AM

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

**Input(s):**
1. bankspromot.txt
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/f8312638-75eb-48c2-b58f-5d615b1782ae/bankspromot.txt
2. TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/f8312638-75eb-48c2-b58f-5d615b1782ae/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/f8312638-75eb-48c2-b58f-5d615b1782ae/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-11T04:20:34.355Z",
"updated_at": "2026-01-11T04:20:34.355Z"
},
"files": {
"input_files": [
{
"fileName": "TCSBaNCS_functional-after-fix.txt",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/f8312638-75eb-48c2-b58f-5d615b1782ae/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/f8312638-75eb-48c2-b58f-5d615b1782ae/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/f8312638-75eb-48c2-b58f-5d615b1782ae/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/f8312638-75eb-48c2-b58f-5d615b1782ae/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 Integration
Order Confirmation and Receipt Generation
User Profile Management
Role-based Access Control and Permissions
Data Validation and Error Handling
UI Interactions across all screens and forms
Guest Checkout Process
Password Recovery Process
Product Review Submission
Wishlist Management
Multi-Currency Support
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
Feature: E-commerce Application Functional Testing

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

Examples:
| name | email | password |
| John Doe | john@example.com| Passw0rd! |
| Jane Doe | jane@example.com| Secure123! |

@ui
Scenario Outline: Product Search and Filtering
Given I am on the homepage
When I enter "<keyword>" in the search bar
And I apply filters for "<category>" and "<price_range>"
And I click the 'Search' button
Then relevant products are displayed according to the search criteria and filters

Examples:
| keyword | category | price_range |
| laptop | electronics | 500-1000 |
| shoes | fashion | 50-100 |

@ui
Scenario Outline: Shopping Cart Management
Given I am logged in
And I have selected a product
When I click 'Add to Cart'
And I navigate to the cart
And I remove a product from the cart
Then the products are added and removed from the cart correctly
And the cart updates accordingly

Examples:
| product_name |
| Laptop |
| Sneakers |

@ui
Scenario Outline: Checkout Process and Payment Integration
Given I have items in the cart
When I navigate to checkout
And I enter "<shipping_details>"
And I select "<payment_method>"
And I confirm and complete payment
Then the order is processed successfully
And payment is confirmed

Examples:
| shipping_details | payment_method |
| "123 Main St, City" | Credit Card |
| "456 Elm St, Town" | PayPal |

@ui
Scenario Outline: Order Confirmation and Receipt Generation
Given I have completed the checkout process
When I check for the order confirmation message
Then the order confirmation is displayed
And a receipt is generated and emailed to the user

Examples:
| order_id |
| 1001 |
| 1002 |

@ui
Scenario Outline: User Profile Management
Given I am logged in
When I navigate to profile settings
And I update "<field>" to "<new_value>"
And I save changes
Then the profile information is updated successfully
And a confirmation message is displayed

Examples:
| field | new_value |
| name | John Smith |
| email | john.smith@example.com |
| password| NewPass123! |

@ui
Scenario Outline: Role-based Access Control and Permissions
Given I log in as a "<user_role>"
When I attempt to access the admin panel
Then "<access_result>" is displayed

Examples:
| user_role | access_result |
| admin | Access granted |
| regular | Access denied |

@ui
Scenario Outline: Data Validation and Error Handling
Given I am on a form requiring input validation
When I enter invalid "<field>" with "<invalid_data>"
And I submit the form
Then error messages are displayed for invalid inputs

Examples:
| field | invalid_data |
| email | invalidemail |
| password| short |

@ui
Scenario Outline: UI Interactions across all screens and forms
Given I access the application on a "<device>"
When I navigate through various screens and forms
Then UI elements are responsive and interactive

Examples:
| device |
| desktop |
| mobile |

@ui
Scenario Outline: Guest Checkout Process
Given I have added products to the cart
When I proceed to checkout as a guest
And I enter "<shipping_details>" and "<billing_details>"
And I select "<payment_method>"
And I complete the payment
Then the order is processed successfully
And a confirmation message is displayed

Examples:
| shipping_details | billing_details | payment_method |
| "123 Main St, City" | "123 Main St, City" | Credit Card |
| "456 Elm St, Town" | "456 Elm St, Town" | PayPal |

@ui
Scenario Outline: Password Recovery Process
Given I am on the login page
When I click on 'Forgot Password'
And I enter registered email "<email>"
Then I receive a recovery email
And I successfully reset the password

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

@ui
Scenario Outline: Product Review Submission
Given I am logged in and have purchased the product
When I navigate to the product page
And I click on 'Write a Review'
And I enter review details and rating
And I submit the review
Then the review is submitted successfully
And appears on the product page

Examples:
| product_name |
| Laptop |
| Sneakers |

@ui
Scenario Outline: Wishlist Management
Given I am logged in
When I navigate to a product page
And I click 'Add to Wishlist'
And I navigate to the wishlist
And I remove a product from the wishlist
Then the products are added and removed from the wishlist correctly
And the wishlist updates accordingly

Examples:
| product_name |
| Laptop |
| Sneakers |

@ui
Scenario Outline: Multi-Currency Support
Given the multi-currency feature is enabled
When I navigate to the currency selection option
And I select "<currency>"
And I add products to the cart
And I proceed to checkout and complete the payment
Then prices are displayed in the selected currency
And the transaction is completed 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 successful account creation with valid details.","testId":"TC-001","testDescription":"A new user registers with valid information to create an account.","prerequisites":"User must not have an existing account with the same email.","stepsToPerform":"1. Navigate to registration page.\n2. Enter valid name, email, and password.\n3. Agree to terms and conditions.\n4. Click 'Register' button.","expectedResult":"User account is created successfully, and a confirmation email is sent.","additionalFields":"Boundary Value Analysis for password length, Data integrity checks for PII"},{"type":"functional","title":"Product Search and Filtering","description":"Verify product search and filtering functionality.","testId":"TC-002","testDescription":"A user searches for products using keywords and applies filters.","prerequisites":"Products must be available in the database.","stepsToPerform":"1. Navigate to the search bar.\n2. Enter a product keyword.\n3. Apply filters such as category and price range.\n4. Click 'Search' button.","expectedResult":"Relevant products are displayed according to the search criteria and filters.","additionalFields":"Boundary Value Analysis for price range, UI Interactions for filter application"},{"type":"functional","title":"Shopping Cart Management","description":"Verify adding and removing items from the shopping cart.","testId":"TC-003","testDescription":"A user adds products to the cart and removes them as needed.","prerequisites":"User must be logged in and products must be available.","stepsToPerform":"1. Select a product.\n2. Click 'Add to Cart'.\n3. Navigate to the cart.\n4. Remove a product from the cart.","expectedResult":"Products are added and removed from the cart correctly, and the cart updates accordingly.","additionalFields":"State Transition testing for cart state, UI Interactions for add/remove actions"},{"type":"functional","title":"Checkout Process and Payment Integration","description":"Verify the checkout process and payment gateway integration.","testId":"TC-004","testDescription":"A user completes the checkout process and makes a payment.","prerequisites":"User must have items in the cart and a valid payment method.","stepsToPerform":"1. Navigate to checkout.\n2. Enter shipping details.\n3. Select payment method.\n4. Confirm and complete payment.","expectedResult":"Order is processed successfully, and payment is confirmed.","additionalFields":"Integration testing with payment gateways, High-risk edge cases for payment failures"},{"type":"functional","title":"Order Confirmation and Receipt Generation","description":"Verify order confirmation and receipt generation.","testId":"TC-005","testDescription":"A user receives an order confirmation and a receipt after successful payment.","prerequisites":"Order must be successfully placed and payment confirmed.","stepsToPerform":"1. Complete the checkout process.\n2. Check for order confirmation message.\n3. Verify receipt is generated and sent via email.","expectedResult":"Order confirmation is displayed, and a receipt is generated and emailed to the user.","additionalFields":"Data integrity checks for order details, UI Interactions for confirmation display"},{"type":"functional","title":"User Profile Management","description":"Verify user 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 profile settings.\n2. Update name, email, and password fields.\n3. Save changes.","expectedResult":"Profile information is updated successfully, and a confirmation message is displayed.","additionalFields":"Data integrity checks for PII, Boundary Value Analysis for password length"},{"type":"functional","title":"Role-based Access Control and Permissions","description":"Verify access control based on user roles.","testId":"TC-007","testDescription":"Different user roles have specific access permissions to various sections of the application.","prerequisites":"User roles must be predefined in the system.","stepsToPerform":"1. Log in as an admin user.\n2. Attempt to access admin panel.\n3. Log in as a regular user.\n4. Attempt to access admin panel.","expectedResult":"Admin user can access the admin panel, while regular user is denied access.","additionalFields":"Decision Table testing for role-based access, UI Interactions for access denial messages"},{"type":"functional","title":"Data Validation and Error Handling","description":"Verify data validation and error handling for user inputs.","testId":"TC-008","testDescription":"The system validates user inputs and provides appropriate error messages.","prerequisites":"User must be on a form requiring input validation.","stepsToPerform":"1. Navigate to a form with input fields.\n2. Enter invalid data in required fields.\n3. Submit the form.","expectedResult":"Error messages are displayed for invalid inputs, guiding the user to correct them.","additionalFields":"Data validation for sensitive information, Error message accuracy"},{"type":"functional","title":"Integration with External Payment Systems","description":"Verify integration with external payment gateways.","testId":"TC-009","testDescription":"The system successfully integrates with external payment systems for processing payments.","prerequisites":"Payment gateway credentials must be configured.","stepsToPerform":"1. Navigate to checkout.\n2. Select an external payment method.\n3. Complete the payment process.","expectedResult":"Payment is processed through the external gateway, and confirmation is received.","additionalFields":"Integration testing with payment gateways, High-risk edge cases for payment failures"},{"type":"functional","title":"UI Interactions across all screens and forms","description":"Verify UI interactions and responsiveness across different devices.","testId":"TC-010","testDescription":"The application UI is responsive and interactive across various devices and screen sizes.","prerequisites":"Access to different devices and screen sizes.","stepsToPerform":"1. Access the application on a desktop.\n2. Navigate through various screens and forms.\n3. Repeat steps on a mobile device.","expectedResult":"UI elements are responsive and interactive, providing a consistent user experience across devices.","additionalFields":"UI Interactions for responsiveness, Cross-browser compatibility checks"},{"type":"functional","title":"Guest Checkout Process","description":"Verify the checkout process for a guest user without account creation.","testId":"TC-011","testDescription":"A guest user completes the checkout process without creating an account.","prerequisites":"Guest checkout option must be enabled.","stepsToPerform":"1. Add products to the cart.\n2. Proceed to checkout as a guest.\n3. Enter shipping and billing details.\n4. Select payment method.\n5. Complete the payment.","expectedResult":"Order is processed successfully, and a confirmation message is displayed.","additionalFields":"Boundary Value Analysis for shipping details, Integration testing with payment gateways"},{"type":"functional","title":"Password Recovery Process","description":"Verify the password recovery process for users who forgot their password.","testId":"TC-012","testDescription":"A user initiates a password recovery process to reset their forgotten password.","prerequisites":"User must have an existing account with a registered email.","stepsToPerform":"1. Navigate to the login page.\n2. Click on 'Forgot Password'.\n3. Enter registered email address.\n4. Check email for recovery link.\n5. Follow the link and reset the password.","expectedResult":"User receives a recovery email and successfully resets their password.","additionalFields":"Data integrity checks for email handling, UI Interactions for recovery link"},{"type":"functional","title":"Product Review Submission","description":"Verify the ability for users to submit product reviews.","testId":"TC-013","testDescription":"A user submits a review for a purchased product.","prerequisites":"User must be logged in and have purchased the product.","stepsToPerform":"1. Navigate to the product page.\n2. Click on 'Write a Review'.\n3. Enter review details and rating.\n4. Submit the review.","expectedResult":"Review is submitted successfully and appears on the product page.","additionalFields":"Data validation for review content, UI Interactions for review submission"},{"type":"functional","title":"Wishlist Management","description":"Verify adding and removing items from the wishlist.","testId":"TC-014","testDescription":"A user adds products to the wishlist and removes them as needed.","prerequisites":"User must be logged in.","stepsToPerform":"1. Navigate to a product page.\n2. Click 'Add to Wishlist'.\n3. Navigate to the wishlist.\n4. Remove a product from the wishlist.","expectedResult":"Products are added and removed from the wishlist correctly, and the wishlist updates accordingly.","additionalFields":"State Transition testing for wishlist state, UI Interactions for add/remove actions"},{"type":"functional","title":"Multi-Currency Support","description":"Verify the application supports multiple currencies for international users.","testId":"TC-015","testDescription":"A user selects a different currency and completes a purchase.","prerequisites":"Multi-currency feature must be enabled.","stepsToPerform":"1. Navigate to the currency selection option.\n2. Select a different currency.\n3. Add products to the cart.\n4. Proceed to checkout and complete the payment.","expectedResult":"Prices are displayed in the selected currency, and the transaction is completed successfully.","additionalFields":"Boundary Value Analysis for currency conversion, UI Interactions for currency selection"}]
Binary file not shown.