CN109656816A - Control recognition methods, device, equipment and storage medium - Google Patents

Control recognition methods, device, equipment and storage medium Download PDF

Info

Publication number
CN109656816A
CN109656816A CN201811472172.3A CN201811472172A CN109656816A CN 109656816 A CN109656816 A CN 109656816A CN 201811472172 A CN201811472172 A CN 201811472172A CN 109656816 A CN109656816 A CN 109656816A
Authority
CN
China
Prior art keywords
control object
control
load
current page
automatic test
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.)
Pending
Application number
CN201811472172.3A
Other languages
Chinese (zh)
Inventor
武楠竣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201811472172.3A priority Critical patent/CN109656816A/en
Publication of CN109656816A publication Critical patent/CN109656816A/en
Pending legal-status Critical Current

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/3688Test management for test execution, e.g. scheduling of test suites

Abstract

A kind of control recognition methods, device, equipment and storage medium provided by the invention, this method comprises: starting automatic test script, obtain the source program of current page, according to the source program of automatic test script and current page, it determines that current page needs control object to be loaded, and control object is searched by predefined regular expression, and load the control object, if control object load is complete and is operable state, corresponding operation is executed according to the type of control object.This programme efficiently solves the problems, such as that control object identifies unstable in the page, improves the success rate of control object identification, and then improves the testing efficiency of automatic test.

Description

Control recognition methods, device, equipment and storage medium
Technical field
The present invention relates to computer field more particularly to a kind of control recognition methods, device, equipment and storage mediums.
Background technique
Currently, the use of web application more multiplicity and side that is frequent, and being dissolved into people's life Aspect face, then also increasing for the workload of the test of application program.
In the prior art, for the test frame platform of one automation of building, web application to be used oneself is led Dynamicization testing tool is browser automated test frame (Selenium).Selenium test is run directly in browser, Just as real user in operation.The browser of support includes (7,8,9,10,11) IE, Mozilla Firefox, Safari, Google Chrome, Opera etc..
However, Selenium be not for the identification of IE page object it is very stable, when the server access pressure of system under test (SUT) When power or excessive pressure of handling up or when system is incomplete, access control object can be all caused to fail, even if control object goes out It is existing, can also exist since script identifies control not successfully, and object is prompted not find, so as to cause the test of automatic test Efficiency is lower.
Summary of the invention
The present invention provides a kind of control recognition methods, device, equipment and storage medium, is loaded in the prior art with overcoming The lower problem of the testing efficiency of automatic test caused by control object failure and failed identification control.
In a first aspect, a kind of control recognition methods provided in an embodiment of the present invention, comprising:
Start automatic test script, obtains the source program of current page;
According to the source program of the automatic test script and the current page, determine that current page needs control to be loaded Part object;
The control object is searched by predefined regular expression, and loads the control object;
If the control object load is completely, and the control object is operable state, then according to the control object Type execute corresponding operation.
In a kind of concrete implementation mode, the method also includes:
Determine whether to need current page the control object load to be loaded complete;
If the control object load is completely, judge whether the control object is operable state.
In another concrete implementation mode, the method also includes:
If the control object does not load completely, the control object is searched again through the regular expression, and Load the control object.
Further, it is described the method also includes:
If the control object is non-operable state, the control is searched again through predefined regular expression Object, and load the control object.
Optionally, the type of the control object includes: button, input frame, combobox, mouse, nest frame.
Specifically, described search the control object by predefined regular expression, and the control object is loaded, Include:
Control object described in identifier lookup by the control object, and load the control object;
Alternatively,
Identifier lookup by the control object includes the set of the control object, by traversing in the set All the elements search the control object, and load the control object.
It is described to judge whether the control object is operable state in a kind of concrete implementation mode, comprising:
Judge whether the control object is operable state by object practical method or object displaying method.
Second aspect, the embodiment of the present invention provide a kind of control identification device, comprising:
It obtains module and obtains the source program of current page for starting automatic test script;
Processing module determines current page for the source program according to the automatic test script and the current page Face needs control object to be loaded;
Loading module for searching the control object by predefined regular expression, and loads the control pair As;
If the processing module is also used to the control object load completely, and the control object is operable state, Corresponding operation is then executed according to the type of the control object.
The third aspect, the embodiment of the present invention provide a kind of terminal device, comprising: memory, processor and computer journey Sequence, in the memory, the processor runs the computer program and executes first aspect for the computer program storage Described in any item control recognition methods.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, comprising: readable storage medium storing program for executing and computer program, The computer program is for realizing the described in any item control recognition methods of first aspect.
A kind of control recognition methods, device, equipment and storage medium provided in an embodiment of the present invention.It is automatic by starting Change test script, obtain the source program of current page, according to the source program of automatic test script and current page, determines current The page needs control object to be loaded, and searches control object by predefined regular expression, and load the control object, If control object load is complete and is operable state, corresponding operation is executed according to the type of control object.This programme It efficiently solves the problems, such as that control object identifies unstable in the page, improves the success rate of control object identification, and then improve The testing efficiency of automatic test.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is identification basic procedure schematic diagram of the Selenium for IE page control object;
Fig. 2 is a kind of flow diagram of control recognition methods embodiment one provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of control recognition methods embodiment two provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of control recognition methods embodiment three provided in an embodiment of the present invention;
Fig. 5 is a kind of source program schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of control object provided in an embodiment of the present invention;
Fig. 7 is the schematic diagram that a kind of page provided in an embodiment of the present invention logs in;
Fig. 8 is a kind of schematic diagram on menu on the left side column provided in an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram one for inputting information provided in an embodiment of the present invention;
Figure 10 is a kind of schematic diagram two for inputting information provided in an embodiment of the present invention;
Figure 11 is a kind of operating process of the single typing of price based on automatic test script provided in an embodiment of the present invention Figure;
Figure 12 is a kind of structural schematic diagram of control identification device provided in an embodiment of the present invention;
Figure 13 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art All other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the prior art, browser automated test frame (Selenium) is generallyd use to construct the test block of automation Body panel, however, Selenium is for the identification of the control object of the IE page and unstable, when the object of playback has browsed When generating in device, script, which but fails, captures corresponding control object, and such case is not timing, nonscheduled often Condition, the appearance in indefinite place, Selenium may refer to Fig. 1 for the identification process of IE page control object, and Fig. 1 is Selenium for IE page control object identification basic procedure schematic diagram, as shown in Figure 1, the process include: script operation Start, passes through " driver=new InternetExplorerDriver ();driver.get(URL);" instruction creation browsing Device driving, opens webpage at starting browser, checks DOM Document Object Model (Document Object Model, DOM), passes through Xpath calls Selenium API to search control object (instruction: driver.findElement (By.xpath (xpathExpression))), finally terminate.When the server access pressure of system under test (SUT) or excessive pressure of handling up, or When system is incomplete, access control object can all be caused to fail, even if control object occurs, can also existed due to script not Success identifies control, and object is prompted not find, lower so as to cause the testing efficiency of automatic test.
To overcome problem of the prior art, this programme optimizes automated test frame, passes through regular expression With source object, control object accurately fast more can be found, and increased to control object operable state really Recognize, to ensure that control object is correctly loaded and be able to carry out the behaviour such as corresponding input, mouse click, combobox selection Make.
The program is described in detail below by several specific embodiments.
Fig. 2 is a kind of flow diagram of control recognition methods embodiment one provided in an embodiment of the present invention, such as Fig. 2 institute Show, which includes:
S101: starting automatic test script obtains the source program of current page.
In this step, it should be appreciated that automatic test script can be applied to individual for realizing webpage automatic test Computer PC.After starting automatic test script, browser driving can be created, browser is started according to automatic test script And webpage is opened, then obtain the source program of current page.
Optionally, the source program of current page can be obtained by the PageSource function of Selenium tool.
S102: according to the source program of automatic test script and current page, determine that current page needs control to be loaded Object.
The control object of load in need is set in automatic test script, after opening the source program of current page, It is matched with the need being arranged in automatic test script control object to be loaded, finds the mark for needing control object to be loaded Know.
In a kind of concrete implementation mode, the need being arranged in automatic test script control object to be loaded will be By the corresponding node of the mark of control object or node collection to be highlighted in XML document.
S103: control object is searched by predefined regular expression, and loads control object.
It has been determined that current page needs control object to be loaded in step s 102, then the control has been searched by regular expression Part object, and load the control object.
In a kind of concrete implementation mode, if the mark of control object can uniquely determine control object, according to control The mark of part object finds corresponding control object using regular expression.
In another concrete implementation mode, if control object cannot be uniquely determined in the mark of control object.Then basis The mark of control object, the set of all control objects comprising the mark is found using regular expression, and is passed through It traverses all the elements in the set and finds the control object, and the control object found is loaded.
Optionally, control object can be searched by Xpath technology.
S104: if control object load is completely, and control object is operable state, then is held according to the type of control object The corresponding operation of row.
In this step, when one or more control object is found and loads completion, then to each control object Operable state is confirmed, if control object is operable state, is represented the control object and is loaded successfully, be able to carry out down The operation of one step then executes corresponding operation according to the type of control object.
The type of control object includes button, input frame, combobox, mouse, nest frame etc., according to the control object of load Different type, can carry out text input, combobox selection, the operation such as mouse-click, double-click, hovering.
In a kind of concrete implementation mode, if confirming, the control object is non-operable state, illustrates the control object Cause load to fail due to certain load, then the control object is looked into again through predefined regular expression It looks for, and reloads the control object.
If control object is still non-operable state after repeatedly reloading, then using JavaScript modification control The state value of part object makes the control object operable state, and executes corresponding operation according to the type of the control object.
A kind of control recognition methods provided in an embodiment of the present invention obtains current page by starting automatic test script The source program in face determines that current page needs control pair to be loaded according to the source program of automatic test script and current page As, and control object is searched by predefined regular expression, and load the control object, if control object load is completely simultaneously And be operable state, then corresponding operation is executed according to the type of control object.This programme efficiently solves control in the page The unstable problem of Object identifying, improves the success rate of control object identification, and then improves the test effect of automatic test Rate.
Fig. 3 is a kind of flow diagram of control recognition methods embodiment two provided in an embodiment of the present invention, such as Fig. 3 institute Show, on the basis of embodiment shown in Fig. 2, the control recognition methods further include:
S201: determine whether to need current page control object load to be loaded complete.
In this step, the load process of control object is verified in real time, current page needs control pair to be loaded As that can be one or more, however, it is determined that each control object is found and completes load, then carries out next step;If Control object is not loaded either with or without load completion in completion or multiple control objects, then return step S103, leads to again It crosses regular expression and carries out control object lookup, and re-start load.
S202: if control object load is completely, judge whether control object is operable state.
In this step, when each object loads completion, shape is operated to one or more control object State is judged.If each control object is operable state, corresponding operation is executed according to the type of control object;If There are the control objects of non-operable state, then it is assumed that the control object is caused inoperable due to certain load, therefore is returned Step S103 is returned, the lookup of control object is carried out again through regular expression, and re-starts load, and after re-starting Whether continuous determination control object loads completion and judges whether control object is operable state.
In a kind of concrete implementation mode, if control object is still non-operable state after repeatedly reloading, Then using the state value of JavaScript modification control object, make the control object operable state, and according to the control pair The type of elephant executes corresponding operation.
Optionally, (enable) method can be operated by object or object shows that (present) method judges institute State whether control object is operable state.
On the basis of the above embodiments, below with reference to Fig. 4-Figure 11, the control is known by implementation in detail below Other method is further described.
Fig. 4 is a kind of flow diagram of control recognition methods embodiment three provided in an embodiment of the present invention, such as Fig. 4 institute Show, which includes:
S301: program starts to execute.
S302: creation browser drives (WebDriver) example.
S303: page source program is obtained.
Source program is got by PageSource.Automatic test script grasp can be allowed to work as by the source program of acquisition The content of the control object of the preceding page, referring to Fig. 5, Fig. 5 is a kind of source program schematic diagram provided in an embodiment of the present invention, in Fig. 5 Being highlighted is the control object required to look up.
S304: according to the mark (also referred to as particular attribute value) of control object, pass through regular expression predetermined With control object.
Control object is searched by Xpath technology.XPath chosen using path expression node in XML document or Person's node collection.Practical is exactly the level concept an of control object, ensures that control object can absolutely be automated test in this way Script is found.By taking control object is the input frame of a single information of fixing a price as an example, referring to Fig. 6, (Fig. 6 provides for the embodiment of the present invention A kind of control object schematic diagram).
The path Xpath of the single type of object price is //div [@id=' divAuto1 '] //input [@name=' InquiryTupe’]
However, many complex situations are that page object does not have any mark that can uniquely determine control object, at this moment need It to go to match corresponding control object using regular expression.Such as: //div [@id=' divAuto1 '] // * is searched by * A set is obtained, then finds the control object of current page needs by COLLECTION TRAVERSALSThe.
S305: determine whether control object loads completely.
Continue S306 step if load completely, if not loading return step S304 completely continues to search control Object is simultaneously loaded.
S306: judge whether control object is operable state.
After control object is found, current control pair can be confirmed by enable method or present method As if it is no can be operated, although control object is found sometimes, certain load reason will lead to control and cannot be grasped Make (disable state).
If operable state then continues step S307, the control object of non-operable state if it exists, then return step S304 is searched again and is loaded control object.
S307: corresponding operation is executed according to the type of control object.
Finally, further according to the different type of current control, such as input input, text box textarea, mouse time Mouse or nest frame div etc. carry out different types of operation.
Referring to Fig. 7-Figure 10, for a kind of application scenarios example for single typing of fixing a price provided in this embodiment.Fig. 7 is the present invention Schematic diagram, the Fig. 8 for a kind of page login that embodiment provides are a kind of signal on menu on the left side column provided in an embodiment of the present invention Figure, Fig. 9 are that a kind of schematic diagram one, Figure 10 for inputting information provided in an embodiment of the present invention is one kind provided in an embodiment of the present invention Input the schematic diagram two of information.It should be understood that price list typing scene shown by Fig. 7-Figure 10 is by automatic test foot This operation for being selected and being inputted automatically etc..
On the basis of above-described embodiment, Figure 11 is provided in an embodiment of the present invention a kind of to be determined based on automatic test script The operational flowchart of valence list typing, as shown in figure 11, comprising the following steps: start (automatic test script starting), log in page Face clicks price processing selection price typing application, inserts corresponding information in typing information page and finally terminate to test.
In conclusion a kind of beneficial effect of control recognition methods provided in an embodiment of the present invention includes: 1. pairs of IE pages Control object recognition success rate reach 100%;2. intelligent decision page jump grabs new page handle;3. easy manipulation mould State window, and the dialog box from webpage;4. automation platform makes testing efficiency improve 35%;5. automatic test Script is actually just different business scenario, by the continuous playback of automatic test script, can skillfully grasp business scenario Operation, and improve business cognition degree.
The present invention provides a kind of control identification device, which can be used for executing the skill of either above-mentioned method embodiment Art scheme.
Figure 12 is a kind of structural schematic diagram of control identification device provided in an embodiment of the present invention, as shown in figure 12, the control Part identification device 10, comprising:
It obtains module 101: for starting automatic test script, obtaining the source program of current page;
Processing module 102: it for the source program according to the automatic test script and the current page, determines current The page needs control object to be loaded;
Loading module 103: for searching the control object by predefined regular expression, and the control is loaded Object;
If the processing module 102 is also used to the control object load completely, and the control object is that can operate shape State then executes corresponding operation according to the type of the control object.
Control identification device provided in this embodiment, including module, processing module and loading module are obtained, obtain mould Block obtains the source program of current page for starting automatic test script;Processing module, for being surveyed according to the automation The source program of training sheet and the current page determines that current page needs control object to be loaded;Loading module, for passing through Predefined regular expression searches the control object, and loads the control object;If the processing module is also used to institute State control object load completely, and the control object is operable state, then according to the execution pair of the type of the control object The operation answered.The control is to be deviced for the technical solution for executing control recognition methods in aforementioned either method embodiment, The realization principle and technical effect are similar, has both efficiently solved the problems, such as that control object identifies unstable in the page, improves control The success rate of Object identifying, and then improve the testing efficiency of automatic test.
On the basis of above-mentioned apparatus embodiment, in a kind of concrete implementation mode, the processing module 102 is also used to Determine whether to need current page the control object load to be loaded complete;If the control object load is completely, sentence Whether the control object of breaking is operable state.
In a kind of concrete implementation mode, if the loading module 103 is also used to the control object and does not load completely, The control object then is searched again through the regular expression, and loads the control object.
In a kind of concrete implementation mode, if it is non-operate that the loading module 103, which is also used to the control object, State then searches the control object again through predefined regular expression, and loads the control object.
Optionally, the type of the control object includes: button, input frame, combobox, mouse, nest frame.
In a kind of concrete implementation mode, the loading module 103 is specifically used for the mark by the control object The control object is searched, and loads the control object;Alternatively, the identifier lookup for passing through the control object includes the control The set of part object searches the control object by all the elements traversed in the set, and loads the control object.
Optionally, (enable) method can be operated by object or object shows that (present) method judges institute State whether control object is operable state.
Above-mentioned apparatus embodiment is used to execute the technical solution of control recognition methods in aforementioned either method embodiment, in fact Existing principle is similar with technical effect, and details are not described herein again.
Figure 13 is the hardware structural diagram of terminal device provided in an embodiment of the present invention.As shown in figure 13, the present embodiment Terminal device 20 include: processor 202 and memory 201;Wherein
Memory 201, for storing computer executed instructions;
Processor 202, for executing the computer executed instructions of memory storage, to realize, terminal is set in above-described embodiment Standby performed each step.It specifically may refer to the associated description in preceding method embodiment.
Optionally, memory 201 can also be integrated with processor 202 either independent.
When memory 201 is independently arranged, which further includes bus 203, for connecting 201 He of memory Processor 202.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium There are computer executed instructions, when processor executes the computer executed instructions, realizes opening for application program as described above Dynamic method.
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 control recognition methods characterized by comprising
Start automatic test script, obtains the source program of current page;
According to the source program of the automatic test script and the current page, determine that current page needs control pair to be loaded As;
The control object is searched by predefined regular expression, and loads the control object;
If the control object load is completely, and the control object is operable state, then according to the class of the control object Type executes corresponding operation.
2. the method according to claim 1, wherein the method also includes:
Determine whether to need current page the control object load to be loaded complete;
If the control object load is completely, judge whether the control object is operable state.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the control object does not load completely, the control object is searched again through the regular expression, and load The control object.
4. according to the method described in claim 2, it is characterized in that, it is described the method also includes:
If the control object is non-operable state, the control pair is searched again through predefined regular expression As, and load the control object.
5. method according to any one of claims 1 to 4, which is characterized in that the type of the control object include: by Button, input frame, combobox, mouse, nest frame.
6. method according to any one of claims 1 to 4, which is characterized in that described to pass through predefined regular expression The control object is searched, and loads the control object, comprising:
Control object described in identifier lookup by the control object, and load the control object;
Alternatively,
Identifier lookup by the control object includes the set of the control object, all in the set by traversing Control object described in content search, and load the control object.
7. according to the described in any item methods of claim 2-4, which is characterized in that it is described judge the control object whether be can Mode of operation, comprising:
Judge whether the control object is operable state by object practical method or object displaying method.
8. a kind of control identification device characterized by comprising
It obtains module and obtains the source program of current page for starting automatic test script;
Processing module determines that current page needs for the source program according to the automatic test script and the current page Control object to be loaded;
Loading module for searching the control object by predefined regular expression, and loads the control object;
If the processing module is also used to the control object load completely, and the control object is operable state, then root Corresponding operation is executed according to the type of the control object.
9. a kind of terminal device characterized by comprising memory, processor and computer program, the computer journey Sequence stores in the memory, and it is described in any item that the processor runs the computer program perform claim requirement 1 to 7 Control recognition methods.
10. a kind of storage medium characterized by comprising readable storage medium storing program for executing and computer program, the computer program are used In the realization described in any item control recognition methods of claim 1 to 7.
CN201811472172.3A 2018-12-04 2018-12-04 Control recognition methods, device, equipment and storage medium Pending CN109656816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811472172.3A CN109656816A (en) 2018-12-04 2018-12-04 Control recognition methods, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472172.3A CN109656816A (en) 2018-12-04 2018-12-04 Control recognition methods, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109656816A true CN109656816A (en) 2019-04-19

Family

ID=66112706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472172.3A Pending CN109656816A (en) 2018-12-04 2018-12-04 Control recognition methods, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109656816A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246315A (en) * 2019-05-21 2019-09-17 西藏纳旺网络技术有限公司 The method and apparatus that the display page is operated using portable remote control device
CN111679976A (en) * 2020-05-28 2020-09-18 泰康保险集团股份有限公司 Method and device for searching page object

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275868B1 (en) * 1997-03-12 2001-08-14 Microsoft Corporation Script Engine interface for multiple languages
CN1485767A (en) * 2002-09-25 2004-03-31 华为技术有限公司 Result detection for voice file loading and reloading method
CN103914302B (en) * 2014-04-02 2017-02-15 北京京东尚科信息技术有限公司 Webpage loading progress monitoring method and webpage loading progress monitoring device
CN107577607A (en) * 2017-09-07 2018-01-12 携程旅游信息技术(上海)有限公司 User interface automated testing method, device, electronic equipment, storage medium
CN105224462B (en) * 2015-10-27 2018-02-13 小米科技有限责任公司 The recognition methods of control element and device
CN108280026A (en) * 2018-01-23 2018-07-13 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275868B1 (en) * 1997-03-12 2001-08-14 Microsoft Corporation Script Engine interface for multiple languages
CN1485767A (en) * 2002-09-25 2004-03-31 华为技术有限公司 Result detection for voice file loading and reloading method
CN103914302B (en) * 2014-04-02 2017-02-15 北京京东尚科信息技术有限公司 Webpage loading progress monitoring method and webpage loading progress monitoring device
CN105224462B (en) * 2015-10-27 2018-02-13 小米科技有限责任公司 The recognition methods of control element and device
CN107577607A (en) * 2017-09-07 2018-01-12 携程旅游信息技术(上海)有限公司 User interface automated testing method, device, electronic equipment, storage medium
CN108280026A (en) * 2018-01-23 2018-07-13 网易(杭州)网络有限公司 Automated testing method and device, storage medium, electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110246315A (en) * 2019-05-21 2019-09-17 西藏纳旺网络技术有限公司 The method and apparatus that the display page is operated using portable remote control device
CN111679976A (en) * 2020-05-28 2020-09-18 泰康保险集团股份有限公司 Method and device for searching page object

Similar Documents

Publication Publication Date Title
US8756571B2 (en) Natural language text instructions
US10970097B2 (en) Adaptive web-based robotic process automation
CA2653887C (en) Test script transformation architecture
US9189254B2 (en) Translating text to, merging, and optimizing graphical user interface tasks
US8856743B2 (en) System, method, and computer readable medium for universal software testing
US9207952B2 (en) Semantic mapping of objects in a user interface automation framework
US20140059423A1 (en) Display of Hypertext Documents Grouped According to Their Affinity
US9684587B2 (en) Test creation with execution
US20130254139A1 (en) Systems and methods for building a universal intelligent assistant with learning capabilities
US20200174917A1 (en) Rapid Automation First-pass Testing Framework
US10990359B2 (en) Use and advancements of assistive technology in automation for the visually-impaired workforce
CN103019925A (en) Selector acquisition method and device
EP2105837B1 (en) Test script transformation analyzer with change guide engine
CN111679976A (en) Method and device for searching page object
CN109656816A (en) Control recognition methods, device, equipment and storage medium
WO2021061185A1 (en) Test automation of application
Mao et al. User behavior pattern mining and reuse across similar Android apps
US20230195825A1 (en) Browser extension with automation testing support
Lee et al. Test command auto-wait mechanisms for record and playback-style web application testing
Negara et al. Automated acceptance testing of javascript web applications
JP6516343B2 (en) Application user interface automatic test method, electronic device, system and storage medium
Nabuco et al. Inferring user interface patterns from execution traces of web applications
CN114297057A (en) Design and use method of automatic test case
Nabuco et al. Inferring ui patterns with inductive logic programming
CN116627401A (en) Java test case visualization method and system based on AST

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190419

RJ01 Rejection of invention patent application after publication