CN109271323A - Processing method, device, test equipment and the storage medium of page elements - Google Patents

Processing method, device, test equipment and the storage medium of page elements Download PDF

Info

Publication number
CN109271323A
CN109271323A CN201811179954.8A CN201811179954A CN109271323A CN 109271323 A CN109271323 A CN 109271323A CN 201811179954 A CN201811179954 A CN 201811179954A CN 109271323 A CN109271323 A CN 109271323A
Authority
CN
China
Prior art keywords
page
page element
elements
page elements
class
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811179954.8A
Other languages
Chinese (zh)
Other versions
CN109271323B (en
Inventor
张卫滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Neusoft Corp
Original Assignee
Neusoft Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neusoft Corp filed Critical Neusoft Corp
Priority to CN201811179954.8A priority Critical patent/CN109271323B/en
Publication of CN109271323A publication Critical patent/CN109271323A/en
Application granted granted Critical
Publication of CN109271323B publication Critical patent/CN109271323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

Landscapes

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

Abstract

The embodiment of the present invention provides processing method, device, test equipment and the storage medium of a kind of page elements.The processing method of page elements of the invention, it include: at least one the first page element for obtaining the page to be measured, at least one second page element is determined according at least one described first page element and action type list, the test case of the page to be measured according at least one described second page Element generation.The embodiment of the present invention can promote the formation efficiency of test case.

Description

Processing method, device, test equipment and the storage medium of page elements
Technical field
The present embodiments relate to computer technology more particularly to a kind of processing method of page elements, device, tests to set Standby and storage medium.
Background technique
Automatic test can greatly promote the working efficiency of regression test, stability test and compatibility test, Ensure product quality and it is lasting in terms of play very important effect.
With the development of communication technology, terminal is integrated with various functions, so that the system function of terminal arranges More and more corresponding application programs (Application, APP) are contained in table.Application program can be related to some pages, these The page may include by one or more page-tags, i.e., hypertext markup language (Hyper Text Makeup Language, HTML) a display block of label composition, referred to as page elements, for example, text, label, hyperlink, button, input frame, under Draw frame etc..When testing the user interface (UI) of application program, usual test equipment can according to operating system (Android or IOS) the interface provided, obtains the element structure tree of the page of application program, generates test case according to the element structure tree.
However, the element structure tree includes all page elements, test case is generated according to all page elements, will lead to Aiming at the problem that Test cases technology low efficiency of the UI.
Summary of the invention
The embodiment of the present invention provides processing method, device, test equipment and the storage medium of a kind of page elements, to be promoted The formation efficiency of test case.
In a first aspect, the embodiment of the present invention provides a kind of processing method of page elements, comprising:
Obtain at least one first page element of the page to be measured;
At least one second page element, institute are determined according at least one described first page element and action type list State the subset that at least one second page element is at least one first page element, and the class of each second page element Type is type included by the action type list;
The test case of the page to be measured according at least one described second page Element generation.
With reference to first aspect, in a kind of possible implementation of first aspect, it is described according at least one Two page elements generate the test case of the page to be measured, comprising:
The label of each second page element is generated, the label is for highlighting corresponding second page element;
The program instruction of user's input is obtained, described program instruction is raw based on highlighted each second page element At;
According to the test case of described program instruction and the page to be measured described at least one described second page Element generation.
With reference to first aspect or a kind of possible implementation of first aspect, in the alternatively possible reality of first aspect In existing mode, the action type list includes list selection class, text input class, button class and view class.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the view class includes picture view class and text view class, described at least one first page according to Element and action type list determine at least one second page element, comprising:
At least one page member to be processed is determined according at least one described first page element and action type list Element;
When, there are when the page elements of picture view class, obtaining the figure at least one described page elements to be processed The size of the page elements of piece view class;
It is determined according to the size of the page elements of the picture view class and at least one described page elements to be processed At least one second page element.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the size of the page elements according to the picture view class and at least one described page member to be processed Element determines at least one second page element, comprising:
When the size of the page elements of the picture view class meets at least one of the following conditions, the picture is regarded The page elements of figure class are filtered out from least one described page elements to be processed, obtain at least one second page element;
The condition includes: the ratio of the height of the page elements of the picture view class Yu the height of the page to be measured Greater than the first preset threshold;The area of the page elements of the picture view class and the ratio of the area of the page to be measured are greater than Second preset threshold.
With reference to first aspect or any possible implementation of first aspect, in the alternatively possible of first aspect In implementation, the method also includes:
Receive the selection operation instruction of user's input;
It is instructed in response to the selection operation, instructs corresponding page elements to be determined as described second the selection operation Page elements.
Second aspect, the embodiment of the present invention provide a kind of processing unit of page elements, comprising:
Module is obtained, for obtaining at least one first page element of the page to be measured;
Processing module, for according at least one described first page element and action type list determine at least one the Two page elements, at least one described second page element are the subset of at least one first page element, and each the The type of two page elements is type included by the action type list;
The processing module is also used to the test of the page to be measured according at least one described second page Element generation Use-case.
In conjunction with second aspect, in a kind of possible implementation of second aspect, the processing module is used for:
The label of each second page element is generated, the label is for highlighting corresponding second page element;
The program instruction of user's input is obtained, described program instruction is raw based on highlighted each second page element At;
According to the test case of described program instruction and the page to be measured described at least one described second page Element generation.
In conjunction with a kind of possible implementation of second aspect or second aspect, in the alternatively possible reality of second aspect In existing mode, the action type includes list selection domain class, tA entry field class, button class and view class.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the view class includes picture view class and text view class, and the processing module is used for:
At least one page member to be processed is determined according at least one described first page element and action type list Element;
When, there are when the page elements of picture view class, obtaining the figure at least one described page elements to be processed The size of the page elements of piece view class;
It is determined according to the size of the page elements of the picture view class and at least one described page elements to be processed At least one second page element.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the processing module is used for:
When the size of the page elements of the picture view class meets at least one of the following conditions, the picture is regarded The page elements of figure class are filtered out from least one described page elements to be processed, obtain at least one second page element;
The condition includes: the ratio of the height of the page elements of the picture view class Yu the height of the page to be measured Greater than the first preset threshold;The area of the page elements of the picture view class and the ratio of the area of the page to be measured are greater than Second preset threshold.
In conjunction with any possible implementation of second aspect or second aspect, in the alternatively possible of second aspect In implementation, the processing module is also used to:
Receive the selection operation instruction of user's input;
It is instructed in response to the selection operation, instructs corresponding page elements to be determined as described second the selection operation Page elements.
The third aspect, the embodiment of the present invention provide a kind of test equipment, the test equipment include: processor, memory, Transceiver;For the transceiver couples to the processor, the processor controls the transmitting-receiving movement of the transceiver;
Wherein, the memory includes instruction for storing computer executable program code, said program code;Work as institute When stating processor execution described instruction, described instruction makes the test equipment execute any of such as first aspect or first aspect Method described in possible implementation.
Fourth aspect, the embodiment of the present invention provide a kind of computer storage medium, are stored thereon with computer program or refer to It enables, which is characterized in that when the computer program or instruction are executed by processor or computer, realize such as first aspect or the Method described in any possible implementation of one side.
Processing method, device, test equipment and the storage medium of the page elements of the embodiment of the present invention, it is to be measured by obtaining At least one first page element of the page determines at least according at least one described first page element and action type list One second page element, the test case of the page to be measured according at least one described second page Element generation are realized The page elements for belonging to action type are filtered out, tester is needed to screen out in all page elements compared to the prior art The page elements of action type can promote the formation efficiency of test case.
Detailed description of the invention
A brief description of the drawings needed to be used in the description of the embodiments or the prior art will be given below.
Fig. 1 is the flow chart of the processing method embodiment one of page elements of the invention;
Fig. 2 is the flow chart of the processing method embodiment two of page elements of the invention;
Fig. 3 is the flow chart of the processing method embodiment three of page elements of the invention;
Fig. 4 is the structural schematic diagram of the processing device embodiment one of page elements of the invention;
Fig. 5 is the structural schematic diagram of test equipment embodiment one of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
The processing method of the page elements of the embodiment of the present invention can be applied in test equipment, to answer various functions It is tested with the user interface (UI) of program.The processing method of the page elements of the embodiment of the present invention can effectively filter out category In the page elements of action type, tester is needed to screen out action type in all page elements compared to the prior art Page elements, the formation efficiency of test case can be promoted.
" page elements " involved in this paper refer specifically in user interface (UI) included various elements, such as text is defeated Enter frame, list choice box, select button, picture, layout container etc..
Various elements included in the user interface (UI) oriented by localization method are known as " first page herein The processing method of page elements through this embodiment is filtered the first page element, the filtering of acquisition by surface element " Page elements afterwards are referred to as " second page element ".
Wherein, which includes searching page elements by ID, page elements being searched by Name, are passed through TagName searches page elements, searches any one of page elements or combinations thereof by ClassName.It will be understood , localization method can also include the method that other search page elements, different one illustrate herein.
The processing method of the page elements of the embodiment of the present invention specifically may refer to the explanation of following embodiments.
Fig. 1 is the flow chart of the processing method embodiment one of page elements of the invention, and the executing subject of the present embodiment can To be the processing unit of page elements, which can be the inside chip of test equipment or test equipment, such as Fig. 1 institute Show, the method for the present embodiment may include:
Step 101, at least one the first page element for obtaining the page to be measured.
Wherein, the page to be measured can be the User Page of any application program.Specifically, can be fixed by any of the above-described kind Position method orients each first page element included in the page to be measured, as Text Entry, list choice box, selection are pressed Button, picture etc..
Step 102 determines at least one second page according at least one described first page element and action type list Surface element.
Wherein, which includes various action types, for example including text input class, list selection class, choosing The types such as button class, view class are selected, the page elements for belonging to action type can also include other concrete types, and the present invention is implemented Example different one illustrates.The first page element that step 101 obtains is filtered using the action type list, is filtered out The page elements of not operation type therein determine at least one second page element, which is The subset of at least one first page element, and the type of each second page element is wrapped by the action type list The type included.
For example, the page of the not operations types such as the layout container in first page element can be filtered out by step 102 Surface element determines second page element from first page element.
The test case of step 103, the page to be measured according at least one described second page Element generation.
Specifically, can according to the test case for the second page Element generation page to be tested for belonging to action type, with The test page is tested.
Optionally, each second page element of the page to be tested can also be marked, and shows tester Member.The specific implementation of the label can carry out flexible setting according to demand, for example, using indicia framing to each second page Element is marked.
A kind of achievable mode of above-mentioned steps 103 generates the label of each second page element, and the label is for protruding It shows corresponding second page element, obtains the program instruction of user's input, which is based on highlighted each Second page Element generation, according to the test of the program instruction and this at least one second page Element generation page to be measured Use-case.
The present embodiment, by obtaining at least one first page element of the page to be measured, according to it is described at least one first Page elements and action type list determine at least one second page element, raw according at least one described second page element At the test case of the page to be measured, realization filters out the page elements for belonging to action type, needs compared to the prior art Tester screens out the page elements of action type in all page elements, can promote the formation efficiency of test case.
Several specific embodiments are used below, and the technical solution of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 2 is the flow chart of the processing method embodiment two of page elements of the invention, and view class may include picture view Figure class and text view class, wherein the page elements for belonging to picture view class will include the page elements of background picture, this implementation Example on the basis of the above embodiments, can further filter out the page elements of background picture, as shown in Fig. 2, the present embodiment Method may include:
Step 201, at least one the first page element for obtaining the page to be measured.
Wherein, the specific explanations of step 201 illustrate the step 101 that may refer to embodiment illustrated in fig. 1, no longer superfluous herein It states.
Step 202 determines that at least one is to be processed according at least one described first page element and action type list Page elements.
Wherein, the specific explanations explanation of the action type list may refer to embodiment illustrated in fig. 1, and details are not described herein again. At least one first page element is filtered using action type list, filters out the page member of not operation type therein Element determines at least one page elements to be processed.By following step to this at least one page elements to be processed do into One step filtration treatment, to determine second page element.
Step 203, when, there are when the page elements of picture view class, being obtained at least one described page elements to be processed Take the size of the page elements of the picture view class.
Specifically, 202 determining at least one page elements to be processed for belonging to action type through the above steps, pass through Step 203, the page elements of the picture view class at least one page elements to be processed are determined.The picture view class Page elements can have the page elements of background picture, the size of the page elements by obtaining the picture view class, to background The page elements of picture are filtered out.
Wherein, which can be height, area etc., can carry out flexible setting according to demand.
Step 204, the size according to the page elements of the picture view class and at least one described page to be processed Element determines at least one second page element.
Wherein, the size of the page elements of background picture would generally be larger, can be by larger-size picture view class Page elements are determined as the page elements of background picture, and filter out to it, determine at least one second page element.
A kind of achievable mode of above-mentioned steps 204 are as follows: when the picture view class page elements size meet with When at least one of lower condition, by the page elements of the picture view class from least one described page elements to be processed It filters out, obtains at least one second page element.The condition includes: height and the institute of the page elements of the picture view class The ratio for stating the height of the page to be measured is greater than the first preset threshold;The area of the page elements of the picture view class and it is described to The ratio for surveying the area of the page is greater than the second preset threshold.
Wherein, the first preset threshold can be the 50% of the height of the page to be tested, and the second preset threshold can be this The 40% of the area of the page to be tested.It will be understood, be also possible to other specific values, different one illustrate herein It is bright.
The test case of step 205, the page to be measured according at least one described second page Element generation.
The page elements that background picture can be further filtered out through the above steps obtain at least one second page face element Element, the test case of the page to be measured according at least one second page Element generation.
The present embodiment, by obtaining at least one first page element of the page to be measured, according to it is described at least one first Page elements and action type list determine at least one page elements to be processed, when at least one described page to be processed There are when the page elements of picture view class in element, the size of the page elements of the picture view class is obtained, according to described The size of the page elements of picture view class and at least one described page elements to be processed determine at least one second page Element, the test case of the page to be measured according at least one described second page Element generation, realization, which filters out, belongs to behaviour Make the page elements of type, tester is needed to screen out the page of action type in all page elements compared to the prior art Surface element can promote the formation efficiency of test case.
The page elements of the background picture in page elements by filtering out picture view class, can further promote test The formation efficiency of use-case.
Fig. 3 is the flow chart of the processing method embodiment three of page elements of the invention, as shown in figure 3, the present embodiment exists On the basis of above-described embodiment, it can also be instructed according to the selection operation of tester, determine second page element, the present embodiment Method may include:
Step 301, the selection operation instruction for receiving user's input.
Specifically, selection operation instruction can be the input/output such as user's operation mouse, keyboard, touching display screen and set Standby instruction generated.The user can be tester.
Step 302 is instructed in response to the selection operation, instructs corresponding page elements to be determined as the selection operation The second page element.
The step of second page element of this paper can be through the foregoing embodiment is determined, and can also pass through embodiment Step 301 receives the selection operation instruction of user's input, is instructed according to the selection operation and determines second page element.
For example, the page elements that user can treat test page are clicked, in response to the clicking operation, by this Page elements are determined as second page element, and indicia framing can be used and highlight to the second page element.
The present embodiment, by obtaining at least one first page element of the page to be measured, according to it is described at least one first Page elements and action type list determine at least one second page element, raw according at least one described second page element At the test case of the page to be measured, realization filters out the page elements for belonging to action type, needs compared to the prior art Tester screens out the page elements of action type in all page elements, can promote the formation efficiency of test case.
By receiving the selection operation instruction of user's input, instructed in response to the selection operation, by the selection operation It instructs corresponding page elements to be determined as the second page element, realizes the determination for promoting the page elements for belonging to action type Flexibility.
Fig. 4 is the structural schematic diagram of the processing device embodiment one of page elements of the invention, as shown in figure 4, this implementation The device of example may include: to obtain module 11 and processing module 12, wherein obtain module 11 for obtaining the page to be measured at least One first page element, processing module 12 are used to be determined according at least one described first page element and action type list At least one second page element, at least one described second page element are the son of at least one first page element Collection, and the type of each second page element is type included by the action type list, the processing module 12 is also used In the test case of the page to be measured according at least one described second page Element generation.
Optionally, the processing module 12 is used for: generating the label of each second page element, the label is for protruding Show corresponding second page element;The program instruction of user's input is obtained, described program instruction is based on highlighted each A second page Element generation;According to page to be measured described in described program instruction and at least one described second page Element generation The test case in face.
Optionally, the action type includes list selection domain class, tA entry field class, button class and view class.
Optionally, the view class includes picture view class and text view class, and the processing module 12 is used for: according to institute It states at least one first page element and action type list determines at least one page elements to be processed;When described at least one There are when the page elements of picture view class in a page elements to be processed, the page elements of the picture view class are obtained Size;It is determined at least according to the size of the page elements of the picture view class and at least one described page elements to be processed One second page element.
Optionally, the processing module 12 is used for: when the size of the page elements of the picture view class meets following item When at least one of part, the page elements of the picture view class are filtered from least one described page elements to be processed It removes, obtains at least one second page element;The condition include: the page elements of the picture view class height with it is described The ratio of the height of the page to be measured is greater than the first preset threshold;The area of the page elements of the picture view class with it is described to be measured The ratio of the area of the page is greater than the second preset threshold.
Optionally, the processing module 12 is also used to: receiving the selection operation instruction of user's input;In response to the selection The selection operation is instructed corresponding page elements to be determined as the second page element by operational order.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 5 is the structural schematic diagram of test equipment embodiment one of the invention, as shown in figure 5, the test of the present embodiment is set It is standby, comprising: processor 211, memory 212, transceiver 213 and bus 214.Wherein, processor 211, memory 212 and receipts Hair device 213 is connected with each other by bus 214.Wherein, bus 214 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Above-mentioned bus 214 can be divided into address bus, data/address bus, control bus etc..For Convenient for indicating, only indicated with a thick line in Fig. 5, it is not intended that an only bus or a type of bus.
In hardware realization, each functional module shown in Fig. 4 can be embedded in the form of hardware or set independently of test In standby processor 211.
The transceiver 213 may include the necessary radio communication device such as frequency mixer.The processor 211 can wrap Include central processing unit (Central Processing Unit, CPU), digital signal processor (digital signal Processor, DSP), microcontroller (Microcontroller Unit, MCU), specific integrated circuit (Application Specific Integrated Circuit, ASIC) or field programmable gate array (Field-Programmable At least one of Gate Array, FPGA).
Memory 212 is for storing program instruction, and processor 211 is for calling the program instruction in memory 212 to execute Above scheme.
Described program instruction can be realized in the form of SFU software functional unit and can sell or make as independent product With the memory 212 can be any form of computer-readable storage medium.Based on this understanding, the application The all or part of technical solution can be embodied in the form of software products, including some instructions are used so that a calculating Machine equipment specifically can be processor 211, to execute all or part of the steps for testing terminal in each embodiment of the present invention. And computer readable storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), Random access memory (Random Access Memory, RAM), magnetic or disk etc. be various to can store program code Medium.
The present embodiment test noted above equipment can be used for executing the technical solution in above-mentioned each method embodiment, That the realization principle and technical effect are similar is similar for it, wherein the function of each device can be with reference to describing accordingly in embodiment of the method, this Place repeats no more.
The embodiment of the present invention also provides a kind of computer storage medium, comprising: computer instruction, the computer instruction are used In the processing method for realizing page elements as mentioned.Its content and effect can refer to method part, and the embodiment of the present invention is to this It repeats no more.
The embodiment of the present invention also provides a kind of computer program product, comprising: computer instruction, the computer instruction are used In the processing method for realizing page elements as mentioned.Its content and effect can refer to method part, and the embodiment of the present invention is to this It repeats no more.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of processing method of page elements characterized by comprising
Obtain at least one first page element of the page to be measured;
Determine at least one second page element according at least one described first page element and action type list, it is described extremely A few second page element is the subset of at least one first page element, and the type of each second page element is Type included by the action type list;
The test case of the page to be measured according at least one described second page Element generation.
2. the method according to claim 1, wherein described at least one second page Element generation according to The test case of the page to be measured, comprising:
The label of each second page element is generated, the label is for highlighting corresponding second page element;
The program instruction of user's input is obtained, described program instruction is based on highlighted each second page Element generation 's;
According to the test case of described program instruction and the page to be measured described at least one described second page Element generation.
3. method according to claim 1 or 2, which is characterized in that the action type list includes list selection class, text This input class, button class and view class.
4. according to the method described in claim 3, it is characterized in that, the view class includes picture view class and text view Class, at least one first page element and the action type list according to determine at least one second page element, packet It includes:
At least one page elements to be processed is determined according at least one described first page element and action type list;
When there are when the page elements of picture view class, obtain the picture view at least one described page elements to be processed The size of the page elements of figure class;
It is determined at least according to the size of the page elements of the picture view class and at least one described page elements to be processed One second page element.
5. according to the method described in claim 4, it is characterized in that, the ruler of the page elements according to the picture view class At least one very little and described page elements to be processed determine at least one second page element, comprising:
When the size of the page elements of the picture view class meets at least one of the following conditions, by the picture view class Page elements filtered out from least one described page elements to be processed, obtain at least one second page element;
The condition includes: that the ratio of the height and the height of the page to be measured of the page elements of the picture view class is greater than First preset threshold;The ratio of the area of the area of the page elements of the picture view class and the page to be measured is greater than second Preset threshold.
6. method according to claim 1 or 2, which is characterized in that the method also includes:
Receive the selection operation instruction of user's input;
It is instructed in response to the selection operation, instructs corresponding page elements to be determined as the second page selection operation Element.
7. a kind of processing unit of page elements characterized by comprising
Module is obtained, for obtaining at least one first page element of the page to be measured;
Processing module, for determining at least one second page according at least one described first page element and action type list Surface element, the subset of at least one described second page element at least one first page element for described in, and each second page The type of surface element is type included by the action type list;
The processing module, the test for being also used to the page to be measured according at least one described second page Element generation are used Example.
8. device according to claim 7, which is characterized in that the processing module is used for:
The label of each second page element is generated, the label is for highlighting corresponding second page element;
The program instruction of user's input is obtained, described program instruction is based on highlighted each second page Element generation 's;
According to the test case of described program instruction and the page to be measured described at least one described second page Element generation.
9. a kind of test equipment, which is characterized in that the test equipment includes: processor, memory, transceiver;The transmitting-receiving Device is coupled to the processor, and the processor controls the transmitting-receiving movement of the transceiver;
Wherein, the memory includes instruction for storing computer executable program code, said program code;When the place When managing device execution described instruction, described instruction makes the test equipment execute such as method as claimed in any one of claims 1 to 6.
10. a kind of computer storage medium is stored thereon with computer program or instruction, which is characterized in that when the computer When program or instruction are executed by processor or computer, such as method as claimed in any one of claims 1 to 6 is realized.
CN201811179954.8A 2018-10-10 2018-10-10 Page element processing method and device, test equipment and storage medium Active CN109271323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811179954.8A CN109271323B (en) 2018-10-10 2018-10-10 Page element processing method and device, test equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811179954.8A CN109271323B (en) 2018-10-10 2018-10-10 Page element processing method and device, test equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109271323A true CN109271323A (en) 2019-01-25
CN109271323B CN109271323B (en) 2022-03-15

Family

ID=65197024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811179954.8A Active CN109271323B (en) 2018-10-10 2018-10-10 Page element processing method and device, test equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109271323B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552826A (en) * 2020-05-06 2020-08-18 深圳市卡牛科技有限公司 Example picture generation method and device, computer equipment and storage medium
CN111913998A (en) * 2020-09-11 2020-11-10 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium
CN111949510A (en) * 2019-05-17 2020-11-17 百度在线网络技术(北京)有限公司 Test processing method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768641A (en) * 2012-06-15 2012-11-07 深圳中兴网信科技有限公司 Webpage testing factor selecting device and webpage testing factor selecting method
CN103019925A (en) * 2011-09-26 2013-04-03 阿里巴巴集团控股有限公司 Selector acquisition method and device
CN104699608A (en) * 2015-03-10 2015-06-10 于秀山 Automatic test method and device for graphic user interface software
CN105279092A (en) * 2015-11-20 2016-01-27 浪潮电子信息产业股份有限公司 Software testing method and apparatus
CN106874190A (en) * 2016-12-30 2017-06-20 上海亿账通互联网科技有限公司 The method of testing and server of user interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019925A (en) * 2011-09-26 2013-04-03 阿里巴巴集团控股有限公司 Selector acquisition method and device
CN102768641A (en) * 2012-06-15 2012-11-07 深圳中兴网信科技有限公司 Webpage testing factor selecting device and webpage testing factor selecting method
CN104699608A (en) * 2015-03-10 2015-06-10 于秀山 Automatic test method and device for graphic user interface software
CN105279092A (en) * 2015-11-20 2016-01-27 浪潮电子信息产业股份有限公司 Software testing method and apparatus
CN106874190A (en) * 2016-12-30 2017-06-20 上海亿账通互联网科技有限公司 The method of testing and server of user interface

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949510A (en) * 2019-05-17 2020-11-17 百度在线网络技术(北京)有限公司 Test processing method and device, electronic equipment and readable storage medium
CN111949510B (en) * 2019-05-17 2024-05-14 百度在线网络技术(北京)有限公司 Test processing method, device, electronic equipment and readable storage medium
CN111552826A (en) * 2020-05-06 2020-08-18 深圳市卡牛科技有限公司 Example picture generation method and device, computer equipment and storage medium
CN111552826B (en) * 2020-05-06 2023-09-29 深圳市卡牛科技有限公司 Example picture generation method and device, computer equipment and storage medium
CN111913998A (en) * 2020-09-11 2020-11-10 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium
CN111913998B (en) * 2020-09-11 2024-06-04 北京百度网讯科技有限公司 Data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109271323B (en) 2022-03-15

Similar Documents

Publication Publication Date Title
CN107133174A (en) Test case code automatically generating device and method
CN109271323A (en) Processing method, device, test equipment and the storage medium of page elements
CN105183592B (en) Method and apparatus for supporting performance evaluation
US8219922B2 (en) Dynamic point and extend user interface
CN104407779B (en) The arrangement display methods and device of graphical interfaces
WO2019144769A1 (en) Traffic switching method and apparatus, and computer device
CN103646090A (en) Application program recommendation method and optimization method and device for program starting speeds
CN110908915B (en) Test coverage rate display method and device and computer system
CN109960491A (en) Application program generation method, generating means, electronic equipment and storage medium
Kamimura et al. Towards generating human-oriented summaries of unit test cases
CN103019942A (en) Method and system for automatically testing applications to be tested based on android system
CN107943478A (en) A kind of exploitation of Web page application program and loading method, device, terminal and medium
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
CN104915297A (en) APP electricity consumption automatic test method for android device
CN105224465B (en) Webpage adjustment method and device
CN103559228B (en) The loading method and device of Shipping Options Page in browser
CN108663555A (en) A kind of the waveform searching method and digital oscilloscope of digital oscilloscope
CN104915228A (en) Application program language setting method and device
WO2016122508A1 (en) Test generation for browser-based user interface
CN103176903B (en) The test method and equipment of MapReduce distributed system program
CN103543359B (en) The implementation method of self-defined test function sequence in a kind of microwave measuring instrument
CN109389972B (en) Quality testing method and device for semantic cloud function, storage medium and equipment
EP2634693A1 (en) Method and apparatus for interacting with runnung software
CN107885442B (en) Information processing method and electronic device
CN116028310A (en) Performance analysis method and device for application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant