WO2020233034A1 - Page function testing method and related device - Google Patents
Page function testing method and related device Download PDFInfo
- Publication number
- WO2020233034A1 WO2020233034A1 PCT/CN2019/120086 CN2019120086W WO2020233034A1 WO 2020233034 A1 WO2020233034 A1 WO 2020233034A1 CN 2019120086 W CN2019120086 W CN 2019120086W WO 2020233034 A1 WO2020233034 A1 WO 2020233034A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- test
- function
- sub
- page
- target
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
Definitions
- This application relates to the field of computer technology, and in particular to a page function testing method and related devices.
- the embodiments of the present application provide a page function testing method and related devices, which can save server resources and improve the execution efficiency of dependency analysis.
- an embodiment of the present application provides a page function testing method, which includes:
- a target test case is generated based on the multiple sub-test cases, and the functional node to be tested on the target page is tested based on the target test case.
- an embodiment of the present application provides a page function testing device, which includes:
- the receiving unit is configured to receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
- the processing unit is configured to perform information processing on the text information obtained by the receiving unit to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, wherein, A test keyword is used to describe an operation step of the page function reported by the user;
- the determining unit is used to determine, from the test case feature database, multiple sub-test cases matching the multiple test keywords obtained by the processing unit, wherein one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
- the test unit is configured to generate a target test case based on the multiple sub-test cases determined by the determination unit, and test the functional node to be tested on the target page based on the target test case.
- an embodiment of the present application provides a terminal device.
- the terminal device includes a processor and a memory, and the processor and the memory are connected to each other.
- the memory is used to store a computer program that supports the terminal device to execute the method provided in the first aspect and/or any one of the possible implementations of the first aspect
- the computer program includes program instructions, and the processor is configured to call the foregoing
- the program instructions execute the method provided in the first aspect and/or any possible implementation manner of the first aspect.
- embodiments of the present application provide a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores a computer program, and the above computer program is executed by a processor to implement the above first aspect
- the method provided by any possible implementation.
- storing the test reports of different function nodes to be tested can avoid repeated tests when the same and/or similar page function problems occur, or adjust the target test cases and/or target test scenarios appropriately to achieve rapid The purpose of solving the problem.
- FIG. 1 is a schematic flowchart of a method for constructing a test case feature library provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a page function testing method provided by an embodiment of the present application.
- FIG. 3 is a schematic structural diagram of a page function test device provided by an embodiment of the present application.
- Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the page function test method provided by the embodiment of the application (for convenience of description, the method provided in the embodiment of the application may be referred to as the method provided in the embodiment of the application) is applicable to various page function test systems in various fields and industries, and is not limited herein.
- the method provided by the embodiments of the present application may be based on a function sample library in an existing page function test system, or a function sample used to describe the page function is obtained based on an existing test sample to construct a test case feature library.
- the page function testing method provided by the embodiments of the present application can construct different use case feature libraries based on different fields and/or different industries to be applicable to page function test systems of various fields or industries, with high flexibility and wide application range. For the convenience of description, the method provided in the embodiments of the present application will be described below by taking a page function test system in a certain field and/or a certain industry as an example.
- the methods and related devices provided by the embodiments of the present application will be described below with reference to FIGS. 1 to 4 respectively.
- the method provided by the embodiment of the present application may include the construction of a test case feature library and the execution of tests based on the test case feature library and voice information input by the user.
- a test case feature library Before receiving the voice information input by the user, a test case feature library can be constructed first.
- Fig. 1 is a schematic flowchart of a method for constructing a test case feature library provided by an embodiment of the present application. The method for constructing the test case feature library provided by the embodiment of the present application can be described by the implementation manner provided in the following steps S11-S14.
- multiple functional samples for describing page functions can be obtained from the functional sample library of the existing page function test system, or Obtain multiple functional samples used to describe page functions from the historical test records in the existing page function test system. It is also possible to establish multiple functional samples used to describe page functions based on the existing test environment and industry characteristics. The method of obtaining is not restricted here. It is important to note that the above function sample is only used to describe a page function. For example, the above functional sample can be the function of "click the select button, select the picture and upload", or it can be the function of "select the video and download", which is not limited here.
- the test cases in the finally constructed test case feature library can be modularized as small as possible according to functions. That is, before generating test cases based on the multiple function samples used to describe the page function, the multiple function samples used to describe the page function are divided according to the operation steps of the page function to obtain multiple sub-function samples. Among them, a sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample.
- the sample can be split according to the three steps of "click the select button", “select picture” and “upload” to split the functional sample Into the simplest three sub-function samples.
- the function sample can be split to obtain multiple sub-function samples, and then multiple sub-test cases can be generated according to the operation steps described by the sub-function samples.
- the sub-test cases can be automatically generated by the page function test system. Generation, or the technical staff can write sub-test cases for different operation steps, which is not limited here.
- the sub-tests with constraints can be generated according to actual test requirements Example. For example, after splitting "click the select button, select a picture and upload", you will get three sub-test cases of "click the select button", "select a picture” and "upload a picture”. At this time, if there are certain requirements for the format and size of the picture in the actual test environment, you can generate sub-test cases that restrict the picture such as "gif format” and "not larger than 5M" according to the actual situation, with specific constraints The constraint conditions of the sub-test cases can be selected according to the actual test scenario, etc., and there is no restriction here.
- each sub-function sample can be used, including but not limited to "equivalent class method", " Boundary value method, “decision table method”, “orthogonal experiment method”, “process analysis method” and “state transition method” and other commonly used methods for test cases are not limited here.
- the use case feature word configuration interface can also be established through the existing feature word tags and custom feature word tags. Based on the use case feature word configuration interface, you can add functional tags to each of the above sub-test cases or add feature words and store them in the specified
- the final test case feature library has been obtained in the storage space, and the above-mentioned designated storage space can be a certain database, or it can be in the cloud and/or storage device, which is not limited here.
- the range of feature words of each sub-test case in the test case feature library can be expanded, and at the same time, it can also be used to adjust features such as “swipe from left to right on the touch screen”, “double tap Uncommon or more special sub-function samples in functional samples such as “Control Screen”, such as “swipe from left to right”, “touch screen”, etc., provide the function of customizing and summarizing feature words and/or adding function tags, which is more flexible High, wider application range.
- FIG. 2 is a schematic flowchart of a page function testing method provided by an embodiment of the present application.
- the method provided by the embodiment of the present application may include the following steps S21-S24:
- S21 Receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information.
- the voice information input by the user when the voice information input by the user is received, the voice information input by the user can be semantically analyzed to directly obtain the text information corresponding to all the voice information, and then extract the target page and the target page to be tested from the text information Text information related to functional information; semantic analysis can also be performed on the voice information input by the user to obtain the target voice information related to the target page and the functional node to be tested on the target page, and then the target voice information is converted into text information for specific implementation
- the method is not limited here.
- the semantic analysis of all voice input by the user is performed to obtain the text m corresponding to voice M, and then from Extract the text n of "On the business submission page, after clicking the select button, the selected picture cannot be uploaded”; you can also perform semantic analysis on all the voice M input by the user to obtain the description "On the business submission page, click to select After pressing the button, select the voice N that says "The picture cannot be uploaded”, and then convert the voice N to the text n of "On the service submission page, after clicking the select button, select the picture that cannot be uploaded", according to different application scenarios and device performance requirements , It can adopt different implementation methods, with high flexibility.
- S22 Perform information processing on the text information to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords.
- the voice information input by the user is complicated and the amount of information is large, only the voice information of the user feedback page function can be received, and then semantic analysis of the voice information is performed to convert the voice information into text information. . It is also possible to perform semantic analysis on all the above-mentioned voice information to obtain text information after receiving all the voice information of the user, and then perform information content filtering on the text information to obtain text information related to page functions. It is also possible to obtain text information related to the page function directly from the voice content of the user feedback page function through semantic analysis in the stage of receiving the voice information input by the user.
- information processing is performed on the above text information (including but not limited to text recognition, information matching, etc., which are not limited here) To identify the content described in the above text information.
- multiple test keywords used to describe the operation steps of the page function fed back by the user can be extracted from the text information.
- the above text information can also be matched with each test keyword in the existing test keyword library to obtain multiple test keywords used to describe the operation steps of the page function feedback from the user.
- the specific implementation is not done here. limit. It should be particularly noted that the above test keyword is used to describe an operation step of the page function reported by the user.
- the target page to be tested and the function node to be tested on the target page can be determined, where the function node to be tested is a certain page on the specific page feedback by the user Functional issues.
- the function node to be tested is a certain page on the specific page feedback by the user Functional issues.
- the text information "on the service submission page, after clicking the select button, the selected picture cannot be uploaded” is obtained, and the text information is processed after information processing
- Three test keywords of "click to select", "select picture” and "upload picture” can be obtained.
- the target page can be determined as the business submission page and the business submission page
- the function node to be tested is "The selected picture cannot be uploaded after clicking the select button".
- the function tags of each sub-test case in the above-mentioned test case feature library can be matched with each test keyword in the above-mentioned multiple test keywords.
- any sub-test case marked by any function label that matches any test keyword can be determined to correspond to any of the above-mentioned test keywords Until the sub-test case corresponding to each test keyword among the above-mentioned multiple test keywords is obtained, wherein the sub-test case corresponding to any one of the above-mentioned test keywords is used to test the above-mentioned An operation step in the function node to be tested.
- the function label of each sub-test case in the test case feature library can be combined with the "click to select button”.
- "Select a picture” and “Upload a picture” three test keywords are matched to obtain sub-test cases for testing the three operation steps of "click the selection button”, "select a picture” and "upload a picture”.
- the specific scenario, model, communication method, etc. of the page function problem that the user complains and/or feedback can be determined based on the above text information.
- Do restrictions For example, based on the above text information, it can be obtained that the model of the mobile phone device that caused the problem is A, the mobile phone device adopts the mobile 4G communication method when the problem occurs, and the problem occurs when the APP is logged in. It can accurately locate the user's voice complaints and/or feedback problems in an unsupported environment, which improves the accuracy of the description and avoids unnecessary consumption of labor costs.
- the problem since some users may complain and/or feedback page function problems through voice, the problem may be unclear.
- preset smart sentences are used in the process of users complaining and/or feedback through voice. Guide the user to describe the problem in more detail and accurately, so as to obtain the user's complete voice information describing the problem.
- the user can choose the necessary features of the problem by the user through the preset options. For example, after the user dials the phone, the user first selects the device model, problem type and other options to reduce the voice The system loss caused by the excessive amount of information has better flexibility and higher accuracy.
- the sub-test cases corresponding to the multiple test keywords may be arranged in the order of the function expression of the function node to be tested to obtain A test case group, and based on the above test case group to generate target test cases.
- the Pairwise Independent Combinatorial Testing Tool PICT
- Allpairs tool and other test case combination tools can be used, and there is no restriction here.
- test case group is subjected to test case combination processing to obtain the target test case of "click the select button, select the picture and upload”.
- the specific scenarios, models, communication methods and other information of the user complaints and/or feedback page function problems determined based on the text information can be used to construct the target page.
- the target test scenario corresponding to the operating environment of the operating environment, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario.
- the user complaint and/or feedback page function problem is "Under the mobile 4G network environment, the picture cannot be uploaded after the selection button is clicked on the service submission page of the mobile phone with the device model A", and you get " After clicking the select button, select the picture and upload the target test case, you can build a test case for testing the function node to be tested of "click the select button, select the picture and upload” in the mobile 4G network environment, in the device model A
- the sub-scenario keyword set when constructing the above-mentioned test case feature library, can be pre-placed in the above-mentioned test case feature library to obtain multiple test scenario keys while obtaining the above multiple test keywords. word.
- the key to the above multiple test scenarios can be extracted from the sub-scenario keyword set in the above-mentioned test case feature library.
- Multiple sub-scenario keywords with the same words are used to construct a target test scenario based on the multiple sub-scenario keywords and the target page when the target test case is generated.
- the “business in the mobile phone of device model A under the mobile 4G network environment can be constructed The target test scenario of "Submit Page”.
- the function nodes to be tested of "click the selection button, select the picture and upload" are tested to test out user complaints and/or feedback voice information of the same or similar page function problems, which improves the reliability. Speed and accuracy of page function test without support.
- the number of tests may also be defined according to the importance of different functional nodes to be tested, so as to improve the accuracy of the page function test. For example, if it is a login function, 10 tests can be performed, and if it is a more serious crash function, 20 tests can be performed. The definition of the specific number of tests and the division of importance of the function can be defined according to the actual situation, and there is no restriction here. .
- the test data after testing the function node to be tested on the target page can be obtained, and the target test report corresponding to the function node to be tested on the target page is generated based on the test data. At the same time, the target test report is stored in the designated storage space to obtain a backup test report.
- test report When displaying and/or querying the test report corresponding to any one of the above-mentioned functional nodes to be tested based on the display device, obtain the test report corresponding to any one of the above-mentioned functional nodes to be tested from the above-mentioned standby test report and correspond to any one of the above-mentioned functional nodes to be tested
- the test report is output to the above-mentioned display device, so that when users complain and/or report the same page function problem again, they can avoid repeated tests or make appropriate adjustments to the target test cases and/or target test scenarios, so as to achieve the purpose of quickly solving the problem.
- the corresponding solutions to the page function problems can be put forward with higher applicability.
- the embodiment of this application can directly determine the target page and the functional node to be tested based on the voice information input by the user, and quickly generate the target test case and target test scenario to perform the functional test on the functional node to be tested on the target page. Under the circumstances, the page function is quickly tested.
- FIG. 3 is a schematic structural diagram of a page function testing device provided by an embodiment of the present application.
- the page function test device provided by the embodiment of the application includes:
- the receiving unit is configured to receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
- the processing unit is configured to perform information processing on the text information obtained by the receiving unit to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, wherein, A test keyword is used to describe an operation step of the page function reported by the user;
- the determining unit is used to determine, from the test case feature database, multiple sub-test cases matching the multiple test keywords obtained by the processing unit, wherein one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
- the test unit is configured to generate a target test case based on the multiple sub-test cases determined by the determination unit, and test the functional node to be tested on the target page based on the target test case.
- the foregoing device further includes:
- the obtaining unit is also used to obtain multiple function samples for describing page functions from the function sample library of the page function test system, and/or obtain multiple description pages from the historical test records in the above page function test system Function samples of functions, where a function sample is used to describe a page function;
- the generating unit is also used to construct the above-mentioned test case feature library based on the above-mentioned multiple functional samples for describing page functions.
- the aforementioned generating unit is used to:
- the above multiple function samples used to describe the page function are split according to the operation steps of the page function to obtain multiple sub-function samples, wherein one sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample ;
- test case feature library based on the above-mentioned multiple sub-test cases.
- the aforementioned generating unit is used to:
- test case feature library Store each of the above sub-test cases and corresponding feature words to obtain a test case feature library.
- the above-mentioned test device further includes:
- the matching unit is used to match the function label of each sub-test case in the above-mentioned test case feature library with each of the above-mentioned multiple test keywords;
- the above-mentioned generating unit is used to determine any sub-test case marked by any function tag that matches any test keyword as the sub-test case corresponding to any one of the above-mentioned test keywords, so as to determine the above-mentioned multiple test keys Multiple sub-test cases corresponding to the word.
- the aforementioned generating unit is used to:
- a target test scenario corresponding to the operating environment of the target page is constructed, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario.
- test unit is also used for:
- test data after testing the functional node to be tested on the target page, and generate a target test report corresponding to the functional node to be tested on the target page based on the test data;
- the target test report in a designated storage space to obtain a backup test report, and the designated storage space also includes test reports of one or more other functional nodes to be tested except for the functional node to be tested;
- test report When displaying and/or querying the test report corresponding to any one of the above-mentioned functional nodes to be tested based on the display device, obtain the test report corresponding to any one of the above-mentioned functional nodes to be tested from the above-mentioned standby test report and correspond to any one of the above-mentioned functional nodes to be tested The test report is output to the above display device.
- the foregoing receiving unit is used to:
- the above-mentioned test case feature library includes a set of sub-scenario keywords; the above-mentioned generating unit is used for:
- a target test scenario is constructed based on the multiple sub-scene keywords and the target page.
- the above-mentioned device can execute the implementation manners provided in the steps in Figures 1 to 2 through the built-in modules.
- the page function device provided by the embodiment of the present application can directly determine the target page and the function node to be tested based on the voice information input by the user, and quickly generate target test cases and target test scenarios to perform functional tests on the function nodes to be tested on the target page. Quickly test the page function without the support of no one, with good flexibility and high applicability.
- Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
- the terminal device in this embodiment may include: one or more processors 41 and memory 42.
- the aforementioned processor 41 and memory 42 are connected by a bus 43.
- the memory 42 is used to store a computer program, and the computer program includes program instructions, and the processor 41 is used to execute the program instructions stored in the memory 42 to perform the following operations:
- a target test case is generated based on the multiple sub-test cases, and the functional node to be tested on the target page is tested based on the target test case.
- the foregoing processor 41 is further configured to:
- test case feature library based on the above-mentioned multiple functional samples used to describe page functions.
- the aforementioned processor 41 is used to:
- the above multiple function samples used to describe the page function are split according to the operation steps of the page function to obtain multiple sub-function samples, wherein one sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample ;
- test case feature library based on the above-mentioned multiple sub-test cases.
- the aforementioned processor 41 is used to:
- test case feature library Store each of the above sub-test cases and corresponding feature words to obtain a test case feature library.
- the aforementioned processor 41 is used to:
- the aforementioned processor 41 is used to:
- a target test scenario corresponding to the operating environment of the target page is constructed, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario.
- the foregoing processor 41 is further configured to:
- test data after testing the functional node to be tested on the target page, and generate a target test report corresponding to the functional node to be tested on the target page based on the test data;
- the target test report in a designated storage space to obtain a backup test report, and the designated storage space also includes test reports of one or more other functional nodes to be tested except for the functional node to be tested;
- the test report corresponding to any one of the above-mentioned functional nodes to be tested is obtained from the above-mentioned standby test report and corresponds to any of the above-mentioned functional nodes
- the test report is output to the above display device.
- the aforementioned processor 41 is used to:
- the above-mentioned test case feature library includes a set of sub-scenario keywords; the above-mentioned processor 41 is used for:
- a target test scenario is constructed based on the multiple sub-scene keywords and the target page.
- the aforementioned processor 41 may be a central processing unit (central processing unit, CPU), and the processor may also be other general-purpose processors or digital signal processors (digital signal processors, DSP). , Application specific integrated circuit (ASIC), ready-made programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
- the memory 42 may include a read-only memory and a random access memory, and provides instructions and data to the processor 41. A part of the memory 42 may also include a non-volatile random access memory. For example, the memory 42 may also store device type information.
- the above-mentioned terminal device can execute the implementation manners provided in the steps in Figures 1 to 2 through its built-in functional modules.
- the implementation manners provided in the above-mentioned steps which will not be repeated here.
- the embodiment of this application can directly determine the target page and the functional node to be tested based on the voice information input by the user, and quickly generate the target test case and target test scenario to perform the functional test on the functional node to be tested on the target page. Under the circumstances, the page function is quickly tested.
- the embodiment of the present application also provides a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores a computer program, and the computer program is executed by a processor to implement each step in FIGS. 1 to 2
- the computer program is executed by a processor to implement each step in FIGS. 1 to 2
- the foregoing computer non-volatile readable storage medium may be the task processing apparatus provided in any of the foregoing embodiments or the internal storage unit of the foregoing terminal device, such as a hard disk or memory of an electronic device.
- the computer's non-volatile readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (smart media card) equipped on the electronic device. SD card, flash card, etc.
- the above-mentioned computer non-volatile readable storage medium may also include a magnetic disk, an optical disk, a read-only memory (read-only memory, ROM), or a random access memory (random access memory, RAM).
- the computer non-volatile readable storage medium may also include both an internal storage unit of the electronic device and an external storage device.
- the computer non-volatile readable storage medium is used to store the computer program and other programs and data required by the electronic device.
- the computer non-volatile readable storage medium can also be used to temporarily store data that has been output or will be output.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本申请要求于2019年5月21日提交中国专利局,申请号为201910421957.6、发明名称为“一种页面功能测试方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 21, 2019, the application number is 201910421957.6, and the invention title is "a page function testing method and related device", the entire content of which is incorporated herein by reference Applying.
本申请涉及计算机技术领域,尤其涉及一种页面功能测试方法及相关装置。This application relates to the field of computer technology, and in particular to a page function testing method and related devices.
随着科技的快速发展及产业的进步,出现了增进人们生活质量、改变人们生活模式的各种电子消费产品,例如:个人计算机、移动电话、平板电脑等。人们对这些设备的依赖性也日渐加重,越来越多的生产厂商都致力于生产更多的相关产品,因此,生产厂商们无不致力于提升产品的性能。当移动设备制造商制造出的产品或者基于移动设备的软件在上市之前,通常需要对软件上的页面先进行页面功能测试,以此来测试计算机平台产品或者软件版本上的各个页面功能是否正常。With the rapid development of science and technology and the progress of industry, various electronic consumer products such as personal computers, mobile phones, tablet computers, etc. have emerged that enhance people's quality of life and change people's life patterns. People's dependence on these devices is also increasing. More and more manufacturers are committed to producing more related products. Therefore, manufacturers are all committed to improving product performance. Before a product or a mobile device-based software manufactured by a mobile device manufacturer goes on the market, it is usually necessary to perform a page function test on the pages of the software to test whether the functions of each page on the computer platform product or software version are normal.
近年来,计算机平台产品或者软件版本更新的越来越频繁,每一个版本发布都需要对软件上的各个页面功能进行测试。而在收到用户反馈和/或投诉的问题之后,需要针对具体问题编写测试用例以进行相关功能测试,处理周期长,测试效率不高。In recent years, computer platform products or software versions have been updated more and more frequently, and each version release requires testing of various page functions on the software. After receiving user feedback and/or complaints, it is necessary to write test cases for specific issues to perform related functional tests. The processing cycle is long and the test efficiency is not high.
发明内容Summary of the invention
本申请实施例提供一种页面功能测试方法及相关装置,可以节省服务器资源,并提高依赖分析的执行效率。The embodiments of the present application provide a page function testing method and related devices, which can save server resources and improve the execution efficiency of dependency analysis.
第一方面,本申请实施例提供一种页面功能测试方法,该方法包括:In the first aspect, an embodiment of the present application provides a page function testing method, which includes:
接收用户反馈页面功能的语音信息,对上述语音信息进行语义分析以将上述语音信息转换为文本信息;Receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
对上述文本信息进行信息处理以得到多个测试关键词,根据上述多个测试关键词描述的操作步骤确定出上述目标页面上的待测试功能节点,其中,一个测试关键词用于描述上述用户反馈的页面功能的一个操作步骤;Perform information processing on the above text information to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, where one test keyword is used to describe the above user feedback An operation step of the page function;
从测试用例特征库中确定出与上述多个测试关键词匹配的多个子测试用 例,其中,一个子测试用例用于测试上述待测试功能节点的一个操作步骤;Determine multiple sub-test cases matching the above multiple test keywords from the test case feature database, where one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
根据上述多个子测试用例生成目标测试用例,并基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。A target test case is generated based on the multiple sub-test cases, and the functional node to be tested on the target page is tested based on the target test case.
第二方面,本申请实施例提供了一种页面功能测试装置,该测试装置包括:In the second aspect, an embodiment of the present application provides a page function testing device, which includes:
接收单元,用于接收用户反馈页面功能的语音信息,对上述语音信息进行语义分析以将上述语音信息转换为文本信息;The receiving unit is configured to receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
处理单元,用于对上述接收单元得到的上述文本信息进行信息处理以得到多个测试关键词,根据上述多个测试关键词描述的操作步骤确定出上述目标页面上的待测试功能节点,其中,一个测试关键词用于描述上述用户反馈的页面功能的一个操作步骤;The processing unit is configured to perform information processing on the text information obtained by the receiving unit to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, wherein, A test keyword is used to describe an operation step of the page function reported by the user;
确定单元,用于从测试用例特征库中确定出与上述处理单元得到的多个测试关键词匹配的多个子测试用例,其中,一个子测试用例用于测试上述待测试功能节点的一个操作步骤;The determining unit is used to determine, from the test case feature database, multiple sub-test cases matching the multiple test keywords obtained by the processing unit, wherein one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
测试单元,用于根据上述确定单元确定的上述多个子测试用例生成目标测试用例,并基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。The test unit is configured to generate a target test case based on the multiple sub-test cases determined by the determination unit, and test the functional node to be tested on the target page based on the target test case.
第三方面,本申请实施例提供了一种终端设备,该终端设备包括处理器和存储器,该处理器和存储器相互连接。该存储器用于存储支持该终端设备执行上述第一方面和/或第一方面任一种可能的实现方式提供的方法的计算机程序,该计算机程序包括程序指令,该处理器被配置用于调用上述程序指令,执行上述第一方面和/或第一方面任一种可能的实施方式所提供的方法。In a third aspect, an embodiment of the present application provides a terminal device. The terminal device includes a processor and a memory, and the processor and the memory are connected to each other. The memory is used to store a computer program that supports the terminal device to execute the method provided in the first aspect and/or any one of the possible implementations of the first aspect, the computer program includes program instructions, and the processor is configured to call the foregoing The program instructions execute the method provided in the first aspect and/or any possible implementation manner of the first aspect.
第四方面,本申请实施例提供了一种计算机非易失性可读存储介质,该计算机非易失性可读存储介质存储有计算机程序,上述计算机程序被处理器执行以实现上述第一方面任一种可能的实施方式所提供的方法。In a fourth aspect, embodiments of the present application provide a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores a computer program, and the above computer program is executed by a processor to implement the above first aspect The method provided by any possible implementation.
在页面功能测试中,将不同待测试功能节点的测试报告进行存储可对相同和/或相似的页面功能问题时免于重复测试或者对目标测试用例和/或目标测试场景进行适当调整,达到快速解决问题的目的。In the page function test, storing the test reports of different function nodes to be tested can avoid repeated tests when the same and/or similar page function problems occur, or adjust the target test cases and/or target test scenarios appropriately to achieve rapid The purpose of solving the problem.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1是本申请实施例提供的测试用例特征库的构建方法的流程示意图;FIG. 1 is a schematic flowchart of a method for constructing a test case feature library provided by an embodiment of the present application;
图2是本申请实施例提供的页面功能测试方法的流程示意图;2 is a schematic flowchart of a page function testing method provided by an embodiment of the present application;
图3是本申请实施例提供的页面功能测试装置的结构示意图;FIG. 3 is a schematic structural diagram of a page function test device provided by an embodiment of the present application;
图4是本申请实施例提供的终端设备的结构示意图。Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
本申请实施例提供的页面功能测试方法(为方便描述,可简称本申请实施例提供的方法)可适用于各个领域、各个行业中的各个页面功能测试系统,在此不做限制。本申请实施例提供的方法可基于现有的页面功能测试系统中的功能样本库,或者基于现有的测试样本得到用于描述页面功能的功能样本,构建测试用例特征库。基于测试用例特征库,可对获取到的用户的语音信息中包含的目标页面上的待测试功能节点进行测试,从而可对用户输入的语音信息进行相应的功能测试,可及时提出相应的应对措施,降低页面功能错误带来重大损失的风险。本申请实施例提供的页面功能测试方法可基于不同领域和/或不同行业构建不同的用例特征库以适用于各个领域或者各个行业的页面功能测试系统,灵活性高,适用范围广。为方便描述,下面可以某一个领域和/或某一行业中的某一页面功能测试系统为例,对本申请实施例提供的方法进行描述。The page function test method provided by the embodiment of the application (for convenience of description, the method provided in the embodiment of the application may be referred to as the method provided in the embodiment of the application) is applicable to various page function test systems in various fields and industries, and is not limited herein. The method provided by the embodiments of the present application may be based on a function sample library in an existing page function test system, or a function sample used to describe the page function is obtained based on an existing test sample to construct a test case feature library. Based on the test case feature library, it can test the function nodes to be tested on the target page contained in the user's voice information, so that the voice information input by the user can be tested correspondingly, and corresponding countermeasures can be proposed in time , Reduce the risk of major losses caused by page function errors. The page function testing method provided by the embodiments of the present application can construct different use case feature libraries based on different fields and/or different industries to be applicable to page function test systems of various fields or industries, with high flexibility and wide application range. For the convenience of description, the method provided in the embodiments of the present application will be described below by taking a page function test system in a certain field and/or a certain industry as an example.
下面将结合图1至图4分别对本申请实施例提供的方法及相关装置进行说明。本申请实施例提供的方法可包括测试用例特征库的构建以及基于测试用例特征库和用户输入的语音信息执行测试等阶段。The methods and related devices provided by the embodiments of the present application will be described below with reference to FIGS. 1 to 4 respectively. The method provided by the embodiment of the present application may include the construction of a test case feature library and the execution of tests based on the test case feature library and voice information input by the user.
在接收用户输入的语音信息之前,可先构建测试用例特征库。参见图1,图1是本申请实施例提供的测试用例特征库的构建方法的流程示意图。本申请实施例提供的测试用例特征库的构建方法可通过如下步骤S11-S14提供的实现方式进行说明。Before receiving the voice information input by the user, a test case feature library can be constructed first. Refer to Fig. 1, which is a schematic flowchart of a method for constructing a test case feature library provided by an embodiment of the present application. The method for constructing the test case feature library provided by the embodiment of the present application can be described by the implementation manner provided in the following steps S11-S14.
S11、获取多个用于描述页面功能的功能样本。S11. Obtain multiple functional samples for describing page functions.
在一些可行的实施方式中,在获取多个用于描述页面功能的功能样本阶段,可从现有的页面功能测试系统的功能样本库中获取多个用于描述页面功能的功能样本,也可从现有的页面功能测试系统中的历史测试记录中获取多个用于描述页面功能的功能样本,还可以基于现有的测试环境和行业特性建立多个用于描述页面功能的功能样本,具体获取方式在此不做限制。需要特别说明的是,上述一个功能样本只用于描述一项页面功能。例如,上述一个功能样本可以为“点击选择按钮,选择图片并上传”功能,也可以为“选择视频并下载”功能,在此不做限制。In some feasible implementations, in the stage of obtaining multiple functional samples for describing page functions, multiple functional samples for describing page functions can be obtained from the functional sample library of the existing page function test system, or Obtain multiple functional samples used to describe page functions from the historical test records in the existing page function test system. It is also possible to establish multiple functional samples used to describe page functions based on the existing test environment and industry characteristics. The method of obtaining is not restricted here. It is important to note that the above function sample is only used to describe a page function. For example, the above functional sample can be the function of "click the select button, select the picture and upload", or it can be the function of "select the video and download", which is not limited here.
S12、将上述多个用于描述页面功能的功能样本按照页面功能的操作步骤进行拆分以得到多个子功能样本。S12. Split the above-mentioned multiple function samples for describing page functions according to the operation steps of the page function to obtain multiple sub-function samples.
在一些可行的实施方式中,为了使最终构建的测试用例特征库中的测试用例更加简单具体,可将最终构建的测试用例特征库中的测试用例尽可能小的根据功能模块化。即在基于上述多个用于描述页面功能的功能样本生成测试用例之前,先将上述多个用于描述页面功能的功能样本按照页面功能的操作步骤进行拆分,以得到多个子功能样本。其中,一个子功能样本用于描述上述一个子功能样本对应的功能样本的一个操作步骤。例如,对于“点击选择按钮后,选择图片并上传”功能样本,可根据该样本的“点击选择按钮”、“选择图片”以及“上传”三个步骤进行样本拆分,将该功能样本拆分成最简单的三个子功能样本。In some feasible implementation manners, in order to make the test cases in the finally constructed test case feature library more simple and specific, the test cases in the finally constructed test case feature library can be modularized as small as possible according to functions. That is, before generating test cases based on the multiple function samples used to describe the page function, the multiple function samples used to describe the page function are divided according to the operation steps of the page function to obtain multiple sub-function samples. Among them, a sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample. For example, for a functional sample of "click the select button, select a picture and upload", the sample can be split according to the three steps of "click the select button", "select picture" and "upload" to split the functional sample Into the simplest three sub-function samples.
S13、根据上述多个子功能样本描述的操作步骤生成多个子测试用例。S13. Generate multiple sub-test cases according to the operation steps described in the multiple sub-function samples.
在一些可行的实施方式中,可将该功能样本进行拆分得到多个子功能样本后,再根据子功能样本描述的操作步骤生成多个子测试用例,其中,子测试用例可以由页面功能测试系统自动生成,也可以是由技术人员针对不同的操作步骤编写子测试用例,在此不做限制。例如,在将“点击选择按钮后,选择图片并上传”功能样本生成测试用例前,可将“点击选择按钮后,选择图片并上传”一个功能样本拆分为“点击选择按钮”、“选择图片”以及“上传图片”三个更小的子功能样本后,针对“点击选择按钮”、“选择图片”以及“上传图片”三个子功能样本生成对应的子测试用例。当需要将“点击选择按钮后,选择文档并上传”功能样本生成测试用例时,可将该功能样本进行拆分后,仅可将“选择文档”子功能样本生成对应的子测试用例即可,避免了对于重复的功能样本进行重复生成测试用例的情况,节省了由于生成大量测试用例所带来的时间浪 费,适用性更高。In some feasible implementations, the function sample can be split to obtain multiple sub-function samples, and then multiple sub-test cases can be generated according to the operation steps described by the sub-function samples. Among them, the sub-test cases can be automatically generated by the page function test system. Generation, or the technical staff can write sub-test cases for different operation steps, which is not limited here. For example, before generating a test case for the "click the select button, select the picture and upload" functional sample, you can split the "click the select button, select the picture and upload" function sample into "click the select button" and "select the picture" After the three smaller sub-function samples of "" and "upload image", corresponding sub-test cases are generated for the three sub-function samples of "click to select", "select image" and "upload image". When it is necessary to generate a test case from the functional sample of "click the select button, select the document and upload", after splitting the functional sample, only the sub-function sample of "select document" can be generated into the corresponding sub-test case. The situation of repeatedly generating test cases for repeated functional samples is avoided, and the time waste caused by generating a large number of test cases is saved, and the applicability is higher.
在一些可行的实施方式中,当将某一功能样本进行拆分得到多个子功能样本并对得到多个子功能样本编写对应的测试用例之后,可根据实际的测试需求生成带有约束条件的子测试用例。例如,将“点击选择按钮后,选择图片并上传”进行拆分后得到“点击选择按钮”、“选择图片”以及“上传图片”三个子测试用例。此时如果实际测试环境中对图片的格式、大小等有一定的要求,可根据实际情况生成“gif格式”、“不大于5M”等对图片做出约束的子测试用例,具体带有约束条件的子测试用例的约束条件可根据实际测试场景等选择,在此不做任何限制。需要特别说明的是,在根据上述多个子功能样本生成对应的子测试用例时,可根据各个子功能样本所描述的操作步骤和具体测试方法来采用包括但不限于“等价类法”、“边界值法”、“判定表法”、“正交实验法”、“流程分析法”以及“状态迁移法”等测试用例常用方法,在此不做限制。In some feasible implementations, after splitting a function sample to obtain multiple sub-function samples and writing corresponding test cases for the multiple sub-function samples, the sub-tests with constraints can be generated according to actual test requirements Example. For example, after splitting "click the select button, select a picture and upload", you will get three sub-test cases of "click the select button", "select a picture" and "upload a picture". At this time, if there are certain requirements for the format and size of the picture in the actual test environment, you can generate sub-test cases that restrict the picture such as "gif format" and "not larger than 5M" according to the actual situation, with specific constraints The constraint conditions of the sub-test cases can be selected according to the actual test scenario, etc., and there is no restriction here. It should be particularly noted that when generating corresponding sub-test cases based on the above multiple sub-function samples, the operation steps and specific test methods described in each sub-function sample can be used, including but not limited to "equivalent class method", " Boundary value method, “decision table method”, “orthogonal experiment method”, “process analysis method” and “state transition method” and other commonly used methods for test cases are not limited here.
S14、基于上述多个子测试用例构建上述测试用例特征库。S14. Construct the above-mentioned test case feature library based on the above-mentioned multiple sub-test cases.
在一些可行的实施方式中,为了从最终构建的测试用例特征库中能快速找到某操作步骤对应的子测试用例,在根据上述各个子功能样本生成对应的子测试用例得到多个子测试用例之后,可自动总结各个子测试用例用于测试的与其对应的子功能样本所描述的操作步骤的特征词,例如“登陆”、“上传”以及“下载”等特征词,在此不做限制。其中,总结各个子测试用例用于测试某操作步骤的特征词时,可为各个子测试用例自动添加功能标签以标记上述各个子测试用例所测试的操作步骤,也可以基于各个子测试用例内某参数添加对应的特征词。此外,还可以通过已有的特征词标签和自定义特征词标签建立用例特征词配置界面,可基于用例特征词配置界面对上述各个子测试用例添加功能标签或者添加特征词并将其存储至指定存储空间中已得到最终的测试用例特征库,其中上述指定存储空间可以是某数据库,也可以是云端和/或存储设备中,在此不做限制。需要特别说明的是,在通过自定义特征词标签可扩大测试用例特征库中各个子测试用例的特征词范围,同时也可对如“在触控屏上从左向右滑动”、“双击触控屏”等功能样本中不常见或较为特别的子功能样本,例如“从左向右滑动”、“触控屏”等提供自定义总结特征词和/或添加功能标签的功能,灵活性更高,适用范围更广。In some feasible implementations, in order to quickly find the sub-test case corresponding to a certain operation step from the finally constructed test case feature library, after generating the corresponding sub-test case according to the above-mentioned sub-function samples to obtain multiple sub-test cases, It can automatically summarize the characteristic words of the operation steps described in the corresponding sub-function sample used by each sub-test case for testing, such as "login", "upload" and "download" and other characteristic words, which are not limited here. Among them, when summarizing each sub-test case to test the characteristic words of a certain operation step, function tags can be automatically added to each sub-test case to mark the operation steps tested by each sub-test case, or it can be based on a certain sub-test case. Add the corresponding feature word to the parameter. In addition, the use case feature word configuration interface can also be established through the existing feature word tags and custom feature word tags. Based on the use case feature word configuration interface, you can add functional tags to each of the above sub-test cases or add feature words and store them in the specified The final test case feature library has been obtained in the storage space, and the above-mentioned designated storage space can be a certain database, or it can be in the cloud and/or storage device, which is not limited here. It should be specially noted that by customizing the feature word label, the range of feature words of each sub-test case in the test case feature library can be expanded, and at the same time, it can also be used to adjust features such as "swipe from left to right on the touch screen", "double tap Uncommon or more special sub-function samples in functional samples such as “Control Screen”, such as “swipe from left to right”, “touch screen”, etc., provide the function of customizing and summarizing feature words and/or adding function tags, which is more flexible High, wider application range.
在得到测试用例特征库后,可基于用户输入的语音信息对页面功能执行测试。请参见图2,图2是本申请实施例提供的页面功能测试方法的流程示意图。 本申请实施例提供的方法可包括如下步骤S21-S24:After the test case feature library is obtained, the page function can be tested based on the voice information input by the user. Please refer to FIG. 2, which is a schematic flowchart of a page function testing method provided by an embodiment of the present application. The method provided by the embodiment of the present application may include the following steps S21-S24:
S21、接收用户反馈页面功能的语音信息,对上述语音信息进行语义分析以将上述语音信息转换为文本信息。S21: Receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information.
可选的,当接收到用户输入的语音信息后,可将用户输入的语音信息进行语义分析直接得到全部语音信息对应的文本信息,再从文本信息中提取与目标页面以及目标页面上的待测试功能信息相关的文本信息;也可以对用户输入的语音信息进行语义分析得到与目标页面以及目标页面上的待测试功能节点相关的目标语音信息,再将该目标语音信息转换为文本信息,具体实现方式在此不做限制。例如,当用户通过语音投诉和/或反馈在业务提交页面上的图片上传问题时,现将用户输入的全部语音(此处以语音M为例)进行语义分析得到语音M对应的文本m,再从文本m中提取“在业务提交页面上,在点击选择按钮后,选择图片无法上传”的文本n;也可以将用户输入的全部语音M进行语义分析得到描述“在业务提交页面上,在点击选择按钮后,选择图片无法上传”的语音N,再将语音N转换为“在业务提交页面上,在点击选择按钮后,选择图片无法上传”的文本n,针对不同的应用场景和设备性能要求下,可采取不同的实现方式,灵活性高。Optionally, when the voice information input by the user is received, the voice information input by the user can be semantically analyzed to directly obtain the text information corresponding to all the voice information, and then extract the target page and the target page to be tested from the text information Text information related to functional information; semantic analysis can also be performed on the voice information input by the user to obtain the target voice information related to the target page and the functional node to be tested on the target page, and then the target voice information is converted into text information for specific implementation The method is not limited here. For example, when the user complains and/or feedbacks the problem of uploading pictures on the service submission page through voice, the semantic analysis of all voice input by the user (here, voice M is taken as an example) is performed to obtain the text m corresponding to voice M, and then from Extract the text n of "On the business submission page, after clicking the select button, the selected picture cannot be uploaded"; you can also perform semantic analysis on all the voice M input by the user to obtain the description "On the business submission page, click to select After pressing the button, select the voice N that says "The picture cannot be uploaded", and then convert the voice N to the text n of "On the service submission page, after clicking the select button, select the picture that cannot be uploaded", according to different application scenarios and device performance requirements , It can adopt different implementation methods, with high flexibility.
S22、对上述文本信息进行信息处理以得到多个测试关键词,根据上述多个测试关键词描述的操作步骤确定出上述目标页面上的待测试功能节点。S22: Perform information processing on the text information to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords.
在一些可行的实施方式中,由于用户输入的语音信息复杂,信息量较大,故可只接收用户反馈页面功能的语音信息,再对该语音信息进行语义分析以将上述语音信息转换为文本信息。也可以在接收到用户的全部语音信息后,将上述全部语音信息进行语义分析得到文本信息,再对文本信息进行信息内容筛选以得到与页面功能相关的文本信息。还可以在接收用户输入的语音信息阶段通过语义分析直接从用户反馈页面功能的语音内容直接获取到与页面功能相关的文本信息。In some feasible implementation manners, since the voice information input by the user is complicated and the amount of information is large, only the voice information of the user feedback page function can be received, and then semantic analysis of the voice information is performed to convert the voice information into text information. . It is also possible to perform semantic analysis on all the above-mentioned voice information to obtain text information after receiving all the voice information of the user, and then perform information content filtering on the text information to obtain text information related to page functions. It is also possible to obtain text information related to the page function directly from the voice content of the user feedback page function through semantic analysis in the stage of receiving the voice information input by the user.
在一些可行的实施方式中,在得到用户反馈页面功能的语音信息对应的的文本信息后,对上述文本信息进行信息处理(包括但不限于文字识别、信息匹配等方式,在此不做限制)以识别出上述文本信息所描述的内容。同时,在对上述文本信息进行信息处理的过程中,可从上述文本信息中提取出用于描述上述用户反馈的页面功能的操作步骤的多个测试关键词。也可将上述文本信息与现有的测试关键词库中的各个测试关键词进行匹配,得到用于描述上述用户反 馈的页面功能的操作步骤的多个测试关键词,具体实现方式在此不做限制。需要特别说明的是,上述一个测试关键词用于描述上述用户反馈的页面功能的一个操作步骤。根据上述得到的多个测试关键词所描述的操作步骤可确定需要进行测试的目标页面以及上述目标页面上的待测试功能节点,其中上述待测试功能节点为用户反馈的特定页面上的某一页面功能问题。例如,当用户通过语音反馈业务提交页面上存在功能问题,通过语义分析后得到“在业务提交页面上,在点击选择按钮后,选择图片无法上传”的文本信息,对该文本信息进行信息处理后可得到“点击选择按钮”、“选择图片”以及“上传图片”三个测试关键词,同时基于上述三个测试关键词所描述的操作步骤可确定目标页面为业务提交页面以及该业务提交页面上的待测试功能节点为“点击选择按钮后选择图片无法上传”。In some feasible implementation manners, after obtaining the text information corresponding to the voice information of the user feedback page function, information processing is performed on the above text information (including but not limited to text recognition, information matching, etc., which are not limited here) To identify the content described in the above text information. At the same time, in the process of information processing on the text information, multiple test keywords used to describe the operation steps of the page function fed back by the user can be extracted from the text information. The above text information can also be matched with each test keyword in the existing test keyword library to obtain multiple test keywords used to describe the operation steps of the page function feedback from the user. The specific implementation is not done here. limit. It should be particularly noted that the above test keyword is used to describe an operation step of the page function reported by the user. According to the operation steps described by the multiple test keywords obtained above, the target page to be tested and the function node to be tested on the target page can be determined, where the function node to be tested is a certain page on the specific page feedback by the user Functional issues. For example, when the user submits the page through the voice feedback service, there is a functional problem, and after semantic analysis, the text information "on the service submission page, after clicking the select button, the selected picture cannot be uploaded" is obtained, and the text information is processed after information processing Three test keywords of "click to select", "select picture" and "upload picture" can be obtained. At the same time, based on the operation steps described in the above three test keywords, the target page can be determined as the business submission page and the business submission page The function node to be tested is "The selected picture cannot be uploaded after clicking the select button".
S23、从测试用例特征库中确定出与上述多个测试关键词匹配的多个子测试用例。S23. Determine multiple sub-test cases matching the multiple test keywords from the test case feature database.
在一些可行的实施方式中,在得到多个测试关键词后,可将上述测试用例特征库中各个子测试用例的功能标签分别与上述多个测试关键词中的各个测试关键词进行匹配,当任一子测试用例的功能标签与任一测试关键词匹配成功后,可将与任一测试关键词相匹配的任一功能标签所标记的任一子测试用例确定为上述任一测试关键词对应的子测试用例,直至得到上述多个测试关键词中各个测试关键词对应的子测试用例,其中,上述任一测试关键词对应的子测试用例用于测试上述任一测试关键词所描述的上述待测试功能节点中的一个操作步骤。例如,在得到上述“点击选择按钮”、“选择图片”以及“上传图片”三个测试关键词之后,可将上述测试用例特征库中的各个子测试用例的功能标签分别与“点击选择按钮”、“选择图片”以及“上传图片”三个测试关键词进行匹配,得到用于测试“点击选择按钮”、“选择图片”以及“上传图片”三个操作步骤的子测试用例。In some feasible implementations, after multiple test keywords are obtained, the function tags of each sub-test case in the above-mentioned test case feature library can be matched with each test keyword in the above-mentioned multiple test keywords. After the function label of any sub-test case matches any test keyword successfully, any sub-test case marked by any function label that matches any test keyword can be determined to correspond to any of the above-mentioned test keywords Until the sub-test case corresponding to each test keyword among the above-mentioned multiple test keywords is obtained, wherein the sub-test case corresponding to any one of the above-mentioned test keywords is used to test the above-mentioned An operation step in the function node to be tested. For example, after the three test keywords of "click to select", "select picture", and "upload picture" are obtained, the function label of each sub-test case in the test case feature library can be combined with the "click to select button". , "Select a picture" and "Upload a picture" three test keywords are matched to obtain sub-test cases for testing the three operation steps of "click the selection button", "select a picture" and "upload a picture".
在一些可行的实施方式中,在基于上述文本信息确定目标页面后时,可基于上述文本信息确定用户投诉和/或反馈的页面功能问题发生的具体场景、机型、通信方式等,在此不做限制。例如,基于上述文本信息可得到产生问题的手机设备型号为A,该手机设备在产生问题时采用移动4G通信方式以及该问题发生于APP登陆时产生的故障。可在无人支持的环境下将用户通过语音投诉和/或反馈的问题进行准确定位,提高了描述的准确度,同时也避免带来人 工成本的不必要消耗。在一些可行的实施方式中,由于部分用户通过语音投诉和/或反馈页面功能问题时可能存在问题表述不清楚的情况,故在用户通过语音投诉和/或反馈的过程中通过预设的智能语句引导用户去更详细准确地描述问题,以便于获得用户完整的描述问题的语音信息。同时,还可以在用户通过语音投诉和/或建议之前,通过预设选项由用户自主选择问题的必要特征,如用户在拨通电话之后,用户先选择设备机型、问题类型等选项,减少语音信息的信息量过大带来的系统损耗,灵活性更好,准确性更高。In some feasible implementation manners, after the target page is determined based on the above text information, the specific scenario, model, communication method, etc. of the page function problem that the user complains and/or feedback can be determined based on the above text information. Do restrictions. For example, based on the above text information, it can be obtained that the model of the mobile phone device that caused the problem is A, the mobile phone device adopts the mobile 4G communication method when the problem occurs, and the problem occurs when the APP is logged in. It can accurately locate the user's voice complaints and/or feedback problems in an unsupported environment, which improves the accuracy of the description and avoids unnecessary consumption of labor costs. In some feasible implementations, since some users may complain and/or feedback page function problems through voice, the problem may be unclear. Therefore, preset smart sentences are used in the process of users complaining and/or feedback through voice. Guide the user to describe the problem in more detail and accurately, so as to obtain the user's complete voice information describing the problem. At the same time, before the user complains and/or suggests through the voice, the user can choose the necessary features of the problem by the user through the preset options. For example, after the user dials the phone, the user first selects the device model, problem type and other options to reduce the voice The system loss caused by the excessive amount of information has better flexibility and higher accuracy.
S24、根据上述多个子测试用例生成目标测试用例,并基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。S24. Generate a target test case based on the multiple sub-test cases, and test the functional node to be tested on the target page based on the target test case.
在一些可行的实施方式中,在得到上述多个测试关键词对应的子测试用例之后,可将上述多个测试关键词对应的子测试用例按照上述待测试功能节点的功能表述顺序进行排列以得到一个测试用例组,并基于上述测试用例组生成目标测试用例。其中,基于上述测试用例组生成目标测试用例时,可通过配对独立组合测试工具(Pairwise Independent Combinatorial Testing Tool,PICT)、Allpairs工具以及其他测试用例组合工具,在此不做限制。例如,在得到用于测试“选择图片”、“点击选择按钮”以及“上传图片”三个操作步骤的子测试用例后,可基于待测试功能节点“点击选择按钮后选择图片无法上传”的功能表述顺序将“选择图片”、“点击选择按钮”以及“上传图片”三个操作步骤的子测试用例以“点击选择按钮”、“选择图片”、“上传图片”的顺序排列,得到一个测试用例组。同时基于上述测试用例组合工具将该测试用例组进行测试用例组合处理得到“点击选择按钮,选择图片并上传”的目标测试用例。In some feasible implementation manners, after the sub-test cases corresponding to the multiple test keywords are obtained, the sub-test cases corresponding to the multiple test keywords may be arranged in the order of the function expression of the function node to be tested to obtain A test case group, and based on the above test case group to generate target test cases. Among them, when generating a target test case based on the above test case group, the Pairwise Independent Combinatorial Testing Tool (PICT), Allpairs tool, and other test case combination tools can be used, and there is no restriction here. For example, after getting the sub-test cases used to test the three operation steps of "select image", "click to select button" and "upload image", you can base on the function of the function node to be tested "selected image cannot be uploaded after clicking the select button" The order of presentation Arrange the sub-test cases of the three operation steps of "select image", "click to select button" and "upload image" in the order of "click to select button", "select image" and "upload image" to get a test case group. At the same time, based on the above-mentioned test case combination tool, the test case group is subjected to test case combination processing to obtain the target test case of "click the select button, select the picture and upload".
在一些可行的实施方式中,在得到上述目标测试用例之后,可基于上述文本信息确定的用户投诉和/或反馈的页面功能问题发生的具体场景、机型、通信方式等信息构建与上述目标页面的运行环境对应的目标测试场景,并在上述目标测试场景下基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。例如,基于上述文本信息确定用户投诉和/或反馈的页面功能问题为“在移动4G网络环境下,在设备型号为A的手机中的业务提交页面点击选择按钮后图片无法上传”,在得到“点击选择按钮,选择图片并上传”的目标测试用例后,可构建用于测试“点击选择按钮,选择图片并上传”的待测试功能节点的“在移动4G网络环境下,在设备型号为A的手机中的业务提交页面”目标测试场景,并在该目标测试场景下对“在移动4G网络环境下,在设备型 号为A的手机中的业务提交页面点击选择按钮后图片无法上传”的页面功能问题进行测试。In some feasible implementations, after the target test cases are obtained, the specific scenarios, models, communication methods and other information of the user complaints and/or feedback page function problems determined based on the text information can be used to construct the target page. The target test scenario corresponding to the operating environment of the operating environment, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario. For example, based on the above text information, it is determined that the user complaint and/or feedback page function problem is "Under the mobile 4G network environment, the picture cannot be uploaded after the selection button is clicked on the service submission page of the mobile phone with the device model A", and you get " After clicking the select button, select the picture and upload the target test case, you can build a test case for testing the function node to be tested of "click the select button, select the picture and upload" in the mobile 4G network environment, in the device model A The business submission page in the mobile phone" target test scenario, and in the target test scenario, the page function of "In the mobile 4G network environment, the image cannot be uploaded after the selection button is clicked on the business submission page in the mobile phone with device model A" Questions are tested.
在一些可行的实施方式中,在构建上述测试用例特征库时,可在上述测试用例特征库中预先放入子场景关键词集合,在得到上述多个测试关键词的同时得到多个测试场景关键词。在将上述测试用例特征库中的各个子测试用例的特征标签与上述多个测试关键词进行匹配时,可从上述测试用例特征库中的子场景关键词集合中提取与上述多个测试场景关键词一致的多个子场景关键词,以在生成目标测试用例时基于上述多个子场景关键词和上述目标页面构建目标测试场景。例如,在得到“移动4G”以及“A手机”的子场景关键词后,基于上述“业务提交页面”的目标页面可构建“在移动4G网络环境下,在设备型号为A的手机中的业务提交页面”的目标测试场景。需要特别说明的是,当从上述用例特征库中只能提取到“移动4G”和“手机”子场景关键词,无法获知手机具体型号时,此时需要从上述用例特征库中的子场景关键词中获取与“手机”关键词相关的如“A型号手机”、“B型号手机”等子场景关键词,分别得到“在移动4G网络环境下,在设备型号为A的手机中的业务提交页面”和“在移动4G网络环境下,在设备型号为B的手机中的业务提交页面”等多个目标测试场景。并在多个目标测试场景下分别对“点击选择按钮,选择图片并上传”的待测试功能节点进行测试以测试出用户投诉和/或反馈的语音信息相同或相近的页面功能问题,提高了再无人支持情况下页面功能测试的速度和准确性。In some feasible implementation manners, when constructing the above-mentioned test case feature library, the sub-scenario keyword set can be pre-placed in the above-mentioned test case feature library to obtain multiple test scenario keys while obtaining the above multiple test keywords. word. When matching the feature tags of each sub-test case in the above-mentioned test case feature library with the above multiple test keywords, the key to the above multiple test scenarios can be extracted from the sub-scenario keyword set in the above-mentioned test case feature library. Multiple sub-scenario keywords with the same words are used to construct a target test scenario based on the multiple sub-scenario keywords and the target page when the target test case is generated. For example, after obtaining the sub-scenario keywords of “mobile 4G” and “A mobile phone”, based on the target page of the “business submission page” mentioned above, the “business in the mobile phone of device model A under the mobile 4G network environment can be constructed The target test scenario of "Submit Page". It is important to note that when only "mobile 4G" and "mobile" sub-scenario keywords can be extracted from the above use case feature library, and the specific model of the mobile phone cannot be known, then it is necessary to extract the sub-scenario key from the above use case feature library Get sub-scenario keywords related to the "mobile phone" keywords, such as "A model phone", "B model phone" and other sub-scenario keywords from the word, respectively, and get "Business submission in a mobile phone with device model A in a mobile 4G network environment Multiple target test scenarios such as "page" and "business submission page in a mobile phone with device model B under the mobile 4G network environment". And in multiple target test scenarios, the function nodes to be tested of "click the selection button, select the picture and upload" are tested to test out user complaints and/or feedback voice information of the same or similar page function problems, which improves the reliability. Speed and accuracy of page function test without support.
在一些可行的实施方式中,还可以根据不同待测试功能节点的重要程度来定义测试的次数,以提高页面功能测试的准确性。例如,如果是登陆功能可进行10次测试,如果是较为严重的闪退功能可执行20次测试,具体的测试次数的定义和功能的重要程度的划分可根据实际情况界定,在此不做限制。在页面功能测试完成后,可获取对上述目标页面上的待测试功能节点进行测试后的测试数据,并基于上述测试数据生成上述目标页面上的待测试功能节点对应的目标测试报告。同时将上述目标测试报告存储至指定存储空间以得到备用测试报告。当基于显示设备显示和/或查询上述任一待测试功能节点对应的测试报告时,从上述备用测试报告中获取上述任一待测试功能节点对应的测试报告并将上述任一待测试功能节点对应的测试报告输出至上述显示设备,以便于有用户再次投诉和/或反馈相同页面功能问题时免于重复测试或者对目标测试用例和/或目标测试场景进行适当调整,达到快速解决问题的目的。同时基于测试报告 可针对性地提出页面功能问题对应的解决方案,适用性更高。In some feasible implementation manners, the number of tests may also be defined according to the importance of different functional nodes to be tested, so as to improve the accuracy of the page function test. For example, if it is a login function, 10 tests can be performed, and if it is a more serious crash function, 20 tests can be performed. The definition of the specific number of tests and the division of importance of the function can be defined according to the actual situation, and there is no restriction here. . After the page function test is completed, the test data after testing the function node to be tested on the target page can be obtained, and the target test report corresponding to the function node to be tested on the target page is generated based on the test data. At the same time, the target test report is stored in the designated storage space to obtain a backup test report. When displaying and/or querying the test report corresponding to any one of the above-mentioned functional nodes to be tested based on the display device, obtain the test report corresponding to any one of the above-mentioned functional nodes to be tested from the above-mentioned standby test report and correspond to any one of the above-mentioned functional nodes to be tested The test report is output to the above-mentioned display device, so that when users complain and/or report the same page function problem again, they can avoid repeated tests or make appropriate adjustments to the target test cases and/or target test scenarios, so as to achieve the purpose of quickly solving the problem. At the same time, based on the test report, the corresponding solutions to the page function problems can be put forward with higher applicability.
本申请实施例可基于用户输入的语音信息直接确定目标页面和待测试功能节点,并快速生成目标测试用例和目标测试场景对目标页面上的待测试功能节点进行功能测试,实现在无人支持的情况下对页面功能进行快速测试。The embodiment of this application can directly determine the target page and the functional node to be tested based on the voice information input by the user, and quickly generate the target test case and target test scenario to perform the functional test on the functional node to be tested on the target page. Under the circumstances, the page function is quickly tested.
参见图3,图3是本申请实施例提供的页面功能测试装置的结构示意图。本申请实施例提供的页面功能测试装置包括:Refer to FIG. 3, which is a schematic structural diagram of a page function testing device provided by an embodiment of the present application. The page function test device provided by the embodiment of the application includes:
接收单元,用于接收用户反馈页面功能的语音信息,对上述语音信息进行语义分析以将上述语音信息转换为文本信息;The receiving unit is configured to receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
处理单元,用于对上述接收单元得到的上述文本信息进行信息处理以得到多个测试关键词,根据上述多个测试关键词描述的操作步骤确定出上述目标页面上的待测试功能节点,其中,一个测试关键词用于描述上述用户反馈的页面功能的一个操作步骤;The processing unit is configured to perform information processing on the text information obtained by the receiving unit to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, wherein, A test keyword is used to describe an operation step of the page function reported by the user;
确定单元,用于从测试用例特征库中确定出与上述处理单元得到的多个测试关键词匹配的多个子测试用例,其中,一个子测试用例用于测试上述待测试功能节点的一个操作步骤;The determining unit is used to determine, from the test case feature database, multiple sub-test cases matching the multiple test keywords obtained by the processing unit, wherein one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
测试单元,用于根据上述确定单元确定的上述多个子测试用例生成目标测试用例,并基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。The test unit is configured to generate a target test case based on the multiple sub-test cases determined by the determination unit, and test the functional node to be tested on the target page based on the target test case.
在一些可行的实施方式中,上述装置还包括:In some feasible implementation manners, the foregoing device further includes:
获取单元,还用于从页面功能测试系统的功能样本库中获取多个用于描述页面功能的功能样本,和/或从上述页面功能测试系统中的历史测试记录中获取多个用于描述页面功能的功能样本,其中,一个功能样本用于描述一项页面功能;The obtaining unit is also used to obtain multiple function samples for describing page functions from the function sample library of the page function test system, and/or obtain multiple description pages from the historical test records in the above page function test system Function samples of functions, where a function sample is used to describe a page function;
生成单元,还用于基于上述多个用于描述页面功能的功能样本构建上述测试用例特征库。The generating unit is also used to construct the above-mentioned test case feature library based on the above-mentioned multiple functional samples for describing page functions.
在一些可行的实施方式中,上述生成单元用于:In some feasible implementation manners, the aforementioned generating unit is used to:
将上述多个用于描述页面功能的功能样本按照页面功能的操作步骤进行拆分以得到多个子功能样本,其中,一个子功能样本用于描述上述一个子功能样本对应的功能样本的一个操作步骤;The above multiple function samples used to describe the page function are split according to the operation steps of the page function to obtain multiple sub-function samples, wherein one sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample ;
根据上述多个子功能样本描述的操作步骤生成多个子测试用例,其中,一个子测试用例用于测试上述一个子测试用例对应的子功能样本所描述的一个 操作步骤,上述一个子测试用例对应一个功能标签,上述一个功能标签用于标记上述一个子测试用例所测试的操作步骤;Generate multiple sub-test cases according to the operation steps described in the above multiple sub-function samples, where one sub-test case is used to test an operation step described in the sub-function sample corresponding to the above-mentioned one sub-test case, and the above-mentioned sub-test case corresponds to one function Label, the above-mentioned function label is used to mark the operation step tested by the above-mentioned one sub-test case;
基于上述多个子测试用例构建上述测试用例特征库。Construct the above-mentioned test case feature library based on the above-mentioned multiple sub-test cases.
在一些可行的实施方式中,上述生成单元用于:In some feasible implementation manners, the aforementioned generating unit is used to:
确定每个子测试用例对应的操作步骤的特征词;Determine the characteristic words of the operation steps corresponding to each sub-test case;
将上述各个子测试用例和相对应的特征词进行存储,得到测试用例特征库。Store each of the above sub-test cases and corresponding feature words to obtain a test case feature library.
在一些可行的实施方式中,上述测试装置还包括:In some feasible implementation manners, the above-mentioned test device further includes:
匹配单元,用于将上述测试用例特征库中各个子测试用例的功能标签分别与上述多个测试关键词中的各个测试关键词进行匹配;The matching unit is used to match the function label of each sub-test case in the above-mentioned test case feature library with each of the above-mentioned multiple test keywords;
上述生成单元,用于将与任一测试关键词相匹配的任一功能标签所标记的任一子测试用例确定为上述任一测试关键词对应的子测试用例,以确定出上述多个测试关键词所对应的多个子测试用例。The above-mentioned generating unit is used to determine any sub-test case marked by any function tag that matches any test keyword as the sub-test case corresponding to any one of the above-mentioned test keywords, so as to determine the above-mentioned multiple test keys Multiple sub-test cases corresponding to the word.
在一些可行的实施方式中,上述生成单元用于:In some feasible implementation manners, the aforementioned generating unit is used to:
将上述多个子测试用例按照上述待测试功能节点的功能表述顺序进行排列以得到测试用例组,并基于上述测试用例组生成目标测试用例;Arrange the above multiple sub-test cases according to the function expression order of the above-mentioned functional nodes to be tested to obtain a test case group, and generate a target test case based on the above-mentioned test case group;
构建与上述目标页面的运行环境对应的目标测试场景,在上述目标测试场景下基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。A target test scenario corresponding to the operating environment of the target page is constructed, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario.
在一些可行的实施方式中,上述测试单元还用于:In some feasible implementation manners, the above-mentioned test unit is also used for:
获取对上述目标页面上的待测试功能节点进行测试后的测试数据,并基于上述测试数据生成上述目标页面上的待测试功能节点对应的目标测试报告;Obtain test data after testing the functional node to be tested on the target page, and generate a target test report corresponding to the functional node to be tested on the target page based on the test data;
将上述目标测试报告存储至指定存储空间以得到备用测试报告,上述指定存储空间中还包括除去上述待测试功能节点之外的一个或者多个其他待测试功能节点的测试报告;Store the target test report in a designated storage space to obtain a backup test report, and the designated storage space also includes test reports of one or more other functional nodes to be tested except for the functional node to be tested;
当基于显示设备显示和/或查询上述任一待测试功能节点对应的测试报告时,从上述备用测试报告中获取上述任一待测试功能节点对应的测试报告并将上述任一待测试功能节点对应的测试报告输出至上述显示设备。When displaying and/or querying the test report corresponding to any one of the above-mentioned functional nodes to be tested based on the display device, obtain the test report corresponding to any one of the above-mentioned functional nodes to be tested from the above-mentioned standby test report and correspond to any one of the above-mentioned functional nodes to be tested The test report is output to the above display device.
在一些可行的实施方式中,上述接收单元用于:In some feasible implementation manners, the foregoing receiving unit is used to:
对上述语音信息进行解析,得到与目标页面上的待测试功能节点相关的目标语音信息;Analyze the above voice information to obtain target voice information related to the functional node to be tested on the target page;
将上述目标语音信息转化为文本信息。Convert the above target voice information into text information.
在一些可行的实施方式中,上述测试用例特征库中包含子场景关键词集合; 上述生成单元用于:In some feasible implementation manners, the above-mentioned test case feature library includes a set of sub-scenario keywords; the above-mentioned generating unit is used for:
将上述子场景关键词集合与上述各个测试关键词进行匹配,得到多个子场景关键词;Match the above-mentioned sub-scene keyword set with each of the above-mentioned test keywords to obtain multiple sub-scene keywords;
基于上述多个子场景关键词和上述目标页面构建出目标测试场景。A target test scenario is constructed based on the multiple sub-scene keywords and the target page.
具体实现中,上述装置可通过其内置的各个模块执行如上图1至图2中各个步骤所提供的实现方式。In a specific implementation, the above-mentioned device can execute the implementation manners provided in the steps in Figures 1 to 2 through the built-in modules.
本申请实施例提供的页面功能装置可基于用户输入的语音信息直接确定目标页面和待测试功能节点,并快速生成目标测试用例和目标测试场景对目标页面上的待测试功能节点进行功能测试,实现在无人支持的情况下对页面功能进行快速测试,灵活性好,适用性高。The page function device provided by the embodiment of the present application can directly determine the target page and the function node to be tested based on the voice information input by the user, and quickly generate target test cases and target test scenarios to perform functional tests on the function nodes to be tested on the target page. Quickly test the page function without the support of no one, with good flexibility and high applicability.
图4是本申请实施例提供的终端设备的结构示意图。如图4所示,本实施例中的终端设备可以包括:一个或多个处理器41和存储器42。上述处理器41和存储器42通过总线43连接。存储器42用于存储计算机程序,该计算机程序包括程序指令,处理器41用于执行存储器42存储的程序指令,执行如下操作:Fig. 4 is a schematic structural diagram of a terminal device provided by an embodiment of the present application. As shown in FIG. 4, the terminal device in this embodiment may include: one or
接收用户反馈页面功能的语音信息,对上述语音信息进行语义分析以将上述语音信息转换为文本信息;Receive the voice information of the user feedback page function, and perform semantic analysis on the voice information to convert the voice information into text information;
对上述文本信息进行信息处理以得到多个测试关键词,根据上述多个测试关键词描述的操作步骤确定出上述目标页面上的待测试功能节点,其中,一个测试关键词用于描述上述用户反馈的页面功能的一个操作步骤;Perform information processing on the above text information to obtain multiple test keywords, and determine the functional node to be tested on the target page according to the operation steps described by the multiple test keywords, where one test keyword is used to describe the above user feedback An operation step of the page function;
从测试用例特征库中确定出与上述多个测试关键词匹配的多个子测试用例,其中,一个子测试用例用于测试上述待测试功能节点的一个操作步骤;Determine multiple sub-test cases matching the above-mentioned multiple test keywords from the test-case feature library, where one sub-test case is used to test an operation step of the above-mentioned functional node to be tested;
根据上述多个子测试用例生成目标测试用例,并基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。A target test case is generated based on the multiple sub-test cases, and the functional node to be tested on the target page is tested based on the target test case.
在一些可行的实施方式中,上述处理器41还用于:In some feasible implementation manners, the foregoing
从页面功能测试系统的功能样本库中获取多个用于描述页面功能的功能样本,和/或从上述页面功能测试系统中的历史测试记录中获取多个用于描述页面功能的功能样本,其中,一个功能样本用于描述一项页面功能;Obtain multiple functional samples used to describe page functions from the functional sample library of the page function test system, and/or obtain multiple functional samples used to describe page functions from the historical test records in the above-mentioned page function test system, where , A function sample is used to describe a page function;
基于上述多个用于描述页面功能的功能样本构建上述测试用例特征库。Construct the above-mentioned test case feature library based on the above-mentioned multiple functional samples used to describe page functions.
在一些可行的实施方式中,上述处理器41用于:In some feasible implementation manners, the
将上述多个用于描述页面功能的功能样本按照页面功能的操作步骤进行 拆分以得到多个子功能样本,其中,一个子功能样本用于描述上述一个子功能样本对应的功能样本的一个操作步骤;The above multiple function samples used to describe the page function are split according to the operation steps of the page function to obtain multiple sub-function samples, wherein one sub-function sample is used to describe an operation step of the function sample corresponding to the above-mentioned one sub-function sample ;
根据上述多个子功能样本描述的操作步骤生成多个子测试用例,其中,一个子测试用例用于测试上述一个子测试用例对应的子功能样本所描述的一个操作步骤,上述一个子测试用例对应一个功能标签,上述一个功能标签用于标记上述一个子测试用例所测试的操作步骤;Generate multiple sub-test cases according to the operation steps described in the above multiple sub-function samples, where one sub-test case is used to test an operation step described in the sub-function sample corresponding to the above-mentioned one sub-test case, and the above-mentioned sub-test case corresponds to one function Label, the above-mentioned function label is used to mark the operation step tested by the above-mentioned one sub-test case;
基于上述多个子测试用例构建上述测试用例特征库。Construct the above-mentioned test case feature library based on the above-mentioned multiple sub-test cases.
在一些可行的实施方式中,上述处理器41用于:In some feasible implementation manners, the
确定每个子测试用例对应的操作步骤的特征词;Determine the characteristic words of the operation steps corresponding to each sub-test case;
将上述各个子测试用例和相对应的特征词进行存储,得到测试用例特征库。Store each of the above sub-test cases and corresponding feature words to obtain a test case feature library.
在一些可行的实施方式中,上述处理器41用于:In some feasible implementation manners, the
将上述测试用例特征库中各个子测试用例的功能标签分别与上述多个测试关键词中的各个测试关键词进行匹配;Match the function label of each sub-test case in the above-mentioned test case feature library with each of the above-mentioned multiple test keywords respectively;
将与任一测试关键词相匹配的任一功能标签所标记的任一子测试用例确定为上述任一测试关键词对应的子测试用例,以确定出上述多个测试关键词所对应的多个子测试用例。Determine any sub-test case marked by any functional label that matches any test keyword as the sub-test case corresponding to any of the above-mentioned test keywords to determine multiple sub-test cases corresponding to the above-mentioned multiple test keywords Test case.
在一些可行的实施方式中,上述处理器41用于:In some feasible implementation manners, the
将上述多个子测试用例按照上述待测试功能节点的功能表述顺序进行排列以得到测试用例组,并基于上述测试用例组生成目标测试用例;Arrange the above multiple sub-test cases according to the function expression order of the above-mentioned functional nodes to be tested to obtain a test case group, and generate a target test case based on the above-mentioned test case group;
构建与上述目标页面的运行环境对应的目标测试场景,在上述目标测试场景下基于上述目标测试用例对上述目标页面上的待测试功能节点进行测试。A target test scenario corresponding to the operating environment of the target page is constructed, and the functional node to be tested on the target page is tested based on the target test case in the target test scenario.
在一些可行的实施方式中,上述处理器41还用于:In some feasible implementation manners, the foregoing
获取对上述目标页面上的待测试功能节点进行测试后的测试数据,并基于上述测试数据生成上述目标页面上的待测试功能节点对应的目标测试报告;Obtain test data after testing the functional node to be tested on the target page, and generate a target test report corresponding to the functional node to be tested on the target page based on the test data;
将上述目标测试报告存储至指定存储空间以得到备用测试报告,上述指定存储空间中还包括除去上述待测试功能节点之外的一个或者多个其他待测试功能节点的测试报告;Store the target test report in a designated storage space to obtain a backup test report, and the designated storage space also includes test reports of one or more other functional nodes to be tested except for the functional node to be tested;
当基于显示设备显示和/或查询上述任一待测试功能节点对应的测试报告时,从上述备用测试报告中获取上述任一待测试功能节点对应的测试报告并将上述任一待测试功能节点对应的测试报告输出至上述显示设备。When displaying and/or querying the test report corresponding to any one of the above-mentioned functional nodes to be tested based on the display device, the test report corresponding to any one of the above-mentioned functional nodes to be tested is obtained from the above-mentioned standby test report and corresponds to any of the above-mentioned functional nodes The test report is output to the above display device.
在一些可行的实施方式中,上述处理器41用于:In some feasible implementation manners, the
对上述语音信息进行解析,得到与目标页面上的待测试功能节点相关的目标语音信息;Analyze the above voice information to obtain target voice information related to the functional node to be tested on the target page;
将上述目标语音信息转化为文本信息。Convert the above target voice information into text information.
在一些可行的实施方式中,上述测试用例特征库中包含子场景关键词集合;上述处理器41用于:In some feasible implementation manners, the above-mentioned test case feature library includes a set of sub-scenario keywords; the above-mentioned
将上述子场景关键词集合与上述各个测试关键词进行匹配,得到多个子场景关键词;Match the above-mentioned sub-scene keyword set with each of the above-mentioned test keywords to obtain multiple sub-scene keywords;
基于上述多个子场景关键词和上述目标页面构建出目标测试场景。A target test scenario is constructed based on the multiple sub-scene keywords and the target page.
应当理解,在一些可行的实施方式中,上述处理器41可以是中央处理单元(central processing unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field-programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in some feasible implementation manners, the
该存储器42可以包括只读存储器和随机存取存储器,并向处理器41提供指令和数据。存储器42的一部分还可以包括非易失性随机存取存储器。例如,存储器42还可以存储设备类型的信息。The
具体实现中,上述终端设备可通过其内置的各个功能模块执行如上述图1至图2中各个步骤所提供的实现方式,具体可参见上述各个步骤所提供的实现方式,在此不再赘述。In specific implementation, the above-mentioned terminal device can execute the implementation manners provided in the steps in Figures 1 to 2 through its built-in functional modules. For details, refer to the implementation manners provided in the above-mentioned steps, which will not be repeated here.
本申请实施例可基于用户输入的语音信息直接确定目标页面和待测试功能节点,并快速生成目标测试用例和目标测试场景对目标页面上的待测试功能节点进行功能测试,实现在无人支持的情况下对页面功能进行快速测试。The embodiment of this application can directly determine the target page and the functional node to be tested based on the voice information input by the user, and quickly generate the target test case and target test scenario to perform the functional test on the functional node to be tested on the target page. Under the circumstances, the page function is quickly tested.
本申请实施例还提供一种计算机非易失性可读存储介质,该计算机非易失性可读存储介质存储有计算机程序,该计算机程序被处理器执行以实现图1至图2中各个步骤所提供的方法,具体可参见上述各个步骤所提供的实现方式,在此不再赘述。The embodiment of the present application also provides a computer non-volatile readable storage medium, the computer non-volatile readable storage medium stores a computer program, and the computer program is executed by a processor to implement each step in FIGS. 1 to 2 For the provided method, please refer to the implementation manner provided in the above steps for details, which will not be repeated here.
上述计算机非易失性可读存储介质可以是前述任一实施例提供的任务处理装置或者上述终端设备的内部存储单元,例如电子设备的硬盘或内存。该计算机非易失性可读存储介质也可以是该电子设备的外部存储设备,例如该电子设备上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字 (secure digital,SD)卡,闪存卡(flash card)等。上述计算机非易失性可读存储介质还可以包括磁碟、光盘、只读存储记忆体(read-only memory,ROM)或随机存储记忆体(random access memory,RAM)等。进一步地,该计算机非易失性可读存储介质还可以既包括该电子设备的内部存储单元也包括外部存储设备。该计算机非易失性可读存储介质用于存储该计算机程序以及该电子设备所需的其他程序和数据。该计算机非易失性可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。The foregoing computer non-volatile readable storage medium may be the task processing apparatus provided in any of the foregoing embodiments or the internal storage unit of the foregoing terminal device, such as a hard disk or memory of an electronic device. The computer's non-volatile readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (smart media card) equipped on the electronic device. SD card, flash card, etc. The above-mentioned computer non-volatile readable storage medium may also include a magnetic disk, an optical disk, a read-only memory (read-only memory, ROM), or a random access memory (random access memory, RAM). Further, the computer non-volatile readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer non-volatile readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer non-volatile readable storage medium can also be used to temporarily store data that has been output or will be output.
本申请的权利要求书和说明书及附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置展示该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。The terms "first" and "second" in the claims, specification and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The display of the phrase in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments. The term "and/or" used in the specification of this application and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two, in order to clearly illustrate the hardware and software Interchangeability. In the above description, the composition and steps of each example have been generally described in terms of function. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above-disclosed are only the preferred embodiments of the application, which of course cannot be used to limit the scope of rights of the application. Therefore, equivalent changes made according to the claims of the application still fall within the scope of the application.
Claims (20)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910421957.6 | 2019-05-21 | ||
| CN201910421957.6A CN110221969A (en) | 2019-05-21 | 2019-05-21 | A kind of page function test method and relevant apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020233034A1 true WO2020233034A1 (en) | 2020-11-26 |
Family
ID=67821466
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/120086 Ceased WO2020233034A1 (en) | 2019-05-21 | 2019-11-22 | Page function testing method and related device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110221969A (en) |
| WO (1) | WO2020233034A1 (en) |
Cited By (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112597012A (en) * | 2020-12-16 | 2021-04-02 | 百度在线网络技术(北京)有限公司 | Traversal method and device of application program, electronic equipment and storage medium |
| CN112732585A (en) * | 2021-01-19 | 2021-04-30 | 北京三快在线科技有限公司 | Simulation test method and device |
| CN113434410A (en) * | 2021-06-25 | 2021-09-24 | 青岛海尔科技有限公司 | Data testing method and device, storage medium and electronic device |
| CN113434405A (en) * | 2021-06-24 | 2021-09-24 | 青岛海尔科技有限公司 | Method and device for determining test file, storage medium and electronic device |
| CN113626321A (en) * | 2021-07-29 | 2021-11-09 | 北京达佳互联信息技术有限公司 | Bridging test method, device, system and storage medium |
| CN113656320A (en) * | 2021-08-26 | 2021-11-16 | 国网电子商务有限公司 | Test case generation method and device |
| CN114281688A (en) * | 2021-12-20 | 2022-04-05 | 神策网络科技(北京)有限公司 | Codeless or low-code automatic case management method and device |
| CN114647590A (en) * | 2022-04-02 | 2022-06-21 | 未鲲(上海)科技服务有限公司 | Test case generation method and related device |
| CN114911994A (en) * | 2022-04-22 | 2022-08-16 | 惠州Tcl移动通信有限公司 | Database-based data matching method, device, medium and device |
| CN116304399A (en) * | 2023-05-19 | 2023-06-23 | 建信金融科技有限责任公司 | Visual processing method, device and system for test cases |
| CN116594916A (en) * | 2023-07-17 | 2023-08-15 | 腾讯科技(深圳)有限公司 | Page control positioning method, device and storage medium |
| CN116860630A (en) * | 2023-07-05 | 2023-10-10 | 珠海视熙科技有限公司 | Equipment testing method and device, storage medium and computer equipment |
| CN117573525A (en) * | 2023-11-14 | 2024-02-20 | 深圳市君时达科技有限公司 | Cash register testing method and device, cash register and storage medium |
| CN118796684A (en) * | 2024-06-17 | 2024-10-18 | 南京国电南自软件工程有限公司 | Method and system for automatically generating test cases for relay protection devices |
| CN119645833A (en) * | 2024-11-05 | 2025-03-18 | 平安银行股份有限公司 | Method and device for generating test cases, computer equipment and storage medium |
| CN119829469A (en) * | 2025-03-19 | 2025-04-15 | 山东云海国创云计算装备产业创新中心有限公司 | Firmware testing method, electronic device, storage medium and program product |
Families Citing this family (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110221969A (en) * | 2019-05-21 | 2019-09-10 | 深圳壹账通智能科技有限公司 | A kind of page function test method and relevant apparatus |
| CN111782524B (en) * | 2020-06-29 | 2024-06-18 | 京东科技控股股份有限公司 | Application testing method and device, storage medium and electronic device |
| CN112214397B (en) * | 2020-09-09 | 2022-05-20 | 腾讯科技(深圳)有限公司 | User interface test method and device, computer equipment and storage medium |
| CN112199285B (en) * | 2020-10-12 | 2023-08-01 | 中国农业银行股份有限公司 | Test case optimization method and device and electronic equipment |
| CN112420019B (en) * | 2020-11-18 | 2023-02-03 | 青岛海尔科技有限公司 | Equipment testing method and device |
| CN112559370A (en) * | 2020-12-23 | 2021-03-26 | 平安普惠企业管理有限公司 | Front-end-based React project unit testing method and related equipment |
| CN112579466B (en) * | 2020-12-25 | 2024-06-07 | 深圳证券交易所 | Method and device for generating test cases and computer readable storage medium |
| CN112597034A (en) * | 2020-12-25 | 2021-04-02 | 深圳证券交易所 | Test case generation method and device and computer readable storage medium |
| CN112884441A (en) * | 2021-03-02 | 2021-06-01 | 岭东核电有限公司 | Test result recording method and device, computer equipment and storage medium |
| CN112597066B (en) * | 2021-03-03 | 2021-05-18 | 浙江口碑网络技术有限公司 | Page testing method and device |
| CN112597065B (en) * | 2021-03-03 | 2021-05-18 | 浙江口碑网络技术有限公司 | Page testing method and device |
| CN113806230A (en) * | 2021-09-28 | 2021-12-17 | 上海复深蓝软件股份有限公司 | Software testing method, device, equipment and medium based on case voice |
| CN115878447A (en) * | 2021-09-29 | 2023-03-31 | 北京小米移动软件有限公司 | Automatic testing method and device, server and storage medium |
| CN114048144A (en) * | 2021-11-24 | 2022-02-15 | 瀚云科技有限公司 | Method, device, computer equipment and medium for constructing program |
| CN114817036B (en) * | 2022-04-26 | 2026-01-23 | 京东科技控股股份有限公司 | Decision tree testing method, device, electronic equipment and storage medium |
| CN114900632A (en) * | 2022-05-11 | 2022-08-12 | 深圳创维-Rgb电子有限公司 | Test question submitting method, system, equipment and computer readable storage medium |
| CN119357067B (en) * | 2024-12-25 | 2025-05-06 | 江西博微新技术有限公司 | Automatic test method and system |
| CN120849298B (en) * | 2025-09-23 | 2025-12-05 | 山东泽鹿安全技术有限公司 | A method, equipment, and medium for remote testing of vehicle-mounted systems in different locations. |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017070174A1 (en) * | 2015-10-21 | 2017-04-27 | Ebay Inc. | Creating an item publication |
| CN107957957A (en) * | 2017-12-28 | 2018-04-24 | 网易(杭州)网络有限公司 | The acquisition methods and device of test case |
| CN109815147A (en) * | 2019-01-21 | 2019-05-28 | 深圳乐信软件技术有限公司 | Test case generation method, apparatus, server and medium |
| CN110221969A (en) * | 2019-05-21 | 2019-09-10 | 深圳壹账通智能科技有限公司 | A kind of page function test method and relevant apparatus |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10692492B2 (en) * | 2017-09-29 | 2020-06-23 | Intel IP Corporation | Techniques for client-side speech domain detection using gyroscopic data and a system using the same |
| CN108399131A (en) * | 2018-03-13 | 2018-08-14 | 百度在线网络技术(北京)有限公司 | Automatic test cases generation method and device |
| CN108959087A (en) * | 2018-06-29 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | test method and device |
-
2019
- 2019-05-21 CN CN201910421957.6A patent/CN110221969A/en active Pending
- 2019-11-22 WO PCT/CN2019/120086 patent/WO2020233034A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017070174A1 (en) * | 2015-10-21 | 2017-04-27 | Ebay Inc. | Creating an item publication |
| CN107957957A (en) * | 2017-12-28 | 2018-04-24 | 网易(杭州)网络有限公司 | The acquisition methods and device of test case |
| CN109815147A (en) * | 2019-01-21 | 2019-05-28 | 深圳乐信软件技术有限公司 | Test case generation method, apparatus, server and medium |
| CN110221969A (en) * | 2019-05-21 | 2019-09-10 | 深圳壹账通智能科技有限公司 | A kind of page function test method and relevant apparatus |
Cited By (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112597012A (en) * | 2020-12-16 | 2021-04-02 | 百度在线网络技术(北京)有限公司 | Traversal method and device of application program, electronic equipment and storage medium |
| CN112732585A (en) * | 2021-01-19 | 2021-04-30 | 北京三快在线科技有限公司 | Simulation test method and device |
| CN113434405A (en) * | 2021-06-24 | 2021-09-24 | 青岛海尔科技有限公司 | Method and device for determining test file, storage medium and electronic device |
| CN113434405B (en) * | 2021-06-24 | 2023-06-13 | 青岛海尔科技有限公司 | Method and device for determining test file, storage medium and electronic device |
| CN113434410A (en) * | 2021-06-25 | 2021-09-24 | 青岛海尔科技有限公司 | Data testing method and device, storage medium and electronic device |
| CN113626321B (en) * | 2021-07-29 | 2024-03-19 | 北京达佳互联信息技术有限公司 | Bridging test method, device, system and storage medium |
| CN113626321A (en) * | 2021-07-29 | 2021-11-09 | 北京达佳互联信息技术有限公司 | Bridging test method, device, system and storage medium |
| CN113656320A (en) * | 2021-08-26 | 2021-11-16 | 国网电子商务有限公司 | Test case generation method and device |
| CN114281688A (en) * | 2021-12-20 | 2022-04-05 | 神策网络科技(北京)有限公司 | Codeless or low-code automatic case management method and device |
| CN114647590A (en) * | 2022-04-02 | 2022-06-21 | 未鲲(上海)科技服务有限公司 | Test case generation method and related device |
| CN114911994A (en) * | 2022-04-22 | 2022-08-16 | 惠州Tcl移动通信有限公司 | Database-based data matching method, device, medium and device |
| CN116304399A (en) * | 2023-05-19 | 2023-06-23 | 建信金融科技有限责任公司 | Visual processing method, device and system for test cases |
| CN116304399B (en) * | 2023-05-19 | 2023-08-11 | 建信金融科技有限责任公司 | Visual processing method, device and system for test cases |
| CN116860630A (en) * | 2023-07-05 | 2023-10-10 | 珠海视熙科技有限公司 | Equipment testing method and device, storage medium and computer equipment |
| CN116594916A (en) * | 2023-07-17 | 2023-08-15 | 腾讯科技(深圳)有限公司 | Page control positioning method, device and storage medium |
| CN116594916B (en) * | 2023-07-17 | 2023-11-14 | 腾讯科技(深圳)有限公司 | Page control positioning method, device and storage medium |
| CN117573525A (en) * | 2023-11-14 | 2024-02-20 | 深圳市君时达科技有限公司 | Cash register testing method and device, cash register and storage medium |
| CN118796684A (en) * | 2024-06-17 | 2024-10-18 | 南京国电南自软件工程有限公司 | Method and system for automatically generating test cases for relay protection devices |
| CN119645833A (en) * | 2024-11-05 | 2025-03-18 | 平安银行股份有限公司 | Method and device for generating test cases, computer equipment and storage medium |
| CN119829469A (en) * | 2025-03-19 | 2025-04-15 | 山东云海国创云计算装备产业创新中心有限公司 | Firmware testing method, electronic device, storage medium and program product |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110221969A (en) | 2019-09-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020233034A1 (en) | Page function testing method and related device | |
| CN110018955B (en) | Generating automated test scripts by transforming manual test cases | |
| US10705942B1 (en) | Simulated testing of API | |
| CN109933752B (en) | A method and device for exporting electronic documents | |
| CN114741070B (en) | Code generation method, device, electronic equipment and storage medium | |
| CN111954864B (en) | Automated presentation control | |
| WO2021184725A1 (en) | User interface test method and apparatus, storage medium, and computer device | |
| CN111552633A (en) | Interface exception call testing method, device, computer equipment and storage medium | |
| WO2021217911A1 (en) | Method and apparatus for constructing service website project, and computer device and storage medium | |
| US20190065624A1 (en) | Method and device for obtaining answer, and computer device | |
| CN114327374A (en) | Business process generation method, device and computer equipment | |
| US20230325395A1 (en) | Intelligently Identifying and Grouping Relevant Files and Providing an Event Representation for Files | |
| US11797430B2 (en) | Configuration-driven data conversion and hosting for software development systems and methods | |
| CN103984626A (en) | Method and device for generating test-case script | |
| CN112882937A (en) | Test case processing method and device, computer equipment and storage medium | |
| CN108073429A (en) | A kind of means of payment collocation method, device, equipment and storage medium | |
| CN107111649A (en) | User and system data are uploaded into destination locations from source position | |
| CN113051183B (en) | A test data recommendation method, system, electronic device and storage medium | |
| CN114706960B (en) | File information checking method based on cloud computing and file checking terminal | |
| CN116881166A (en) | Method, device and system for generating test script | |
| CN110895924B (en) | Method and device for reading document content aloud, electronic equipment and readable storage medium | |
| WO2024001594A1 (en) | Operator development method and apparatus, operator processing method and apparatus, and electronic device, system and storage medium | |
| WO2023115831A1 (en) | Application testing method and apparatus, electronic device and storage medium | |
| CN107341237A (en) | Method and apparatus for processing information | |
| CN113721822A (en) | Label display method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19929981 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 040322) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19929981 Country of ref document: EP Kind code of ref document: A1 |