Method for automatically generating interactive test cases
US-2024104006-A1 · Mar 28, 2024 · US
US2016179658A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2016179658-A1 |
| Application number | US-201314092869-A |
| Country | US |
| Kind code | A1 |
| Filing date | Nov 27, 2013 |
| Priority date | Nov 27, 2013 |
| Publication date | Jun 23, 2016 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
An automated test is identified for testing a software system including a graphical user interface (GUI) including a particular GUI element, where the automated test is to simulate user interactions with at least the particular GUI element. The particular GUI element is of a particular type of GUI element and the automated test includes a call to a particular one of a plurality of abstraction layer functions. The automated test is executed, including calling the particular abstraction layer function, where the particular abstraction layer function corresponds to GUI elements of the particular type. A reference to the particular GUI element is received from the particular abstraction layer function.
Opening claim text (preview).
1 . A method comprising: executing an automated test of a software system, wherein: the software system comprises a graphical user interface (GUI), the GUI comprises a particular GUI element, the automated test comprises a test to simulate user interactions with at least the particular GUI element, the particular GUI element is of a particular type of GUI element, the automated test comprises a call to a particular one of a plurality of abstraction layer functions, executing the automated test comprises calling the particular abstraction layer function, and the particular abstraction layer function corresponds to GUI elements of the particular type; and receiving a reference to the particular GUI element from the particular abstraction layer function. 2 . The method of claim 1 , further comprising causing the particular interaction with the particular GUI element using the reference. 3 . The method of claim 2 , further comprising determining a response to the particular interaction by the software system. 4 . The method of claim 2 , wherein the particular interaction is performed by a testing system. 5 . The method of claim 2 , wherein the particular interaction is performed through a call to the abstraction layer, the call identifying the particular GUI element based on the reference and identifying the particular interaction to be performed on the particular GUI element. 6 . The method of claim 1 , wherein calling the particular abstraction layer function causes the GUI to be queried for presence of specific implementations of the particular GUI element type. 7 . The method of claim 6 , wherein the reference refers to a first specific implementation of the particular GUI element type included in the GUI. 8 . The method of claim 7 , wherein the GUI comprises a first GUI and the method further comprises: executing the particular automated test on a second GUI, wherein executing the automated test comprises calling the particular abstraction layer function; and receiving a second reference to the particular GUI element from the particular abstraction layer function in the particular automated test on the second GUI, wherein the second reference refers to a different, second specific implementation of the particular GUI element type included in the second GUI. 9 . The method of claim 1 , wherein calling the particular abstraction layer function comprises identifying a display name of the particular GUI element. 10 . The method of claim 1 , wherein calling the particular abstraction layer function comprises identifying a context of the particular GUI element. 11 . The method of claim 7 , wherein calling the particular abstraction layer function further comprises identifying a display name of the particular GUI element. 12 . The method of claim 7 , wherein GUI comprises a plurality of GUI elements and the particular GUI element is included in another one of the plurality of GUI elements, wherein identifying the context comprises identifying the other GUI element in which the particular GUI element is included. 13 . The method of claim 9 , wherein executing the automated test further comprises calling another abstraction layer function corresponding to the other GUI element, and a reference to the other GUI element is obtained through the calling of the other abstraction layer function. 14 . The method of claim 1 , wherein the particular abstraction layer function is one of a plurality of abstraction layer functions, each of the plurality of abstraction layer functions is to cause the GUI to be queried for presence of specific implementations of a respective GUI element type corresponding to the responsive abstraction layer function. 15 . The method of claim 1 , wherein the automated test comprises a first automated test and the method further comprises: identifying a second automated test, wherein the second automated test comprises a call to the particular abstraction layer function; executing the second automated test, wherein executing the second automated test comprises calling the particular abstraction layer function. 16 . A computer program product comprising a computer readable storage medium comprising computer readable program code embodied therewith, the computer readable program code comprising: computer readable program code configured to identify an automated test of a software system comprising a graphical user interface (GUI) comprising a particular GUI element, wherein the automated test is to simulate user interactions with at least the particular GUI element, the particular GUI element is of a particular type of GUI element, and the automated test comprises a call to a particular one of a plurality of abstraction layer functions; computer readable program code configured to execute the automated test, wherein executing the automated test comprises calling the particular abstraction layer function and the particular abstraction layer function corresponds to GUI elements of the particular type; and computer readable program code configured to receive a reference to the particular GUI element from the particular abstraction layer function 17 . A method comprising: receiving a particular function call corresponding to an automated test of a software system comprising a graphical user interface (GUI) comprising a plurality of GUI elements, and the particular function call identifies a particular one of a plurality of defined logical GUI element types and comprises a parameter; querying software code embodying at least a portion of the GUI to determine that a particular implementation of a particular GUI element of the particular type is present in the GUI based at least in part on the parameter; and returning a reference to the particular implementation of the GUI element of the particular type. 18 . The method of claim 17 , wherein the particular function call is received by a testing system managing execution of the automated test and the reference is to be sent to the testing system as a response to the particular function call. 19 . The method of claim 17 , wherein the parameter comprises a display name of the particular GUI element and the software code is to be queried to determine whether a particular implementation of a GUI element of the particular type having the display name is present in the GUI. 20 . The method of claim 17 , wherein the parameter comprises a context of the particular GUI element and the software code is to be queried to determine whether a particular implementation of a GUI element of the particular type is present in the GUI within the context. 21 . The method of claim 20 , wherein at least a portion of the plurality of GUI elements are included within other GUI elements in the plurality and the context corresponds to those GUI elements in which a respective GUI element is included. 22 . The method of claim 21 , further comprising: receiving another function call corresponding to the automated test, and the particular function call identifies another one of the plurality of defined logical GUI element types; querying the software code to determine that a first implementation of another GUI element of the other type is present in the GUI; and returning a reference to the first implementation of the other GUI element, wherein the particular GUI element is included within the other GUI element and the first implementation of the other GUI element is referenced as the context in the parameter
Methods or tools to render software testable · CPC title
Environments for analysis, debugging or testing of software · CPC title
Test management · CPC title
for test execution, e.g. scheduling of test suites · CPC title
based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.