Browse Prior Art Database

Process to create safe random GUI application test interactions Disclosure Number: IPCOM000200458D
Publication Date: 2010-Oct-14
Document File: 1 page(s) / 45K

Publishing Venue

The Prior Art Database


Process to create safe random GUI application test interactions

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 65% of the total text.

Page 01 of 1

Process to create safe random GUI application test interactions

Testing GUI application software with random interactions is effective but difficult to implement.

    Controlling GUI elements on the display so that sequences of random interactions can effectively exercise the application software. Based on reference pixel position and colour.

    An environment and platform independent method of ensuring simulated user interactions with a system are restricted to a single application and do not propagate into other elements of the system. This technique should work with any standard GUI system.

    Two base conditions are required. The first is that the majority of the system's desktop be set to a known, and if possible obscure, colour. Also only the application being tested should be run on top of the shell.

    When an interaction that is relative to screen coordinates (e.g. a mouse click) is generated a random pixel is chosen; either from a defined region of the screen, or the entire screen. The colour value of this pixel is compared to the known colour of the desktop. If the two do not match, the system assumes the pixel is in some way part of the application and therefore "safe" to click on.

(This page contains 00 pictures or other non-text object)

Figure: Identifying pixels that should not be clicked on. Here the highlighted, small square denotes the pixel that may be clicked on, and white denotes the desktop color.

    If the pixel's colour does match the desktop colour then...