CN110347577B - Page testing method, device and equipment thereof - Google Patents

Page testing method, device and equipment thereof Download PDF

Info

Publication number
CN110347577B
CN110347577B CN201810301916.9A CN201810301916A CN110347577B CN 110347577 B CN110347577 B CN 110347577B CN 201810301916 A CN201810301916 A CN 201810301916A CN 110347577 B CN110347577 B CN 110347577B
Authority
CN
China
Prior art keywords
page
tested
test
environment
information
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.)
Active
Application number
CN201810301916.9A
Other languages
Chinese (zh)
Other versions
CN110347577A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810301916.9A priority Critical patent/CN110347577B/en
Publication of CN110347577A publication Critical patent/CN110347577A/en
Application granted granted Critical
Publication of CN110347577B publication Critical patent/CN110347577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 provides a page testing method, a page testing device and equipment thereof, wherein the method comprises the following steps: determining that a page to be tested needs to be tested by using a test case; obtaining test programs and environment information corresponding to the test cases and the pages to be tested; and testing the page to be tested by using the obtained test program and environment information. Through the technical scheme of the application, the testing workload is reduced, and the user experience is improved. The running environment of the server is matched with the testing environment of the test case, so that the test requirement is met, and test failure caused by unmatched running environments can be avoided. The testing efficiency can be improved, and the testing resources are saved.

Description

Page testing method, device and equipment thereof
Technical Field
The application relates to the technical field of Internet, in particular to a page testing method, a page testing device and page testing equipment.
Background
Page testing (which may also be referred to as interface testing, UI testing for short) refers to: whether the layout of the functional modules of the page is reasonable, whether the overall style is consistent, whether the placement positions of the controls are consistent with the use habit, whether the page is convenient to operate, whether the page navigation is simple and easy to understand, whether the page elements are available, whether the characters in the page are correct, whether the naming in the page is uniform, and the like are tested. Before the page is online, the page needs to be tested for multiple times by using test cases every time codes in daily, prefire and other environments are changed and deployed. For example, when a test is deployed for the first daily code change, the page is manually tested by using a test case A and a test case B; when the daily code is changed and deployed for testing the second time, the test case A and the test case B are used for manually testing the page; how many code changes are deployed, how many tests are needed, and so on.
In the mode, a user is required to manually test the page according to the test case, and the test workload is great. In particular, when there is code change deployment, all test procedures need to be returned, if a plurality of environment changes are added, for example, m code changes need to be deployed, n sets of environments and k manual cases, the running total of the test cases is m x n x k, and the number of times of testing is further increased, so that the test workload is increased, and the test efficiency of users is affected.
Disclosure of Invention
The application provides a page testing method, which is applied to a server and comprises the following steps:
determining that a page to be tested needs to be tested by using a test case;
obtaining test programs and environment information corresponding to the test cases and the pages to be tested;
and testing the page to be tested by using the obtained test program and environment information.
The application provides a page testing method, which is applied to a server and comprises the following steps:
acquiring operation information when a host computer tests a page to be tested by using a test case;
generating a test program according to the operation information, and acquiring environment information of the server;
Recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested.
The application provides a page testing device, is applied to the server, the device includes:
the determining module is used for determining that the page to be tested needs to be tested by using the test case;
the obtaining module is used for obtaining the test program and the environment information corresponding to the test case and the page to be tested;
and the test module is used for testing the page to be tested by utilizing the test program and the environmental information.
The application provides a page testing device, is applied to the server, the device includes:
the acquisition module is used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server;
the recording module is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation;
the mapping relation is used for testing the page to be tested.
The application provides a server, comprising: the processor is used for determining that a page to be tested needs to be tested by using the test case; obtaining test programs and environment information corresponding to the test cases and the pages to be tested; and testing the page to be tested by using the obtained test program and environment information.
The application provides a server, the server includes:
the processor is used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested.
Based on the technical scheme, in the embodiment of the application, when the page to be tested is required to be tested by using the test case, the test program and the environment information corresponding to the test case and the page to be tested can be obtained, and the page to be tested is tested according to the test program and the environment information, so that a user does not need to manually test the page according to the test case, the test workload is reduced, and the user experience is improved. Moreover, the operation environment of the server can be constructed according to the environment information in the mapping relation, so that the operation environment of the server is matched with the test environment of the test case, the test requirement is met, the smooth proceeding of the test process can be ensured, and the test failure caused by unmatched operation environments is avoided. In addition, the server can support testing of a plurality of users, so that testing efficiency can be improved, and testing resources can be saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly describe the drawings that are required to be used in the embodiments of the present application or the description in the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may also be obtained according to these drawings of the embodiments of the present application for a person having ordinary skill in the art.
FIGS. 1A and 1B are schematic views of an application scenario in an embodiment of the present application;
FIG. 2 is a flow chart of a page test method in one embodiment of the present application;
FIG. 3 is a flow chart of a page testing method in another embodiment of the present application;
FIG. 4 is a block diagram of a page testing apparatus in one embodiment of the present application;
fig. 5 is a block diagram of a page test apparatus in another embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Depending on the context, furthermore, the word "if" used may be interpreted as "at … …" or "at … …" or "in response to a determination".
The embodiment of the application provides a page testing method, which can be applied to a system comprising a host and a server, and is shown in fig. 1A, which is a schematic diagram of an application scenario in the embodiment of the application. The host is a local device used by a user when testing a page to be tested, and can be a PC (Personal Computer ), a tablet computer, a notebook computer, a mobile terminal, a smart phone and the like, and the type of the host is not limited. The server is cloud equipment used by a user when testing a page to be tested, and can be a PC, a tablet computer, a notebook computer, a mobile terminal, a smart phone and the like, and the type of the server is not limited.
The user is a user who needs to test the page to be tested, and may be a developer, a WEB tester, an automated tester, etc., which is not limited thereto, and any user who needs to test the page to be tested may be used, and in fig. 1A, a user B, and a user C are illustrated as examples.
The host is a local device used by a user and can comprise a browser or an application program (APP), and the user can access a page to be tested through the browser or the APP and then test the page to be tested.
The server is cloud equipment, and a plurality of Virtual machines (Virtual machines) can be virtualized in the server by adopting a virtualization technology, and each Virtual Machine is a complete computer system which has complete hardware system functions and operates in a completely isolated environment through software simulation. In addition, the virtual machine can remotely access the operating system of the host machine, and monitor the operation behavior of the host machine, such as monitoring the testing process of the host machine.
The page to be tested is a page to be tested, that is, after the page to be tested is developed, the page to be tested can be tested for multiple times before being online. For example, when a test is deployed by daily code change for the first time, a user A uses a test case A and a test case B to test a page to be tested; when the second daily code change deployment test is performed, the user A uses the test case A and the test case B to test the page to be tested; when the third daily code change deployment test is performed, testing a page to be tested by using the test case A, the test case B and the test case C by a user B; and when the test is deployed for the fourth daily code change, the user C uses the test case A, the test case B and the test case C to test the page to be tested.
In the traditional mode, a user performs manual testing on the page to be tested according to the test case, and if the testing process is to perform manual testing on the page to be tested, the testing workload is great, and the user experience is affected. For example, if m code changes all need to be deployed, n sets of environments and k manual cases, the total running quantity of the test cases is m×n×k, and the number of times of testing is further increased due to the increase of m and n, so that the testing workload is increased and the testing efficiency of a user is affected.
In this embodiment of the present application, when a test is deployed by first daily code modification, a user a uses a test case a to manually test a page to be tested, and in the test process, the server may record operation information of the host 11, and generate a test program a corresponding to the test case a according to the operation information. Based on the above, when the user A uses the test case A to test the page to be tested in the second daily code change deployment test, the test program A can be utilized to automatically test the page to be tested, instead of using the test case A to manually test the page to be tested. And when the third daily code change deployment test is performed, the user B can also perform automatic test on the page to be tested by using the test program A, and when the fourth daily code change deployment test is performed, the user C can also perform automatic test on the page to be tested by using the test program A.
Similarly, for the test case B and the test case C, the server may also generate a corresponding test program B and a corresponding test program C, and perform an automatic test on the page to be tested by using the test program B and the test program C. Obviously, the method can automatically test the page to be tested, so that the workload of manual testing can be reduced, and the use experience of a user is improved.
In the above embodiment, the test cases are different from the test programs in that: the test case can comprise a plurality of steps, each step can be descriptive words which are convenient for users to understand, for example, the test case comprises steps 1 to 10, step 1 is input abc, step 2 is click on a left button of a mouse, step 3 is input carriage return and the like, and the user can execute each step in turn by seeing the steps. The test program is a software code corresponding to the test case and can be automatically executed by a machine, and in the process of executing the test program by the machine, the user does not need to participate, for example, the test program comprises the software code corresponding to the steps 1-10, and the process of automatically executing the software code by the machine is equivalent to the steps 1-10 of executing the test case.
The test program may also be called a test script (or automation script), which is a software code for machine execution, and for convenience of description, the test program is described herein as an example.
In the above embodiment, the difference between the manual test and the automated test is that: the manual test is a manner in which the user manually performs each step in the test case, for example, for step 1 to step 10, the user manually performs step 1, i.e., inputs abc, then the user manually performs step 2, i.e., clicks the left mouse button, and so on. The automatic test is a mode that a machine automatically executes software codes in a test program, for example, the test program comprises the software codes corresponding to the steps 1-10, and after the machine automatically executes the test program, the machine is equivalent to executing the steps 1-10.
In summary, in the embodiment of the present application, by performing automatic testing on the page to be tested, manual testing on the page to be tested is reduced, so that workload of manual testing is reduced, and user experience is improved.
In one example, the server records the operation information and generates the test program according to the operation information, instead of recording the operation information by a host local to the user, and generating the test program may include:
1. If the user records the operation information by the local host, and generates the test program according to the operation information, a recording environment (such as installing a recording tool) needs to be built on the host, which occupies a large amount of host resources to affect the performance of the host, and a recording environment is built on each host (such as the host 11-the host 13). In contrast, if the server records the operation information and generates the test program according to the operation information, the recording environment is not required to be built on the host, the performance of the host is improved, and the host resources are saved. Moreover, a virtual machine for recording the operation information can be virtualized in the server, and the virtual machine executes the process of recording the operation information, and other virtual machines of the server can continue to execute own business, so that the influence on other businesses is avoided.
2. In view of high environmental requirements for execution of the test program, the recording environment of the test program is consistent with the playback environment of the test program, for example, after recording operation information in the environment a and generating the test program according to the operation information, the test program is executed in the environment a to perform automated test on the page to be tested.
Based on this, if the user records the operation information by the local host computer and generates the test program according to the operation information, the user a can only execute the test program on the host computer 11 after the host computer 11 generates the test program to perform the automatic test on the page to be tested, and cannot perform the automatic test on the page to be tested on the other host computer, or the user a needs to build the environment of the other host computer according to the environment of the host computer 11, so that the automatic test on the page to be tested on the other host computer is difficult to build the environment, and the resource cost is high.
In contrast, if the server records the operation information and generates the test program according to the operation information, the virtual machine (such as virtual machine 141) that records the operation information may execute the test program to automatically test the page to be tested, or determine another virtual machine (such as virtual machine 142) based on the environment of virtual machine 141, where the environment of virtual machine 142 is the same as the environment of virtual machine 141, so that the virtual machine 142 may execute the test program to automatically test the page to be tested.
3. If the operation information is recorded by the host computer local to the user, and the test program is generated according to the operation information, after the host computer 11 generates the test program, only the user a can execute the test program through the host computer 11, so as to perform automatic test on the page to be tested, and the user B and the user C cannot use the test program.
In contrast, if the server records the operation information and generates the test program according to the operation information, after the server generates the test program, the user a, the user B and the user C can use the test program to support the plurality of users to share the test program in the same server, thereby saving the test resources and improving the resource utilization rate.
In one example, referring to FIG. 1B, a schematic diagram of a server may include a semantic analyzer, a recording tool, a connector, and an environment manager. When the operational information is recorded by the virtual machine of the server, then the semantic analyzer, recording tool, connector and environment manager may be deployed at the virtual machine.
The semantic analyzer is used for analyzing the similarity between the data by adopting a similarity algorithm, such as a word vector model, and the similarity analysis process is performed in the following embodiments.
In the recording process, the recording tool is used for recording operation information when the host computer uses the test case to carry out manual test on the page to be tested, and generating a test program according to the operation information. In addition, in the write-back process, the recording tool is used for automatically testing the page to be tested according to the test program.
The connector may be an HTML (Hyper Text Markup Language ) VNC (Virtual Network Console, virtual network console) virtual operating system connector, and when a user performs a manual test on a page to be tested through a host, the connector is used to connect with the host, so as to remotely monitor the host behavior, so that the recording tool can record the operation information of the host.
The environment manager may be a virtual machine mirror image environment manager, and when the virtual machine records the operation information and generates the test program according to the operation information, the environment manager is configured to collect the environment information of the virtual machine and store the environment information. When the virtual machine automatically tests the page to be tested according to the test program, the environment of the virtual machine can be built by using the stored environment information, so that the recording environment is consistent with the write-back environment.
Under the above application scenario, the page testing method provided in the embodiment of the present application may include a recording process and a write-back process. In the recording process, a user can manually test the page to be tested through the host, and the server can record the operation information of the host and generate a test program according to the operation information. In the write-back process, the server can automatically test the page to be tested according to the test program. The recording process and the writing process are described in detail below with reference to specific embodiments, and are shown in fig. 2, which is a flowchart of the recording process, and shown in fig. 3, which is a flowchart of the writing process.
Referring to fig. 2, a flow chart of a page testing method is shown, and the method is applied to a server and includes:
Step 201, obtaining operation information when a host computer tests a page to be tested by using a test case.
The obtaining operation information when the host uses the test case to test the page to be tested may include: when the host uses the test case to test the page to be tested (e.g., the user manually tests the page to be tested through the host), the server obtains operation information of the host, where the operation information includes, but is not limited to, one or any combination of the following: input operation, click operation, scroll operation, hover operation.
For example, when a user performs a manual test on a page to be tested through a host, if the user inputs abc, the server may acquire the input operation, and determine that the operation information is the input abc; if the user clicks the left mouse button, the server can acquire the clicking operation and determine that the operation information is the left mouse button; if the user scrolls the mouse, the server may acquire the scrolling operation, determine that the operation information is a position a before the mouse scrolls and a position B after the mouse scrolls, and so on.
When the host uses the test case to test the page to be tested (such as manual test), the server can use the recording tool to acquire the operation information of the host, and the acquisition process is not limited.
And 202, generating a test program according to the operation information, and acquiring environment information of the server.
After the server obtains the operation information, the operation information can be converted into a test program, and the conversion process is not limited. For example, the operation information "input abc" may be converted into a software code that can be automatically executed by the machine, and when the machine automatically executes the software code, the abc is input.
Wherein the environmental information may include, but is not limited to, a hardware environment and/or a software environment. The hardware environment may be hardware configuration information, which may include, but is not limited to: processor information, memory information, hard disk information, etc., and the content of the hardware environment is not limited. The software environment may be software configuration information, and may include, but is not limited to, an operating system, a database, etc., without limitation to the content of the software environment.
When the server acquires the operation information and generates a test program according to the operation information, the environment information of the server can be acquired; when the virtual machine in the server acquires the operation information and generates a test program according to the operation information, the environment information of the virtual machine in the server can be acquired.
Step 203, recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation. The mapping relation is used for testing the page to be tested.
The mapping relationship may be a table structure, a file structure, or other structures, which is not limited thereto, so long as the corresponding relationship of the test case, the page to be tested, the test program, and the environmental information can be recorded. As shown in table 1, the mapping relation is an example of a table structure, and the content is not limited.
TABLE 1
Test case Page to be tested Test program Environmental information
Test case A Page 1 to be tested Test procedure A Environmental information A
Test case B Page 1 to be tested Test procedure B Environmental information B
Test case C Page 1 to be tested Test procedure C Environmental information A
In one example, the above execution sequence is only given for convenience of description, and in practical application, the execution sequence between steps may be changed, which is not limited. Moreover, in other embodiments, the steps of the corresponding methods need not be performed in the order shown and described herein, and the methods may include more or less steps than described herein. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; various steps described in this specification, in other embodiments, may be combined into a single step.
In one example, the test program may include a plurality of subroutines corresponding to the operational information, and the test case may include at least one assertion data. Based on the above, page information corresponding to the operation information can be obtained, and assertion data corresponding to the page information can be determined; inquiring the test case to which the assertion data belongs, and recording the corresponding relation between the subprogram corresponding to the operation information and the test case to which the assertion data belongs in the test program.
For example, when the test case a includes steps 1 to 10, when the host computer uses the test case a to test the page to be tested, operation information 1 to operation information 10 corresponding to each of steps 1 to 10 are generated, so that when a test program is generated according to the operation information, a sub-program 1 to sub-program 10 corresponding to each of the operation information 1 to operation information 10 can be generated, and the sub-program 1 to sub-program 10 can be combined into the test program.
For example, after step 1 is performed, assuming that the current page is an a page, the server may acquire page information from the a page, where the page information is page information corresponding to operation information 1 corresponding to step 1, and the page information may be a subject of the a page, a certain text, a certain button, or the like, which is not limited.
For example, test case A may include one or more predicate data, such as predicate data A and predicate data B, where predicate data A is present 138110 and predicate data B is absent xyz. Assuming that the page information of the page a has 138110, determining that the page information corresponds to the assertion data a, querying the test case a to which the assertion data a belongs, and recording a corresponding relationship between the subroutine 1 corresponding to the operation information 1 and the test case a in the test program, wherein the effect of the corresponding relationship will be described in the following embodiments.
In another example, the test program may include a plurality of subroutines corresponding to the operation information, and the test case may include at least one child case, and the child case may include at least one assertion data or no assertion data. Based on the above, page information corresponding to the operation information can be obtained, and assertion data corresponding to the page information can be determined; then, the sub-use case to which the assertion data belongs may be queried, and a corresponding relationship between the sub-program corresponding to the operation information and the sub-use case to which the assertion data belongs may be recorded in the test program.
For example, test case a includes child case A1 and child case A2, child case A1 includes assertion data a and assertion data B, assertion data a is present 138110, and assertion data B is absent xyz. Based on this, assuming that 138110 exists in the page information of the page a, determining that the page information corresponds to the assertion data a, querying the sub-use case A1 to which the assertion data a belongs, and recording the correspondence between the sub-program 1 corresponding to the operation information 1 and the sub-use case A1 in the test program, where the effect of the correspondence is described in the following embodiments.
In the above embodiment, determining the assertion data corresponding to the page information may include: performing word segmentation processing on the page information to obtain word segmentation data; acquiring similarity of word segmentation data and at least one assertion data; and determining the assertion data corresponding to the word segmentation data from the at least one assertion data according to the similarity of the word segmentation data and the at least one assertion data. Further, obtaining the similarity of the word segmentation data and the at least one assertion data may include: and obtaining the similarity between the word segmentation data and at least one assertion data by adopting a word vector model.
For example, the word segmentation processing is performed on the page information to obtain word segmentation data 1 and word segmentation data 2, and the word segmentation processing process is not limited. Then, a word vector model (word 2vec model) is adopted to calculate the similarity between the assertion data A and the word segmentation data 1, the similarity between the assertion data A and the word segmentation data 2 is assumed to be 85%, the similarity between the assertion data A and the word segmentation data 2 is assumed to be 20%, the similarity between the assertion data B and the word segmentation data 1 is calculated to be 10%, and the similarity between the assertion data B and the word segmentation data 2 is calculated to be 0%. The word2vec model is characterized by vectorizing all words, so that the relation between words can be quantitatively measured, and the relation between words can be mined. Based on the word2vec model, the similarity of the assertion data and the word segmentation data can be calculated, and the method is not limited to the above.
Assuming that the assertion data whose similarity is greater than the threshold (e.g., 80% according to an empirical configuration) is determined as assertion data corresponding to the word segmentation data, assertion data a may be determined as assertion data corresponding to the word segmentation data 1.
The scheme of the recording process is further described below in conjunction with the following process flow.
In step 211, the host obtains a test case a, where the test case a includes at least one child case, such as child case 1 and child case 2. The child case 1 may include assertion data a that is present 138110 and assertion data B that is absent xyz; the child case 2 may include assertion data C, which is present 118456. Of course, the above at least one example is not limited thereto.
In practical applications, a child case may be a step of a test case, which is not limited thereto.
Before the test case is provided to the host, the word splitter may analyze the assertion data in the child case, and record the assertion data in the child case, e.g., record the assertion data a and the assertion data B in the child case 1, and record the assertion data C in the child case 2. Moreover, the assertion data may further include a case identifier, a case, and a correspondence of keywords, for example, the assertion data a includes a correspondence of identifier a, existence, 138110, the assertion data B includes a correspondence of identifier B, non-existence, xyz, and so on.
The test case a may be a manual case, or a unit test automation case, or an API automation case, or a flow automation case, and the type of the test case a is not limited.
In step 212, the host computer inputs the URL of the page to be tested (Uniform Resource Locator ) in the browser, the browser sends the URL of the page to be tested to the server, and the server opens the URL of the page to be tested. And the server starts the recording tool and monitors the operation information of the host.
Step 213, the host uses test case a to test the page to be tested. For example, based on the steps of test case A, the user performs manual operations such as inputting, clicking, scrolling, etc., through the browser window by the host computer. For example, each step in the child case a is performed first, and then each step in the child case B is performed.
Step 214, the server obtains operation information when the host computer tests the page to be tested by using the test case a. For example, when the host uses the test case a to test the page to be tested, the server may obtain the operation information of the host. Wherein the operation information may include, but is not limited to, one or any combination of the following: input operation, click operation, scroll operation, hover operation, etc.
In step 215, the server converts the operation information into a subroutine, and the conversion process is not limited.
Step 216, the server acquires the page information corresponding to the operation information, and determines whether assertion data corresponding to the page information exists. If yes, go to step 217; if not, step 219 is executed.
In step 217, the server queries the child case to which the assertion data corresponding to the page information belongs, for example, if the page information corresponds to the assertion data a, the server may query the child case 1 to which the assertion data a belongs from the test case a. Before this step, the server may also obtain test case a from the host.
In step 218, the server records the correspondence between the subroutine corresponding to the operation information (i.e., the subroutine obtained in step 215) and the child use case 1 to which the assertion data a belongs, and then, step 219 is executed.
In an example, the server may further prompt the user to manually associate the corresponding relationship between the subroutine and the sub-use case, and the user manually associates the corresponding relationship between the subroutine and the sub-use case, which is not described in detail.
In step 219, the server determines whether the recording process is finished. If not, returning to step 214, the next operation information is acquired, and steps 215-218 are performed using the operation information. If so, step 220 is performed.
Step 220, the server combines all resulting subroutines into a test program.
In step 221, the server obtains the environmental information of the server.
In step 222, the server may record the corresponding relationship among the test case, the page to be tested (such as URL of the page to be tested), the test program and the environmental information in the mapping relationship.
Referring to fig. 3, a flow chart of a page testing method is shown, and the method is applied to a server and includes:
step 301, determining that a page to be tested needs to be tested by using a test case.
Step 302, obtaining the test program and the environment information corresponding to the test case and the page to be tested.
The obtaining the test program and the environmental information corresponding to the test case and the page to be tested may include: inquiring the mapping relation between the test case and the page to be tested to obtain a test program and environment information corresponding to the test case and the page to be tested; the mapping relationship is used for recording the corresponding relationship among the test case, the page to be tested, the test program and the environmental information, and is shown in table 1.
Through the processing of the recording process, the corresponding relationship between the test case, the page to be tested, the test program and the environmental information is recorded in the mapping relationship, so in step 301, if it is determined that the page to be tested 1 needs to be tested by using the test case a, the mapping relationship shown in table 1 can be queried by using the test case a and the page to be tested 1, so that the test program is the test program a, and the environmental information is the environmental information a.
And step 303, testing the page to be tested by using the obtained test program and environment information.
The testing of the page to be tested by using the obtained testing program and environment information may include: constructing an operation environment of the server according to the environment information; and under the running environment, testing the page to be tested by using the testing program. For example, if the server has a virtual machine 1 whose environment information is environment information a, the virtual machine 1 automatically tests the page 1 to be tested according to the test program a. If the server does not have a virtual machine with the environmental information being the environmental information A, a virtual machine 2 with the environmental information being the environmental information A is virtually obtained in the server, and the virtual machine 2 automatically tests the page 1 to be tested according to the test program A.
In one example, the test program may include a plurality of subroutines, with which the page to be tested is tested, which may include: acquiring an assertion result when testing a page to be tested by utilizing a subprogram; then analyzing the test case corresponding to the subprogram from the test program, and recording the assertion result in the test case; the test program may include a correspondence between a subroutine and a test case.
In another example, the test program may include a plurality of subroutines, and the test case may include at least one child case, each child case including assertion data. Based on this, testing the page to be tested with the test program may include: acquiring an assertion result when testing a page to be tested by utilizing a subprogram; then, analyzing the sub-use case corresponding to the sub-program from the test program, and recording the assertion result in the sub-use case; the test program may include a corresponding relationship between a sub-program and a sub-use case.
For example, the test program includes a subroutine 1-a subroutine 10, which, when testing a page to be tested with subroutine 1, obtains an assertion result a, if the assertion result a is "existence 138110". Assuming that the test program includes the correspondence between the sub-program 1 and the sub-case 1 (in the above embodiment, the correspondence between the test program includes the sub-program and the sub-case has been described), the server may parse the sub-case 1 corresponding to the sub-program 1 from the test program, and record the assertion result a in the sub-case 1. Obviously, through the mode, the assertion result can be recorded into the corresponding sub-use case, so that a user can directly inquire the assertion result from the sub-use case, and then the test result of the page to be tested is analyzed according to the assertion result.
The scheme of the write-back process is further described below in conjunction with the following process flow.
In step 311, the host needs to test the page 1 to be tested by using the test case a.
In step 312, the server determines that the test case A needs to be utilized to test the page 1 to be tested.
In step 313, the server obtains the test program as the test program a and the environmental information as the environmental information a through the mapping relationship shown in the lookup table 1 of the test case a and the page 1 to be tested.
In step 314, the server builds a runtime environment corresponding to the environment information A.
In step 315, in the operating environment, the server selects each subroutine of test program a in turn.
In step 316, the server tests the page 1 to be tested using the selected subroutine.
In step 317, the server obtains the result of the assertion when testing the page 1 to be tested by using the subroutine.
In step 318, the server parses the sub-use case corresponding to the sub-program from the test program a.
In step 319, the server records the assertion result in the child use case.
In step 320, the server determines whether each subroutine of test program a is complete. If so, the process is ended, and obviously, all assertion results are recorded into the child use cases in the process, so that the user can conveniently check. If not, return to step 315 and select the next subroutine to continue.
Based on the technical scheme, in the embodiment of the application, when the page to be tested is required to be tested by using the test case, the test program and the environment information corresponding to the test case and the page to be tested can be queried from the mapping relation, and the page to be tested is tested according to the test program and the environment information, so that a user does not need to manually test the page according to the test case, the test workload is reduced, and the user experience is improved. Moreover, the operation environment of the server can be constructed according to the environment information in the mapping relation, so that the operation environment of the server is matched with the test environment of the test case, the test requirement is met, the smooth proceeding of the test process can be ensured, and the test failure caused by unmatched operation environments is avoided. In addition, the server can support testing of a plurality of users, so that testing efficiency can be improved, and testing resources can be saved.
Based on the same application conception as the method, the embodiment of the application also provides a page testing device which can be applied to a server. As shown in fig. 4, which is a structural diagram of the apparatus, the apparatus includes:
a determining module 401, configured to determine that a test case needs to be used to test a page to be tested;
An obtaining module 402, configured to obtain test programs and environment information corresponding to the test cases and the pages to be tested;
and the test module 403 is configured to test the page to be tested by using the test program and the environmental information.
In one example, the obtaining module 402 is specifically configured to query, through the test case and the page to be tested, a mapping relationship to obtain a test program and environment information corresponding to the test case and the page to be tested; the mapping relation is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environment information.
The test module 403 is specifically configured to construct an operating environment of the server according to the environmental information; and under the running environment, testing the page to be tested by using the testing program.
The test program comprises a plurality of subroutines, and the test case comprises at least one subroutines;
the test module 403 is specifically configured to, when testing the page to be tested by using the test program: acquiring an assertion result when testing the page to be tested by utilizing a subprogram; analyzing a sub case corresponding to the sub program from the test program, and recording the assertion result in the sub case;
The test program comprises a corresponding relation between the subprogram and the child use case.
Based on the same application concept as the method, the embodiment of the application also provides a server, and the server comprises a processor. The processor is used for determining that a page to be tested needs to be tested by using a test case; obtaining test programs and environment information corresponding to the test cases and the pages to be tested; and testing the page to be tested by using the obtained test program and environment information.
Based on the same application concept as the above method, the embodiments of the present application further provide a machine-readable storage medium, where a number of computer instructions are stored on the machine-readable storage medium, where the computer instructions when executed perform the following processes: determining that a page to be tested needs to be tested by using a test case; obtaining test programs and environment information corresponding to the test cases and the pages to be tested; and testing the page to be tested by using the obtained test program and environment information.
Based on the same application conception as the method, the embodiment of the application also provides a page testing device which can be applied to a server. As shown in fig. 5, which is a structural diagram of the apparatus, the apparatus includes:
The acquiring module 501 is configured to acquire operation information when the host uses the test case to test a page to be tested; generating a test program according to the operation information, and acquiring environment information of the server;
the recording module 502 is configured to record, in a mapping relationship, a correspondence relationship among the test case, the page to be tested, the test program, and the environmental information;
the mapping relation is used for testing the page to be tested.
The test program comprises a plurality of subroutines corresponding to operation information, the test case comprises at least one subroutines, and the subroutines comprise at least one assertion data; the acquiring module 501 is further configured to acquire page information corresponding to the operation information, and determine assertion data corresponding to the page information; the recording module 502 is further configured to query a child case to which the assertion data belongs, and record, in the test program, a correspondence between a child program corresponding to the operation information and the child case to which the assertion data belongs.
Based on the application concept same as the method, the embodiment of the application also provides a server, which comprises: the processor is used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested.
Based on the same application concept as the above method, the embodiments of the present application further provide a machine-readable storage medium, where a number of computer instructions are stored, and when executed, perform the following processes: acquiring operation information when a host computer tests a page to be tested by using a test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, 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 specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (19)

1. A method for testing a page, the method being applied to a server, the method comprising:
determining that a page to be tested needs to be tested by using a test case;
obtaining test programs and environment information corresponding to the test cases and the pages to be tested;
testing the page to be tested by using the obtained test program and environment information;
the obtaining the test program and the environment information corresponding to the test case and the page to be tested includes: inquiring a mapping relation between the test case and the page to be tested to obtain a test program and environment information corresponding to the test case and the page to be tested; the mapping relation is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environment information;
wherein the environment information comprises a hardware environment and/or a software environment;
before the test case is used for testing the page to be tested, the method further comprises the following steps: acquiring operation information when a host computer tests a page to be tested by using a test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation;
Wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the obtaining operation information when the host computer tests the page to be tested by using the test case includes:
when a host computer tests a page to be tested by using a test case, acquiring operation information of the host computer;
wherein the operation information includes one or any combination of the following:
Input operation, click operation, scroll operation, hover operation.
3. The method of claim 1, wherein the test program comprises a plurality of subroutines corresponding to the operational information, the test case comprising at least one predicate data, the method further comprising:
acquiring page information corresponding to the operation information, and determining assertion data corresponding to the page information;
inquiring a test case to which the assertion data belongs, and recording the corresponding relation between a subprogram corresponding to the operation information and the test case to which the assertion data belongs in the test program.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the test program comprises a plurality of subroutines corresponding to operation information, the test case comprises at least one subroutines, the subroutines comprise at least one assertion data, and the method further comprises:
acquiring page information corresponding to the operation information, and determining assertion data corresponding to the page information;
inquiring the sub-use case to which the assertion data belongs, and recording the corresponding relation between the sub-program corresponding to the operation information and the sub-use case to which the assertion data belongs in the test program.
5. The method according to claim 3 or 4, wherein,
the determining the assertion data corresponding to the page information includes:
performing word segmentation processing on the page information to obtain word segmentation data;
acquiring the similarity of the word segmentation data and at least one assertion data;
and determining the assertion data corresponding to the word segmentation data from the at least one assertion data according to the similarity of the word segmentation data and the at least one assertion data.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
the obtaining the similarity between the word segmentation data and at least one assertion data comprises the following steps:
and acquiring the similarity between the word segmentation data and at least one assertion data by adopting a word vector model.
7. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the testing the page to be tested by using the obtained testing program and environment information comprises the following steps:
constructing an operation environment of the server according to the environment information;
and under the running environment, testing the page to be tested by using the testing program.
8. The method of claim 7, wherein the test program comprises a plurality of subroutines, the testing the page to be tested with the test program comprising:
Acquiring an assertion result when testing the page to be tested by utilizing a subprogram;
analyzing a test case corresponding to the subprogram from the test program, and recording the assertion result in the test case; the test program comprises a corresponding relation between a subprogram and a test case.
9. The method of claim 7, wherein the step of determining the position of the probe is performed,
the test program comprises a plurality of subroutines, and the test case comprises at least one subroutines;
the step of testing the page to be tested by using the test program comprises the following steps:
acquiring an assertion result when testing the page to be tested by utilizing a subprogram;
analyzing a sub case corresponding to the sub program from the test program, and recording the assertion result in the sub case; the test program comprises a corresponding relation between the subprogram and the child use case.
10. A method for testing a page, the method being applied to a server, the method comprising:
acquiring operation information when a host computer tests a page to be tested by using a test case;
generating a test program according to the operation information, and acquiring environment information of the server;
Recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested;
wherein the environment information comprises a hardware environment and/or a software environment;
wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
11. The method of claim 10, wherein the step of determining the position of the first electrode is performed,
the test program comprises a plurality of subroutines corresponding to operation information, the test case comprises at least one subroutines, the subroutines comprise at least one assertion data, and the method further comprises:
Acquiring page information corresponding to the operation information, and determining assertion data corresponding to the page information;
inquiring the sub-use case to which the assertion data belongs, and recording the corresponding relation between the sub-program corresponding to the operation information and the sub-use case to which the assertion data belongs in the test program.
12. The method of claim 11, wherein the step of determining the position of the probe is performed,
the determining the assertion data corresponding to the page information includes:
performing word segmentation processing on the page information to obtain word segmentation data;
acquiring the similarity of the word segmentation data and at least one assertion data;
and determining the assertion data corresponding to the word segmentation data from the at least one assertion data according to the similarity of the word segmentation data and the at least one assertion data.
13. A page testing apparatus for use with a server, the apparatus comprising:
the determining module is used for determining that the page to be tested needs to be tested by using the test case;
the obtaining module is used for obtaining the test program and the environment information corresponding to the test case and the page to be tested;
the test module is used for testing the page to be tested by utilizing the test program and the environmental information;
The obtaining module is specifically configured to query a mapping relationship through the test case and the page to be tested to obtain a test program and environmental information corresponding to the test case and the page to be tested; the mapping relation is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environment information; wherein the environment information comprises a hardware environment and/or a software environment;
the acquisition module is further used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation;
wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
14. The apparatus of claim 13, wherein the device comprises a plurality of sensors,
the test module is specifically configured to construct an operating environment of the server according to the environment information; and under the running environment, testing the page to be tested by using the testing program.
15. The apparatus of claim 14, wherein the device comprises a plurality of sensors,
the test program comprises a plurality of subroutines, and the test case comprises at least one subroutines;
the test module is specifically configured to, when testing the page to be tested by using the test program: acquiring an assertion result when testing the page to be tested by utilizing a subprogram; analyzing a sub case corresponding to the sub program from the test program, and recording the assertion result in the sub case;
the test program comprises a corresponding relation between the subprogram and the child use case.
16. A page testing apparatus for use with a server, the apparatus comprising:
the acquisition module is used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server;
The recording module is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation;
the mapping relation is used for testing the page to be tested;
wherein the environment information comprises a hardware environment and/or a software environment;
wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
17. The apparatus of claim 16, wherein the device comprises a plurality of sensors,
The test program comprises a plurality of subroutines corresponding to operation information, the test case comprises at least one subroutines, and the subroutines comprise at least one assertion data; the acquisition module is further used for acquiring page information corresponding to the operation information and determining assertion data corresponding to the page information; the recording module is further configured to query a child case to which the assertion data belongs, and record, in the test program, a correspondence between a child program corresponding to the operation information and the child case to which the assertion data belongs.
18. A server, comprising: the processor is used for determining that a page to be tested needs to be tested by using the test case; obtaining test programs and environment information corresponding to the test cases and the pages to be tested; testing the page to be tested by using the obtained test program and environment information;
the obtaining the test program and the environment information corresponding to the test case and the page to be tested includes: inquiring a mapping relation between the test case and the page to be tested to obtain a test program and environment information corresponding to the test case and the page to be tested; the mapping relation is used for recording the corresponding relation among the test case, the page to be tested, the test program and the environment information;
Wherein the environment information comprises a hardware environment and/or a software environment;
before the test case is used for testing the page to be tested, operation information of the host computer when the test case is used for testing the page to be tested is obtained;
generating a test program according to the operation information, and acquiring environment information of the server;
recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation;
wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
19. A server, the server comprising:
the processor is used for acquiring operation information when the host computer tests the page to be tested by using the test case; generating a test program according to the operation information, and acquiring environment information of the server; recording the corresponding relation among the test case, the page to be tested, the test program and the environmental information in the mapping relation; the mapping relation is used for testing the page to be tested;
wherein the environment information comprises a hardware environment and/or a software environment;
wherein the server comprises a recording tool, a connector and an environment manager; the recording tool is used for recording operation information when the host computer tests the page to be tested by using the test case, and generating a test program according to the operation information; when a user tests a page to be tested through a host, the connector is used for connecting with the host, and the behavior of the host is monitored remotely, so that the recording tool can record the operation information of the host; when the recording tool records the operation information and generates a test program according to the operation information, the environment manager is used for collecting and storing the environment information, and when the page to be tested is automatically tested according to the test program, the environment manager is used for building an environment by utilizing the stored environment information.
CN201810301916.9A 2018-04-04 2018-04-04 Page testing method, device and equipment thereof Active CN110347577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810301916.9A CN110347577B (en) 2018-04-04 2018-04-04 Page testing method, device and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810301916.9A CN110347577B (en) 2018-04-04 2018-04-04 Page testing method, device and equipment thereof

Publications (2)

Publication Number Publication Date
CN110347577A CN110347577A (en) 2019-10-18
CN110347577B true CN110347577B (en) 2024-04-09

Family

ID=68172844

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810301916.9A Active CN110347577B (en) 2018-04-04 2018-04-04 Page testing method, device and equipment thereof

Country Status (1)

Country Link
CN (1) CN110347577B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111708704B (en) * 2020-06-19 2024-05-17 腾讯科技(深圳)有限公司 Cloud real machine testing method, device, terminal and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309800A (en) * 2012-03-15 2013-09-18 腾讯科技(深圳)有限公司 Automatic webpage testing method and system
CN103377127A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Development testing system, testing method and device for webpage product
CN104123397A (en) * 2014-08-15 2014-10-29 携程计算机技术(上海)有限公司 Automatic test device and method for Web page
CN104461855A (en) * 2013-09-22 2015-03-25 腾讯科技(北京)有限公司 Automatic Web testing method, system and device
CN104699591A (en) * 2013-12-06 2015-06-10 腾讯科技(深圳)有限公司 Reappearing method and device of test scenes
CN105933415A (en) * 2016-04-21 2016-09-07 国家计算机网络与信息安全管理中心 Virtual machine online screen record method in cloud computing environment based on VNC agent and virtual machine online screen record system thereof
CN106547689A (en) * 2016-10-20 2017-03-29 金航数码科技有限责任公司 A kind of automatic test cases development system and method based on web
CN106649092A (en) * 2016-10-21 2017-05-10 郑州云海信息技术有限公司 Test script generation method, web page testing method, device and system
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766231B (en) * 2016-08-22 2021-03-16 阿里巴巴集团控股有限公司 Automatic testing method and device
CN107256195B (en) * 2017-06-08 2019-01-29 武汉斗鱼网络科技有限公司 Webpage front-end test method and device
CN107861862A (en) * 2017-06-27 2018-03-30 陆金所(上海)科技服务有限公司 UI automated testing methods, device and computer-readable recording medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309800A (en) * 2012-03-15 2013-09-18 腾讯科技(深圳)有限公司 Automatic webpage testing method and system
CN103377127A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Development testing system, testing method and device for webpage product
CN104461855A (en) * 2013-09-22 2015-03-25 腾讯科技(北京)有限公司 Automatic Web testing method, system and device
CN104699591A (en) * 2013-12-06 2015-06-10 腾讯科技(深圳)有限公司 Reappearing method and device of test scenes
CN104123397A (en) * 2014-08-15 2014-10-29 携程计算机技术(上海)有限公司 Automatic test device and method for Web page
CN105933415A (en) * 2016-04-21 2016-09-07 国家计算机网络与信息安全管理中心 Virtual machine online screen record method in cloud computing environment based on VNC agent and virtual machine online screen record system thereof
CN106547689A (en) * 2016-10-20 2017-03-29 金航数码科技有限责任公司 A kind of automatic test cases development system and method based on web
CN106649092A (en) * 2016-10-21 2017-05-10 郑州云海信息技术有限公司 Test script generation method, web page testing method, device and system
CN107748717A (en) * 2017-09-26 2018-03-02 深圳市牛鼎丰科技有限公司 Automatic interface testing method, device, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周元哲.《软件测试基础》.西安:西安电子科技大学出版社,2011,第29-30页. *
基于Eggplant的Mac OS X平台上软件自动测试;邓迎秋 等;科学技术与工程;20070501(第09期);第94-97页 *

Also Published As

Publication number Publication date
CN110347577A (en) 2019-10-18

Similar Documents

Publication Publication Date Title
US10565097B2 (en) Orchestrating and providing a regression test
Ratanaworabhan et al. {JSMeter}: Comparing the Behavior of {JavaScript} Benchmarks with Real Web Applications
CN111552627A (en) User interface testing method and device, storage medium and computer equipment
AU2017327823B2 (en) Test case generator built into data-integration workflow editor
US8826240B1 (en) Application validation through object level hierarchy analysis
CN109815119B (en) APP link channel testing method and device
CN109308254B (en) Test method, test device and test equipment
WO2015071777A1 (en) Software component recommendation based on multiple trace runs
US11169910B2 (en) Probabilistic software testing via dynamic graphs
CN107735785B (en) Automatic information retrieval
CN110347577B (en) Page testing method, device and equipment thereof
CN112988516A (en) Method for realizing global service monitoring based on log enhancement
CN110737900A (en) Webpage function testing method and device, server and computer readable storage medium
CN112506800B (en) Method, apparatus, device, medium and program product for testing code
US10339032B2 (en) System for monitoring and reporting performance and correctness issues across design, compile and runtime
CN113377648A (en) Software system diagnosis method and device, electronic equipment and computer readable medium
CN111008140A (en) Cross-platform UI (user interface) automatic testing method and device
JP7127601B2 (en) Similar Transition Identifying Device, Similar Transition Identifying Method, and Program
CN112035425B (en) Log storage method and device and computer system
CN114546816B (en) Test method, platform, device, electronic equipment and storage medium
CN114490330A (en) Method and device for generating test case
CN116069424A (en) Page display method and device, electronic equipment and storage medium
WO2023027813A1 (en) Performing quality-based action(s) regarding engineer-generated documentation associated with code and/or application programming interface
CN113064632A (en) Front-end project publishing method and device
CN114064425A (en) Dynamic dotting 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
GR01 Patent grant
GR01 Patent grant