Application program testing method and system based on service process control

A business process and application technology, applied in the field of application testing methods and systems based on business process control, can solve the problems of long time consumption of test projects, high test costs, low test coverage, etc., and improve test coverage. , The effect of reducing test cost and increasing test quality

Active Publication Date: 2014-01-22
重庆天极云服科技有限公司
View PDF4 Cites 69 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When using the above two tools to perform testing work, the problems caused by manual testing have been avoided to a certain extent. However, in actual practice, due to the large amount of data in the test project, there are many combinations of business processes that need to be tested. The key The problem lies in the design of test suites, test cases and test scripts and the utilization of the relationships between them
For example, when using QTP to test the application, the tester needs to design test cases and test scripts for each business process in the application, which is very dependent on the experience and ability of the tester, which will make the test coverage rate low; and because the test The complexity of the task and the large amount of data make the test project take a long time, so there are still problems such as low test efficiency and high test cost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application program testing method and system based on service process control
  • Application program testing method and system based on service process control
  • Application program testing method and system based on service process control

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as figure 1 As shown, this embodiment provides an application program testing method based on business process control. In this embodiment, a tested application program is taken as an example. The business process of the tested application program includes four service nodes 1, 2, 3, 4, the test management tool used in this embodiment is Testlink, and the automated testing tool is QTP or Selenium, and QTP is HP QuickTest Professional software, and the method of the present invention and any embodiment are applied, and Testlink needs to be redeveloped, adding some functional module. Described test method comprises the following steps:

test Embodiment 101

[0047] Define the test case 101: apply the test management tool, according to the business process of the application program under test, design a test case for each business node in the process respectively, and store the test case in the database; first apply the Testlink definition and Four test cases A, B, C, and D corresponding to four service nodes, A is a use case for node 1, B is a use case for node 2, C is a use case for node 3, D is a use case for node 4, And store four test cases in the database.

[0048]Realize automated test script 102: for described test case, write the automated test script corresponding to each test case respectively, and described automated test script is stored in the database; Write the corresponding automated test script according to 4 test cases, Name the four scripts as TestCase_A, TestCase_B, TestCase_C, and TestCase_D respectively, and store the four automated test scripts in the database.

[0049] Establish correspondence 103: apply t...

test Embodiment B

[0057] The method provided in this embodiment is an improvement proposed on the basis of Embodiment 1, and the software and hardware environment in this embodiment is the same as that of Embodiment 1. In the step of establishing the corresponding relationship in the method provided in this embodiment, the method for establishing the corresponding relationship between the automated test script and the test case is: in the test management tool, input the abstract field of each test case as corresponding to the test case The name of the automation script. Also take the business process of Embodiment 1 as an example. For test case A, fill in TestCase_A in the Testlink test case summary input box in the test project management server; similarly, for test case B, enter TestCase_B in the summary input box, and follow the In this method, the summary fields of test cases C and D are input as the automated test script names TestCase_C and TestCase_D corresponding to the test cases.

[...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an application program testing method and system based on service process control. According to the method, distribution type automated testing is conducted on application programs through the steps of defining a test case, obtaining automatic testing script, setting up a corresponding relation, defining the testing process, defining the test plan and executing the test task. Correspondingly, the invention provides a system. The system comprises a data storage unit, a process management unit, a task establishing unit, a task executing unit and the like. The method and system are designed for the highly-procedural application programs and are the method and system based on the testing process control. According to the application program testing method and system based on service process control, the testing coverage rate can be effectively improved, the testing quality is improved, the testing cost is reduced, the staff efficiency is improved, the environment maintaining cost is reduced, and the time spent on traditional automated testing is shortened.

Description

technical field [0001] The invention relates to the technical fields of software testing and network communication, in particular to an application program testing method and system based on business process control. Background technique [0002] In the field of application testing, it is common to use manual or automatic means to run or test a system, the purpose of which is to verify whether it meets the specified requirements or to clarify the difference between the expected results and the actual results. For some applications with strong processes, such as order system production process, audit process and other systems, when using manual testing methods, manual testers should test these processes based on their own testing experience and business familiarity. Due to fatigue or project time pressure, the coverage rate is not very high, and it is easy to miss or fail to test, leading to online accidents and serious direct economic losses. [0003] For such problems, som...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 谭鹏飞
Owner 重庆天极云服科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products