专利汇可以提供Method for testing modified user documentation software for regressions专利检索,专利查询,专利分析的服务。并且An improved method and system is provided for performing regression tests on modifications made to user help documentation software. In the method, expected results based on the anticipated effects of proposed modifications are compared with the actual results detected after the modifications have been made. In one embodiment, a set of expected results is prepared, wherein the set comprises results expected when specified changes are implemented in a prior version of the specified software. Each of the specified changes is then implemented, to produce a modified version of the specified software. The modified version is monitored, to determine actual results caused by the specified changes, and the expected results are compared with the actual results, to detect variances therebetween. Usefully, an automated software tool is configured to rapidly extract specified user help elements from the modified user documentation software.,下面是Method for testing modified user documentation software for regressions专利的具体信息内容。
What is claimed is:
1. Field of the Invention
The invention disclosed and claimed herein generally pertains to a method and system for testing a modified version of on-line user documentation software for regressions, that is, for unexpected results caused by the modifications. More particularly, the invention pertains to a method of the above type wherein content changes that are expected from proposed software modifications are compared with actual content changes observed or detected after the modifications have been made. Even more particularly, the invention pertains to a method of the above type wherein an automated tool may be used to rapidly search the documentation for individual software help elements that were not expected to be changed by the modifications, but were changed. As used herein the term “user documentation software” means any form of on-line user documentation including on-line help and links to the Internet help sites.
2. Description of Related Art
User documentation typically has an essential role in enhancing the usability of software applications. Documentation software that provides on-line help, including links to Internet help sites, may be particularly important for application users. Accordingly, it is generally necessary to verify that on-line help links in user documentation are available, connected and working. As used herein, user documentation includes on-line manuals, tutorials, help messages and related web sites, though it is not necessarily limited thereto. The on-line help information in user documentation usefully comprises software elements such as pop-up windows, strings, class objects and user interface (UI) information. Strings may be messages associated with a web page that provide links to other web pages. Class objects may include tags, buttons and the like. The UI information generally is help related information that resides at a local user computer.
User help documentation software, as described above, will frequently need to be updated or modified, such as to provide new features or to correct problems. For example, it may be necessary to fix a bug or other defect that has been discovered in a software help element of the type described above. Those of skill in the art are, of course, very skilled in developing bug fixes and software modifications. Accordingly, the results expected from particular modifications can generally be predicted with a high degree of accuracy. However, because the related technology is so complex, software modifications may sometimes produce results that are not expected. Moreover, while some of the unexpected results will be acceptable or of no consequence, others will present significant problems. Thus, the process of developing modifications for user help documentation of the above type generally must include regression testing.
In regression testing, newly modified software must be tested or analyzed, to determine whether its operation produces unexpected results or effects that will cause problems, or is otherwise not acceptable. It would be very useful if efficiency in performing regression tests on modifications made to user documentation software could be significantly improved. This would enable undesirable actual results occurring in the modified software to be more readily detected, so that corrections could be made more quickly.
It would also be very beneficial if regression testing procedures could be carried out using an automated tool for rapidly searching software documents, in order to identify user help elements of interest. Previously, regression testing has generally relied on manual techniques, which have often been found to be error prone. Also, because of the substantial time required for manual testing, it is very common when using this approach to perform tests only on selected samples of the modified documentation. It is anticipated that these deficiencies can be overcome by using automated regression testing.
The invention is generally directed to an improved method and system for performing regression tests on modifications made to user help documentation software. The invention enables expected changes in software content, based on the anticipated effects of proposed modifications, to be readily compared with the content changes that are actually detected or observed, after the modifications have been made. Embodiments of the invention may also make use of an automated software tool configured to rapidly acquire specified user help elements from the modified software, as described hereinafter in further detail. One useful embodiment of the invention is directed to a method for testing a modified version of specified user documentation software for regressions. The method includes the step of preparing a set of expected results, wherein the set comprises one or more results that are expected to occur when a number of specified changes are implemented in a prior version of the specified software. The method further includes actually implementing each of the specified changes in the prior version, to produce the modified version of the specified software. The modified version is then monitored, to determine the actual results caused by implementing the specified changes. The expected results are compared with the actual results, to detect variances therebetween.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, as well as a preferred mode of use and further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
Referring to
In
Referring to
Those of ordinary skill in the art will appreciate that the hardware depicted in
During a regression test phase 304, expected content of the user documentation is compared with actual content, using an automated tool as described hereinafter in further detail. “Expected content” refers to changes that are expected or anticipated to occur in the user documentation, if the proposed modifications are made thereto. “Actual content” refers to changes that are actually observed or detected in a new version of the software, produced by implementing the modifications into the software. The regression test phase 304 detects and provides notice of all differences or variances between expected content changes or results and the respectively corresponding actual content changes.
After the proposed software modifications have been developed, an automated software test tool is operated to rapidly traverse the user documentation, including on-line help content that is identified by links in the user documentation. As it traverses the documentation, the tool collects on-line software help elements, such as class objects, strings, and UI information. This task is illustrated in
When the software modifications are applied to or implemented in the previously current software version, the new version is produced and becomes available for regression testing. As shown by function block 312 of
Function block 314 of
The task of comparing the expected and actual results, and generating a variance record thereof, may likewise be carried out by implementing a software application at the server 104. The completed variance record may be sent to a documentation center, library, or other depository.
Referring further to
Referring further to
It is important to note that while the present invention has been described in the context of a fully functioning data processing system, those of ordinary skill in the art will appreciate that the processes of the present invention are capable of being distributed in the form of a computer readable medium of instructions and a variety of forms and that the present invention applies equally regardless of the particular type of signal bearing media actually used to carry out the distribution. Examples of computer readable media include recordable-type media, such as a floppy disk, a hard disk drive, a RAM, CD-ROMs, DVD-ROMs, and transmission-type media.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art. The embodiment was chosen and described in order to best explain the principles of the invention, the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
标题 | 发布/更新时间 | 阅读量 |
---|---|---|
软件程序的测试方法和装置、存储介质和电子设备 | 2020-05-11 | 38 |
回归测试用例确定方法、装置、计算机设备及存储介质 | 2020-05-17 | 957 |
一种基于节点重要度评估的回归测试用例优先级排序方法 | 2020-05-08 | 644 |
一种回归测试驱动的软件版本管理方法、系统及存储介质 | 2020-05-21 | 804 |
测试数据帧生成方法及装置、软件测试方法及装置 | 2020-05-25 | 318 |
回归测试的方法、装置、计算机设备和存储介质 | 2020-05-12 | 138 |
一种机构内部的众测管理方法及系统 | 2020-05-20 | 716 |
一种基于电网系统的自动化测试方法 | 2020-05-26 | 637 |
面向航天软件的在轨升级方法 | 2020-05-14 | 934 |
数据源配置测试方法、系统、计算机设备和存储介质 | 2020-05-24 | 255 |
高效检索全球专利专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。
我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。
专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。