The present invention relates to a tool for testing software and to an apparatus, method, and program for managing information on a problem detected in a test.
In software development, various tests of functions provided by software, user interfaces, and the like are performed. If a problem is detected in a test, a report of the detected problem (hereinafter, referred to as “problem report”) is released to a person in charge of software development (a programmer or the like) and software modification or the like is performed.
For example, with respect to the conventional technology disclosed in the prior art, it is disclosed that an error report mail describing detailed information on an error and a source file identifier is generated and transmitted to an e-mail address of a source administrator in the case of occurrence of the error in evaluation processing of software.
In one embodiment of the present invention, an apparatus executes and tests software. The apparatus comprises: an execution hardware unit that executes software to be tested; an interface screen control hardware unit that causes a display device to display an interface screen by the software to be tested and receives a user's input operation using the interface screen; and a problem report management hardware unit that manages information on a problem that has occurred during a test of the software, wherein the problem report management unit includes: a selection operation receiving hardware unit that receives a selection of a component part of the interface screen; an input receiving hardware unit that receives a user's input of information; a report generating hardware unit that generates report information on the component part, based on information on the component part related to the selection received by the selection operation receiving unit and information received by the input receiving unit; and a notification display hardware unit that performs notification display to give notice that there is a component part for which report information has been generated, in response to the component part related to the selection received by the selection operation receiving unit including the component part for which the report information has been generated by the report generating unit.
In one embodiment of the present invention, an apparatus executes and tests software. The apparatus comprises: an execution hardware unit that executes software to be tested; an interface screen control hardware unit that causes a display device to display an interface screen by the software to be tested and receives a user's input operation using the interface screen; and a problem report management hardware unit that manages information on a problem that has occurred during a test of the software, wherein the problem report management hardware unit includes: a selection operation receiving hardware unit that receives a selection of a component part of the interface screen; an input receiving hardware unit that receives a user's input of information; and a report generating hardware unit that generates report information on the component part, based on information on the component part related to the selection received by the selection operation receiving hardware unit and information received by the input receiving hardware unit.
In one embodiment of the present invention, an apparatus executes and tests software. The apparatus comprises: an execution hardware unit that executes software to be tested; an interface screen control hardware unit that causes a display device to display an interface screen by the software to be tested and receives a user's input operation using the interface screen; and a problem report management hardware unit that manages information on a problem that has occurred during a test of the software, wherein the problem report management hardware unit includes: a selection operation receiving hardware unit that receives a selection of a component part of the interface screen; an acquisition hardware unit that acquires report information generated with respect to the component part of the interface screen; and a notification display hardware unit that performs notification display to give notice to a selection part, which is the component part related to the selection received by the selection operation receiving hardware unit, that there is a component part for which report information has been generated, in a case in which the selection part includes the component part for which the report information has been generated.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The embodiment of the present invention will be described in detail hereinafter with reference to accompanying drawings.
The application execution unit 100 executes an application to be tested. The application execution is performed in the same manner as for a case where a user of the application actually uses the application. As illustrated in
The processing unit 110 executes various types of data processing prepared on the basis of an intended use of the application. The types of data processing performed by the processing unit 110 may be any of various computations, data retrieval and processing, or any other existing processes and a combination thereof, and the types of data processing are not particularly limited in this embodiment.
The GUI control unit 120 generates a GUI screen for use in providing a user with information. Moreover, the GUI control unit 120 receives an input by a user's operation on the GUI screen. The information provided to the user on the GUI screen includes an execution result of processing by the processing unit 110. Further, in this embodiment, it is assumed that the GUI screen is generated by using HTML or the like and is generated as a screen displayed by a Web browser (a screen displayed on the Web).
The display control unit 200 causes the display device 400 to display the GUI screen generated by the GUI control unit 120 of the application execution unit 100. Since the GUI screen is generated as a screen displayed on the Web in this embodiment as described above, the display control unit 200 is able to be implemented by the Web browser. As illustrated in
The GUI screen control unit 210 causes the display device 400 to display a GUI screen and receives an operation performed on the displayed GUI screen. Specifically, the GUI screen control unit 210 causes a transition to a linked page by an operation using a pointing device such as a mouse or receives a text input to an input field on the GUI screen. In this embodiment, these processes are implemented by basic functions of a general Web browser.
The problem report management unit 220 receives an input of a problem report of a problem which has occurred after the execution of the application and manages the problem report which has been input. In addition, the problem report management unit 220 receives a request for viewing a problem report and causes the display device 400 to display a corresponding problem report. In this embodiment, the function of the problem report management unit 220 is provided as, for example, an additional function (add-on or the like) of a Web browser which implements the display control unit 200. The details of the function of the problem report management unit 220 will be described later.
The administrative DB 300 stores problem reports received by the problem report management unit 220. The administrative DB 300 is implemented by using storage means such as a memory and a magnetic disk storage unit included in the computer system of this embodiment.
The display device 400 is implemented by a display device such as a liquid crystal display and displays a GUI screen by the control of the GUI screen control unit 210. The mouse 500 and the keyboard 600 are input devices which are used by a user to perform input operations. The user refers to the GUI screen displayed on the display device 400 and inputs various commands and texts by manipulating the mouse 500 and the keyboard 600. Alternatively, an appropriate pointing device such as a trackball or a tablet may be used instead of the mouse 500.
The selection operation receiving unit 221 receives an operation of identifying an object (hereinafter, referred to as “target”) of the registration and viewing of a problem report, which is a component part of the GUI screen. Specifically, for example, when a drag operation of the mouse 500 is performed on the GUI screen, the selection operation receiving unit 221 is able to receive a rectangular area having a straight line connecting the start point with the end point as a diagonal line, as a target. Moreover, when a mouse pointer is placed in the position of an object (an icon, an input form, a dialog box, a section [pane] within a window, or the like) constituting the GUI screen or when an operation for displaying a menu described later is performed in the state, the selection operation receiving unit 221 may receive the object in the position where the mouse pointer is placed as a target. Additionally, the target may be selected on the basis of various operations capable of selecting a particular range or an object on the GUI screen. Moreover, the selection operation receiving unit 221 may perform display control such as, for example, enclosing an object selected as a target by a particular frame border. This enables the user to easily recognize the object or range selected as a target.
The menu display unit 222 displays a menu for use in calling a function of the problem report management unit 220 in response to a user's operation. It is assumed that functions which can be called on the menu include at least a function of registering a problem report and a function of viewing an already-registered problem report. Specifically, for example, in response to a selection of a target on the GUI screen and then an operation such as clicking the right button of the mouse 500, the GUI screen displays a menu for use in selecting one of the function of registering a problem report and the function of viewing a problem report already registered regarding the selected target.
The input receiving unit 223 receives a user's input of information in the case of selection of the function of registering a problem report on the menu displayed by the menu display unit 222. Specifically, for example, the input receiving unit 223 causes the display device 400 to display a window, a text box, or the like other than the GUI screen and receives an input of text data on the title of the problem report or the content of the problem.
The problem report generating unit 224 generates a problem report (report information) on the basis of the information on the target of the problem report received by the selection operation receiving unit 221 and the user's input information received by the input receiving unit 223. Moreover, the problem report generating unit 224 acquires image data of the GUI screen (screen capturing) at the selection of the function of registering the problem report on the menu displayed by the menu display unit 222 and stores the image data in the administrative DB 300. Furthermore, the problem report generating unit 224 puts the information on the acquired image data (captured image) in the problem report. The generated problem report is stored in the administrative DB 300. A specific configuration of the problem report stored in the administrative DB 300 is described later.
In the case where the function of viewing an already-registered problem report is selected on the menu displayed by the menu display unit 222 and if the problem report has already been registered regarding the target specified on the GUI screen, the notification display unit 225 displays the notification of the registration (hereinafter, referred to as “notification display”). In the case where the rectangular area identified by a drag operation of the mouse 500 is selected as a target and if a part which has been selected as a target in past years and for which a problem report has been registered (the part is an area, an object, or the like and hereinafter referred to as “registered part”) exists within the area selected as the target, the notification display unit 225 performs notification display of the registered part. If a plurality of registered parts is included in the area specified as a target, the notification display unit 225 performs notification display for each of the registered parts within the selected area. Moreover, in the case where a target is selected in units of an object constituting the GUI screen or the like cases, the object selected as a target coincides with a registered part in some cases. In this case, the notification display unit 225 performs notification display with the selected target as a registered part.
The notification display may be of any form as long as a user can be notified of a fact that the problem report has already been registered (a registered part exists) regarding the selected target, and various notification modes may be employed. For example, a particular icon or badge (icon badge) set as a notification display may be displayed in the vicinity of the registered part or the registered part may be highlighted by means of changing a display color or the like.
In the case where a plurality of problem reports is registered regarding an individual registered part, the notification display unit 225 may perform the notification display in such a way that the user is able to recognize the fact. For example, in the case where particular icons are displayed as the notification display, the particular icons are displayed in a row by the number of registered problem reports.
In the case of the execution of the operation of selecting the registered part for which notification display has been performed by the notification display unit 225, the problem report output unit 226 causes the display device 400 to display the content of the problem report registered regarding the selected registered part. Specifically, the problem report output unit 226 identifies the problem report stored in the administrative DB 300 regarding the registered part on the basis of the information (position information or the like: the details are described later) on the selected registered part and reads and displays the problem report from the administrative DB 300. The registered part is selected by an operation such as, for example, placing the mouse pointer on the part for which notification display is performed and then clicking a mouse button (mouse click). Moreover, the apparatus may be adapted to accept an operation of selecting a plurality of registered parts, so that the contents of the problem reports are displayed for the plurality of registered parts which have been selected, respectively.
As for the display mode of a problem report, various existing approaches are applicable to the display. For example, it is possible to display a balloon in the vicinity of the target to display the content of a problem in the problem report read from the administrative DB 300. Moreover, the problem report read from the administrative DB 300 may be displayed after displaying a section (pane) for displaying a problem report in a part of the GUI screen or displaying a window other than the GUI screen.
Upon selection of the “problem report registration” function after the operation of a mouse click or the like in the state illustrated in
After the “problem report viewing” function is selected by performing an operation such as a mouse click in the state illustrated in
Upon the selection operation of the registered parts 431, 432, and 433 in the state illustrated in
The method of selecting the registered part when the user views the problem report is not limited to the method illustrated in
If the “problem report registration” function is selected by a user's operation (step 1004), the input receiving unit 223 receives a user's input of a text and the problem report generating unit 224 acquires information on the captured image of the GUI screen or a target (step 1005). Thereafter, the problem report generating unit 224 generates a problem report on the basis of the acquired information and stores the problem report into the administrative DB 300 (step 1006).
On the other hand, if the “problem report viewing” function is selected by a user's operation from the menu displayed in step 1003 (step 1004), the notification display unit 225 determines whether the registered part exists within the area of the selected target (step 1007). If the registered part exists, the notification display unit 225 performs notification display for the detected registered part (step 1008).
Subsequently, if the user performs an operation of selecting the registered part (step 1009), the problem report output unit 226 reads out the problem report of the selected registered part from the administrative DB 300 and displays the problem report (step 1010). Unless the registered part exists within the area of the selected target, the notification display unit 225 performs a notification display indicating that the registered part does not exist (step 1011).
Alternatively, unless the registered part exists, the display of the “problem report viewing” function may be prevented on the menu display in step 1003. In such a case, step 1007 is unnecessary.
As described herein, according to the embodiment, a place where the problem occurs can be pointed out by using a graphical user interface on the GUI screen displayed on the display device 400 in a software test and a problem report can be registered and viewed. Therefore, a user who wants to register a problem report (a tester or the like) is able to directly point out the place where the problem occurs on the GUI screen, thereby facilitating the generation of the problem report. Moreover, for a user who wants to view a problem report (a person in charge of software development or the like), it is easy to intuitively grasp how many problems are reported in which part of the software since the place for which the problem report is generated is displayed on the GUI screen. Furthermore, the problem report generating unit 224 acquires the captured image of the GUI screen when the problem report is registered in this embodiment, and therefore there is no need for a user to perform the operation of acquiring and storing the image data of the GUI screen every time a problem report is generated, thereby enabling a remarkable reduction in labor hours required for the generation of the problem report.
In one embodiment, the notification display unit 225 performs the notification display of the registered part in response to a selection of the “problem report viewing” function after the selection of the target on the GUI screen. In contrast, at the instant of the selection of the target, the notification display unit 225 may search for the registered part included in the area of the specified target and perform the notification display. If a new problem report is registered for the selected target, a menu may be displayed for the target for which the notification display of the registered part has been performed, so that the “problem report registration” function is selected.
In the configuration example illustrated in
In
Although the GUI screen has been described as a screen displayed on the web in this embodiment, the GUI screen is not limited thereto. Moreover, although the problem report is registered in association with the GUI screen in the present embodiment, a problem treated in the problem report is not limited to a problem in the GUI. For example, even in the case of a problem related to the software operation, the problem report can be registered with an appropriate part on the related GUI screen as an index. In addition, the aforementioned embodiment, in which various changes or improvements are made, is also covered by the technical scope of the present invention.
The present invention presents a new and novel solution to one or more of the following problems and/or scenarios.
A problem report associated with a software test is generated generally by describing a place where a problem occurs and a content of the problem in written form. Moreover, in the case of a problem report of a graphical user interface (GUI), image data on a display screen by GUI (hereinafter, referred to as “GUI screen”) at the occurrence of a problem is stored (screen capturing) and then is attached to document data in some cases.
When the problem report is generated in written form, however, it is sometimes difficult to represent the place where the problem occurs. For a problem related to GUI, the GUI screen at the occurrence of the problem is attached in some cases as described above. In such a case, however, a viewer of the problem report needs to make allowance for the content of the document by contrasting the content of the document with the GUI screen attached thereto. Therefore, it is often difficult to find the place where the problem occurs. Moreover, the work of storing image data of the GUI screen and attaching the image data to document data every time the problem is found in a test requires labor hours inefficiently. Furthermore, it has been difficult from the problem report in written form for the viewer of the problem report to intuitively grasp how many problems are reported in which part of the software.
In view of these problems, it is an object of the present invention to generate a problem report which is easy to generate, from which the source of a problem is easily identified, and by which the viewer of the problem report is able to intuitively and easily grasp the source of the problem.
In order to achieve the above object, the present invention is implemented as an apparatus as described below. This apparatus, which executes and tests software, includes: an execution unit which executes the software to be tested; an interface screen control unit which causes a display device to display an interface screen by the software to be tested and receives a user's input operation using the interface screen; and a problem report management unit which manages information on a problem which has occurred in the test of the software. The problem report management unit includes: a selection operation receiving unit which receives a selection of a component part of the interface screen; an input receiving unit which receives a user's input of information; a report generating unit which generates report information on the component part, based on information on the component part related to the selection received by the selection operation receiving unit and information received by the input receiving unit; and a notification display unit which performs notification display to give notice that there is a component part for which report information has been generated, in the case where the component part related to the selection received by the selection operation receiving unit includes the component part for which the report information has been generated by the report generating unit.
More preferably, the notification display unit performs a display indicating that the report information has been generated for the component part for which the report information has been generated. Still preferably, the problem report management unit further includes image data acquisition means which acquires image data of the interface screen in the case of receiving a selection operation using the selection operation receiving unit and the report generating unit generates the report information including information on the image data acquired by the image data acquisition means. Further preferably, the problem report management unit further includes a problem report output unit which receives a selection of the component part for which the report information has been generated and displays the report information on the selected component part on the display device.
Furthermore, the present invention is also achieved as a program which controls a computer to implement the functions of the aforementioned apparatus. This program can be provided by being stored in a magnetic disk, an optical disk, a semiconductor memory, or any other recording mediums for distribution or by being delivered over a network.
According to the present invention, it is possible to generate a problem report which is easy to generate, from which the source of a problem is easily identified, and by which the viewer of the problem report is able to intuitively and easily grasp the source of the problem.
Thus, in one embodiment, a problem report management unit 220, which runs and tests an application to manage information on a problem which has occurred, includes: a selection operation receiving unit 221 which receives a selection of a component part of a GUI screen; an input receiving unit 223 which receives a user's input of information; a problem report generating unit 224 which generates report information on the component part, based on information on the component part related to the selection received by the selection operation receiving unit 221 and information received by the input receiving unit 223; and a notification display unit 225 which performs notification display to give notice that there is a component part for which report information has been generated, in the case where the component part related to the selection received by the selection operation receiving unit 221 includes the component part for which the report information has been generated by the problem report generating unit 224.
Number | Date | Country | Kind |
---|---|---|---|
2013095954 | Apr 2013 | JP | national |