The contents of this article is also covered in the below video.
The Capriza Designer includes several settings in Test mode designed to enable you to more fully evaluate your Zapp's login and caching settings and the associated end user experience. It is highly recommended that you test your Zapp with various combinations of these settings enabled.
Test Settings can be accessed in Test mode via an icon above the mobile preview.
Four options are included in the resulting dialog:
- Login to the Zapp using login cookie
- Login to the Zapp using the saved credentials
- Test cached page
- Simulate disconnected cached page (only available when Test cached page is enabled)
Each option can be checked/unchecked to test your Zapp in various scenarios.
Click "Save" to save any changes. Select "Save & Start Over" to save your changes and immediately restart the Zapp in Test mode.
Login to the Zapp using login cookie
This setting allows you to test any login cookies you may have configured during Zapp building. To test, enable the setting and run the Zapp once. Select "Start Over" and log in again. This second Zapp run will use any login cookies that were automatically detected by Capriza or configured during the Zapp building process. By selecting the correct login cookies, you can improve the user experience of your Zapp by bypassing the login page and automatically authenticating the user.
Login to the Zapp using the saved credentials
This setting will demonstrate the end user experience upon subsequent logins when the user has chosen to save credentials. When enabled, the previously saved username and password are already included on the login page. To authenticate, all the user must do is click the login button.
Test Cached Page
When toggled on, this setting will enable you to preview the end user experience created by your first page caching settings. Detailed in this article, first page caching enables you to improve perceived performance and the overall end user experience by caching the first page of your Zapp and even allowing user interaction with it while the source application loads.
Simulate disconnected cached page
This setting simulates the end user experience when the backend application is out of sync with the cached first page, such as what would occur while the Zapp is open but the source application is still loading. You can leverage this setting to evaluate if the controls you have chosen to make interactive on the cached page create an optimal experience on the mobile device.
When testing with this setting enabled, your cached first page will appear in the mobile preview and a message noting that the source application is disconnected will appear in place of the source application. Click the "Connect" button underneath this message at any time to reconnect the source application.