Auto-complete testing
AssigneeMicro Focus LLC
InventorsYi-Qun Ren, Kai Hu, Gen-Cheng Shen
Life of this patent
Estimating the term…
Abstract
One or more characters are input into an auto-complete field. Text of a displayed list of one or more candidate items is retrieved. The text of the displayed list of the one or more candidate items is compared to a predefined candidate item. In response to the text of the displayed list of one or more candidate items not having the predefined candidate item or not being withing a defined ranking, test results are flagged where the predefined candidate item is missing from displayed list of the one or more candidate items or is not withing the defined ranking. This allows the for automated testing of the auto-complete fields.
Claims20
A system, comprising:
- a microprocessor;
- and
- a computer readable medium, coupled with the microprocessor and comprising microprocessor readable and executable instructions that, when executed by the microprocessor, cause the microprocessor to:
- input one or more characters into an auto-complete field;
- retrieve text of a displayed list of one or more candidate items;
- compare the text of the displayed list of the one or more candidate items to a predefined candidate item;
- and
- in response to the text of the displayed list of one or more candidate items not being within a ranking range, flag, in a test result, that the predefined candidate item is not within the ranking range,
- wherein the ranking range requires the predefined candidate item to appear within a specified top number of positions of the displayed list of one or more candidate items.
A method, comprising:
- inputting, by a microprocessor, one or more characters into an auto-complete field;
- retrieving, by the microprocessor, text of a displayed list of one or more candidate items;
- comparing, by the microprocessor, the text of the displayed list of the one or more candidate items to a predefined candidate item;
- and
- in response to the text of the displayed list of one or more candidate items not being within a ranking range, flag, in a test result, that the predefined candidate item is not within the ranking range,
- wherein the ranking range requires the predefined candidate item to appear within a specified top number of positions of the displayed list of one or more candidate items.
A non-transient computer readable medium having stored thereon instructions that cause a processor to execute a method, the method comprising instructions to:
- input one or more characters into an auto-complete field;
- retrieve text of a displayed list of one or more candidate items;
- compare the text of the displayed list of the one or more candidate items to a predefined candidate item;
- and
- in response to the text of the displayed list of one or more candidate items not being within a ranking range, flag, in a test result, that the predefined candidate item is not within the ranking range,
- wherein the ranking range requires the predefined candidate item to appear within a specified top number of positions of the displayed list of one or more candidate items.
Dependencies are inferred from the claim text.