Patent ID: 9363157
Filing Date: 2016-06-07
CPC Classification: H04L,H04N

Claim Text:
1. A method comprising: executing, by a script on a testing device, code to automatically control a control device that is remotely located from the testing device, wherein, during the control, a media player on the control device interacts with a video streaming service remotely located from the control device; determining, by the script, when to start storing events in an event buffer based on the executing of the code; receiving, by the testing device, a set of events from the control device based on the control device being controlled by the script to perform a set of actions related to interacting with the video streaming service, wherein the set of actions performed by the control device results in the set of events being asynchronously sent to the testing device; storing, by the testing device, the set of events in the event buffer; initiating, by the script, a wait for routine that waits for a target event to occur before execution of the script can continue; receiving, by the script, the set of events from the event buffer, the set of events being stored in the event buffer based on the determining of when to start storing events in the event buffer; and analyzing, by the script, the set of events to determine if the target event occurred to allow the script to continue execution, wherein the target event was stored in the event buffer before initiating the wait for routine.