Test Suite
Test Scenarios
Analytics
Validate Reports for Playback of a Content
Test Scenario | Validate reports for a content watched. Note:
| |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Launch the application. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| |||
Start watching a live event for 12 minutes. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
CODE
This should be checked in the
SQL
E.g.
CODE
| Insight events The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check the event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by the sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to total viewing seconds in interval.
This should be checked in
SQL
E.g.:
CODE
|
Stop watching event. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| Insight event The following mandatory playback events are present in row for a content played:
This should be checked in
CODE
Check proper event in E.g,:
JSON
| Insight metrics The number of playback metrics samples generated for the channel in the reporting interval is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval Sum of viewing seconds of all the samples is equal to total viewing seconds in reporting interval. This should be checked in the
SQL
E.g.:
CODE
| |
Close the app. |
CODE
This should be checked in the activity table with the following query:
SQL
|
Validate Reports for Pause, Resume Content
Test Scenario | Validate reports when user pause, resumes a content watched. Note:
| |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Open an app, Start watching a content for 5 minutes. | Check expected results for UAV, Insight as validated in first test case for step starting watching a content | |||
Pause playback for 2 minutes. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in the
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total paused seconds divided by the sampling interval. Each playback metric sample will have viewing seconds equal to 0. This should be checked in the
SQL
E.g.:
CODE
|
Resume playback and watch 5 minutes. |
CODE
This should be checked in the activity table with the following query:
SQL
|
This should be checked in the
SQL
E.g.:
CODE
| The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. This should be checked in the
SQL
E.g.:
CODE
|
Validate Reports for Fast Forward, Rewind when Watching Content
Test Scenario | Validate reports when user triggers skipback or skipahead for the content beingwatched. Note:
| |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Open an app, start watching a content for 5 minutes. | Check expected results for UAV, Insight as validated in first test case for the step "starting watching a content". | |||
Skip back content by 2 minutes and watch 1 minute. | UAV activity
CODE
This should be checked in the activity table with the following query:
CODE
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in the
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to sampling interval This should be checked in the
SQL
|
Skip ahead content 2 minute, watch for 1 minute and stop. |
CODE
This should be checked in the activity table with the following query:
SQL
|
This should be checked in the
SQL
E.g.:
CODE
| The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event name and properties for the playback events listed above. E.g.
JSON
| The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to sampling interval. This should be checked in the
SQL
|
Validate Reports for Error Occurred During Playback
Test Scenario | Validate reports when error during a live content watched. | |
---|---|---|
Test Steps | Expected Results | |
Open an app, start watching a content for 5 minutes. | Check expected results for UAV, Insight as validated in first test case for step starting watching a content. | |
Error introduced | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
|
Validate Event Change on a Channel
Test Scenario | Validate reports when different contents watched on a channel. | |
---|---|---|
Test Steps | Expected Results | |
Start watching Content 1 on a channel. | Check the UAV These should be available for Content 1. This should be checked in the
SQL
This should be checked in the activity table with the following query:
SQL
| Check the Insight These should be available for Content 1. This should be checked in the
SQL
|
Change to Content 2 on same channel. | For Content 2, there should be a new This should be checked in the activity table with the following query:
SQL
|
This should be checked in the
SQL
|
Validate no Reports when STB is in Standby
Test Scenario | Validate that when STB is in standby, no reports are posted. (This test case is specific to test device as a STB.) | |
---|---|---|
Test Steps | Expected Results | |
Watch any content less than configured/reporting interval. | UAV activity
This should be checked in the activity table with the following query:
SQL
| |
Put STB in standby mode | Insight events The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to total viewing seconds. This should be checked in the
SQL
E.g.:
CODE
|
Leave STB in standby for 10 minutes. | Check no samples/rows generated. |
Validate no Reports Generated when Power Cycle, STB in Standby
Test Scenario | Validate no reports generated after power issue, STB in standby mode. (This test case is specific to test device as a STB.) |
---|---|
Test Steps | Expected Results |
Put STB in standby mode. | No metrics, events, activity rows generated. This should be checked in the
SQL
This should be checked in the activity table with the following query:
SQL
This should be checked in the
SQL
This should be checked in
SQL
|
Disconnect power cable, wait 1 minute, reconnect power cable and wait for reporting interval. | STB is still in standby state and no metrics, events, or activity rows generated. |
Validate Reports Generated with Overlay Menu Opened
Test Scenario | Validate reports are generated when any content is watched, and user stays in menu screen. | |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Watch any content, open overlay menu and wait for end of reporting interval. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
CODE
This should be checked in the
SQL
E.g.
CODE
| Insight events The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to total viewing seconds in interval. This should be checked in the
SQL
E.g.:
CODE
|
Validate reports generated with network disconnect
Test Scenario | Validate reports are generated when any content watched, and network issue happened within reporting interval. | ||
---|---|---|---|
Test Steps | Expected Results | ||
Watch any content. Disconnect network cable. | UAV activity
This should be checked in the activity table with the following query:
SQL
This should be checked in the activity table with the following query:
SQL
| ||
Reconnect the network cable before the end of reporting interval. | UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Sum of viewing seconds of all the samples is equal to the total viewing seconds. This should be checked in the
SQL
E.g.:
CODE
|
Validate Reports Generated when Tuned in to Parentally Locked Content
Test Scenario | Validate reports are generated when parentally locked content is selected. | |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Tune to a parentally locked channel. Do not enter PIN. Wait for end of reporting interval. | UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight metrics The number of playback metrics samples generated is equal to reporting interval divided by sampling interval. Each playback metric sample will have viewing seconds equal to 0s.
SQL
E.g.:
CODE
| ||
Unlock the live channel by entering correct PIN and wait for reporting interval | UAV activity
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to total viewing seconds in interval. This should be checked in the
SQL
E.g.:
CODE
|
Validate Reports Generated with Third-party App Opened
Test Scenario | Validate reports are generated when third-party app opened while watching any content within reporting/configured interval. | |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Watch any content less than reporting/configured interval. Launch a third-party application from the launcher application. | UAV activity
This should be checked in the activity table with the following query:
SQL
CODE
This should be checked in the activity table with the following query:
SQL
| |||
Exit the third-party application and return to launcher application. Navigate back to original content and watch till reporting period. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Sum of viewing seconds of all the samples is equal to the total viewing seconds. This should be checked in the
SQL
e.g.
CODE
|
Validate Reports Generated when Playback Left Overnight
Test Scenario | Validate reports generated when a live event is left playing overnight. Note:
| |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Start watching a live event and continue for long hours. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
CODE
This should be checked in the
SQL
| Insight events The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to total viewing seconds in interval.
This should be checked in the
SQL
|
Verify Reports Generated when Mobile App Suspended and Resumed
Test Scenario | Validate reports are generated when an app is suspended in an Android Mobile device and VOD content is resumed within reporting interval. | |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Watch any content for less than reporting time. Suspend app by pressing home button etc. (Pauses the event for 2 minutes.) | UAV activity
This should be checked in the activity table with the following query:
SQL
This should be checked in the activity table with the following query:
SQL
| |||
App is reopened and content resumed and watched till reporting period. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback event is present in row for a content played:
This should be checked in
SQL
Check event E.g.:
JSON
| Insight metrics The number of playback metrics samples generated is equal to reporting interval divided by sampling interval. Sum of viewing seconds of all the samples is equal to the total viewing seconds. This should be checked in the
SQL
E.g.:
CODE
|
Verify Reports Generated when a Deep Linked Content Played from Rails
Test Scenario | Validate reports are generated when a user watched a content from a Rail. (This test is specific to when Rail content appears on the screen.) |
---|---|
Test Steps | Expected Results |
Navigate to a Rail through user action. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
|
Select any deep-linked content from a Rail view. |
CODE
This should be checked in the activity table with the following query:
SQL
|
Watch a deep-linked content. |
CODE
This should be checked in the activity table with the following query:
SQL
|
Verify reports generated when download of content triggered
Test Scenario | Validate reports are generated when a user triggers download of content while watching a live event. |
---|---|
Test Steps | Expected Results |
While watching a live content, download of content is triggered through download/save option. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
|
Verify Reports Generated when addelivered, adwatched, adskipped
Test Scenario | Validate reports are generated when user watches/skips a delivered ad. | |||
---|---|---|---|---|
Test Steps | Expected Results | |||
Ingest an advertisement into the stream while watching a content. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| Insight events The following mandatory playback events are present in row for a content played
This should be checked in
SQL
E.g.:
JSON
| ||
User watches advertisement for 1 minute. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
| UAV playback metrics
This should be checked in the
SQL
E.g.:
CODE
| Insight events The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check event E.g.:
CODE
| Insight metrics The number of playback metrics samples generated is equal to total viewing seconds divided by sampling interval. Each playback metric samples will have viewing seconds as 0. This should be checked in the
SQL
E.g.:
CODE
|
User skips ad and continues watching. |
CODE
This should be checked in the activity table with the following query:
SQL
|
This should be checked in the
SQL
| The following mandatory playback events are present in row for a content played:
This should be checked in
SQL
Check event name and properties for the playback events listed above. E.g.:
JSON
| The number of playback metrics samples generated is equal to reporting interval divided by sampling interval. Each playback metric sample will have viewing seconds equal to the sampling interval. Sum of viewing seconds of all the samples is equal to the reporting interval. This should be checked in the
SQL
|
Verify Reports for privacyPolicy Activity
Test Scenario | Validate reports are generated when user consent is accepted/rejected on a consent banner. |
---|---|
Test Steps | Expected Results |
When start watching an event. Consent banner appears asking for the user’s consent on data processing, cookies, and privacy policies. User accepts OR rejects the consent. | UAV activity
CODE
This should be checked in the activity table with the following query:
SQL
|
Operational
Verify Reports for Favourite Activity
Test Scenario | Validate reports are generated when user creates a new favourite channel. |
---|---|
Test Steps | Expected Results |
Set a new channel as a favourite channel. | UAV activity Favourite activity is reported with the following fields:
CODE
This should be checked in the activity table with the following query:
SQL
|
Verify Reports for Bookmark Activity
Test Scenario | Validate reports are generated when user exits playback before finished watching content. |
---|---|
Test Steps | Expected Results |
Open the app andstart watching VOD content. Exit VOD playback by pressing back/exit button. | UAV activity Bookmark activity is reported with the following fields:
CODE
This should be checked in the activity table with the following query:
SQL
|
Glossary
Term | Definition |
---|---|
Reporting interval | Number of seconds between each report that submits a collection of samples. (The actual reporting time should include a +-10% random jitter.) |
Sampling interval | Number of seconds between each collected playback metric sample |