CN111444103A - Automatic testing method for Web page and related equipment - Google Patents

Automatic testing method for Web page and related equipment Download PDF

Info

Publication number
CN111444103A
CN111444103A CN202010244526.XA CN202010244526A CN111444103A CN 111444103 A CN111444103 A CN 111444103A CN 202010244526 A CN202010244526 A CN 202010244526A CN 111444103 A CN111444103 A CN 111444103A
Authority
CN
China
Prior art keywords
tested
web page
target
test
data 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.)
Granted
Application number
CN202010244526.XA
Other languages
Chinese (zh)
Other versions
CN111444103B (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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment Technology Shenzhen 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 Tencent Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN202010244526.XA priority Critical patent/CN111444103B/en
Publication of CN111444103A publication Critical patent/CN111444103A/en
Application granted granted Critical
Publication of CN111444103B publication Critical patent/CN111444103B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3664Environments for testing or debugging software

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 Web page automatic test method and related equipment, wherein the method comprises the following steps: the method comprises the steps that a development device establishes a communication channel with a tested device based on a data line between the development device and the tested device; the development equipment sends a test instruction to the tested equipment through the communication channel, and the test instruction indicates the tested equipment to acquire target data information of a target Web page; and the development equipment acquires target data information of the target Web page returned by the tested equipment. The scheme can ensure that the Web page can be tested in the test environment consistent with the real operation environment, and improve the coverage rate and accuracy rate of the test.

Description

Automatic testing method for Web page and related equipment
Technical Field
The application relates to the technical field of computers, in particular to a Web page automatic testing method and related equipment.
Background
With the development of internet technology, more and more applications are available on terminals such as mobile phones, tablet computers and smart television integrated machines, and functions are more and more abundant. When each application program is completely written, technicians need to test the application program, and the application program is issued after the test is successful.
When automatically testing a Web page of an application program in a terminal, most technicians forward a test instruction sent by development equipment to the terminal by using a proxy server, and forward a test result returned by the test instruction executed by the terminal to the development equipment, thereby completing testing the Web page of the terminal. Before testing the terminal by using the proxy server, a technician needs to set a network environment of the terminal to enable the development device and the terminal to be in the same local area network, and the proxy server can forward a test instruction sent by the development device and a test result returned by the terminal. Setting the network environment of the terminal, namely inputting the local area network IP of the development equipment and the default port number of the proxy server in the system setting of the terminal, so that the terminal and the development equipment are in the same local area network.
The automatic testing method for the Web page needs to set the network environment of the terminal before testing the terminal, which may cause interference to the network logic of the application program to be tested, and at the same time, the testing instruction may not cover some specific instructions (such as hiding a play status bar of the QQ music, jumping to a designated QQ music internal page, etc.) that can only be executed in the real operating environment during the testing process, so that the difference in execution effect between the Web page after executing the testing instruction and the Web page after executing the specific instruction in the real operating environment is generated, that is, the method may not ensure that the Web page may be tested in the testing environment consistent with the real operating environment, and may cause the technical staff to be difficult to quickly and accurately locate the problems during the testing process.
Disclosure of Invention
The embodiment of the application discloses an automatic testing method and related equipment for a Web page, which can ensure that the Web page can be tested in a testing environment consistent with a real operating environment and improve the coverage rate and accuracy rate of the test.
In a first aspect, the present application provides a method for automatically testing a Web page, where the method includes:
the method comprises the steps that a development device establishes a communication channel with a tested device based on a data line between the development device and the tested device;
the development equipment sends a test instruction to the tested equipment through the communication channel, and the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the development equipment acquires target data information of the target Web page returned by the tested equipment.
In a possible implementation manner, the test instruction includes a preset JavaScript code, and the preset JavaScript code is used to instruct the device under test to acquire the target data information.
In a possible implementation manner, the acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
the development equipment starts Android L ogacat through the communication channel;
and the development equipment monitors the target data information of the target Web page input into the log information by the tested equipment through the Android L ogacat.
In a possible implementation manner, the acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
and the development equipment acquires target data information of the target Web page input into the target file by the tested equipment through the target file on the tested equipment.
In a possible implementation manner, the test environment of the device under test is consistent with the operating environment of the device under test, where the test environment of the device under test refers to a network environment when the device under test executes the test instruction, and the operating environment of the device under test refers to a network environment when a user uses the device under test.
In one possible embodiment, the target data information includes any one or more of the following: the method comprises the steps of label element information, picture element information, character element information, the title of the target Web page, the consumed time in the opening process of the target Web page or whether the target Web page is completely loaded or not.
In a possible implementation manner, the target Web page is a Web page based on Webview in an application program to be tested, and the sending, by the development device, a test instruction to the device to be tested through the communication channel includes:
the development equipment sends the test instruction to a tested application program on the tested equipment through the communication channel so that the tested application program sends the test instruction to Webview in the tested application program, and the test instruction instructs the Webview in the tested application program to acquire target data information of the target Web page;
the step of acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
the development equipment acquires target data information of the target Web page returned by the application program to be tested on the equipment to be tested, wherein the target data information of the target Web page returned by the application program to be tested is returned to the application program to be tested by Webview in the application program to be tested.
According to the Web page automatic testing method provided by the application, the development equipment is connected with the tested equipment through the data line, and after the communication channel ADB between the development equipment and the tested equipment is further established, the development equipment can send the testing instruction to the tested equipment to acquire the data information of the Web page of the tested equipment through the ADB. Meanwhile, the testing environment of the Web page when being tested and the running environment of the Web page when actually running can be ensured to be consistent, so that technicians can quickly and accurately locate problems in the testing process, and the coverage rate and the accuracy rate of the test are improved. In addition, the test instruction comprises the preset JavaScript code, so that the test of the Web page of the traditional application program on the tested device by the development device can be realized, the preset JavaScript code is not limited by the rendering mode of the Web page by the Webview, and the test of the Web page of the Webview in the application program on the tested device by the development device can be realized, so that the consistency of the test of the Web page of the Webview in the application program and the test of the Web page of the traditional application program is realized, and the accuracy and the coverage rate of the automatic test of the Web page are further improved.
In a second aspect, the present application provides a method for automatically testing a Web page, where the method includes:
the method comprises the steps that a tested device establishes a communication channel with a development device based on a data line between the tested device and the development device;
the tested device receives a test instruction sent by the development device through the communication channel, and the test instruction indicates the tested device to acquire target data information of a target Web page;
and the tested device executes the test instruction to acquire target data information of the target Web page.
In a possible implementation manner, the test instruction includes a preset JavaScript code, and the preset JavaScript code is used to instruct the device under test to acquire target data information of the target Web page.
In a possible implementation manner, after the device under test executes the test instruction to acquire target data information of the target Web page, the method further includes:
and the tested device outputs the target data information of the target Web page to log information so that the development device monitors the target data information of the target Web page in the log information through the Android L ogat.
In a possible implementation manner, after the device under test executes the test instruction to acquire target data information of the target Web page, the method further includes:
and the tested device outputs the target data information of the target Web page to a target file on the tested device so that the development device can acquire the target data information of the target Web page through the target file on the tested device.
In a possible implementation manner, the test environment of the device under test is consistent with the operating environment of the device under test, where the test environment of the device under test refers to a network environment when the device under test executes the test instruction, and the operating environment of the device under test refers to a network environment when a user uses the device under test.
In one possible embodiment, the target data information includes any one or more of the following: the method comprises the steps of label element information, picture element information, character element information, the title of the target Web page, the consumed time in the opening process of the target Web page or whether the target Web page is completely loaded or not.
In a possible implementation manner, the target Web page is a Web page based on Webview in an application program to be tested, and the receiving, by the device under test, of the test instruction sent by the development device through the communication channel includes:
the tested application program on the tested device receives the test instruction sent by the development device through the communication channel and sends the test instruction to the Webview in the tested application program, and the test instruction indicates the Webview in the tested application program to acquire the target data information of the target Web page;
the tested device executes the test instruction to acquire target data information of the target Web page, and the method comprises the following steps:
and Webview in the tested application program on the tested device executes the test instruction to acquire target data information of the target Web page.
In a third aspect, the present application provides an automatic testing apparatus for Web pages, which is applied to development equipment, and the apparatus includes:
the channel establishing module is used for establishing a communication channel with the tested equipment based on a data line between the development equipment and the tested equipment;
the sending module is used for sending a test instruction to the tested equipment through the communication channel, wherein the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the acquisition module is used for acquiring the target data information of the target Web page returned by the tested equipment.
In a fourth aspect, the present application provides an automatic testing apparatus for Web pages, which is applied to a device under test, and the apparatus includes:
the channel establishing module is used for establishing a communication channel with the development equipment based on a data line between the tested equipment and the development equipment;
the receiving module is used for receiving a test instruction sent by the development equipment through the communication channel, wherein the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the acquisition module is used for executing the test instruction to acquire the target data information of the target Web page.
In a fifth aspect, an embodiment of the present application provides an automated Web page testing system, where the system includes the apparatus according to the third aspect and the apparatus according to the fourth aspect.
In a sixth aspect, the present application provides a computer storage medium storing a computer program which, when executed by a processor, implements a method as described in the first aspect above or any specific implementation manner of the first aspect.
In a seventh aspect, the present application provides a computer storage medium storing a computer program which, when executed by a processor, implements the method as described in the second aspect above or any specific implementation manner of the second aspect.
In an eighth aspect, an embodiment of the present application provides a computer program product, which is characterized in that, when the computer program product is read and executed by a computer, the method described in the first aspect or any specific implementation manner of the first aspect is implemented.
In a ninth aspect, the present application provides a computer program product, which is characterized in that, when being read and executed by a computer, the computer program product implements the method as described in the second aspect or any specific implementation manner of the second aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an automated testing system for Web pages according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of an automated testing method for a Web page according to an embodiment of the present disclosure;
FIG. 3 is an interface diagram of a confirmation page of an application under test according to an embodiment of the present disclosure;
FIG. 4 is a schematic flowchart of another method for automatically testing a Web page according to an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of one embodiment provided by the present application;
FIG. 6 is a schematic structural diagram of an automated testing apparatus for Web pages according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of another Web page automation test apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended 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 be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
At present, when testing a Web page in an application program in a device to be tested, technicians mostly establish a command channel between a development device and the device to be tested by adding a proxy server in a network request and response process, or test the Web page in the application program of the device to be tested by using the technologies and tools such as Android Debug Bridge (ADB), uiautomation, and Appium provided by the Android official.
For example, the development device used by the technical staff is a computer, the tested device is a mobile phone, before testing, the mobile phone and the computer are required to be connected with a hot spot, or a shared hot spot on the computer is opened, the mobile phone is connected with the shared hot spot, then, in the W L AN setting of the mobile phone, the local area network IP of the computer and the port number of the proxy server are input, and after the setting is completed, the proxy server can forward the test instruction sent by the computer and the test result returned by the mobile phone.
It can be seen that, before testing a Web page of a device under test by adding a proxy server in a network request and response process to establish a command channel between a development device and the device under test, a network environment of the device under test needs to be set, which may cause interference to a network logic of an application program under test in the device under test, and at the same time, a test instruction cannot cover some specific instructions that can only be executed in a real operating environment (such as hiding a play status bar of a music playing application program, jumping to a specified page within the music playing application program, and the like) in the test process, so that a difference in execution effect occurs between the Web page after executing the test instruction and the Web page after executing the specific instruction in the real operating environment. That is to say, the method cannot ensure that the Web page can be tested in a test environment consistent with the real operation environment, which may cause the technical staff to be difficult to quickly and accurately locate the problems in the test process, and has the problems of insufficient test coverage and low test accuracy.
The Web page testing method mainly comprises the steps of mainly testing the Web page of a traditional application program (such as a browser application program) of an operating system of the tested equipment through ADB, UIAutomator, Apium and other technologies and tools provided by an Android official, carrying out view addressing through view levels and view labels, finding the tested element information on the Web page of the traditional application program of the tested equipment, displaying the tested element information on development equipment in a view mode, and enabling technicians to check the tested element information or carry out simulated click on the tested element and the like, so that the Web page testing is realized. The method is suitable for testing the Web pages of the conventional application programs on the tested equipment, but at present, Web pages are also arranged in a plurality of application programs, and the Web pages are usually realized by Webview built in the application programs. If the technology and the tool are applied to testing the Web page realized by the Webview in the application program, the technology and the tool are limited by the rendering mode of the Webview on the Web page, and the information of the element to be tested on the Web page is difficult to find by carrying out view addressing through the view level and the view label, so that the information of the element to be tested on the Web page cannot be displayed on the development equipment in a view mode. That is to say, the above method cannot ensure the consistency between the test of the Web page realized by the Webview in the application program and the test of the Web page of the traditional application program, and has the problem of insufficient test coverage.
In order to solve the problems that the automatic testing method for the Web page can not ensure that the Web page can be tested under the testing environment consistent with the real operating environment, can not ensure the consistency of the test of the Web page realized by Webview in the application program and the test of the Web page of the traditional application program, and the like, the application provides an automatic testing method for the Web page, the method does not need to additionally set the network environment of the tested device, so that the testing environment of the Web page when being tested (the network environment when the tested device executes the testing instruction) is consistent with the running environment of the tested device when actually running (the network environment when the user uses the tested device), and the consistency of the test of the Web page realized by the Webview in the application program and the test of the Web page of the traditional application program can be ensured, and the coverage rate and the accuracy rate of the test are effectively improved.
Before introducing the Web page automatic testing method provided by the present application, the Web page automatic testing system provided by the present application is described in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an automated test system for a Web page provided in an embodiment of the present application, and as shown in fig. 1, the automated test system for a Web page provided in the present application may include: the development device 100 and the device under test 200 are interconnected by a data line, wherein after the development device 100 and the device under test 200 are connected by the data line, the development device 100 may further establish a communication channel with the device under test 200, for example, when the development device 100 is a server of a Windows operating system and the device under test 200 is a mobile phone of an Android operating system, the development device 100 may establish a communication channel ADB with the device under test 200.
After the communication channel is established, the development device 100 may send a test instruction to the device under test 200 through the communication channel to test a target Web page of the device under test 200.
In a specific embodiment of the present application, the development device 100 may be a Personal Computer (PC), or a computer device such as a server, a multiprocessor system, a minicomputer, a mainframe computer, and a distributed computing environment including any of the above systems or devices, and is not limited herein.
The Device under test 200 may be a Mobile phone, a tablet computer, a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a notebook computer, an intelligent wearable Device (such as a smart watch and a smart bracelet), and other electronic devices, which are not limited herein. The operating system of the device under test 200 may be an IOS operating system or an Android operating system, and is not limited herein.
Therefore, when the development device and the device under test are connected by the data line, it is necessary to select an appropriate data line for different development devices and different devices under test. The data line connecting the development device 100 and the device under test 200 may be a Universal Serial Bus (USB) data line, such as a Type-C USB data line, a Micro-USB data line, etc., and a technician determines the Type of the data line according to actual situations, which is not specifically limited herein.
It should be noted that the numbers of the development device 100, the device under test 200, and the data line in fig. 1 are merely schematic, and any number of development devices 100, device under test 200, and data lines may be provided according to implementation needs. The technical scheme of the embodiment of the application can be specifically implemented based on the Web page automatic test system with the architecture shown in fig. 1 or the deformation architecture thereof.
Next, referring to fig. 2, fig. 2 is a schematic flowchart of a method for automatically testing a Web page provided in the present application, and as shown in fig. 2, the method may include:
s101, the development device establishes a communication channel with the tested device based on a data line between the development device and the tested device.
In the specific embodiment of the present application, before the development device establishes a communication channel with the device under test, the development device needs to be connected with the device under test by using a data line.
Taking a server with development equipment being a Windows operating system, a mobile phone with tested equipment being an Android operating system, and a data line connecting the development equipment and the tested equipment as a USB data line as examples, a process of establishing a communication channel between the development equipment and the tested equipment is introduced in detail. It should be noted that a communication channel between the server of the Windows operating system and the mobile phone of the Android operating system is ADB.
The first step is to connect the server and the mobile phone by using a data line.
And secondly, opening 'developer option' in the system setting of the mobile phone.
It should be noted that the naming mode of the "developer option" may be different, such as naming as "developer mode" and the like, depending on the type of the mobile phone.
And thirdly, starting the USB debugging.
And fourthly, inputting a test instruction 'ADB DEVICES' into an ADB command line tool of the server to verify whether the ADB connection between the server and the mobile phone is successful.
Generally, the ADB connection status of the server and the mobile phone may be one of the following statuses:
(1) OFF L INE indicates that the handset is not connected to the server or does not respond, at which point the ADB software version on the server can be updated or the handset disconnected from the data line and reconnected.
(2) DEVICE: indicating that the handset is connected to the server. It should be noted that this state does not indicate that the mobile phone is completely started and can normally operate, because there is a case that the mobile phone is still in the starting state when the mobile phone is successfully connected to the server.
(3) NO DEVICE: the server does not recognize the mobile phone, and the mobile phone can be restarted or the data line connection can be checked whether to be normal or not.
(4) UNAUTHORIZED: indicating that the mobile phone does not open "developer option" or does not allow "USB commissioning", at which point the mobile phone may be opened "developer option" and "USB commissioning" allowed.
When the connection state between the server and the mobile phone is DEVICE, it indicates that the establishment of the communication channel ADB between the server and the mobile phone is successful.
It should be noted that, when different types of development devices are used to test different types of devices under test, the established communication channels may be different, and the server of the Windows operating system, the mobile phone of the Android operating system, the communication channel ADB, and the like in the above examples are only used as examples, and are not considered to be limiting to the embodiment of the present application.
It can be seen from the above embodiments that, in the process of establishing the communication channel between the development device and the device under test, the development device does not modify the network environment of the device under test.
S102, the development device sends a test instruction to the tested device through the communication channel, and the test instruction indicates the tested device to acquire target data information of the target Web page.
After the communication channel between the development device and the device under test is established, the development device may send a test instruction to the device under test through the communication channel.
It should be noted that, if there are a plurality of devices under test connected to the development device, when the development device sends a test instruction, it is necessary to specify a target device under test that receives the test instruction.
Before the tested device executes the test instruction to acquire the target data information of the target Web page, the tested application program needs to be determined.
In the specific embodiment of the present application, when determining the application program to be tested on the device under test, if the application program currently running on the device under test is the application program to be tested, the application program to be tested may be implemented by sending a test instruction to the device under test through the development device. If the application program currently running on the device to be tested is not the application program to be tested, a technician can manually select the application program to be tested, and then set the selected application program as the application program to be tested according to the selection operation of the technician, or re-receive the test instruction sent by the development equipment to re-determine the application program to be tested.
Generally, when developing an application, a technician creates or designates an Activity (Activity) in a configuration file of the application, and designates a Uniform Resource locator (Uniform Resource L oscillator, UR L) of a scheme in an intent-file of the Activity, where the Activity is an application component, provides a screen with a user interface through which a user can interact with the application.
For example, if the operation page currently displayed on the display screen of the device under test is an operation page corresponding to a "music playing application", the application currently running on the device under test is the "music playing application". In the testing process, after the server determines that the application program currently running on the display interface of the tested device is the music playing application program through the music playing application program identifier included in the test instruction, and displays the prompt window shown in fig. 3, a technician inputs an instruction corresponding to the button determination for the displayed prompt window, and determines that the music playing application program is the tested application program which needs to be tested currently; further, if the technician determines that the "music playing application" is not the application under test that needs to be tested currently, the technician inputs an instruction corresponding to the button "cancel" to the displayed prompt window, and manually switches to the operation page corresponding to the application under test on the device under test, so that the server determines the application under test again through the test instruction.
After the application program to be tested is determined, the device to be tested can continue to execute the test instruction, locate a target Web page to be tested in the application program to be tested, and then acquire target data information of the target Web page.
In this embodiment of the application, the target Web page may be a Web page of a conventional application (e.g., a browser application) carried by the device under test, or may be a Web page in an application installed in the device under test, which is not specifically limited herein. In practical applications, a Web page in an application program installed in a device under test is usually implemented by Webview, which is a kernel browser component capable of displaying a Web page and built in an operating system client.
Under the condition that the target Web page is a Web page based on Webview in the application program to be tested, the specific process that the development equipment sends the test instruction to the equipment to be tested through the communication channel is as follows: the development equipment sends the test instruction to the tested application program on the tested equipment through the communication channel, then the tested application program forwards the test instruction to the Webview in the tested application program, and finally the Webview in the tested application program executes the test instruction to acquire the target data information of the target Web page.
Under the condition that the target Web page is a Web page based on Webview in the application program to be tested, the specific process of acquiring the target data information of the target Web page returned by the equipment to be tested by the development equipment is as follows: after the Webview in the tested application program acquires the target data information of the target Web page, the acquired target data information of the target Web page is sent to the tested application program, and finally the target data information of the target Web page is returned to the development equipment by the tested application program.
In a specific implementation manner, a test instruction sent by the development device to the device to be tested includes a preset JavaScript code, and the preset JavaScript code is used for instructing the device to be tested to acquire target data information.
In the embodiment of the application, the preset JavaScript code included in the test instruction may be used to instruct the device under test to acquire target data information of a Web page of a traditional application program of the device under test, and the preset JavaScript code may not be limited by a rendering manner of the Webview on the Web page, and the Webview may run the preset JavaScript code by calling a loadUrl () method or an addjavascript interface () method, so as to acquire the target data information of the Web page implemented by the Webview in the application program, that is, the preset JavaScript code may also be used to instruct the device under test to acquire the target data information of the Web page of the Webview in the application program under test. In the embodiment of the application, the preset JavaScript code may include key addressable information of a target element (for example, a tag element, a text element, or a link of a picture) on a target Web page, and then when the device to be tested executes a test instruction, the target element is located according to the key addressable information of the target element in the preset JavaScript code, then target data information corresponding to the target element is obtained, and the target data information of the target element is displayed on the development device in a view form, so that a technician can check the target data information or perform simulated click on the target element, and the test on the target element is realized. That is to say, the preset JavaScript code may be used for the development device to perform view addressing through the view hierarchy and the view tag, find the target data information on the target Web page, and display the target data information on the development device in a view form, so as to implement the test of the development device on the target Web page of the device under test.
More specifically, the preset JavaScript code may include a keyword for indicating the position information of a target element of the target Web page acquired by the device under test relative to the screen of the device under test, a keyword for indicating the title of the target Web page acquired by the device under test, a keyword for indicating the time consumed in the process of the target Web page acquired by the device under test being opened, and the like, so as to obtain different target data information when the preset JavaScript code is executed by the device under test. It is to be understood that the keywords included in the preset JavaScript code are not limited to the above listed keywords, the keywords may be keywords used for instructing the device under test to acquire other data information, and the keywords included in the preset JavaScript code may be one or more keywords, which are not specifically limited herein.
It can be understood that the preset JavaScript codes included in the test instruction are different, and the target data information of the target Web page obtained by the device under test executing the test instruction is also different. In this application, the target data information of the target Web page, which is obtained by the device under test according to the test instruction, may include any one or more of the following: the data information of the label element, the data information of the picture element, the data information of the character element, the title of the target Web page, the consumed time in the opening process of the target Web page or whether the target Web page is completely loaded or not.
The JavaScript is a client-side scripting language based on Object (Object) and Event driver (Event driver) and having relative security, and has the following advantages:
(1) JavaScript reduction of network traffic
Before the advent of client-side scripting languages such as JavaScript, conventional data submission and verification work was performed by transmitting the data to a development device through a network by a browser of the device to be tested. In the case of a large amount of data to be transmitted, the occupied network and development equipment resources are also large. But the JavaScript can be used for directly submitting and verifying data on the browser of the tested device without being transmitted to the development device through the network, so that the resources of the network and the development device can be saved.
(2) JavaScript facilitates manipulation of HTM L objects
The JavaScript can conveniently manipulate objects in various Web pages, technicians can use the JavaScript to control the appearance, the state and even the running mode of each element in the Web pages, and the JavaScript can also 'customize' a browser according to the requirements of the technicians, so that the display and rendering effects of the target Web page displayed on the development equipment in the test process are more friendly, and the technicians can accurately acquire the target data information of the target Web page in the test process.
As can be seen from the foregoing embodiment, by including the preset JavaScript code in the test instruction in the embodiment of the present application, the development device can perform view addressing through the view hierarchy and the view tag, and implement the test on the Web page of the traditional application program on the device under test in the view form, and also implement the test on the Web page of the Webview in the application program on the device under test in the view form without being limited to the rendering manner of the Web page by the Webview, thereby implementing the consistency between the test on the Web page of the Webview in the application program and the test on the Web page of the traditional application program, and further improving the accuracy and coverage of the automatic test on the Web page.
And S103, the development equipment acquires target data information of the target Web page returned by the tested equipment.
In a specific embodiment, the development device starts Android L ogat through a communication channel to monitor target data information of a target Web page input into log information by the device to be tested, wherein Android L ogat is a command line tool in an Android operating system and can be used for obtaining the log information of the application to be tested.
Specifically, after the tested device executes a test instruction to obtain target data information of a target Web page, the target data information of the target Web page is serialized, then the tested device outputs log information of a tested application program including the target data information of the serialized target Web page to Android L ogat, the development device can start the Android L ogat through a communication channel, and inputs an interception command at the Android L ogat to intercept the log information of the tested application program to obtain the target data information of the serialized target Web page.
In another specific embodiment, the development device may obtain, through a target file on the device under test, target data information of a target Web page input into the target file by the device under test.
Specifically, after the tested device executes the test instruction to obtain the target data information of the target Web page, the target data information of the target Web page is serialized, then the log information of the tested application program including the serialized target data information of the target Web page is written into the target file of the tested device, and the development device can poll and read the target file on the tested device to obtain the serialized target data information of the target Web page.
According to the Web page automatic testing method provided by the embodiment, the development equipment is connected with the tested equipment through the data line, and after the communication channel between the development equipment and the tested equipment is further established, the development equipment can send the test instruction to the tested equipment through the communication channel to acquire the data information of the Web page of the tested equipment. Meanwhile, the testing environment of the Web page when being tested and the running environment of the Web page when actually running can be ensured to be consistent, thereby being beneficial to technical personnel to quickly and accurately position the problems in the testing process and improving the coverage rate and the accuracy rate of the test.
Referring to fig. 4, fig. 4 is a schematic flowchart of another method for automatically testing a Web page according to an embodiment of the present application. As shown in fig. 4, the method may include:
s201, the tested device establishes a communication channel with the development device based on a data line between the tested device and the development device.
Specifically, the process of the device under test establishing the communication channel with the development device based on the data line between the device under test and the development device is similar to the process of the development device establishing the communication channel with the device under test based on the data line between the development device and the device under test described in S101, and details are not repeated here.
S202, the tested device receives a test instruction sent by the development device through the communication channel, and the test instruction indicates the tested device to acquire target data information of the target Web page.
After a communication channel between the device to be tested and the development device is established, the device to be tested can receive the test instruction sent by the development device through the communication channel.
Before the tested device executes the test instruction to acquire the target data information of the target Web page, the tested application program needs to be determined.
In the specific embodiment of the present application, when determining the application program to be tested on the device under test, if the application program currently running on the device under test is the application program to be tested, the application program to be tested may be implemented by sending a test instruction to the device under test through the development device. If the application program currently running on the device to be tested is not the application program to be tested, a technician can manually select the application program to be tested, and then set the selected application program as the application program to be tested according to the selection operation of the technician, or re-receive the test instruction sent by the development equipment to re-determine the application program to be tested.
After the application program to be tested is determined, the device to be tested can continue to execute the test instruction, locate a target Web page to be tested of the application program to be tested, and then acquire target data information of the target Web page.
In a specific implementation manner, a test instruction sent by the development device to the device to be tested includes a preset JavaScript code, and the preset JavaScript code is used for instructing the device to be tested to acquire target data information.
And S203, the tested device executes the test instruction to acquire target data information of the target Web page.
In this embodiment of the present application, the target data information of the target Web page obtained by the device under test executing the test instruction may include any one or more of the following: the data information of the label element, the data information of the picture element, the data information of the character element, the title of the target Web page, the consumed time in the opening process of the target Web page or whether the target Web page is completely loaded or not.
After the tested device executes the test instruction to acquire the target data information of the target Web page, the tested device needs to send the target data information of the target Web page to the development device so that the development device can acquire the target data information of the target Web page.
In a specific embodiment, the device under test outputs the target data information of the target Web page to the log information, so that the development device monitors the target data information of the target Web page output by the device under test to the log information through the Android L ogat.
Specifically, after the tested device executes a test instruction to obtain target data information of a target Web page, the target data information of the target Web page is serialized, then the tested device outputs log information of a tested application program including the target data information of the serialized target Web page to Android L ogat, the development device can start the Android L ogat through a communication channel, inputs an interception command at the Android L ogat, and intercepts the log information of the sequenced target Web page to obtain the target data information of the target Web page.
In another specific implementation, after the device under test executes the test instruction to acquire the target data information of the target Web page, the device under test writes the target data information of the target Web page into a target file of the device under test, so that the development device acquires the target data information of the target Web page through the target file on the device under test.
Specifically, after the tested device executes the test instruction to obtain the target data information of the target Web page, the target data information of the target Web page is serialized, then the log information of the tested application program including the serialized target data information of the target Web page is written into the target file of the tested device, and the development device can poll and read the target file on the tested device to obtain the serialized target data information of the target Web page.
In order to better understand the embodiment of the application, the method for automatically testing the Web page provided by the embodiment of the application is described in more detail below by taking as an example that the development device is a server of a Windows operating system, the device to be tested is a mobile phone of an Android operating system, a data line connecting the server and the mobile phone is a USB data line, a target Web page is a Web page 1 realized by WebView in a social application program, and the target data information is position information of a "next page" control of the page 1 relative to a mobile phone screen.
As shown in fig. 5, fig. 5 is a schematic flow chart of an embodiment provided in the present application.
S301, the server establishes a communication channel with the mobile phone based on a data line between the server and the mobile phone.
The communication channel established between the server of the Windows operating system and the mobile phone of which the device to be tested is the Android operating system is ADB, and the establishment process of the ADB is already described in S101, which is not described herein again.
S302, the server sends a test instruction to the mobile phone through the communication channel, and the social application program on the mobile phone is determined to be the application program to be tested.
The test instruction may include a social application program identifier, and the test instruction is used for determining, by the mobile phone, that the social application program is the application program to be tested according to the social application program identifier in the test instruction, and transmitting the received test instruction to the social application program.
S303, the social application program receives the test instruction sent by the server and sends the test instruction to WebView in the social application program.
S304, the WebView acquires the position information of the next page control of the page 1 relative to the page 1 according to the test instruction.
The test instruction can also include a preset JavaScript code, and the preset JavaScript code is used for indicating the mobile phone to acquire the position information of the 'next page' control of the page 1 relative to the mobile phone screen.
Specifically, the preset JavaScript code may include the UR L of the page 1 and the identification information of the "next" control, and the like, and is used for the WebView to position the page 1 according to the UR L of the page 1 in the test instruction, position the "next" control on the page 1 according to the identification information of the "next" control, and then obtain the complete control information of the "next" control.
S305, the WebView sends the position information of the 'next page' control of the page 1 relative to the page 1 to the social application program.
Specifically, WebView serializes the acquired position information of the "next" control relative to page 1, and then outputs the position information of the serialized "next" control relative to page 1 to log information.
In practical application, the WebView can also send the position information of the 'next page' control of the page 1 to the social application program by a loadUrl () method or an addJavascript interface () method.
S306, the social application program receives the position information of the next control relative to the page 1, and calculates the position information of the next control relative to the mobile phone screen according to the position information of the next control relative to the page 1 of the page 1 and the position information of the page 1 relative to the mobile phone screen.
Specifically, the social application program intercepts log information, acquires the position information of the serialized 'next page' control relative to the page 1 from the log information, calculates the position information of the 'next page' control relative to the mobile phone screen according to the position information of the 'next page' control of the serialized page 1 relative to the page 1 and the position information of the page 1 relative to the mobile phone screen, and serializes the position information of the 'next page' control relative to the mobile phone screen.
And S307, the social application program sends the position information of the 'next page' control of the page 1 relative to the mobile phone screen to the server.
Specifically, the social application program outputs log information of the social application program including position information of the serialized 'next page' control relative to the mobile phone screen to the Android L ogat, and the server can start the Android L ogat to monitor the position information of the 'next page' control in the log information relative to the mobile phone screen through a communication channel.
In practical applications, the application under test may be various applications installed on the device under test, or may be an application under test installed according to a download link or an installation package in the test instruction, such as a word processing application, a photo management application, a video playing application, a digital music player application, a game application, a telephone application, and the like, which is not limited herein. WebView can be a core content carrier of a Web page in an application program to be tested, such as a public article page of a social application program, a digital album center page in a music playing application program, and the like; WebView can also be a part of a Web page resident in the application under test, for example, a video detailed information area of a video playing page in a video playing application; WebView may also be a non-persistent floating layer of a Web page in the application under test, for example, a main leader board floating layer in a live broadcast room in a live video application, which is not specifically limited herein.
The development equipment can also repeatedly test the target Web page of the tested equipment for many times so as to improve the robustness of the test. The process may be: for each test instruction, the development device or the device under test may set a preset number of execution times for the test instruction, and perform retry of the preset number of execution times.
Furthermore, the development equipment can also store target data information of each test so as to compare the target data information and improve the accuracy of the test.
In specific application, the test instructions can be partially or completely packaged into classes, so that the mutual influence between the classes packaged by the instructions and other classes is reduced to the minimum, and further, the data safety is enhanced and the program writing work is simplified. The tested application program, the Webview in the tested application program and the test instruction can be completely or partially packaged to form a whole, and consistency of Web page automatic test tools (such as ADB), configuration (such as configuration of the tested application program) and test flows is achieved. In practical application, technicians can use the whole obtained by packaging to carry out daily test on the tested application program on the tested equipment, so that the function stability of the tested application program is ensured, the labor, the time and the like consumed by the test are saved, and the efficiency and the quality of the test are improved.
The embodiment of fig. 2 above elaborates the automatic test method for a Web page provided by the embodiment of the present application, and based on the same inventive concept, the following continues to introduce the automatic test device for a Web page provided by the embodiment of the present application, where the automatic test device for a Web page can be applied to development equipment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an automated testing apparatus for Web pages according to an embodiment of the present application, and as shown in fig. 6, the apparatus 110 may include:
the channel establishing module 111 is used for establishing a communication channel with the tested device based on a data line between the development device and the tested device;
the sending module 112 is configured to send a test instruction to the device under test through the communication channel, where the test instruction instructs the device under test to obtain target data information of the target Web page;
and the obtaining module 113 is configured to obtain target data information of a target Web page returned by the device under test.
The functional modules of the automatic testing apparatus 110 for Web pages may be used to implement the method described in the embodiment of fig. 2, and for the details, reference may be made to the description in the relevant contents of the embodiment of fig. 2, and for the sake of brevity of the description, details are not repeated here.
It should be understood that the Web page automation test device 110 is only one example provided by the embodiments of the present application, and that the Web page automation test device 110 may have more or less components than those shown in fig. 6, may combine two or more components, or may have a different configuration implementation of the components.
The embodiment of fig. 4 above elaborates another automatic testing method for a Web page provided by the embodiment of the present application, and based on the same inventive concept, the following continues to introduce another automatic testing apparatus for a Web page provided by the embodiment of the present application, where the automatic testing apparatus for a Web page can be applied to a device under test.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an automated testing apparatus for Web pages according to an embodiment of the present application, and as shown in fig. 7, the apparatus 210 may include:
the channel establishing module 211 is used for establishing a communication channel with the development device based on a data line between the tested device and the development device;
a receiving module 222, configured to receive a test instruction sent by the development device through a communication channel, where the test instruction indicates that the device to be tested obtains target data information of a target Web page;
and the obtaining module 223 is configured to execute the test instruction to obtain the target data information of the target Web page.
The functional modules of the Web page automation testing apparatus 210 can be used to implement the method described in the embodiment of fig. 4, and for the details, reference may be made to the description in the relevant contents of the embodiment of fig. 4, and for the sake of brevity of the description, details are not repeated here.
It should be understood that the Web page automation test device 210 is only one example provided by the embodiments of the present application, and the Web page automation test device 210 may have more or less components than those shown in fig. 7, may combine two or more components, or may have a different configuration implementation of the components.
The present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and the computer program is executed by hardware (for example, a processor, etc.) to implement part or all of the steps of the Web page automation test method described in the above method embodiments. For specific implementation of the processor of the computer storage medium in executing the above method steps, reference may be made to specific operations of the above method embodiments, which are not described herein again.
The embodiment of the present application further provides a computer program product, which is read by a computer and executed to implement part or all of the steps of the method for automatically testing a Web page described in the above method embodiment.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. An automated testing method for Web pages, characterized in that the method comprises:
the method comprises the steps that a development device establishes a communication channel with a tested device based on a data line between the development device and the tested device;
the development equipment sends a test instruction to the tested equipment through the communication channel, and the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the development equipment acquires target data information of the target Web page returned by the tested equipment.
2. The method of claim 1, wherein the test instruction includes a preset JavaScript code, and the preset JavaScript code is used to instruct the device under test to acquire the target data information.
3. The method according to any one of claims 1 or 2, wherein the step of acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
the development equipment starts Android L ogacat through the communication channel;
and the development equipment monitors the target data information of the target Web page input into the log information by the tested equipment through the Android L ogacat.
4. The method according to any one of claims 1 or 2, wherein the step of acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
and the development equipment acquires target data information of the target Web page input into the target file by the tested equipment through the target file on the tested equipment.
5. The method according to any one of claims 1 to 4, wherein the test environment of the device under test is consistent with the operating environment of the device under test, wherein the test environment of the device under test refers to a network environment when the device under test executes the test instruction, and the operating environment of the device under test refers to a network environment when a user uses the device under test.
6. The method of claim 5, wherein the target data information comprises any one or more of: the method comprises the steps of label element information, picture element information, character element information, the title of the target Web page, the consumed time in the opening process of the target Web page or whether the target Web page is completely loaded or not.
7. The method of claim 6, wherein the target Web page is a Web page based on Webview in an application under test, and the sending, by the development device, a test instruction to the device under test through the communication channel comprises:
the development equipment sends the test instruction to a tested application program on the tested equipment through the communication channel so that the tested application program sends the test instruction to Webview in the tested application program, and the test instruction instructs the Webview in the tested application program to acquire target data information of the target Web page;
the step of acquiring, by the development device, target data information of the target Web page returned by the device under test includes:
the development equipment acquires target data information of the target Web page returned by the application program to be tested on the equipment to be tested, wherein the target data information of the target Web page returned by the application program to be tested is returned to the application program to be tested by Webview in the application program to be tested.
8. An automated testing method for Web pages, characterized in that the method comprises:
the method comprises the steps that a tested device establishes a communication channel with a development device based on a data line between the tested device and the development device;
the tested device receives a test instruction sent by the development device through the communication channel, and the test instruction indicates the tested device to acquire target data information of a target Web page;
and the tested device executes the test instruction to acquire target data information of the target Web page.
9. The method of claim 8, wherein the test instruction includes a preset JavaScript code, and the preset JavaScript code is used for instructing the device under test to acquire target data information of the target Web page.
10. The method according to any one of claims 8 or 9, wherein after the device under test executes the test instruction to obtain the target data information of the target Web page, the method further comprises:
and the tested device outputs the target data information of the target Web page to log information so that the development device monitors the target data information of the target Web page in the log information through the Android L ogat.
11. The method according to any one of claims 8 or 9, wherein after the device under test executes the test instruction to obtain the target data information of the target Web page, the method further comprises:
and the tested device outputs the target data information of the target Web page to a target file on the tested device so that the development device can acquire the target data information of the target Web page through the target file on the tested device.
12. The method according to any one of claims 8 to 11, wherein the test environment of the device under test is consistent with the operating environment of the device under test, wherein the test environment of the device under test refers to a network environment when the device under test executes the test instruction, and the operating environment of the device under test refers to a network environment when a user uses the device under test.
13. The method of claim 12, wherein the target Web page is a Web page based on Webview in the application under test, and the receiving, by the device under test, of the test instruction sent by the development device through the communication channel includes:
the tested application program on the tested device receives the test instruction sent by the development device through the communication channel and sends the test instruction to the Webview in the tested application program, and the test instruction indicates the Webview in the tested application program to acquire the target data information of the target Web page;
the tested device executes the test instruction to acquire target data information of the target Web page, and the method comprises the following steps:
and Webview in the tested application program on the tested device executes the test instruction to acquire target data information of the target Web page.
14. The automatic Web page testing device is applied to development equipment and comprises:
the channel establishing module is used for establishing a communication channel with the tested equipment based on a data line between the development equipment and the tested equipment;
the sending module is used for sending a test instruction to the tested equipment through the communication channel, wherein the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the acquisition module is used for acquiring the target data information of the target Web page returned by the tested equipment.
15. An automatic Web page testing device is applied to a device to be tested, and comprises:
the channel establishing module is used for establishing a communication channel with the development equipment based on a data line between the tested equipment and the development equipment;
the receiving module is used for receiving a test instruction sent by the development equipment through the communication channel, wherein the test instruction indicates the tested equipment to acquire target data information of a target Web page;
and the acquisition module is used for executing the test instruction to acquire the target data information of the target Web page.
CN202010244526.XA 2020-03-31 2020-03-31 Web page automatic testing method and related equipment Active CN111444103B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010244526.XA CN111444103B (en) 2020-03-31 2020-03-31 Web page automatic testing method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010244526.XA CN111444103B (en) 2020-03-31 2020-03-31 Web page automatic testing method and related equipment

Publications (2)

Publication Number Publication Date
CN111444103A true CN111444103A (en) 2020-07-24
CN111444103B CN111444103B (en) 2024-04-26

Family

ID=71649397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010244526.XA Active CN111444103B (en) 2020-03-31 2020-03-31 Web page automatic testing method and related equipment

Country Status (1)

Country Link
CN (1) CN111444103B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486975A (en) * 2020-12-10 2021-03-12 四川瀚库智数科技有限公司 Method for automatically visualizing data based on big data
CN112986896A (en) * 2021-02-09 2021-06-18 南方电网数字电网研究院有限公司 Electric energy meter testing system, method and device based on graphical programming
CN114090139A (en) * 2020-07-29 2022-02-25 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN114143720A (en) * 2021-11-29 2022-03-04 深圳万兴软件有限公司 Method, device and related components for changing IOS equipment positioning information
CN114257529A (en) * 2021-12-24 2022-03-29 深圳市欣博跃电子有限公司 Network equipment stability testing method, device, equipment, system and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719097A (en) * 2009-12-24 2010-06-02 深圳市金蝶移动互联技术有限公司 Debug method and system of automation test script and automation application server
CN103034583A (en) * 2011-09-30 2013-04-10 国际商业机器公司 Method and system for processing automatic test scrip of software
US20170168923A1 (en) * 2015-12-10 2017-06-15 Appypie Inc. System and method for creating a test application
CN108614767A (en) * 2016-12-13 2018-10-02 腾讯科技(深圳)有限公司 A kind of remote debugging method and device
CN109766256A (en) * 2018-12-21 2019-05-17 中国平安财产保险股份有限公司 H5 page performance test method, apparatus and computer equipment in application program
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110362490A (en) * 2019-07-16 2019-10-22 中国工商银行股份有限公司 Merge the automated testing method and system of iOS and Android mobile application

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719097A (en) * 2009-12-24 2010-06-02 深圳市金蝶移动互联技术有限公司 Debug method and system of automation test script and automation application server
CN103034583A (en) * 2011-09-30 2013-04-10 国际商业机器公司 Method and system for processing automatic test scrip of software
US20170168923A1 (en) * 2015-12-10 2017-06-15 Appypie Inc. System and method for creating a test application
CN108614767A (en) * 2016-12-13 2018-10-02 腾讯科技(深圳)有限公司 A kind of remote debugging method and device
CN109766256A (en) * 2018-12-21 2019-05-17 中国平安财产保险股份有限公司 H5 page performance test method, apparatus and computer equipment in application program
CN110297759A (en) * 2019-05-22 2019-10-01 深圳壹账通智能科技有限公司 A kind of method, apparatus making test page script, equipment and storage medium
CN110362490A (en) * 2019-07-16 2019-10-22 中国工商银行股份有限公司 Merge the automated testing method and system of iOS and Android mobile application

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090139A (en) * 2020-07-29 2022-02-25 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN112486975A (en) * 2020-12-10 2021-03-12 四川瀚库智数科技有限公司 Method for automatically visualizing data based on big data
CN112986896A (en) * 2021-02-09 2021-06-18 南方电网数字电网研究院有限公司 Electric energy meter testing system, method and device based on graphical programming
CN114143720A (en) * 2021-11-29 2022-03-04 深圳万兴软件有限公司 Method, device and related components for changing IOS equipment positioning information
CN114143720B (en) * 2021-11-29 2023-09-29 深圳万兴软件有限公司 Method and device for changing positioning information of IOS (information of operation) equipment and related components thereof
CN114257529A (en) * 2021-12-24 2022-03-29 深圳市欣博跃电子有限公司 Network equipment stability testing method, device, equipment, system and medium

Also Published As

Publication number Publication date
CN111444103B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN111444103B (en) Web page automatic testing method and related equipment
CN110489101B (en) Interface simulation method, system, medium and electronic equipment
CN112187585A (en) Network protocol testing method and device
CN107391219B (en) Function Compilation Method and device
US11237948B2 (en) Rendering engine component abstraction system
CN110955409B (en) Method and device for creating resources on cloud platform
CN108614767A (en) A kind of remote debugging method and device
CN112231617A (en) Service call checking method and device, storage medium and electronic equipment
CN111858296A (en) Interface test method, device, equipment and storage medium
CN113778391A (en) Page processing method, device and equipment for native application program
CN110083467B (en) Method and device for processing applet message and computer storage medium
CN112256421A (en) Communication processing method, communication processing device, storage medium and electronic equipment
CN113608997B (en) Remote debugging method and device for embedded webpage of application program and electronic equipment
CN112988588B (en) Client software debugging method and device, storage medium and electronic equipment
CN113778897A (en) Automatic test method, device, equipment and storage medium of interface
CN111414309A (en) Automatic test method of application program, computer equipment and storage medium
CN111273967A (en) Remote hook setting method and device suitable for Android system and electronic equipment
CN115858556A (en) Data processing method and device, storage medium and electronic equipment
CN114817024A (en) Use case generation method and device, equipment and storage medium
CN113972989B (en) Data verification method, storage medium and electronic equipment
CN111949510B (en) Test processing method, device, electronic equipment and readable storage medium
US10530835B2 (en) Application recording
CN113268221A (en) File matching method and device, storage medium and computer equipment
CN113760706B (en) Webpage debugging method and device
CN111078209B (en) Development processing method, device and equipment for business page

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