Instrumenting Orsay/Tizen apps¶
To instrument a Tizen app insert the Suitest instrumentation code into every HTML file belonging to your application. At this point you should have a working Tizen or Orsay device in your Suitest account.
Inserting instrumentation code¶
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
For apps hosted on HTTPS replace
https in the code snippet
When inserting the library you must make sure, that you don't accidentally release the app to production with Suitest code in it. Suitest code is intended for testing and could damage the user experience of your app's users.
Creating an app launcher¶
Unlike most other platforms where app installation and opening is managed by Suitest through the manufacturers API, for Samsung Tizen no such API exists.
Suitest offers two alternative methods for opening application on Orsay and Tizen systems:
Create an open app override test that would "click through" to the app (essentially replay your own actions when you open the app), then use open app override and Suitest will play back these actions before it will start testing.
Delegate the app installation and opening to an external service and have Suitest contact the service as necessary. For instance, for Tizen you may like to utilize the Tizen CLI Docker container open sourced by our friends at iflix.
Have a person on stand by to open the app manually as needed during the testing process. Suitest will notify and wait until the app has been opened and then continue testing.