Invention Grant
- Patent Title: Systems and methods for testing widgets
- Patent Title (中): 用于测试小部件的系统和方法
-
Application No.: US13488077Application Date: 2012-06-04
-
Publication No.: US08689189B1Publication Date: 2014-04-01
- Inventor: Kemal Oral Cansizlar
- Applicant: Kemal Oral Cansizlar
- Applicant Address: US NV Reno
- Assignee: Amazon Technologies, Inc.
- Current Assignee: Amazon Technologies, Inc.
- Current Assignee Address: US NV Reno
- Agency: Kilpatrick Townsend & Stockton LLP
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
Widgets or other code modules for applications written in structured languages such as HTML can be tested advantageously by separating the extraction and validation logic. To test the functionality of a widget in response to an action, widget features of interest are identified. Context and feature nodes for these features are extracted from a page tree structure to generate a property vector that is representative of the state of the widget. After performing the action, context nodes for the features are attached to the new page tree for the newly loaded page, and an observed property vector is generated that represents the state of the widget after the action. The previous property vector is used with updated state information to generate an expected property vector. The observed property vector is compared with the expected property vector, and if the vectors match the validation is claimed to be successful.
Information query