Technique for simulating an orientation change event in a test environment
Abstract
A computer-implemented method is presented for simulating an orientation change on a computing device in a test environment. The method includes: retrieving an orientation action from a test script, the test script defined in accordance with a scripting language and the orientation action specifying an angle of rotation to simulate; setting a value of a window orientation variable in a web browser, the value of the window orientation variable correlating to the angle of rotation specified by the orientation action; issuing a resize command to a window resize function supported by the web browser; and issuing a change orientation event to a rendering engine associated with the web browser.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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; e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (3)
- The Screen Orientation API, www.w3.org, (May 22, 2012).
- Title-"WebKit-Wikipedia", pp. 1-9, Aug. 10, 2011.
- Wikipedia, Title-"WebKit", pp. 1-9, Aug. 10, 2011.