Task #68
Updated by Srishti Ghosh 18 days ago
**User Story** * * [ ] Licence Search DocType As a Canofy user, I want to search for a vehicle's FASTag transaction history so that I can review recent toll-plaza activity and vehicle movement information. **Description** Develop the FASTag Transaction * * [ ] Licence Verification module using the common Canofy ULIP integration and UI workflow frameworks. API The module allows users to search for a vehicle using its registration number and retrieve recent FASTag toll transactions. The returned transaction information includes the time of the toll-reader event, toll plaza name, toll plaza coordinates and the associated vehicle registration number. * * [ ] Workflow The module currently uses simulated ULIP FASTAG/01 responses for development and demonstration. Mock scenarios were implemented for successful transaction retrieval, no transactions found and ULIP service unavailability. **Configuration / Prerequisites** Common Canofy ULIP UI/workflow framework configured. Common ULIPClient integration layer available. FASTAG/01 transaction service method implemented. Vehicle registration number search configured. Mock FASTag transaction responses configured. Success, no-record and server-error scenarios available. Transaction results layout configured to display multiple records. Acceptance Criteria Users can enter a vehicle registration number to search for FASTag transactions. The search request is routed through the common ULIP integration layer. A successful response displays the vehicle's recent FASTag transactions. Each transaction displays the relevant timestamp, toll plaza name, toll plaza location/geocode and vehicle registration number. Multiple transactions can be displayed in a structured results interface. A vehicle with no available transactions produces a clear user-facing message. ULIP/service errors are handled gracefully without breaking the workflow. The module follows the common Canofy search, loading, results and navigation patterns. The transaction data returned by the service is presented without losing or incorrectly mapping individual transaction records. **Test Cases** TC01 – Successful FASTag Search Enter the demo vehicle number KA01AB1234. Expected Result: The application returns the configured FASTag transaction history containing four recent toll transactions. TC02 – Transaction Details Inspect the returned transaction records. Expected Result: Each record correctly displays the reader-read time, toll plaza name, geocode and vehicle registration number. TC03 – No Transactions Found Enter MH12AB9999. Expected Result: The application displays “No FASTag transactions found.” TC04 – ULIP Service Error Enter KA01CD5000. Expected Result: The simulated ULIP service error is handled gracefully and an appropriate error state is displayed. TC05 – Empty Search Input Attempt to submit the FASTag search without entering a vehicle number. Expected Result: The application prevents the request and asks the user to provide the required vehicle number. TC06 – Multiple Transaction Rendering Perform the successful search and verify all returned transaction records. Expected Result: All four configured transactions are displayed correctly and remain associated with the searched vehicle. * * [ ] Report Generation