Setting up Vizio SmartCast apps¶
- Vizio SmartCast
In order to start testing your Vizio SmartCast app, you need to configure it inside Suitest. Just make sure, that you have not forgotten to set up a Vizio device in your Suitest account.
Choose Lite or Instrumentation library¶
Suitest is using 2 different solutions to access information from a Vizio application:
- Lite (recommended)
- No code needs to be injected into your application.
- Instrumentation library
- Injecting a JavaScript code into your application.
Here you can see the differences between app communication methods:
Feature support | Lite | Lite (with Suitestify) | Instrumentation library | Instrumentation library (with Suitestify) |
---|---|---|---|---|
Identifying element based on link text | - | - | ✓ | ✓ |
Testing pseudo elements | ✓ | ✓ | - | - |
Testing more shadow DOM elements | ✓ | ✓ | - | - |
Network requests | ✓ | ✓ | - | ✓ |
- for audio/video files | - | ✓ | - | ✓ |
- to local files | ✓ | ✓ | - | - |
- to IP addresses | ✓ | ✓ | - | - |
3rd party cookies | ✓ | ✓ | - | - |
Using Lite¶
Select Lite - no Instrumentation library (recommended) option inside the App communication method section of your application configuration.
Use Lite solution¶
Make sure that your device has DevTools enabled.
You can now specify the application. Go to the tab App details of the app configuration and specify the app in one of the following ways:
- Using only a URL
- Using an AppId and Namespace
Inject the library automatically¶
As mentioned in the previous section, Suitestify can be used only when the application is specified by a URL inside the application configuration in Suitest.
You can now specify the application. Go to the tab App details of the app configuration and specify the app using a URL (using only AppId and Namespace is not supported by Automated library injection solution).
Once the app is specified, configure Suitestify.
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.
Suitest Lite solution supports both listed below. If you want to use our standard Instrumentation Library, please define the application based on the conditions below.
You can now specify the application. Go to the tab App details of the app configuration and specify the app in one of the following ways:
- Using only a URL
- Using an AppId and Namespace