Patent · US9600519B2 · B2 · US
Method and system to detect changes to graphical user interface screenshots used in documentation
- (11) Publication number
- US9600519B2
- (21) Application number
- 14/090,077
- (22) Filing date
- 2013-11-26
- (30) Priority date
- 2013-11-26
- (43) Publication date
- 2017-03-21
- (45) Date of grant
- 2017-03-21
- (51) IPC
- G06F 17/30
- (52) CPC
- G06F Electric digital data processing: 16/24, 17/30386
- (73) Assignee
- Software AG
- (72) Inventors
- Harald Schöning; Juliane Harbarth
- (54) Title
- Method and system to detect changes to graphical user interface screenshots used in documentation
- (57) Abstract
A computer system includes a processor. The processor is configured to provide a documented screenshot and a machine-executable indication of steps which generated the documented screenshot as contained in documentation. The processor also will execute the steps which generated the documented screenshot, to generate a current screenshot. The processor also will compare the documented screenshot as contained in the documentation to the current screenshot generated by executing the steps, to provide a determination whether the comparison shows differences between the documented screenshot and the current screenshot. A method according to the above will detect changes to a screenshot used in documentation. A non-transitory computer-readable medium can perform a method to detect changes to a screenshot used in documentation.
- Full text
- View on Google Patents
Claims (17)
- A computer system, comprising: a processor, the processor is configured to: responsive to a command to initially generate a documented screenshot as contained in documentation, store, in association with the documented screenshot, a machine- executable indication of steps as the steps are taken that generate the documented screenshot in association with the documented screenshot, wherein the machine-executable indication of steps, when executed, bring a specific machine into a specific state during which a screenshot is produced, wherein the machine-executable indication of steps specifies at least: (i) starting specifications of a machine and canonical product installed on the machine; (ii) preparation steps then applied to place the machine into the specific state that the documented screenshot is produced; (iii) graphical used interface (GUI) interactions then applied that produce a current image on a display of the machine; and (iv) GUI preparation steps then applied to produce said documented screenshot; wherein the machine-executable steps are executed in this order, and the machine-executable steps change the processor on the specific machine into an actual state which is the same as the specific state during which the documented screenshot is produced, the current image produced in the actual state can differ from the screenshot previously produced at the specific state; provide the documented screenshot and the associated machine-executable indication of the steps which generated the documented screenshot as contained in documentation; execute, in this order, the machine-executable indication of steps which includes the starting specifications, the preparation steps, the GUI interactions, and the GUI preparation steps, which previously generated the associated documented screenshot, to generate a current screenshot; and compare the documented screenshot as contained in the documentation which was previously generated to the current screenshot which was generated by executing the steps, to provide a determination whether the comparison shows differences between the documented screenshot and the current screenshot.
- The computer system of claim 1, wherein the documented screenshot and the current screenshot are compared using a bit-wise comparison of their images, and the comparison is determined to show differences when there are bit-wise differences in the images of the document screenshot and the current screenshot.
- The computer system of claim 1, wherein the processor is further configured to determine whether the differences between the documented screenshot and the current screenshot are non-cosmetic, when the determination is that there are differences between the documented screenshot and the current screenshot, and replace the documented screenshot as contained in the documentation with the current screenshot, when the differences are determined not to be non-cosmetic.
- The computer system of claim 1, wherein the processor is further configured to provide a notification, when the determination is that there are differences between the documented screenshot and the current screenshot.
- The computer system of claim 1, wherein the processor is further configured to monitor and log the steps as they are taken, responsive to a command to initially generate the documented screenshot as contained in the documentation.
- The computer system of claim 1, further comprising: an electronic storage cooperatively operable with the processor, and configured to store the documentation accompanied by the machine-executable indication of the steps which generated the documented screenshot as contained in the documentation.
- A method to detect changes to a screenshot used in documentation, comprising: responsive to a command to initially generate a documented screenshot as contained in documentation, storing, by a computer processor, in association with the documented screenshot, a machine-executable indication of steps as the steps are taken that generate the documented screenshot in association with the documented screenshot, wherein the machine-executable indication of steps, when executed, bring a specific machine into a specific state during which a screenshot is produced, wherein the machine-executable indication of steps specifies at least: (i) starting specifications of a machine and canonical product installed on the machine; (ii) preparation steps then applied to place the machine into the specific state that the documented screenshot is produced; (iii) graphical user interface (GUI) interactions then applied that produce a current image on a display of the machine; and (iv) GUI preparation steps then applied to produce said documented screenshot; wherein the machine-executable steps are executed in this order, and the machine-executable steps change the processor on the specific machine into an actual state which is the same as the specific state during which the documented screenshot is produced, the current image produced in the actual state can differ from the screenshot previously produced at the specific state; providing, by the computer processor, the documented screenshot and the associated machine-executable indication of the steps which generated the documented screenshot as contained in documentation; executing, by the computer processor, in this order, the machine-executable indication of steps which includes the starting specifications, the preparation steps, the GUI interactions, and the GUI preparation steps, which previously generated the associated documented screenshot, to generate a current screenshot; and comparing, by the computer processor, the documented screenshot as contained in the documentation which was previously generated to the current screenshot which was generated by executing the steps, and providing a determination whether the comparion shows differences between the documented screenshot and the current screenshot.
- The method of claim 7, wherein the documented screenshot and the current screenshot are compared using a bit-wise comparison of their images, and the comparison is determined to show differences when there are bit-wise differences in the images of the document screenshot and the current screenshot.
- The method of claim 7, further comprising: determining, by the computer processor, whether the differences between the documented screenshot and the current screenshot are non-cosmetic, when the determination is that there are differences between the documented screenshot and the current screenshot, and replacing, by the computer processor, the documented screenshot as contained in the documentation with the current screenshot, when the differences are determined not to be non-cosmetic.
- The method of claim 7, further comprising: providing, by the computer processor, a notification, when the determination is that there are differences between the documented screenshot and the current screenshot.
- The method of claim 7, further comprising: monitoring and logging, by the computer processor, the steps as they are taken, responsive to a command to initially generate the documented screenshot as contained in the documentation.
- The method of claim 7, further comprising: storing, in an electronic storage, the documentation accompanied by the machine-executable indication of the steps which generated the documented screenshot as contained in the documentation.
- Anon-transitory computer readable medium comprising executable instructions for performing a method to detect changes to a screenshot used in documentation, comprising computer-executable instructions for: responsive to a command to initially generate a documented screenshot as contained in documentation, storing, in association with the documented screenshot, a machine-executable indication of steps as the steps are taken that generate the documented screenshot in association with the documented screenshot, wherein the machine-executable indication of steps, when executed, bring a specific machine into a specific state during which a screenshot is produced, wherein the machine-executable indication of steps specifies at least: (i) starting specifications of a machine and canonical product installed on the machine; (ii) preparation steps then applied to place the machine into the specific state that the documented screenshot is produced; (iii) graphical user interface (GUI) interactions then applied that produce a current image on a display of the machine; and (iv) GUI preparation steps then applied to produce said documented screenshot; wherein the machine-executable steps are executed in this order, and the machine-executable steps change the processor on the specific machine into an actual state which is the same as the specific state during which the documented screenshot is produced, the current image produced in the actual state can differ from the screenshot previously produced at the specific state; providing the documented screenshot and the associated machine-executable indication of the steps which generated the documented screenshot as contained in documentation; executing, in this order, the machine-executable indication of steps which includes the starting specifications, the preparation steps, the GUI interactions, and the GUI preparation steps, which previously generated the associated documented screenshot, to generate a current screenshot; and comparing the documented screenshot as contained in the documentation which was previously generated to the current screenshot which was generated by executing the steps, and providing a determination whether the comparison shows differences between the documented screenshot and the current screenshot.
- The non-transitory computer readable medium of claim 13, wherein the documented screenshot and the current screenshot are compared using a bit-wise comparison of their images, and the comparison is determined to show differences when there are bit-wise differences in the images of the document screenshot and the current screenshot.
- The non-transitory computer readable medium of claim 13, further comprising: determining whether the differences between the documented screenshot and the current screenshot are non-cosmetic, when the determination is that there are differences between the documented screenshot and the current screenshot, and replacing the documented screenshot as contained in the documentation with the current screenshot, when the differences are determined not to be non-cosmetic.
- The non-transitory computer readable medium of claim 13, further comprising: providing a notification, when the determination is that there are differences between the documented screenshot and the current screenshot.
- The non-transitory computer readable medium of claim 13, further comprising: monitoring and logging the machine-executable indication of the steps as they are taken, responsive to a command to initially generate the documented screenshot as contained in the documentation; and storing, in an electronic storage, the documentation accompanied by the machine-executable indication of the steps which generated the documented screenshot as contained in the documentation.
Description
The technical field relates in general to documentation of a software component, and more specifically to graphical user interface (GUI) screenshots used in documentation.
A documentation of a software component typically contains lots of system screenshots both of the system documented and of other systems. Screenshots may be provided in total or only as clippings.
A graphical user interface (GUI) is the face of an application towards a customer. For this reason, GUIs receive a high attention by product managers who take care that a GUI always reflects the latest corporate identity guidelines and follows the most recent design guidelines and best practices. As a result, a GUI screen faces frequent changes ranging from minor modifications such as slight color adoptions to major revisions, for example to reflect a new company branding.
As a result, product documentation which contains screenshots requires frequent revision in order to check whether the system status documented thereby still accurately reflects the system's actual state. These revisions at least have to take place when releasing a new version of the product, but typically occur more often. The revision is applied to the complete documentation (including the textual parts), but checking the screenshots is usually the major part of this work, for example because for the reasons named above, the textual part often need not undergo any change when the color schemes etc. are changed, while all screen shots might be made incorrect or outdated by such a change.
Citations (3)
- US20080250394A1
- US8516442B2
- US20140189576A1