Patent ID: 9355015
Filing Date: 2016-05-31
CPC Classification: G06F

Claim Text:
1. A computer-implemented automated method for simulating an orientation change between portrait mode and landscape mode and collecting test results, in real-time, on a computing device in a distributed test environment, comprising: implementing a playback agent as a browser extension of a web browser residing on the computing device; configuring, by the playback agent, a test environment of the computing device, including instantiating an orientation change event object from an event object superclass, where the orientation change event object has methods that handle change orientation events; executing a test script in the test environment to test an application on the computing device; retrieving, by the playback agent, an orientation action from the test script, the test script defined in accordance with a scripting language and the orientation action specifying an angle of rotation for entire content in a given window displayed on the computing device; setting, by a content script interfaced with the playback agent, a value of a window orientation variable in a web browser, where the window orientation variable defines an angle of rotation for content in the given window and the value of the window orientation variable correlating to the angle of rotation specified by the orientation action; issuing, by the content script interfaced with the playback agent, a resize command to a window resize function supported by the web browser, where the window resize function adjusts dimensions of the given window; and dispatching, by the content script interfaced with playback agent, a change orientation event to a rendering engine associated with the web browser and coordinating execution of actions on the computing device, where the change orientation event includes the window orientation variable, the content script executes in the webpage, and the playback agent is executed by a processor of the computing device.