Prueba
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Los operadores de transporte público (PTO) y sus integradores de sistemas (emisores) deben completar los siguientes casos de prueba para una implementación de Motics en la Billetera de Google antes del lanzamiento.
Casos de prueba generales
Completa y verifica todas las pruebas previas al lanzamiento del código QR de Transit de la API de Google Wallet.
Casos de prueba específicos de Motics
Además de los casos de prueba generales, completa los siguientes casos de prueba específicos de Motics antes de iniciar la integración.
Probar |
Resultado esperado |
Observa el código de barras de Motics en la Billetera de Google. |
El código de barras de Motics rota dinámicamente cada pocos segundos. |
Inspecciona o valida el código de barras de Motics que se muestra en la Billetera de Google con un dispositivo validador o de inspección. |
El código de barras se escanea correctamente y el boleto se considera válido. |
Guarda un boleto de código de barras de Motics en la Billetera de Google al menos 4 días antes de la fecha de inicio de validez. |
No se muestra ningún código de barras hasta la fecha y hora de inicio de la validez del boleto. |
Guarda un boleto de código de barras de Motics en la Billetera de Google en un dispositivo y, luego, intenta guardar el mismo boleto en otro. |
El flujo de guardado falla en el segundo dispositivo. |
Quita un boleto de Motics ya guardado de la Billetera de Google. |
El boleto se quita de la Billetera de Google y el mismo puede volver a guardarse correctamente en otro dispositivo. |
Desvincula un ticket de Motics ya guardado mediante la tienda web de la entidad emisora. |
El ticket se quita del dispositivo inicial (si está en línea) y el mismo ticket se puede volver a guardar correctamente en otro dispositivo. |
Intenta quitar un ticket y volver a guardarlo varias veces. |
No se puede guardar el ticket una vez que se superó el límite de activación definido por la entidad emisora. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-08-29 (UTC)
[null,null,["Última actualización: 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. |"]]