Injection-based simulation for button automation on button-aware computing platforms
First Claim
1. A computer-readable medium storing computer-executable components, comprising:
- an interface component in a user mode for associating a plurality of hardware buttons of a computing device with a plurality of actions, for receiving first data identifying a first selected one of the hardware buttons and an associated button event, and for generating second data identifying the first selected hardware button and its associated button event; and
a first driver component in a kernel mode for receiving the second data and for generating third data identifying the first selected hardware button and its associated button event.
2 Assignments
0 Petitions
Accused Products
Abstract
A methodology for simulating the pressing and releasing of hardware buttons on a computing device is described. Actual hardware button signals are injected at a low level in a system stack, and the data resulting from those signals propagates naturally through the system and are processed and formatted in the layers of the system stack in a normal manner, eventually being directed to the target software application being tested as an action for that software application associated with the button activity. In this end-to-end approach, button events are simulated by injecting data into the system from the bottom-most layers where raw data may be, e.g., simply the state of the button. Thus, this would be independent of the actual implementation of converting button events to actions. Such simulation helps developers and test teams run real-life tests and scenarios in a reproducible and efficient manner, irrespective of the hardware platform.
-
Citations
16 Claims
-
1. A computer-readable medium storing computer-executable components, comprising:
-
an interface component in a user mode for associating a plurality of hardware buttons of a computing device with a plurality of actions, for receiving first data identifying a first selected one of the hardware buttons and an associated button event, and for generating second data identifying the first selected hardware button and its associated button event; and
a first driver component in a kernel mode for receiving the second data and for generating third data identifying the first selected hardware button and its associated button event. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 12)
-
-
13. A computer-assisted method, comprising steps of:
-
determining a first action;
selecting a hardware button from a plurality of hardware buttons and a button event, based on an association between the plurality of hardware buttons and button events and a plurality of actions including the first action;
generating first data in a user mode identifying the selected hardware button and the button event;
generating second data in a kernel mode identifying the selected hardware button and the button event; and
responsive to the second data, generating third data in the user mode identifying the action associated with the selected hardware button and the button event. - View Dependent Claims (14, 15, 16)
-
Specification