Test UI Model
After designing all the pages in your UI model and saving it, you can preview your app UI to verify the UI layout, styles and the flow of activities.
You can preview your app UI and modify the design if required. When you are completed with all your changes, you can Pack the UI model to add to app package and make it ready for deployment.
Perform the following steps:
- Navigate to UI Models.
- Open the UI model that you want to preview.
- Click Preview to test how the UI model functions.
- Revisit the UI model to update as per your test results.
- Save and Preview to confirm that all your modifications are updated and the UI model functions as expected.
The UI model opens in a new tab.
You have successfully tested your UI model.
If your UI model includes one or more script models, You can also debug the script models using the browser debug tool.
Test UI Model on Mobile Devices
You can preview your app UI on mobile devices also. You can copy the URL form your desktop browser to the mobile device browsers to preview the UI model. The following mobile platforms and browsers are currently supported:
Mobile Platform | Mobile Browser |
---|---|
Android 9 or higher | Google Chrome 84 or higher |
iOS 13 or higher | Apple Safari 13 or higher |
Perform the following steps:
- Launch ASG-Studio in the desktop browser on the computer that is running ASG-Studio.
- Navigate to UI Models folder and open the UI Model that you want to preview.
- Click Preview. The UI model preview opens in a new tab.
- Copy the URL from the desktop browser.
- Modify the URL to replace the localhost with the IP address of the computer that is running ASG-Studio.
- Enter the modified URL in the browser of the mobile device.
- Test the app view for the following:
- Design
- Compatibility with mobile platform
- Navigation from one app view to another
- Actions performed by the controls on the app view
- Based on your test results, make appropriate modifications to your project in ASG-Studio.
- Save and Preview to confirm that all your modifications are updated and the UI model functions as expected.
For example, if the URL is http://localhost:3030/client/preview/context/ProjectName/VMName/index.html and the IP address of the computer that is running ASG-Studio is 10.10.10.10, then you must modify the URL to http://10.10.10.10:3030/client/preview/context/ProjectName/VMName/index.html.
You have successfully tested your UI model.