CN110716864A - Management method for page test and computer storage medium - Google Patents

Management method for page test and computer storage medium Download PDF

Info

Publication number
CN110716864A
CN110716864A CN201910837308.4A CN201910837308A CN110716864A CN 110716864 A CN110716864 A CN 110716864A CN 201910837308 A CN201910837308 A CN 201910837308A CN 110716864 A CN110716864 A CN 110716864A
Authority
CN
China
Prior art keywords
item
tested
changed
test
form item
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
CN201910837308.4A
Other languages
Chinese (zh)
Inventor
于洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Enyike (beijing) Data Technology Co Ltd
Original Assignee
Enyike (beijing) Data Technology Co Ltd
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 Enyike (beijing) Data Technology Co Ltd filed Critical Enyike (beijing) Data Technology Co Ltd
Priority to CN201910837308.4A priority Critical patent/CN110716864A/en
Publication of CN110716864A publication Critical patent/CN110716864A/en
Withdrawn legal-status Critical Current

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

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

Abstract

The application discloses a management method of page testing and a computer storage medium. The method comprises the following steps: when the form item of the form in the page is tested, recording the form item which has completed the test operation; after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested; and testing the newly added form item to be tested.

Description

Management method for page test and computer storage medium
Technical Field
The present application relates to the field of information processing, and more particularly, to a method for managing page testing and a computer storage medium.
Background
In the field of WEB system testing, with the development of services, the scale of a system becomes more complex and larger, but the iteration cycle of the system becomes shorter and shorter, which leads to the continuous decrease of the testing efficiency and the testing coverage rate of a page layer and the continuous increase of the cost of page automation testing.
In the related art, in the end-to-end test of the WEB system, for each iteration version, a tester needs to manually execute a smoking case or a case set with smaller granularity to execute a regression test. As the system size and complexity slowly increase, problems of long test periods and slow feedback are encountered. The automatic page test is introduced into the project, so that the problem that manual test cannot deal with the trouble of frequent iteration is solved, but a new problem is also solved.
In order to meet the development requirements of the frequently changed system, a tester needs to spend a large amount of labor cost on maintaining the automation use case script. When the case execution fails, the reason of the execution error needs to be judged according to the test report. Especially, when the front-end page code changes, a large amount of time is needed for modifying and debugging the corresponding test case script, and the compact development period may cause that the part of functions cannot be sufficiently tested, so that the difficulty of page test automation is improved by changing the direction.
Disclosure of Invention
In order to solve any technical problem, the application provides a management method of a page test and a computer storage medium.
In order to achieve the purpose of the application, the application provides a management method for page testing, which comprises the following steps:
when the form item of the form in the page is tested, recording the form item which has completed the test operation;
after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
and testing the newly added form item to be tested.
In an exemplary embodiment, the recording of the form entry for which the test operation has been completed includes:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
In an exemplary embodiment, whether the form in the page changes is obtained by:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
In an exemplary embodiment, the determining, according to the changed form and the form items that have been tested, the new form items to be tested includes:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
In an exemplary embodiment, before the recording of the form entry for which the test operation has been completed, the method further comprises:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the determining of the newly added form item to be tested according to the changed form and the form item which is tested, includes:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
A computer storage medium comprising a processor and a memory, wherein the memory stores a computer program, the processor invoking the computer program in the memory to implement operations comprising:
when the form item of the form in the page is tested, recording the form item which has completed the test operation;
after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
and testing the newly added form item to be tested.
In an exemplary embodiment, the processor calls a computer program in the memory to perform the operation of recording the form entry for which the test operation has been completed, including:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
In an exemplary embodiment, the processor invokes a computer program in the memory to perform operations of detecting whether a form in the page has changed, comprising:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
In an exemplary embodiment, the processor calls a computer program in the memory to implement the operation of determining a newly added form item to be tested according to the changed form and the form items that have been tested, including:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
In an exemplary embodiment, before the processor calls the computer program in the memory to implement the operation of recording the form items for which the test operation has been completed, the processor calls the computer program in the memory to implement operations further comprising:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the processor calls a computer program in the memory to realize the operation of determining the newly added form item to be tested according to the changed form and the form items which are tested, and the operation comprises the following steps:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
According to the scheme provided by the embodiment of the application, when the form item of the form in the page is tested, the form item which is subjected to the test operation is recorded, after the form in the page is detected to be changed, the newly-added form item to be tested is determined according to the changed form and the form item which is subjected to the test, the newly-added form item to be tested is tested, the purpose that after the form is changed, a test case is not required to be modified by a tester, only the newly-added form item to be tested is automatically tested is achieved, and the test efficiency is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the claimed subject matter and are incorporated in and constitute a part of this specification, illustrate embodiments of the subject matter and together with the description serve to explain the principles of the subject matter and not to limit the subject matter.
Fig. 1 is a flowchart of a management method for page testing according to an embodiment of the present disclosure;
fig. 2 is a flowchart of determining a form item type according to an embodiment of the present application;
FIG. 3 is a flowchart of a method for testing form entries according to an embodiment of the present application;
fig. 4 is a flowchart of a processing method after a form item is changed according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The method can search the form item to be tested according to the rule, dynamically generate the test case of the form, and is used for solving the problem that the page automation script is difficult to maintain due to frequent change of the WEB application page. The method can reduce the work of compiling the automatic script by a tester and improve the testing efficiency.
Fig. 1 is a management method for page testing provided in an embodiment of the present application, and is characterized by including:
step 101, recording the form items which have finished the test operation when the form items of the forms in the page are tested;
in an exemplary embodiment, the operation mode of testing the form item of the form in the page may be a test case automatically generated according to the form item and then executed for testing, or a manual test mode.
In an exemplary embodiment, whether the form item completes the test is determined by detecting whether a test case of the form item completes, and after the completion is detected, whether the form item completes the test may be recorded by using a preset list.
In an exemplary embodiment, the recording of the form entry for which the test operation has been completed includes:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
The method includes the steps that a new attribute is added to attribute information of a form item, the new attribute is a test attribute and is used for marking whether the form item is tested or not, a marking mode of the test attribute is written by a development language used by a page, subsequent analysis and reading are facilitated, for example, the page is developed by an HTML language, and information of the test attribute is recorded by the HTML language.
Step 102, after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
in an exemplary embodiment, different from an automatic test mode in the prior art, in the method provided in the embodiment of the present application, when the form is changed, the executed test is to obtain a new test operation, instead of a mode of re-executing all test cases of a new form in the related art, because the number of the test cases is significantly reduced compared to the number of the test cases in the related art, the execution efficiency of the test operation is improved.
In an exemplary embodiment, whether the form changes or not may directly count the number of the form items, and determine whether the form items change or not by whether the number changes or not.
In an exemplary embodiment, whether the form in the page changes is obtained by:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
Whether the test is finished or not is judged by obtaining the information carried in the test attribute information of the form item, so that the test can be more quickly and accurately carried out.
And 103, testing the newly added form item to be tested.
In an exemplary embodiment, the operation of testing the newly added form item to be tested may be to execute the test case according to the test case automatically generated from the form item, or to adopt a manual test mode.
According to the method provided by the embodiment of the application, when the form item of the form in the page is tested, the form item which is subjected to the testing operation is recorded, after the form in the page is detected to be changed, the newly added form item to be tested is determined according to the changed form and the tested form item, the newly added form item to be tested is tested, the purpose that after the form is changed, a tester does not need to modify a test case, only the newly added form item to be tested is automatically tested is achieved, and the testing efficiency is improved.
The method provided by the embodiments of the present application is explained as follows:
in an exemplary embodiment, the determining, according to the changed form and the form items that have been tested, the new form items to be tested includes:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
In an exemplary embodiment, the changed form item includes form item a, form item b, form item c and form item d, the pre-recorded form items that have completed the test are form item a, form item b and form item c, and the newly added form item is form item d, and then form item d is used as the newly added form item to be tested.
In an exemplary embodiment, before the recording of the form entry for which the test operation has been completed, the method further comprises:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the determining of the newly added form item to be tested according to the changed form and the form item which is tested, includes:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
In one exemplary embodiment, the form type of the form item may be an input box, a radio box, a multiple selection box, or a button; the value information of the form item can include the character form and/or the character number of the input of the value; the character form can be text, characters and numbers; the number is the length of characters allowed to be filled in.
In an exemplary embodiment, the changed form item includes form item a, form item b, form item c and form item d, the pre-recorded form items which have completed testing are form item a, form item b and form item c, whether the form types of the form item a, the form item b and the form item c which have completed testing are changed or not is obtained, and if the form type of the form item a is changed from a single selection box to a multiple selection box, the form item a is determined to be a newly added form item to be tested; if the form types of the form item b and the form item c are not changed, detecting whether the value information of the form item b and the form item c is changed, if the value information of the input box of the form item b is changed from the value information of 11 digits with the longest length to the text of 5 Chinese characters with the longest length, and taking the form item b as a newly-added form item to be tested because the value information of the form item b is changed.
By judging based on the form type and the value information, the test for the form which changes in the test process can be reduced, and the test comprehensiveness is ensured.
The method provided by the embodiments of the present application is explained as follows:
the embodiment of the present application takes management of automatic testing as an example for explanation:
aiming at the end-to-end test of a WEB system, an automatic execution test case is adopted to replace a manual script compiling, and the automatic test is realized.
Step 01, acquiring the type of each form item in the forms in the page;
fig. 2 is a flowchart of determining a type of a form item according to an embodiment of the present application. As shown in fig. 2, after the form of the open page is opened, the form items displayed on the page are found, and the types of all the form items are determined. The type of the form item can be an input box, a radio box, a multi-selection box or a button.
And when the test case is executed, automatically filling test data according to the form item. For example: a form item of the input box type will use some of the text on the page as data and enter into the form item.
In one exemplary embodiment, the method of looking up the form entry is based on html elements and seleniumwebdriver tools; all the form item elements are found through html elements in the page, the display condition of the form item in the page is determined according to seleniumwebdriver, and whether the form item is an effective form item is judged according to the position of the form item element.
02, generating a test case list for each form item, and executing the test case list;
fig. 3 is a flowchart of a method for testing a form item according to an embodiment of the present disclosure. As shown in fig. 3, when a test case is generated for each form item, the information of each form item is bound, and the test case is generated according to the configuration requirement of the bound verification of the form items and the two basic principles of the option traversal of the option type form item. When the form changes in the process of executing the use case, a new test case can be generated for the current use case. Each use case marks the form item in the use case when the use case starts to execute, and the marking method is to add a specific html element attribute to the form item element. After each form entry data is populated, the form entries in the form are monitored. And if a new form item appears, regenerating the use case.
Step 03, when the form changes, acquiring a form item to be tested in the changed form, and testing the tested form item;
fig. 4 is a flowchart of a processing method after a form item is changed according to an embodiment of the present application. As shown in fig. 4, the recorded form items that have been tested are used to determine the test form items that are generated after the form changes, generate a new test case list for the form items to be tested, and execute the new test case list.
The method provided by the embodiment of the application only needs to provide the page URL, the user information storage method and the form submission button, and can provide the test case list of the form and the test report of the form for the user. According to the method, a repeatedly executable use case list is generated according to the form items displayed on the page and the increase and decrease of the form items, and the form test covering more than 95% is performed. The method searches the to-be-tested form item according to the rule, and generates the test case according to the found form item, thereby fundamentally avoiding the problem of page change on the test script; and on the premise of ensuring the test coverage, the test time is reduced.
The method uses Java language to complete page analysis, and uses selenium as a browser to execute the test. In the case generating process, a page is opened by using the page link and the user authentication information, the form is positioned according to the form submitting button, and then the test case is generated aiming at the form. The method generates a series of test cases according to different form item types and through the logic rule of form test.
An embodiment of the present application provides a computer storage medium, including a processor and a memory, where the memory stores a computer program, and the processor calls the computer program in the memory to implement the following operations, including:
when the form item of the form in the page is tested, recording the form item which has completed the test operation;
after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
and testing the newly added form item to be tested.
In an exemplary embodiment, the processor calls a computer program in the memory to perform the operation of recording the form entry for which the test operation has been completed, including:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
In an exemplary embodiment, the processor invokes a computer program in the memory to perform operations of detecting whether a form in the page has changed, comprising:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
In an exemplary embodiment, the processor calls a computer program in the memory to implement the operation of determining a newly added form item to be tested according to the changed form and the form items that have been tested, including:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
In an exemplary embodiment, before the processor calls the computer program in the memory to implement the operation of recording the form items for which the test operation has been completed, the processor calls the computer program in the memory to implement operations further comprising:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the processor calls a computer program in the memory to realize the operation of determining the newly added form item to be tested according to the changed form and the form items which are tested, and the operation comprises the following steps:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
The computer storage medium provided by the embodiment of the application records the form item which is subjected to the test operation when the form item of the form in the page is tested, determines the newly added form item to be tested according to the changed form and the tested form item after the form in the page is detected to be changed, and tests the newly added form item to be tested, so that the aim of automatically testing only the newly added form item to be tested without modifying a test case by a tester after the form is changed is fulfilled, and the test efficiency is improved.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. A management method for page test is characterized by comprising the following steps:
when the form item of the form in the page is tested, recording the form item which has completed the test operation;
after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
and testing the newly added form item to be tested.
2. The method of claim 1, wherein recording the form entry for which the test operation has been completed comprises:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
3. The method of claim 2, wherein whether the form in the page changes is obtained by:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
4. The method of any one of claims 1 to 3, wherein determining the newly added form items to be tested based on the changed form and the form items that have been tested comprises:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
5. The method of claim 4, wherein:
before the recording of the form item having completed the test operation, the method further comprises:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the determining of the newly added form item to be tested according to the changed form and the form item which is tested, includes:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
6. A computer storage medium comprising a processor and a memory, wherein the memory stores a computer program, and wherein the processor invokes the computer program in the memory to perform operations comprising:
when the form item of the form in the page is tested, recording the form item which has completed the test operation;
after detecting that the form in the page is changed, determining a newly added form item to be tested according to the changed form and the form item which is tested;
and testing the newly added form item to be tested.
7. The computer storage medium of claim 6, wherein the processor invokes a computer program in the memory to perform the operation of recording the form entry for which the test operation was completed comprises:
detecting whether the test case corresponding to the form item is executed;
after the test case of the form item is detected to be completely executed, adding test completion indicating information in test attribute information corresponding to the form item preset on the page according to a development language used by the page.
8. The computer storage medium of claim 7, wherein the processor invokes a computer program in the memory to perform operations for detecting whether a form in the page has changed, comprising:
acquiring test attribute information of each form item in the form;
and when detecting that one or at least two pieces of test attribute information are not the indication information of the test completion, determining that the form is changed.
9. The computer storage medium of any of claims 6 to 8, wherein the processor invokes a computer program in the memory to perform the operation of determining a new form item to be tested based on the changed form and the tested form items, comprising:
acquiring form items in the changed forms;
and determining a newly added form item according to the form item in the changed form and the form item which is tested, and taking the newly added form item as the newly added form item to be tested.
10. The computer storage medium of claim 9, wherein:
before the processor calls the computer program in the memory to implement the operation of recording the form item of which the test operation is completed, the processor calls the computer program in the memory to implement the following operations, including:
recording a first form type and a first value range allowed to be filled in of each form item in the form;
the processor calls a computer program in the memory to realize the operation of determining the newly added form item to be tested according to the changed form and the form items which are tested, and the operation comprises the following steps:
obtaining a second form type corresponding to the form item which is subjected to the test operation in the changed form;
determining whether the form type of the completed form item changes according to the first form type and the second form type, and taking the form item with the changed form type in the form item which has completed the test operation as a newly added form item to be tested;
acquiring second value information allowed to be filled in by the form item with unchanged form type in the form item which is subjected to the test operation;
and comparing the first value range with the second value range, determining whether the value information of the list item of which the list type is unchanged in the list item which has completed the test operation is changed, and taking the list item of which the list type is unchanged but the value information is changed in the list item which has completed the test operation as the newly added list item to be tested.
CN201910837308.4A 2019-09-05 2019-09-05 Management method for page test and computer storage medium Withdrawn CN110716864A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910837308.4A CN110716864A (en) 2019-09-05 2019-09-05 Management method for page test and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910837308.4A CN110716864A (en) 2019-09-05 2019-09-05 Management method for page test and computer storage medium

Publications (1)

Publication Number Publication Date
CN110716864A true CN110716864A (en) 2020-01-21

Family

ID=69210246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910837308.4A Withdrawn CN110716864A (en) 2019-09-05 2019-09-05 Management method for page test and computer storage medium

Country Status (1)

Country Link
CN (1) CN110716864A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189668A (en) * 2018-08-03 2019-01-11 深圳市牛鼎丰科技有限公司 Interface test method, device, computer equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189668A (en) * 2018-08-03 2019-01-11 深圳市牛鼎丰科技有限公司 Interface test method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US11379348B2 (en) System and method for performing automated API tests
US10372594B2 (en) Method and device for retrieving test case based on code coverage
CN107908541B (en) Interface testing method and device, computer equipment and storage medium
US9507700B1 (en) Generic method for automated software testing
US10860464B2 (en) Test selection for application commit
CN108459967B (en) Web application test case generation method based on user interface state flow diagram
US20130159975A1 (en) Detecting a broken point in a web application automatic test case
CN111949543B (en) Test method and device based on distributed platform, electronic equipment and storage medium
CN111209206B (en) Automatic test method and system for software products
US20180107587A1 (en) Command coverage analyzer
CN112069073A (en) Test case management method, terminal and storage medium
CN107038117B (en) Web automatic testing method based on definition-reference between event processing functions
US20180365132A1 (en) Adaptive software testing
CN111159028B (en) Webpage testing method and device
CN112486811A (en) Interface test method, device, equipment and medium
CN110716864A (en) Management method for page test and computer storage medium
CN111240987A (en) Migration program detection method and device, electronic equipment and computer readable storage medium
CN110955813A (en) Data crawling method and device
CN112579456B (en) Web automatic testing method and device
CN114398283A (en) Automatic testing method and device for user interface, electronic equipment and storage medium
US11176022B2 (en) Health diagnostics and analytics for object repositories
CN115705297A (en) Code call detection method, device, computer equipment and storage medium
CN116701810B (en) Website operation playback method and device
CN115129355B (en) Page repair method, system and computer equipment thereof
CN113448820B (en) Webpage testing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200121