Setting up Vega apps¶
- Vega
At this point you should have a working Vega device configured in your Suitest account.
Upload a package / specify App ID¶
Suitest offers two ways of management of your apps on your testing devices. Either you upload an application package to Suitest (and Suitest manages installations and updates) or you sideload the application to the device / install it from a store and provide an App ID to Suitest.
Select the method corresponding to your needs.
Uploading a package¶
Inside application configuration in Suitest (tab App details), click "Upload file", select the application package and confirm.
Suitest supports
.vpkgfile format - both debug and release builds.
Identifying an app using App ID¶
Inside application configuration in Suitest (tab App details), you need to define the App ID.
Selecting an app communication method¶
In order to get information from a Vega app, you have three choices:
- Ottium - For all apps (debug/release builds, using React Native/WebView)
- No code needs to be inserted into your application.
- Ottium - For debug builds using WebView only (more features)
- No code needs to be inserted into your application.
- Instrumentation library - Manual insertion
- Manually inserting a JavaScript code into your application.
ere you can see the differences between app communication methods:
| Feature support | Ottium (all apps) | Ottium (debug, WebView) | Instrumentation library |
|---|---|---|---|
| All element properties supported | - | ✓ | ✓ |
| Identifying element based on link text | - | - | ✓ |
| Testing pseudo elements | - | ✓ | - |
| Testing more shadow DOM elements | - | ✓ | - |
| Network requests | - | ✓ | ✓ |
| Assertion on video properties | - | ✓ | ✓ |
| Assertion on cookies | - | ✓ | ✓ |
Insert the library manually¶
Copy and paste the code snippet from the Suitest configuration page into
every HTML file of your application. For best results put it as the
first script element in your HTML file right after the opening
<head> tag.

Instrumentation library in production
When inserting the Suitest instrumentation library, ensure you do not accidentally release the app to production with the Suitest code included. Suitest code is intended for testing and could impact the user experience of your application.