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, 6:43:12 AM

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

**Input(s):**
1. bankspromot.txt
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/b1c4508f-568b-404f-9130-7231e18042e2/bankspromot.txt
2. TCSBaNCS_ST_BSSB_FSD_CallCenterOperator_v14.2.docx
Path: /var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/b1c4508f-568b-404f-9130-7231e18042e2/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/b1c4508f-568b-404f-9130-7231e18042e2/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-11T06:43:12.246Z",
"updated_at": "2026-01-11T06:43:12.246Z"
},
"files": {
"input_files": [
{
"fileName": "TCSBaNCS_functional-after-fix.txt",
"fileURI": "/var/tmp/Roost/RoostGPT/TCSBaNCS_functional-after-fix/b1c4508f-568b-404f-9130-7231e18042e2/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/b1c4508f-568b-404f-9130-7231e18042e2/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/b1c4508f-568b-404f-9130-7231e18042e2/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/b1c4508f-568b-404f-9130-7231e18042e2/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,10 @@
Agent Login and MFA Verification
Customer Verification via Call Center
Real-time Data Feed Integration
Transaction Execution and Settlement
Compliance Report Generation
Session Timeout and Automatic Logout
Data Encryption Verification
Real-time Data Accuracy
Error Handling and Alert Management
Verify Security Transfer Within and Between Banks
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
Feature: Comprehensive Testing of Financial Trading and Security Systems

# UI Test Scenarios for Agent Login and MFA Verification
@ui
Scenario Outline: Agent Login and MFA Verification
Given I am on the agent login page
When I enter '<username>' and '<password>' into the login form
And I click the 'Login' button
Then I should see the MFA prompt
When I complete MFA using a registered device
Then I should be redirected to the dashboard
And I should see '<expected_dashboard_feature>'

Examples:
| username | password | expected_dashboard_feature |
| agent1 | pass123 | Portfolio Overview |
| agent2 | pass456 | Recent Transactions |

# API Test Scenarios for Customer Verification via Call Center
@api
Scenario Outline: Customer Verification via Call Center
Given the API base URL is 'https://api.financialservice.com'
And the authorization token is set
When I send a POST request to '/api/customer/verify' with payload:
"""
{
"identification_type": "National ID",
"national_id": "<national_id>"
}
"""
Then the response status should be 200
And the response should contain 'verified' with value 'true'
And the response should contain 'customer_details'

Examples:
| national_id |
| 123456789 |
| 987654321 |

# API Test Scenarios for Real-time Data Feed Integration
@api
Scenario: Real-time Data Feed Integration
Given the API base URL is 'https://api.marketdata.com'
When I send a GET request to '/api/data/real-time'
Then the response status should be 200
And the response should contain 'data'
And the data should be up-to-date

# API Test Scenarios for Transaction Execution and Settlement
@api
Scenario Outline: Transaction Execution and Settlement
Given the API base URL is 'https://api.tradingplatform.com'
And the authorization token is set
When I send a POST request to '/api/transactions/execute' with payload:
"""
{
"transaction_type": "<type>",
"amount": "<amount>",
"account_id": "<account_id>"
}
"""
Then the response status should be 201
And the response should contain 'transaction_status' with value 'completed'

Examples:
| type | amount | account_id |
| buy | 1000 | acc123 |
| sell | 500 | acc456 |

# API Test Scenarios for Compliance Report Generation
@api
Scenario: Compliance Report Generation
Given the API base URL is 'https://api.complianceservice.com'
When I send a POST request to '/api/reports/generate' with payload:
"""
{
"report_type": "compliance",
"period": "2023-Q1"
}
"""
Then the response status should be 200
And the response should contain 'report_id'
And the report should meet regulatory standards

# UI Test Scenarios for Session Timeout and Automatic Logout
@ui
Scenario: Session Timeout and Automatic Logout
Given I am logged into the system
And I perform no activity for the duration of the session timeout period
When I attempt to perform an action after the timeout period
Then I should be automatically logged out
And I should be prompted to log in again

# API Test Scenarios for Data Encryption Verification
@api
Scenario: Data Encryption Verification
Given the API base URL is 'https://api.secureservice.com'
And I start the network monitoring tool
When I log in with valid credentials
Then all sensitive data should be encrypted in the network data

# API Test Scenarios for Real-time Data Accuracy
@api
Scenario: Real-time Data Accuracy
Given the API base URL is 'https://api.marketdata.com'
When I compare the real-time data displayed in the system with actual market data
Then there should be no discrepancies

# API Test Scenarios for Error Handling and Alert Management
@api
Scenario: Error Handling and Alert Management
Given the system is operational with all modules active
When I simulate various operational errors
Then the system should handle errors gracefully
And alert the user with understandable alerts
And log the errors accurately

# API Test Scenarios for Security Transfer Within and Between Banks
@api
Scenario Outline: Verify Security Transfer Within and Between Banks
Given the API base URL is 'https://api.bankingservice.com'
And the authorization token is set
When I send a POST request to '/api/security/transfer' with payload:
"""
{
"transfer_type": "<transfer_type>",
"source_account": "<source_account>",
"target_account": "<target_account>",
"securities": "<securities>"
}
"""
Then the response status should be 200
And the response should contain 'transfer_status' with value 'successful'

Examples:
| transfer_type | source_account | target_account | securities |
| Within Bank | acc789 | acc987 | 50 shares |
| Outside Bank | acc789 | ext123 | 30 bonds |
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"type":"functional","title":"Agent Login and MFA Verification","description":"Test the multi-factor authentication process for agent login to ensure security compliance.","testId":"TC-001","testDescription":"Agent attempts to log in and is required to complete multi-factor authentication.","prerequisites":"Agent has valid login credentials and access to MFA device.","stepsToPerform":"1. Navigate to the agent login page.\n2. Enter valid agent credentials.\n3. Submit for authentication.\n4. Receive MFA prompt.\n5. Complete MFA using a registered device.","expectedResult":"Agent is successfully logged in after MFA verification and directed to the dashboard."},{"type":"functional","title":"Customer Verification via Call Center","description":"Verify the process of customer authentication using national ID through the call center interface.","testId":"TC-002","testDescription":"Agent uses customer's national ID to verify customer identity.","prerequisites":"Agent is logged in, customer has a national ID, and customer's data is correctly stored in the system.","stepsToPerform":"1. Access the customer authentication module.\n2. Select 'National ID' as the identification type.\n3. Enter the customer's national ID.\n4. Submit for verification.","expectedResult":"Customer is successfully authenticated and their portfolio details are displayed."},{"type":"functional","title":"Real-time Data Feed Integration","description":"Ensure real-time data feeds are correctly integrated and displaying updated information.","testId":"TC-003","testDescription":"Verify that the trading platform reflects real-time data from TCS BaNCS.","prerequisites":"Market is open and data feed from TCS BaNCS is operational.","stepsToPerform":"1. Log into the trading platform.\n2. Navigate to the market data section.\n3. Observe the data feed for consistency and timeliness.","expectedResult":"The data feed updates reflect real-time changes accurately without any delays or errors."},{"type":"functional","title":"Transaction Execution and Settlement","description":"Test the complete transaction process from execution to settlement in the system.","testId":"TC-004","testDescription":"Execute a financial transaction and track it through to settlement.","prerequisites":"Agent is logged in, customer's account is set up for trading, and necessary funds/securities are available.","stepsToPerform":"1. Initiate a buy/sell order on behalf of a customer.\n2. Confirm order details and submit for execution.\n3. Monitor order status through to execution.\n4. Verify post-trade processes including settlement and updating of customer's portfolio.","expectedResult":"Order is executed as per market conditions, settled correctly, and customer's portfolio is updated accurately."},{"type":"functional","title":"Compliance Report Generation","description":"Ensure the system can generate compliance reports as per regulatory requirements.","testId":"TC-005","testDescription":"Generate and review a compliance report for a specified period.","prerequisites":"Relevant trading data is present in the system for the period in question.","stepsToPerform":"1. Navigate to the compliance report section.\n2. Select the period for the report.\n3. Generate the report.\n4. Review the report for accuracy and completeness.","expectedResult":"Compliance report is generated successfully, containing all required data and adhering to regulatory standards."},{"type":"functional","title":"Session Timeout and Automatic Logout","description":"Verify that the system automatically logs out a user after a period of inactivity.","testId":"TC-006","testDescription":"Test the session timeout to ensure that the user session expires after the configured period of inactivity.","prerequisites":"User is logged in to the system.","stepsToPerform":"1. Log in to the system.\n2. Perform no activity for the duration of the session timeout period.\n3. Attempt to perform an action after the timeout period.","expectedResult":"User should be automatically logged out and prompted to log in again."},{"type":"functional","title":"Data Encryption Verification","description":"Ensure that sensitive data is encrypted when transmitted over the network.","testId":"TC-007","testDescription":"Verify that all sensitive data, including passwords and personal information, are encrypted during transmission.","prerequisites":"User is on a secure network and has network monitoring tools available.","stepsToPerform":"1. Start network monitoring tool.\n2. Log in with valid credentials.\n3. Monitor the data packets captured by the network tool.","expectedResult":"All sensitive data should be encrypted and not readable in the captured network data."},{"type":"functional","title":"Real-time Data Accuracy","description":"Verify that the real-time data feeds display accurate and up-to-date information.","testId":"TC-008","testDescription":"Ensure that the data feeds from external sources are accurate and reflect real-time changes.","prerequisites":"Market is open, and real-time data feeds are operational.","stepsToPerform":"1. Log into the system during market hours.\n2. Compare the real-time data displayed in the system with the actual market data from a reliable source.\n3. Check multiple data points such as stock prices and currency rates.","expectedResult":"The data displayed in the system should match the actual market data without any discrepancies."},{"type":"functional","title":"Compliance with Financial Regulations","description":"Test the system's compliance with the specified financial regulations.","testId":"TC-009","testDescription":"Verify that the system adheres to financial regulations such as TASE, ISA, and ITA during transactions.","prerequisites":"System is configured with the latest regulatory rules.","stepsToPerform":"1. Perform a series of transactions that are typically scrutinized under financial regulations.\n2. Review the transaction logs and reports for compliance.\n3. Ensure that all regulatory checks are performed and logged.","expectedResult":"All transactions should comply with the financial regulations, and appropriate logs should be generated."},{"type":"functional","title":"Error Handling and Alert Management","description":"Ensure that the system properly handles errors and alerts the user accordingly.","testId":"TC-010","testDescription":"Test the system's ability to handle unexpected conditions and alert the user.","prerequisites":"System is operational with all modules active.","stepsToPerform":"1. Simulate various operational errors such as network failures, data input errors, and access violations.\n2. Monitor the system's response and the alerts generated.\n3. Check the error logs for appropriate entries.","expectedResult":"The system should handle errors gracefully, inform the user with understandable alerts, and log the errors accurately."},{"type":"functional","title":"Verify Security Transfer Within Bank","description":"Test the process of transferring securities within the same bank between different customer accounts.","testId":"TC-011","testDescription":"A user initiates a security transfer from one customer account to another within the same bank.","prerequisites":"Both source and target customer accounts exist and are active, with sufficient securities for transfer.","stepsToPerform":"1. Log into the system as a bank officer.\n2. Navigate to the security transfer module.\n3. Select 'Within Bank' transfer type.\n4. Enter source and target account details.\n5. Select securities and quantities to transfer.\n6. Submit the transfer request.\n7. Verify the transfer by checking both accounts.","expectedResult":"Securities are debited from the source account and credited to the target account without any errors, and the transfer details are correctly recorded in the system."},{"type":"functional","title":"Verify Security Transfer Between Different Banks","description":"Ensure the system handles securities transfers between different banks correctly, complying with regulatory requirements.","testId":"TC-012","testDescription":"A user processes a security transfer from a customer account in the bank to another bank.","prerequisites":"Source customer account exists and is active, with sufficient securities for transfer. External bank details are correctly configured in the system.","stepsToPerform":"1. Log into the system as a bank officer.\n2. Access the security transfer module.\n3. Select 'Outside Bank' transfer type.\n4. Input source account and external bank details.\n5. Choose securities and set quantities for transfer.\n6. Submit the transfer request and receive a confirmation.\n7. Confirm the transfer details are sent to the external bank.","expectedResult":"The system correctly processes the transfer, sends the necessary details to the external bank, and logs the transaction accurately."},{"type":"functional","title":"Validate Real-time Data Accuracy in Trading Platform","description":"Confirm that the trading platform displays accurate and up-to-date market data in real-time.","testId":"TC-013","testDescription":"Verify the accuracy of real-time data displayed on the trading platform against an external verified source.","prerequisites":"The trading platform is operational, and external real-time data sources are available for comparison.","stepsToPerform":"1. Log into the trading platform during active market hours.\n2. Select a set of securities to monitor.\n3. Compare the real-time data from the platform with data from an external verified source.\n4. Record any discrepancies.","expectedResult":"All data on the trading platform matches the external source, ensuring data integrity and accuracy."},{"type":"functional","title":"Test Order Amendment Post-Execution","description":"Test the ability to amend orders after execution to correct any errors made during order entry.","testId":"TC-014","testDescription":"A bank officer amends an executed order to correct a mistake.","prerequisites":"An executed order exists that requires amendment. User has necessary permissions to amend orders.","stepsToPerform":"1. Log into the system as a bank officer.\n2. Navigate to the executed orders module.\n3. Select an order to amend.\n4. Make necessary corrections to the order details.\n5. Submit the amendment.\n6. Verify that the amendment is reflected in the system and check for any related adjustments in the accounts.","expectedResult":"The order is amended correctly, all related accounts are adjusted accordingly, and the system logs the amendment accurately."},{"type":"functional","title":"Verify Compliance with Financial Regulations for Transactions","description":"Ensure all transactions comply with financial regulations such as TASE, ISA, and ITA.","testId":"TC-015","testDescription":"Conduct a series of transactions and verify their compliance with the specified financial regulations.","prerequisites":"System is configured with the latest regulatory rules. Transactions types and scenarios are predefined.","stepsToPerform":"1. Log into the system as a compliance officer.\n2. Perform various transactions including buys, sells, and transfers.\n3. Review transaction logs and reports for compliance.\n4. Check that all regulatory checks are performed and logged.","expectedResult":"All transactions comply with financial regulations, and appropriate logs and reports are generated and stored in the system."}]
Binary file not shown.