System and method for making a user interface element visible
First Claim
1. A computer-implemented method comprising:
- within an automated user interface test environment, choosing a user interface element that is to be made visible;
determining at least one parent element of the user interface element;
performing a make child visible action for the at least one parent element of the user interface element; and
ensuring that the user interface item is selectable;
wherein performing a make child visible action comprises;
if the parent element is scrollable, then scrolling the parent element to make the user interface element visible; and
if the parent element is expandable, then expanding the parent element to make the user interface element visible.
2 Assignments
0 Petitions
Accused Products
Abstract
Various new and non-obvious apparatus and methods for ensuring a user interface element is visible within an automated user interface test environment are disclosed. One of the disclosed embodiments is a method for locating a parent element of the user interface element and then making the user interface object visible using top-down scrolling, bottom-up scrolling, expanding, or a combination of all three. Top-down scrolling scrolls the parent element until the user interface element becomes visible. Bottom-up scrolling first locates a grandparent element. The parent element then scrolls until the user interface element is within the parent object. The grandparent element is then scrolled until the parent element is visible within the grandparent element, the parent object is then scrolled until the user interface element is visible within the grandparent element. This exemplary embodiment further confirms that the user element interface made visible can be selected by ensuring that the window where the user interface element resides is ready for user input and is not covered by another object.
55 Citations
20 Claims
-
1. A computer-implemented method comprising:
-
within an automated user interface test environment, choosing a user interface element that is to be made visible;
determining at least one parent element of the user interface element;
performing a make child visible action for the at least one parent element of the user interface element; and
ensuring that the user interface item is selectable;
wherein performing a make child visible action comprises;
if the parent element is scrollable, then scrolling the parent element to make the user interface element visible; and
if the parent element is expandable, then expanding the parent element to make the user interface element visible. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A method of making a user interface object visible, the method comprising:
-
choosing a user interface object from a plurality of interface objects within a graphical user interface that is to be tested using automation, the user interface object being at the base of an object hierarchy;
traversing the user interface object hierarchy from the base object to a child of the top object, scrolling each parent object of a current object until the current object overlaps the parent object;
traversing the user interface object hierarchy from the base object to a grandchild of the top object, scrolling each parent object of a current object until the current object overlaps the grandparent object; and
ensuring that a window associated with the user interface object is ready for user input. - View Dependent Claims (17, 18)
-
-
19. In a computer system having a user interface, the system comprising:
-
user interface objects comprising a plurality of hierarchically-arranged nodes;
a request action module, which requests that a user interface object be visible;
an automated tester module, which triggers the request action module;
a traverse hierarchy module, which traverses a hierarchy of objects;
an expand module, which expands a parent object to make the user interface object visible;
a locate in parent module, which searches elements of the parent object to locate a child object within the parent object;
a locate in grandparent module, which scrolls the parent object to make the child object visible in a grandparent object; and
a window ready module, which ensures that a window associated with the user interface object is ready to accept user input.
-
-
20. A user-interface service comprising:
-
means for a test program to designate a user object element as to be made visible, the user object element a component of a user object, the user object being part of a hierarchically-arranged set of user objects, and the child object of a parent object;
means for hierarchically traversing the hierarchically-arranged set of user objects;
means for scrolling a parent object to display a designated child object;
means for scrolling a parent object to display a designated child object in a grandparent object;
means for expanding a user object to display a designated child object;
means for searching an element list of a user object to locate a designated list object; and
means for ensuring that the designated child object is selectable.
-
Specification