Method and apparatus for capturing graphic user interface resource of an application
    1.
    发明授权
    Method and apparatus for capturing graphic user interface resource of an application 失效
    用于捕获应用程序的图形用户界面资源的方法和装置

    公开(公告)号:US08170864B2

    公开(公告)日:2012-05-01

    申请号:US12013524

    申请日:2008-01-14

    CPC classification number: G06F9/454

    Abstract: A method and apparatus for capturing graphic user interface resource of an application, which method comprises: loading resource files in which visible text data in graphic user interfaces of the application are stored; duplicating the resource files; adding identification information to each visible text data unit in the resource files, the identification information being used to uniquely identify each visible text data unit in each of the resource files; capturing at least one panel of graphic user interface according to the graphic user interfaces of the application; and saving the duplicated resource files and the at least one captured panel as the graphic user interface resource of the application into an intermediate file. Advantageously, a linkage can be built up between the visible text data and the resource bundles by adding the unique identification information to each visible text data unit, and the application environment of the visible text data can be obtained by capturing the panels of graphic user interface of the application when the application is executed, so as to provide a basis for precise translation of the visible text data. There is also provided a method and apparatus for editing graphic user interfaces of an application.

    Abstract translation: 一种用于捕获应用程序的图形用户界面资源的方法和装置,该方法包括:加载其中存储应用程序的图形用户界面中的可视文本数据的资源文件; 复制资源文件; 向资源文件中的每个可见文本数据单元添加标识信息,所述标识信息用于唯一地标识每个资源文件中的每个可见文本数据单元; 根据应用的图形用户界面捕获至少一个图形用户界面面板; 并且将重复的资源文件和至少一个捕获的面板作为应用的图形用户界面资源保存到中间文件中。 有利地,可以通过向每个可见文本数据单元添加唯一的标识信息,在可视文本数据和资源束之间建立联系,并且可以通过捕获图形用户界面的面板来获得可视文本数据的应用环境 的应用程序,以便为可视文本数据的精确翻译提供依据。 还提供了一种用于编辑应用程序的图形用户界面的方法和装置。

    Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems
    2.
    发明申请
    Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems 失效
    自动生成可重现运行时问题的单元测试用例的方法和系统

    公开(公告)号:US20080256517A1

    公开(公告)日:2008-10-16

    申请号:US11873572

    申请日:2007-10-17

    CPC classification number: G06F11/3688

    Abstract: A method and system for automatically generating unit test cases for a computer program that can reproduce runtime problems. The method comprises: modifying the computer program according to one or more interested target program units in the program and possibly occurring run time problems; test executing the modified program; and automatically generating unit test cases according to the interested runtime problems occurring during the execution of the interested target program units. Wherein the modifying step adds captor code and problem detective code into the program, the captor code being configured to record the execution paths and execution contexts of the interested target program units in the program; and the problem detective code being configured to detect the interested unexpected exceptions possibly raised and the interested violations of predefined behavior rules possibly produced by the execution of the program units. The present invention further provides methods and systems for debugging and for regression testing using the above method, and a computer program testing method and system.

    Abstract translation: 一种用于自动生成可以重现运行时问题的计算机程序的单元测试用例的方法和系统。 该方法包括:根据程序中的一个或多个感兴趣的目标程序单元修改计算机程序,并可能发生运行时问题; 测试执行修改的程序; 并根据感​​兴趣的目标程序单元执行期间发生的感兴趣的运行时问题自动生成单元测试用例。 其中,所述修改步骤将所述捕获器代码和问题检测码添加到所述程序中,所述捕获器代码被配置为在所述程序中记录所述感兴趣的目标程序单元的执行路径和执行上下文; 并且所述问题检测代码被配置为检测可能引起的感兴趣的意外异常以及可能由执行程序单元产生的预定行为规则的感兴趣的违反。 本发明还提供了使用上述方法进行调试和回归测试的方法和系统,以及计算机程序测试方法和系统。

    Automatically generating unit test cases which can reproduce runtime problems
    3.
    发明授权
    Automatically generating unit test cases which can reproduce runtime problems 失效
    自动生成可以重现运行时问题的单元测试用例

    公开(公告)号:US08245194B2

    公开(公告)日:2012-08-14

    申请号:US11873572

    申请日:2007-10-17

    CPC classification number: G06F11/3688

    Abstract: A method and system for automatically generating unit test cases for a computer program that can reproduce runtime problems. The method comprises: modifying the computer program according to one or more interested target program units in the program and possibly occurring run time problems; test executing the modified program; and automatically generating unit test cases according to the interested runtime problems occurring during the execution of the interested target program units. Wherein the modifying step adds captor code and problem detective code into the program, the captor code being configured to record the execution paths and execution contexts of the interested target program units in the program; and the problem detective code being configured to detect the interested unexpected exceptions possibly raised and the interested violations of predefined behavior rules possibly produced by the execution of the program units. The present invention further provides methods and systems for debugging and for regression testing using the above method, and a computer program testing method and system.

    Abstract translation: 一种用于自动生成可以重现运行时问题的计算机程序的单元测试用例的方法和系统。 该方法包括:根据程序中的一个或多个感兴趣的目标程序单元修改计算机程序,并可能发生运行时问题; 测试执行修改的程序; 并根据感​​兴趣的目标程序单元执行期间发生的感兴趣的运行时问题自动生成单元测试用例。 其中,所述修改步骤将所述捕获器代码和问题检测码添加到所述程序中,所述捕获器代码被配置为在所述程序中记录所述感兴趣的目标程序单元的执行路径和执行上下文; 并且所述问题检测代码被配置为检测可能引起的感兴趣的意外异常以及可能由执行程序单元产生的预定行为规则的感兴趣的违反。 本发明还提供了使用上述方法进行调试和回归测试的方法和系统,以及计算机程序测试方法和系统。

    Method and Apparatus for Capturing Graphic User Interface Resource of an Application
    4.
    发明申请
    Method and Apparatus for Capturing Graphic User Interface Resource of an Application 失效
    用于捕获应用程序的图形用户界面资源的方法和装置

    公开(公告)号:US20080295009A1

    公开(公告)日:2008-11-27

    申请号:US12013524

    申请日:2008-01-14

    CPC classification number: G06F9/454

    Abstract: The present invention provides a method and apparatus for capturing graphic user interface resource of an application, which method comprises: loading resource files in which visible text data in graphic user interfaces of the application are stored; duplicating the resource files; adding identification information to each visible text data unit in the resource files, the identification information being used to uniquely identify each visible text data unit in each of the resource files; capturing at least one panel of graphic user interface according to the graphic user interfaces of the application; and saving the duplicated resource files and the at least one captured panel as the graphic user interface resource of the application into an intermediate file. By using the present invention, a linkage can be built up between the visible text data and the resource bundles by adding the unique identification information to each visible text data unit, and the application environment of the visible text data can be obtained by capturing the panels of graphic user interface of the application when the application is executed, so as to provide a basis for precise translation of the visible text data. The present invention also provides a method and apparatus for editing graphic user interfaces of an application.

    Abstract translation: 本发明提供了一种用于捕获应用程序的图形用户界面资源的方法和装置,该方法包括:加载其中存储应用程序的图形用户界面中的可视文本数据的资源文件; 复制资源文件; 向资源文件中的每个可见文本数据单元添加标识信息,所述标识信息用于唯一地标识每个资源文件中的每个可见文本数据单元; 根据应用的图形用户界面捕获至少一个图形用户界面面板; 并且将重复的资源文件和至少一个捕获的面板作为应用的图形用户界面资源保存到中间文件中。 通过使用本发明,可以通过向每个可见文本数据单元添加唯一标识信息,在可视文本数据和资源束之间建立链接,并且可以通过捕获面板来获得可视文本数据的应用环境 当应用程序执行时,应用程序的图形用户界面,以便为可视文本数据的精确翻译提供依据。 本发明还提供了一种用于编辑应用程序的图形用户界面的方法和装置。

Patent Agency Ranking