KR20120040419A - Method for generating test case by auto analysis of user interface - Google Patents

Method for generating test case by auto analysis of user interface Download PDF

Info

Publication number
KR20120040419A
KR20120040419A KR1020100101827A KR20100101827A KR20120040419A KR 20120040419 A KR20120040419 A KR 20120040419A KR 1020100101827 A KR1020100101827 A KR 1020100101827A KR 20100101827 A KR20100101827 A KR 20100101827A KR 20120040419 A KR20120040419 A KR 20120040419A
Authority
KR
South Korea
Prior art keywords
test case
test
input control
user interface
base table
Prior art date
Application number
KR1020100101827A
Other languages
Korean (ko)
Inventor
류재호
Original Assignee
주식회사 인프라웨어
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 인프라웨어 filed Critical 주식회사 인프라웨어
Priority to KR1020100101827A priority Critical patent/KR20120040419A/en
Publication of KR20120040419A publication Critical patent/KR20120040419A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE: A method for generating a test case through automatic analysis of user interface is provided to easily derive a test case and automatically derive a test case which should be tested regardless of a tester's capability. CONSTITUTION: When a test target software is selected, a UI analyzing unit(102) analyzes an input control area of UI of a selected test target software. The UI analyzing unit generates a test case base table. A test case generating unit(106) inputs a test item for each input control area stored in the test case base table which is generated by analyzing the input control area of UI of the test target software. The test case generating unit generates a test case.

Description

Method for generating test case by auto analysis of user interface}

The present invention relates to a test case generation method through automatic user interface analysis, and more particularly, to a test case generation method through automatic user interface analysis that can easily generate a test case.

In general, when conducting a user interface (UI) test, the tester derives a test case based on input and input combination or specification of a screen or function.

In addition, a test case may be derived using a tool for deriving a test case using a technique for deriving a test case or a tool for deriving a test case using a specific technique.

When a tester derives a test case based on the input or input combination or specification of a screen or function, there is a deviation in the scope or quality of the test depending on the tester's ability to derive the test case.

In addition, when a test case is derived using a technique for deriving a test case or a tool for deriving a test case by applying a technique, the tester can access only when the relevant knowledge and skills are sufficient.

In addition, when the test case is derived in this manner, when the input control region of the infant (UI) is changed, it is difficult to derive the changed contents, and the process of deriving the test case again needs to be repeated.

It is an object of the present invention to provide a test case generation method through automatic user interface analysis that can easily derive a test case and automatically derive a test case that must be essentially verified regardless of the tester's capability.

According to an embodiment of the present invention, a method for generating a test case through automatic user interface analysis may include storing a predetermined test item for each input control area of a user interface. Analyzing the input control region in the user interface of the target software to generate a test case basis table and a test for each input control region previously stored in the test case basis table generated by the input control region analysis of the user interface for the test target software. Assigning an item to generate a test case.

In addition, after the test case base table generation step, re-analyze the input control region analysis of the user interface for the selected test target software to generate a second test case base table, and the test case base table and the second test case base table. Preferably, the method further includes comparing the variation of the input control region with each other.

In the input control region variation checking step, it is preferable to compare the test case basis table with the second test case basis table to identify any one of addition, deletion, and change of the input control region.

In the test case base table generation step, when the user interface input control region is generated in consideration of hierarchy, it is preferable to generate the test case base table with reference to the corresponding hierarchical structure.

In the test case base table generation step, during test software execution, it is preferable to execute the test case creation software and select the test target software using the analysis icon of the test case creation software.

According to the present invention, the input type of the analysis target software infant (UI) can be easily grasped, and test items for each input control area may be prepared in advance to provide basic information for deriving a test case.

In addition, by comparing the results of the previous analysis with the results of the new analysis, it is easy to see the change history of the UI input control area, which is useful for managing test cases, and through the previous test case extraction results and the new test case extraction results, By tracking and identifying the UI input control area, it is easy to identify the work task according to the change.

In addition, the design and analysis time for the UI test can be shortened, and more various tests can be performed.

1 is a diagram illustrating a test case generation module through automatic user interface analysis according to an embodiment of the present invention.
2 illustrates the software under test according to the embodiment of the present invention.
3 illustrates a test case foundation table in accordance with an embodiment of the present invention.
4 illustrates a first test case foundation table and a second test case foundation table according to an embodiment of the present invention.
5 is a diagram illustrating a test item preset for each input control area according to an exemplary embodiment of the present invention.
6 illustrates a test case according to an embodiment of the present invention.

Hereinafter, with reference to the drawings will be described the present invention in more detail.

1 is a diagram illustrating a test case generation module through automatic user interface analysis according to an embodiment of the present invention.

Referring to FIG. 1, the test case generation module 100 through automatic user interface analysis according to an exemplary embodiment of the present invention may include a UI analyzer 102 and a test item storage unit 104 for each UI control region. The test case generating unit 106 may be executed and may be executed in a personal computer.

When the test target software is selected, the UI analyzer 102 analyzes the input control region in the user interface of the selected test target software to generate a test case basis table.

In this case, the UI analyzer 102 may execute the test case generation software while executing the test target software, and select the test target software using the analysis icon of the test case creation software.

In addition, when the user interface input control region is generated in consideration of a hierarchy, the UI analyzer 102 may generate a test case base table by referring to the corresponding hierarchical structure.

The test item storage unit 104 for each UI control area stores the test item set in advance for each input control area of the user interface.

The test case generating unit 106 generates a test case by substituting a test item for each input control region previously stored in the test case base table generated by the input control region analysis of the user interface to the test target software.

On the other hand, the automatic user interface analysis module according to an embodiment of the present invention further includes a change detection unit (not shown), the input control region analysis of the user interface for the software under test through the UI analysis unit 102 is re-performed When the second test case foundation table is generated, the change of the input control region may be grasped by comparing the test case foundation table with the second test case foundation table.

In this case, the variation detecting unit may compare any of the test case base table and the second test case base table to determine any one of addition, deletion, and change of the input control area.

A test case generation method through automatic user interface analysis according to an embodiment of the present invention is as follows.

1. Run the software you want to test.

2. Run the test case generation software according to the present invention.

3. Drag the analysis icon of the test case creation software that has been executed and drop it onto the software under test. Alternatively, select the analysis menu of the test case generation software and specify a test target to be analyzed.

4. The UI analysis unit starts the analysis and analyzes the UI of the target software to be tested (for example, the RBC program can be analyzed).

5. Analysis is completed, and a basic test case (test case basis table) including information of each input control area of the UI is automatically generated.

6. Save the generated basic test case.

7. After the UI change is made, perform the above steps 1 to 6 again.

8. Compare the basic test case drawn with the newly created basic test case (for example, you can identify the change history as the item itself is added / deleted or the value you enter is added / deleted). )

9. Applying a predefined test item according to the type of each input control area can automatically derive a test case.

FIG. 2 is a diagram illustrating test target software according to an embodiment of the present invention, and FIG. 3 is a diagram illustrating a test case foundation table according to an embodiment of the present invention.

Referring to the drawings, the test target software screen 200 illustrated in FIG. 2 is a screen displaying an RPC program. FIG. 3 is a test case basic table generated by analyzing the UI program shown in FIG. 2 by the UI analyzing unit.

4 is a diagram illustrating a first test case base table and a second test case base table according to an embodiment of the present invention.

Referring to FIG. 4, an input control region analysis of a user interface for a test target software is performed through a UI analyzer to generate a first test case base table 410, and the analysis is performed again to perform a second test case base. When the table 450 is generated, the variation detecting unit may determine the variation of the input control region by comparing the first test case basis table with the second test case basis table.

For example, the first area 412 of the first test case base table 410 is changed to the first area 452 of the second test case base table 450 to confirm the change.

In addition, the second area 414 of the first test case base table 410 is changed to the second area 454 of the second test case base table 450 to confirm the addition.

In addition, the third area 416 of the first test case base table 410 may be changed to the third area 456 of the second test case base table 450 to confirm deletion.

The fourth region 418 of the first test case foundation table 410 may be changed to the fourth region 458 of the second test case foundation table 450 to confirm the addition.

5 is a diagram illustrating a test item preset for each input control region according to an embodiment of the present invention, and FIG. 6 is a diagram illustrating a test case according to an embodiment of the present invention.

Referring to the drawings, the test case generation unit substitutes the test items 500 for each input control region illustrated in FIG. 5 in the test case base table generated by the input control region analysis of the user interface for the software under test. A test case 600 shown in FIG. 6 is generated.

Although the present invention has been described in more detail with reference to the examples, the present invention is not necessarily limited to these embodiments, and various modifications can be made without departing from the spirit of the present invention. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. The protection scope of the present invention should be interpreted by the following claims, and all technical ideas within the equivalent scope should be interpreted as being included in the scope of the present invention.

Claims (5)

Storing a test item set in advance for each input control area of a user interface;
When the test target software is selected, analyzing the input control region in the user interface of the selected test target software to generate a test case base table; And
Generating a test case by inserting a test item for each input control region stored in advance into a test case base table generated by an input control region analysis of a user interface to the test target software;
Test case generation method through the user interface automatic analysis comprising a.
The method according to claim 1,
After the test case base table generation step,
Re-executing input control region analysis of the user interface for the selected test target software to generate a second test case base table;
Comparing the test case basis table with the second test case basis table to determine a change in an input control region;
Test case generation method through automatic user interface analysis, characterized in that it further comprises.
The method according to claim 2,
The input control region fluctuation determining step,
And comparing the test case base table with the second test case base table to identify any one of addition, deletion, and change of an input control region.
The method according to claim 1,
In the generating of the test case base table, when the user interface input control region is generated in consideration of hierarchy, the test case base table is generated by referring to the corresponding hierarchical structure. How to create a test case.
The method of claim 4,
In the test case base table generation step, during test software execution, the test case generation software is executed and the test target software is selected using the analysis icon of the test case creation software. How to create a case.
KR1020100101827A 2010-10-19 2010-10-19 Method for generating test case by auto analysis of user interface KR20120040419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100101827A KR20120040419A (en) 2010-10-19 2010-10-19 Method for generating test case by auto analysis of user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100101827A KR20120040419A (en) 2010-10-19 2010-10-19 Method for generating test case by auto analysis of user interface

Publications (1)

Publication Number Publication Date
KR20120040419A true KR20120040419A (en) 2012-04-27

Family

ID=46140322

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100101827A KR20120040419A (en) 2010-10-19 2010-10-19 Method for generating test case by auto analysis of user interface

Country Status (1)

Country Link
KR (1) KR20120040419A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101290594B1 (en) * 2013-04-15 2013-07-29 비티에스테크놀로지스(주) Auto test system and method for hmi device
KR101442511B1 (en) * 2013-03-19 2014-09-26 (주) 스위텍 Assembly of canopy roof infrastructure
US9916414B2 (en) 2013-04-22 2018-03-13 Samsung Electronics Co., Ltd. Apparatus and method for generating test cases for processor verification, and verification device
KR20180132238A (en) * 2017-06-02 2018-12-12 유진호 Automated method of generating and editing table or figure of statistical result for insertion in paper, computer program implementing the same and information processing device configured to perform the same
CN111930629A (en) * 2020-08-14 2020-11-13 工银科技有限公司 Page testing method and device, electronic equipment and storage medium
US10915432B2 (en) 2017-11-13 2021-02-09 Hyundai Motor Company Test case management system and method
KR102343477B1 (en) * 2020-12-28 2021-12-28 주식회사 앱테스트에이아이 System And Method For User Interface Autonomous Testing

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101442511B1 (en) * 2013-03-19 2014-09-26 (주) 스위텍 Assembly of canopy roof infrastructure
KR101290594B1 (en) * 2013-04-15 2013-07-29 비티에스테크놀로지스(주) Auto test system and method for hmi device
US9916414B2 (en) 2013-04-22 2018-03-13 Samsung Electronics Co., Ltd. Apparatus and method for generating test cases for processor verification, and verification device
KR20180132238A (en) * 2017-06-02 2018-12-12 유진호 Automated method of generating and editing table or figure of statistical result for insertion in paper, computer program implementing the same and information processing device configured to perform the same
US10915432B2 (en) 2017-11-13 2021-02-09 Hyundai Motor Company Test case management system and method
CN111930629A (en) * 2020-08-14 2020-11-13 工银科技有限公司 Page testing method and device, electronic equipment and storage medium
KR102343477B1 (en) * 2020-12-28 2021-12-28 주식회사 앱테스트에이아이 System And Method For User Interface Autonomous Testing
US11567858B2 (en) 2020-12-28 2023-01-31 Apptest.Ai System and method for user interface autonomous testing

Similar Documents

Publication Publication Date Title
KR20120040419A (en) Method for generating test case by auto analysis of user interface
CN109840206B (en) Data testing method, device, terminal and storage medium
US9459994B2 (en) Mobile application testing systems and methods
US9542303B2 (en) System and method for reversibility categories and characteristics of computer application functions
CN106294152B (en) Using the traversal test device and method of user interface
US20150278076A1 (en) Smart tester application for testing other applications
US20070094541A1 (en) Method and apparatus for generating test execution sequences automatically for a software testing process
CN102012826A (en) Method and system for intelligently installing/upgrading software
KR20140038381A (en) Systems and methods for testing content of mobile communication devices
US10877778B2 (en) Sequence detection and automation for complex portal environments
Bae et al. Comparing model-based and dynamic event-extraction based GUI testing techniques: An empirical study
Aho et al. Automated java gui modeling for model-based testing purposes
CN104268083A (en) Software automatic testing method and device
JP2016506559A (en) Method and device for changing objects in an HMI device
CN106383789A (en) Software interface test method and software interface test system
CN108874649A (en) Generation method, device and its computer equipment of automatic test script
EP2951680B1 (en) Acquiring identification of an application lifecycle management entity associated with similar code
CN104156305A (en) Application program testing method and device
KR20130097252A (en) Method and apparatus for analysing application by source code analysis
US20130326466A1 (en) Human Readable Software Program Test Step
US20090217259A1 (en) Building Operating System Images Based on Applications
CN110750462A (en) FPGA white box test platform
CN104461864A (en) Java source code defect detecting method and system based on Eclipse plugin
US20130318499A1 (en) Test script generation
US8826185B2 (en) GUI evaluation system, GUI evaluation method, and GUI evaluation program

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination