Kiểm thử
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nhà điều hành phương tiện công cộng (PTO) và các nhà tích hợp hệ thống (nhà phát hành) cần hoàn tất các trường hợp kiểm thử sau đây để triển khai Motics trong Google Wallet trước khi ra mắt.
Các trường hợp kiểm thử chung
Hoàn tất và xác minh tất cả mã QR bắt buộc đối với API Transit của Google Wallet Kiểm thử trước khi ra mắt.
Các trường hợp thử nghiệm cụ thể về motics
Ngoài các trường hợp kiểm thử Chung, hãy hoàn tất các trường hợp kiểm thử cụ thể sau đây của Motics trước khi triển khai quy trình tích hợp.
Kiểm thử |
Kết quả dự kiến |
Quan sát mã vạch Motics trong Google Wallet. |
Mã vạch Motics tự động xoay vài giây một lần. |
Kiểm tra hoặc xác thực mã vạch của Motics xuất hiện trong Google Wallet bằng trình xác thực hoặc thiết bị kiểm tra. |
Quét mã vạch thành công và vé được coi là hợp lệ. |
Lưu vé có mã vạch của Motics vào Google Wallet ít nhất 4 ngày trước ngày bắt đầu có hiệu lực. |
Không có mã vạch nào hiển thị cho đến ngày và giờ bắt đầu có hiệu lực của vé. |
Lưu vé có mã vạch của Motics vào Google Wallet trên một thiết bị rồi thử lưu vé đó trên thiết bị thứ hai. |
Quy trình lưu không thành công trên thiết bị thứ hai. |
Xoá vé Motics đã lưu khỏi Google Wallet. |
Vé bị xoá khỏi Google Wallet và vé đó có thể được lưu lại thành công trên một thiết bị khác. |
Huỷ một vé Motics đã lưu qua cửa hàng của công ty phát hành thẻ. |
Vé đó sẽ bị xoá khỏi thiết bị ban đầu (nếu bán trực tuyến) và bạn có thể lưu lại vé đó trên một thiết bị khác. |
Hãy cố gắng xoá và lưu lại phiếu yêu cầu hỗ trợ nhiều lần. |
Bạn không thể lưu phiếu yêu cầu hỗ trợ sau khi vượt quá giới hạn kích hoạt do công ty phát hành xác định. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-29 UTC."],[[["\u003cp\u003ePublic Transit Operators and system integrators must complete general Google Wallet API Transit QR code pre-launch testing and Motics-specific test cases before launch.\u003c/p\u003e\n"],["\u003cp\u003eMotics barcodes in Google Wallet dynamically rotate for security, and are verifiable using standard inspection devices.\u003c/p\u003e\n"],["\u003cp\u003eMotics tickets saved to Google Wallet before their validity period will only display the barcode at the designated start date and time.\u003c/p\u003e\n"],["\u003cp\u003eEach Motics ticket can only be saved to one device at a time, ensuring single-device usage, and can be removed and re-saved on a different device if needed through the app or the issuer's website.\u003c/p\u003e\n"],["\u003cp\u003eIssuers can define activation limits to prevent unlimited removal and re-saving of Motics tickets, enhancing security.\u003c/p\u003e\n"]]],["PTOs and system integrators must complete specific test cases for Motics implementation in Google Wallet. This includes verifying the dynamic rotation and scannability of the Motics barcode. They must also confirm that tickets saved before their start date aren't shown, and that saving the same ticket on multiple devices is blocked. Tickets should be removable and resavable, except when activation limits are met. Additionally, general Google Wallet API Transit QR code pre-launch testing must be completed.\n"],null,["# Testing\n\nPublic Transit Operators (PTOs) and their system integrators (issuers) need to\ncomplete the following test cases for a Motics implementation in\nGoogle Wallet prior to launch.\n\nGeneral test cases\n------------------\n\nComplete and verify all the required Google Wallet API Transit QR code [Pre-launch\ntesting](/wallet/tickets/transit-passes/qr-code/test-and-go-live/prelaunch-testing).\n\nMotics specific test cases\n--------------------------\n\nIn addition to the General test cases, complete the following Motics specific\ntest cases prior to launching the integration.\n\n| Test | Expected result |\n|----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|\n| Observe the Motics barcode in Google Wallet. | The Motics barcode dynamically rotates every few seconds. |\n| Inspect or validate the Motics barcode shown in Google Wallet using a validator or inspection device. | The barcode is successfully scanned and the ticket is considered valid. |\n| Save a Motics barcode ticket to Google Wallet at least 4 days before the validity start date. | No barcode is shown until the ticket validity start date and time. |\n| Save a Motics barcode ticket to Google Wallet on one device and then try to save the same ticket on a second device. | The save flow fails on the second device. |\n| Remove an already saved Motics ticket from Google Wallet. | The ticket is removed from Google Wallet and the same ticket can be successfully re-saved on another device. |\n| Unlink an already saved Motics ticket using the issuer webshop. | The ticket is removed from the initial device (if online) and the same ticket can be successfully re-saved on another device. |\n| Attempt to remove \\& re-save a ticket several times. | The ticket can't be saved once the issuer defined activation limit has been exceeded. |"]]