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 PDFInfo
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction 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
Description
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
When the test target software is selected, the
In this case, the
In addition, when the user interface input control region is generated in consideration of a hierarchy, the
The test
The test
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
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
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
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
In addition, the
In addition, the
The
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
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)
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.
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 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.
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.
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.
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)
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 |
-
2010
- 2010-10-19 KR KR1020100101827A patent/KR20120040419A/en not_active Application Discontinuation
Cited By (8)
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 |