IP Library Granted Patent US 9,355,015
Granted Patent B2
US 9,355,015 · App. 13/627,293 · Granted May 31, 2016

Technique for simulating an orientation change event in a test environment

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,355,015
App. No.
13/627,293
Granted
May 31, 2016
Kind
B2
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.

Claims (36)

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.

2. The method of claim 1 further comprises

retrieving, by the playback agent, another event from the test script, where the another event differs from the change orientation event; and

dispatching, by the playback agent, the another event directly to the rendering engine associated with the web browser.

3. The method of claim 1 wherein dispatching a change orientation event further dispatching the change orientation event to the orientation change event object.

4. The method of claim 1 further comprise implementing the web browser as Google Chrome and implementing the rendering engine as a WebKit layout engine.

5. A non-transitory computer readable medium having instructions stored thereon that, when executed by a computer processor, cause the processor to simulate an automated orientation change between portrait mode and landscape mode and vice versa on a computing device in a distributed test environment, comprising:

launching a recorder on a computing device, the recorder being implemented as a browser extension of a web browser and executed by a processor residing on the computing device;

presenting, by the recorder, a recording window on the computing device;

displaying a web page in the recording window of the computing device;

injecting, by a content script, a script node into a document object model for the web page, where the content script runs in the web page;

capturing, by the recorder, events received from the web page displayed on the recording window;

creating, by the recorder, a test script using the captured events, the test script defined in accordance with a scripting language;

presenting, by the recorder, a recorder interface window for the recorder on the computing device, the recorder interface window configured to receive actions to be simulated on the web page;

receiving, by the recorder, an orientation action from the recorder interface window, the orientation action specifying an angle of rotation for entire content in a given window displayed on the computing device, where the orientation action can occur at any time during a recording session; and

simulating, by the recorder, a change orientation event on the web page by setting a value of a window orientation variable in the web browser, where the window orientation variable defines an angle of rotation for content in the given window;

issuing 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 a change orientation event to a rendering engine associated with the web browser, where the change orientation event include the window orientation variable and the value of the window orientation variable is set to the angle of rotation specified by the orientation action, wherein the simulation of the change orientation event uses the script node and is in response to the receipt of the orientation action.

6. The method of claim 5 further comprises recording the change orientation event in the test script.

7. The method of claim 6 further comprises implementing the recorder interface window as a browser extension of the web browser residing on the computing device.

8. The method of claim 7 further comprise defining the web browser as Google Chrome and defining the rendering engine as a WebKit layout engine.

9. A computer-implemented system for simulating an automated orientation change between portrait mode and landscape mode or vice versa, in real-time, on a computing device in a distributed test environment, comprising:

a computer processor residing on the computing device;

a recorder configured to capture events received from a web page under test and operable to record the captured events in a test script, the test script defined in accordance with a scripting language, where the recorder is a browser extension of a web browser and initiates a content script that executes in the context of the web page under test and the recorder is executed by the computer processor;

a recording window operable to display the web page under test;

a recording interface window configured to receive an orientation action specifying an angle of rotation for content in a given window to be simulated on the web page and interfaced with the content script, wherein the content script simulate the orientation action by setting a value of a window orientation variable in the web browser, issues a resize command to a window resize function supported by the web browser, and dispatches a change orientation event to a rendering engine associated with the web browser, where the window orientation variable defines an angle of rotation for content in the given window and value of the window orientation variable is set to the angle of rotation specified by the orientation action and the change orientation event includes the window orientation variable, wherein the recording window and the recording window interface are executed by the computer processor.

10. The computer-implemented system of claim 9 wherein the recorder interface window is a browser extension of the web browser residing on the computing device.

11. The computer-implemented system of claim 9 wherein the content script injects a script node into a document object model for the webpage.

12. The computer-implemented system of claim 9 wherein the web browser is Google Chrome and the rendering engine is a WebKit layout engine.

Assignments (11)
SECURITY INTEREST Recorded Dec 16, 2022
From: DYNATRACE LLC
To: BMO HARRIS BANK N.A.
Reel/Frame 062142/0187 →
RELEASE OF SECURITY INTEREST IN PATENTS AT R/F 046923/0557 Recorded Dec 5, 2022
From: JEFFERIES FINANCE LLC, AS COLLATERAL AGENT
To: DYNATRACE, LLC
Reel/Frame 062056/0562 →
RELEASE OF SECURITY INTEREST IN PATENT COLLATERAL RECORDED AT R/F 46923/0528 Recorded Aug 6, 2019
From: JEFFERIES FINANCE LLC, COLLATERAL AGENT
To: DYNATRACE LLC
Reel/Frame 049966/0518 →
FIRST LIEN PATENT SECURITY AGREEMENT Recorded Aug 24, 2018
From: DYNATRACE LLC
To: JEFFERIES FINANCE LLC
Reel/Frame 046923/0557 →
SECOND LIEN PATENT SECURITY AGREEMENT Recorded Aug 24, 2018
From: DYNATRACE LLC
To: JEFFERIES FINANCE LLC
Reel/Frame 046923/0528 →
RELEASE OF FIRST LIEN PATENT SECURITY AGREEMENT RECORDED AT REEL\FRAME 035200\0973 AND 035200\0955 Recorded Aug 23, 2018
From: JEFFERIES FINANCE LLC
To: DYNATRACE LLC; COMPUWARE CORPORATION
Reel/Frame 046922/0886 →
TERMINATION OF SECURITY INTEREST IN PATENTS AT REEL/FRAME NO. 035201/0065 Recorded Feb 14, 2018
From: JEFFERIES FINANCE LLC, AS COLLATERAL AGENT
To: COMPUWARE CORPORATION
Reel/Frame 045325/0384 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 23, 2015
From: COMPUWARE CORPORATION
To: DYNATRACE LLC
Reel/Frame 035477/0026 →
FIRST LIEN PATENT SECURITY AGREEMENT Recorded Mar 13, 2015
From: COMPUWARE CORPORATION
To: JEFFERIES FINANCE, LLC
Reel/Frame 035200/0973 →
SECOND LIEN PATENT SECURITY AGREEMENT Recorded Mar 13, 2015
From: COMPUWARE CORPORATION
To: JEFFERIES FINANCE, LLC
Reel/Frame 035201/0065 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 26, 2012
From: WRAY, NATHAN
To: COMPUWARE CORPORATION
Reel/Frame 029029/0428 →