CN104461900A - User interface testing method, center control server, test terminal and system - Google Patents

User interface testing method, center control server, test terminal and system Download PDF

Info

Publication number
CN104461900A
CN104461900A CN201410805346.9A CN201410805346A CN104461900A CN 104461900 A CN104461900 A CN 104461900A CN 201410805346 A CN201410805346 A CN 201410805346A CN 104461900 A CN104461900 A CN 104461900A
Authority
CN
China
Prior art keywords
interface
control
test
test terminal
application
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
CN201410805346.9A
Other languages
Chinese (zh)
Other versions
CN104461900B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410805346.9A priority Critical patent/CN104461900B/en
Publication of CN104461900A publication Critical patent/CN104461900A/en
Application granted granted Critical
Publication of CN104461900B publication Critical patent/CN104461900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a user interface testing method, a center control server, a test terminal and a system and relates to the field of automated testing. The user interface testing method, the center control server, the test terminal and the system can solve the problems that the UI control testing process is complex and cumbersome. According to the main technical scheme, the center control server receives a testing instruction, wherein the testing instruction is used for indicating that a selected tested application is subjected to UI testing; the center control server obtains a data packet of the tested application and issues the data packet to the test terminal; the test terminal starts and runs the tested application according to the data packet and obtains interface coordinates of all controls in an application interface; the test terminal simulates clicks on the controls according to the interface coordinates; the test terminal records test results generated by the clicks on the controls. The user interface testing method, the center control server, the test terminal and the system are mainly applied to testing of a user interface of the application.

Description

The method of testing of user interface, control server, test terminal and system
Technical field
The present invention relates to automatic test field, particularly relate to a kind of method of testing of user interface, control server, test terminal and system.
Background technology
User interface (User Interface is called for short UI) test generally comprises the content such as layout test, content test (comprising word and picture), Fabric Hand Test, components testing.For tested objects such as layout, content style, fonts, usually adopt static mode to test, such as, use spot check table to obtain test result in conjunction with the mode of manual observation.And for the control in user interface, because it has the characteristic of man-machine interaction, the interactivity functions such as such as interface redirect, switch control rule, text event detection can be provided to user, therefore in prior art, often adopt dynamical fashion to test the control in UI.
The existing dynamic test majority for UI control needs tester to write test case, the contents such as tested object, test mode, expected results are defined, then performs this test case by testing apparatus (such as mobile phone) and complete test to UI control.
In the process of above-mentioned test UI control, inventor finds, test case write usually comparatively specialty, for common tester, write complete set, available and efficiently test case be not a simple thing.Particularly when test case shortcoming transplantability, write test case separately for different tested object and unrealistic.
Summary of the invention
In view of this, the invention provides a kind of method of testing of user interface controls, control server, test terminal and system, the problem that UI components testing process is complicated, loaded down with trivial details can be solved.
According to one aspect of the invention, propose a kind of method of testing of user interface controls, the method comprises:
Control server receives test instruction, and described test instruction is used to indicate carries out user interface UI test to selected tested application;
Described control server obtains the packet of described tested application, and described packet is handed down to test terminal;
The tested application according to described packet startup optimization of described test terminal, and obtain the interface coordinate of every control in application interface;
Described test terminal is carried out simulation according to described interface coordinate to described control and is clicked;
The test result that described control produces clicked in described test terminal record.
According to another aspect of the present invention, propose a kind of control server, this control server comprises:
Receiving element, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application;
Acquiring unit, the described test instruction for receiving according to described receiving element obtains the packet of described tested application;
Transmitting element, is handed down to test terminal for the described packet obtained by described acquiring unit, to make the tested application according to described packet startup optimization of described test terminal, tests the UI control of described tested application.
According to another aspect of the present invention, also proposed a kind of test terminal, this test terminal comprises:
Receiving element, for receiving the packet of the tested application that control server issues;
Performance element, for tested application described in the described packet startup optimization that receives according to described receiving element;
Acquiring unit, for running in the process of described tested application at described performance element, obtains the interface coordinate of every control in application interface;
Processing unit, the described interface coordinate for obtaining according to described acquiring unit carries out simulation to described control and clicks;
Record cell, clicks the test result of described control generation for recording described processing unit.
According to another aspect of the present invention, propose a kind of test macro of user interface, this system comprises control server and test terminal;
Described control server, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application, obtains the packet of described tested application, and described packet is handed down to described test terminal;
Described test terminal, for tested application described in the described packet startup optimization that issues according to described control server, obtain the interface coordinate of every control in application interface, according to described interface coordinate, simulation is carried out to described control and click, and the test result that described control produces clicked in record.
The method of testing of a kind of user interface controls of the present invention, control server, test terminal and system, receive test instruction by control server, obtain the packet of tested application, and by Packet Generation to test terminal, the control interfaces coordinate in tested application interface is obtained by test terminal, carry out simulation hit testing according to obtained coordinate, and test result is recorded.The UI test undertaken by the method, tester only needs to send test instruction to control server, then only need to wait for that control server and test terminal are to the automatic test of tested application, finally on test terminal, obtain test result, relative to prior art, tester can save writing test case, do not need to define contents such as tested object, test mode, expected resultss yet, thus significantly reduce the working strength of tester, fundamentally solve the problem that UI components testing process is complicated, loaded down with trivial details.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the method for testing process flow diagram of a kind of user interface that the embodiment of the present invention proposes;
Fig. 2 shows the method for testing process flow diagram of the another kind of user interface that the embodiment of the present invention proposes;
Fig. 3 shows the structural representation of a kind of control server that the embodiment of the present invention proposes;
Fig. 4 shows the structural representation of the another kind of control server that the embodiment of the present invention proposes;
Fig. 5 shows the structural representation of the test terminal that the embodiment of the present invention proposes;
Fig. 6 shows the structural representation of the another kind of test terminal that the embodiment of the present invention proposes;
Fig. 7 shows the test macro schematic diagram of a kind of user interface that the embodiment of the present invention proposes.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of method of testing of user interface, as shown in Figure 1, the method comprises:
101, control server receives test instruction, and test instruction is used to indicate carries out user interface UI test to selected tested application.
Select the application as tested object in tester is by test platform after, control server receives the test instruction that test platform issues.The present embodiment is tested mainly for the click function of UI control.
102, control server obtains the packet of tested application, and packet is handed down to test terminal.
Control server, after determining the UI test event that will carry out, needs the packet obtaining tested application.Usually, the mapping relations table for recording application data bag store path is preserved in control server.After acquisition test instruction, control server searches mapping relations table according to the application identities of carrying in this instruction, obtains the store path of this application data bag, and obtains the packet of this application according to this store path further.In practical application, packet can be stored in control server inside, also can be stored in the database independent of control server, no matter adopt which kind of storage mode, and control server can obtain the packet of application by the mode of searching store path.
The present embodiment is tested mainly for the application under Android (Android) operating system, and therefore, above-mentioned packet often refers to the Android packet (Android Package is called for short APK) that corresponding Android is applied.
This packet, after the packet obtaining tested application, can be handed down to test terminal, be undertaken preserving and testing by test terminal by control server.
In a kind of implementation of the present embodiment, the PUSH order that control server calls ADB (Android DebugBridge) by packet synchronisation in test terminal.By test terminal, this packet is stored, and can be stored in test terminal for the mode stored, can be stored in the memory device that is connected on this test terminal, this mode mainly possess the situation of storage space for test terminal itself yet.
103, test terminal is according to the tested application of packet startup optimization, and obtains the interface coordinate of every control in application interface.
Test terminal is after the tested application data bag obtaining being sent by control server, automatically dissection process will be carried out to this packet, start after the execute file obtaining tested application and run this application, obtaining the interface coordinate of control in this tested application interface simultaneously.In the present embodiment, test terminal, except obtaining the coordinate of control, also can obtain the coordinate of VIEW, and adopts the mode identical with test control to test the VIEW in UI.The difference of VIEW and control is; interface control refers to the visualized graphs " element " can placed on forms; as button, Document Editing frame etc.; there is n-back test or cause code by " event " and run and the function completing response; and VIEW is as a show area using the fixing block of in interface; its object shown can be dynamic or static graph text information, usually can be linked to the sub-interface of next stage.
104, test terminal carries out simulation click according to interface coordinate to control.
Control in interface is clicked in test terminal situation by user in software simulation reality carries out simulation click to the control in tested application interface, when carrying out simulation and clicking, the particular location of this control is determined by the coordinate of control in the interface that obtains in 103 in test terminal.In fact, test terminal can not judge the particular location of control (certainly also comprising VIEW) intuitively as user by naked eyes and human thinking, namely the object obtaining control coordinate in the present embodiment is make test terminal accurately can locate and click each control when None-identified control.
105, the test result that control produces clicked in test terminal record.
According to the simulation click event in 104, the result of this hit testing will be recorded in test terminal.Specific to the embodiment of the present invention, clicking the test result that produces of control is exactly that this is testedly applied in after this is clicked whether can produce response, this control in tested application can normally perform to have response to illustrate, then illustrate that this control of tested application cannot normally work without response, the collapse of application process can be caused.Wherein, the collapse of application process refer to application program report an error after corresponding process to suddenly disappear or the service of correspondence stops automatically, the reason causing application process to collapse is varied, specific to the embodiment of the present invention, be in Android operation system, the process of application in the process of implementation, often carries out single stepping, capital produces a corresponding thread in systems in which and processes, and automatically terminates this thread more after processing is completed.And it is longer when the processing time of thread, and when opening a fairly large number of thread in same amount of time, this application will a large amount of memory sources in consumption systems, and according to the operating mechanism of android system, the operation that system can stop a part of thread in this process to carry out releasing memory resource applying for other automatically, in this process, if when including certain kernel process of this application in the thread of system stopping, this application just there will be the phenomenon of process collapse.
The embodiment of the present invention adopt a kind of method of testing of user interface controls, receive test instruction by control server, obtain the packet of tested application, and by Packet Generation to test terminal, the control interfaces coordinate in tested application interface is obtained by test terminal, carry out simulation hit testing according to obtained coordinate, and test result is recorded.The UI test undertaken by the method, tester only needs to send test instruction to control server, then be exactly wait for that control server and test terminal are to the automatic test of tested application, finally on test terminal, obtain test result, relative to prior art, tester can save writing test case, do not need to define contents such as tested object, test mode, expected resultss yet, thus significantly reduce the working strength of tester, fundamentally solve the problem that UI components testing process is complicated, loaded down with trivial details.
In order to carry out refinement explanation to above-mentioned method further, the embodiment of the present invention also provides a kind of method of testing of user interface, and as shown in Figure 2, the method comprises:
201, control server receives test instruction, and test instruction is used to indicate carries out user interface UI test to selected tested application.
The generation of test instruction can be shown by control server the list or the menu that comprise optional application by Web page, and in list or menu, order lists the correlation attribute information of application, as the size etc. of the title of application, provider, application.When tester chooses optional application, control server obtains test instruction, and the optional application chosen is defined as tested application.Wherein, control server, by being generally single choice pattern by selection operation shown by Web page, namely can not choose two methods to carry out UI test simultaneously.
202, control server obtains the packet of tested application, and packet is handed down to test terminal.
Control server is after the packet obtaining tested application according to test instruction, and obtained packet is handed down to test terminal by control server.Wherein, the concrete mode being handed down to test terminal can be that control server is directly sent to test terminal by the mode of wireless network transmissions, as the Packet Generation utilizing WIFI network to carry out, also can be indirectly send to terminal test terminal by control server by proxy server, such as packet is first sent to proxy server by control server, then sends to test terminal by proxy server.Proxy server can be connected by USB interface with test terminal or be connected by wireless network.Above-describedly issue mode, difference according to embody rule scene changes, such as, a kind of mode before just can adopting when the task of control server and test terminal close together or Test Application is less, and for control server and test terminal distant, or the task of Test Application is more when needing proxy server to share task, just can adopts and a kind of issue mode afterwards, to use, which kind of issues mode and does not do concrete restriction the embodiment of the present invention.
203, test terminal is according to the tested application of packet startup optimization, and obtains the interface coordinate of every control in application interface.
Test terminal is after the packet receiving control server transmission, to resolve this packet, obtain the interface identification at the first interface of tested application in packet, first interface shown when this interface is tested application execution, its interface identification describes the information such as title, version at interface.Meanwhile, obtain the execute file of tested application and start this tested application.
After the tested application of startup, the first interface after tested application start (interface is also referred to as being an Activity), by the interface identification at the first interface according to the tested application parsed, is identified in test terminal.From the control at this first interface, terminal in a certain order (such as from left to right or from top to bottom) travels through each control in first interface and its sub-interface at different levels successively.
When often traversing a control, test terminal all will obtain the interface coordinate of this control.In the present embodiment, test terminal is by the acquisition of the traversal and interface coordinate of calling Accessibility Interface realization control.Wherein, Accessibility is a kind of with program mode (PM) access UI element information or the function services operating these UI elements, in embodiments of the present invention, test terminal can be accessed the UI interface in tested application by Accessibility and obtain the relevant information of wherein control, comprises the information such as control type and the coordinate parameters of control in interface.The specific implementation carrying out the control in traversal applications interface by calling Accessibility interface is: test terminal, according to the interface identification at the first interface in packet, navigates to initial application interface.Again from initial application interface, travel through the control in application interface at different levels in turn according to the rule of depth-first.So-called depth-first rule refers to, the logical path pointed to according to certain control clicks each sub-interface step by step, until click returns to upper level interface again to bottom interface click other interfaces.Exemplary, be applied as example with certain food and drink class, first interface, for selecting area, wherein comprises the control such as " Beijing ", " Shanghai ", " Shenzhen ", " Chengdu ".According to order from left to right, from top to bottom, control " Beijing " is clicked in test terminal first, enter next stage submenu, then still click the control " so-and-so restaurant " in the control " Broiled Dishes " in interface, the second level, the control " buffet " in third level interface and afterbody interface with aforementioned sequence in turn, complete an extreme saturation thus.Then, the control in other restaurants corresponding in afterbody interface is continued to click in test terminal, until return Level-3 menu after all clicking, continues to click other controls such as " western-style foods ".
After having carried out an extreme saturation, sort to control according to the sequencing obtaining interface coordinate in test terminal, a list of controls according to the sequence of depth-first principle will be obtained, have recorded the quantity of all controls in this application and interface coordinate corresponding to each control in lists, such as " Beijing "-> " Broiled Dishes "-> " buffet "-> " so-and-so restaurant ".
204, test terminal carries out simulation click according to interface coordinate to control.
When carrying out simulation and clicking, test terminal performs shell-command, to be written to by obtained control interfaces coordinate in input statement and to perform this input statement, completing thus and once simulate click.
It should be noted that, clicking the simulation of control does not need to perform after all control interfaces coordinates obtaining application again, but while obtaining control interfaces coordinate in 203, just can perform the simulation clicking operation to this control.
205, the test result that control produces clicked in test terminal record.
The outcome record that simulation in 204 is clicked is got off by test terminal, and generate a components testing the results list, in the list except recording the title of control clicked to some extent and the quantity of clicked control, also record the click path of control relative to application interface, this click path is that record test terminal clicks routing information (such as Beijing "-> " Broiled Dishes "-> " the buffet "-> " so-and-so restaurant " of current clicked control by the control order in the first interface of tested application).In practical application, this click path is generally used for recording the click process causing application process to be collapsed.
Further, above-mentioned components testing the results list can also combine with the list of controls sorted according to depth-first principle in 203, is recorded in this table in the click path of test result and control.
206, test terminal reports test result to control server.
After acquisition test result, this result is reported control server by test terminal, then has control server to report test platform, checks for tester.In practical application, multiple test terminal can be used to carry out UI test to same application, and by control server, duplicate removal is gathered to the test result that each test terminal reports, the random factor of individual terminal can be rejected thus, obtain more stable, test result accurately.
Further, in actual applications, test terminal, according to the control in depth-first principle traversal applications, when obtaining the interface coordinate of control, likely can be absorbed in the click process of endless loop.Under normal circumstances, " returning " control that the generation of infinite loop phenomenon mainly contains in interface causes, owing to there is " returning " control, the clicking operation that test terminal repeatedly may be carried out in the superior and the subordinate interface " entering <-> to return ", be absorbed in circulation thus, can not extricate oneself.In the present embodiment, for preventing the generation of endless loop situation, test terminal can perform following operation:
Step 1, the simulation number of clicks of test terminal to control count.
Test terminal can generate a DB (data base) file in this locality, often obtaining a control will in this document for this control sets up a record.When simulation points percussion is raw, can modify to the record in DB file according to the reading of counter and preserve in test terminal.
Step 2, again carry out simulation click before, test terminal read count value.
Owing to there is the possibility repeatedly clicked, the next stage interface phase of two different controls such as in same interface simultaneously, will repeatedly be clicked by the control at this next stage interface.And after each control carries out simulation click, the number of times that test terminal will be clicked by counter records, and before upper once simulation click, keep the count value of this control number of clicks.
If step 3 count value reaches predetermined number, then cancel the simulation clicking operation to described control.
Test terminal, before click control, can be read the count value of this control, and compare with predetermined number, if this count value has reached this predetermined number, and the simulation clicking operation that test terminal will be cancelled control.Wherein, the setting of predetermined number can be set to according to by tester is self-defined the positive integer being not less than 1.By the restriction to number of clicks, test process just can be effectively prevented to be absorbed in the appearance of endless loop situation.
Further, the mode clicking control by software simulation due to test terminal can save a large amount of manpowers and time cost relative to the hardware hit testing of reality, even if but adopt the mode that simulation is clicked, for some interfaces and control more, the application of level more complicated, finish once complete test and also need a very long time, in order to control the time of testing, can also prevent from testing the situation falling into endless loop further simultaneously, the embodiment of the present invention can by simplifying the process of test to the restriction of test duration, its concrete mode is: timing is carried out to the process that UI tests in test terminal, when UI test consuming time exceedes preset duration, test terminal stops UI test process.Wherein, the setting preset often should be greater than the duration that this test control arrived by the control in first interface is clicked in this application lowermost layer interface clicks process.
Further, in a kind of implementation of the present invention, as to aforementioned with depth-first principle traversal mode replacement, native system also supports the mode of monkey hit testing, which is the interface coordinate of control by the coordinate obtained at random in application interface, be start shell-command by test terminal afterwards equally, the interface coordinate of control be written in input statement and perform this input statement to perform simulation clicking operation, obtaining test result.Adopt the test which is carried out, can by limiting the time that the random number of times obtaining interface coordinate controls to test, the more meaning of this test mode is that the control to this application UI tests clicks the test of bearing pressure, and the situation of application crashes can or can not occur Test Application in the click process of limited number of time.
Further, as the realization to method shown in above-mentioned Fig. 1 or Fig. 2, another embodiment of the present invention additionally provides a kind of control server, in order to realize the method shown in above-mentioned Fig. 1 or Fig. 2.As shown in Figure 3, this control server comprises: receiving element 31, acquiring unit 32 and transmitting element 33, wherein:
Receiving element 31, for receiving test instruction, test instruction is used to indicate carries out user interface UI test to selected tested application;
Acquiring unit 32, the test instruction for receiving according to receiving element 31 obtains the packet of tested application;
Transmitting element 33, is handed down to test terminal for the packet obtained by acquiring unit 32, to make test terminal according to the tested application of packet startup optimization, tests the UI control of tested application.
Further, as shown in Figure 4, receiving element 31, comprising:
Process subelement 311, comprises list or the menu of optional application for sending Web page display;
Determine subelement 312, during for choosing optional application tester, obtain test instruction, and the optional application chosen is defined as tested application.
Further, receiving element 31, for receiving the test result that test terminal reports.
Further, as the realization to method shown in above-mentioned Fig. 1 or Fig. 2, another embodiment of the present invention additionally provides a kind of test terminal, in order to realize the method shown in above-mentioned Fig. 1 or Fig. 2.As shown in Figure 5, this test terminal comprises: receiving element 51, performance element 52, acquiring unit 53, processing unit 54 and record cell 55, wherein:
Receiving element 51, for receiving the packet of the tested application that control server issues;
Performance element 52, for the tested application of packet startup optimization received according to receiving element 51;
Acquiring unit 53, for running in the process of tested application at performance element 52, obtains the interface coordinate of every control in application interface;
Processing unit 54, the interface coordinate for obtaining according to acquiring unit 53 carries out simulation to control and clicks;
Record cell 55, clicks the test result of control generation for recording processing unit 54.
Further, acquiring unit 53, for calling the control in Accessibility interface traversal applications interface, and obtains the interface coordinate of every control.
Further, acquiring unit 53, for:
Obtain the interface identification at the first interface of described tested application, and navigate to initial application interface according to described interface identification;
From initial application interface, travel through the control in application interface at different levels in turn according to the rule of depth-first.
Further, processing unit 54, for starting shell-command, to be written to interface coordinate in input statement and to perform input statement.
Further, record cell 55, for:
Record the click path of control in application interface at different levels;
When the collapse of the process of generation, determine the click process causing process to be collapsed according to click path.
Further, as shown in Figure 6, this test terminal comprises further:
Counting unit 56, counts for simulation number of clicks processing unit 54 being clicked to control;
Processing unit 54, for before again carrying out simulation click, reads the count value that counting unit 56 records, if count value reaches predetermined number, then cancels the simulation clicking operation to control.
Further, as shown in Figure 6, this test terminal comprises further:
Timing unit 57, the process for the UI test performed performance element 52 carries out timing;
Performance element 52, for when UI that timing unit 57 records test consuming time exceedes preset duration, stops UI test process.
Further, as shown in Figure 6, this test terminal comprises further:
Transmitting element 58, after recording at record cell 55 test result clicking control generation, to the test result that control server reports record cell 55 to record.
Further, as the realization to method shown in above-mentioned Fig. 1 or Fig. 2, another embodiment of the present invention additionally provides a kind of test macro of user interface.As shown in Figure 7, this system comprises control server 71 and test terminal 72;
Control server 71, for receiving test instruction, test instruction is used to indicate carries out user interface UI test to selected tested application, obtains the packet of tested application, and packet is handed down to test terminal 72;
Test terminal 72, for the tested application of packet startup optimization issued according to control server 71, obtains the interface coordinate of every control in application interface, carry out simulation and click, and the test result that control produces is clicked in record according to interface coordinate to control.
In sum, the control server that the embodiment of the present invention adopts, test terminal and system, test instruction can be received by control server, receive the packet of tested application, and by Packet Generation to test terminal, obtained the control interfaces coordinate in tested application interface by test terminal, carry out simulation hit testing according to obtained coordinate, test result is recorded simultaneously, and this result is reported control server again.The UI test undertaken by the method, tester only needs to send test instruction to control server, then only need to wait for that control server and test terminal are to the automatic test of tested application, finally obtain test result by test terminal and report control server, tester can obtain final test result in order to analyze to the reliability of tested application by control server, relative to prior art, use this programme can save tester's writing test case, do not need tested object yet, test mode, the contents such as expected results define, and by the counting to the simulation number of clicks of control in UI interface, and restriction test total duration also serve simple and effective prevent from testing enter endless loop situation occur effect, significantly reduce the working strength of tester simultaneously, fundamentally solve UI components testing process complicated, loaded down with trivial details problem.
Further, the invention also discloses:
The method of testing of A1, a kind of user interface, described method comprises:
Control server receives test instruction, and described test instruction is used to indicate carries out user interface UI test to selected tested application;
Described control server obtains the packet of described tested application, and described packet is handed down to test terminal;
The tested application according to described packet startup optimization of described test terminal, and obtain the interface coordinate of every control in application interface;
Described test terminal is carried out simulation according to described interface coordinate to described control and is clicked;
The test result that described control produces clicked in described test terminal record.
A2, method according to A1, described control server receives test instruction, comprising:
Described control server comprises list or the menu of optional application by Web page display;
When tester chooses described optional application, described control server obtains described test instruction, and the described optional application chosen is defined as described tested application.
A3, method according to A1, described test terminal obtains the interface coordinate of every control in application interface, comprising:
Described test terminal is called Accessibility interface and is traveled through control in described application interface, and obtains the interface coordinate of every control.
A4, method according to A3, described test terminal is called Accessibility interface and is traveled through control in described application interface, comprising:
Described test terminal obtains the interface identification at the first interface of described tested application, and navigates to initial application interface according to described interface identification;
Described test terminal, from described initial application interface, travels through the control in application interface at different levels in turn according to the rule of depth-first.
A5, method according to A1, described test terminal is carried out simulation according to described interface coordinate to described control and is clicked, and comprising:
Described test terminal starts shell-command, to be written to by described interface coordinate in input statement and to perform described input statement.
A6, method according to A1, the test result that described control produces clicked in described test terminal record, comprising:
The click path of control in application interface at different levels is recorded in described test terminal;
When the collapse of the process of generation, the click process causing process to be collapsed is determined in described test terminal according to described click path.
A7, method according to A1, described method comprises further:
The simulation number of clicks of described test terminal to described control counts;
Before again carrying out simulation click, described count value is read in described test terminal;
If described count value reaches predetermined number, then cancel the simulation clicking operation to described control.
A8, method according to A1, described method comprises further:
Timing is carried out to the process that described UI tests in described test terminal;
When described UI test consuming time exceed preset duration time, described test terminal stops described UI test process.
A9, method according to A1, after the test result that described control produces clicked in described test terminal record, described method comprises further:
Described test terminal reports described test result to described control server.
B10, a kind of control server, described control server comprises:
Receiving element, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application;
Acquiring unit, the described test instruction for receiving according to described receiving element obtains the packet of described tested application;
Transmitting element, is handed down to test terminal for the described packet obtained by described acquiring unit, to make the tested application according to described packet startup optimization of described test terminal, tests the UI control of described tested application.
B11, control server according to B10, described receiving element, comprising:
Process subelement, comprises list or the menu of optional application for sending Web page display;
Determine subelement, during for choosing described optional application tester, obtain described test instruction, and the described optional application chosen is defined as described tested application.
B12, control server according to B10, described receiving element, for receiving the test result that described test terminal reports.
C13, a kind of test terminal, described test terminal comprises:
Receiving element, for receiving the packet of the tested application that control server issues;
Performance element, for tested application described in the described packet startup optimization that receives according to described receiving element;
Acquiring unit, for running in the process of described tested application at described performance element, obtains the interface coordinate of every control in application interface;
Processing unit, the described interface coordinate for obtaining according to described acquiring unit carries out simulation to described control and clicks;
Record cell, clicks the test result of described control generation for recording described processing unit.
C14, test terminal according to C13, described acquiring unit, travels through control in described application interface for calling Accessibility interface, and obtains the interface coordinate of every control.
C15, test terminal according to C14, described acquiring unit, for:
Obtain the interface identification at the first interface of described tested application, and navigate to initial application interface according to described interface identification;
From described initial application interface, travel through the control in application interface at different levels in turn according to the rule of depth-first.
C16, test terminal according to C13, described processing unit, for starting shell-command, to be written to described interface coordinate in input statement and to perform described input statement.
C17, test terminal according to C13, described record cell, for:
Record the click path of control in application interface at different levels;
When the collapse of the process of generation, determine the click process causing process to be collapsed according to described click path.
C18, test terminal according to C13, described test terminal comprises further:
Counting unit, counts for the simulation number of clicks described processing unit being clicked to described control;
Described processing unit, for before again carrying out simulation click, reads the described count value of described counting unit record, if described count value reaches predetermined number, then cancels the simulation clicking operation to described control.
C19, test terminal according to C13, described test terminal comprises further:
Timing unit, the process for the described UI test performed described performance element carries out timing;
Described performance element, when exceeding preset duration for the described UI test when described timing unit record consuming time, stops described UI test process.
C20, test terminal according to C13, described test terminal comprises further:
Transmitting element, for click in described recording unit records described control produce test result after, report the described test result of described recording unit records to described control server.
The test macro of D21, a kind of user interface, described system comprises control server and test terminal;
Described control server, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application, obtains the packet of described tested application, and described packet is handed down to described test terminal;
Described test terminal, for tested application described in the described packet startup optimization that issues according to described control server, obtain the interface coordinate of every control in application interface, according to described interface coordinate, simulation is carried out to described control and click, and the test result that described control produces clicked in record.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in the denomination of invention (as determined the device of website internal chaining grade) that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1. a method of testing for user interface, is characterized in that, described method comprises:
Control server receives test instruction, and described test instruction is used to indicate carries out user interface UI test to selected tested application;
Described control server obtains the packet of described tested application, and described packet is handed down to test terminal;
The tested application according to described packet startup optimization of described test terminal, and obtain the interface coordinate of every control in application interface;
Described test terminal is carried out simulation according to described interface coordinate to described control and is clicked;
The test result that described control produces clicked in described test terminal record.
2. method according to claim 1, is characterized in that, described control server receives test instruction, comprising:
Described control server comprises list or the menu of optional application by Web page display;
When tester chooses described optional application, described control server obtains described test instruction, and the described optional application chosen is defined as described tested application.
3. method according to claim 1, is characterized in that, described test terminal obtains the interface coordinate of every control in application interface, comprising:
Described test terminal is called Accessibility interface and is traveled through control in described application interface, and obtains the interface coordinate of every control.
4. method according to claim 3, is characterized in that, described test terminal is called Accessibility interface and traveled through control in described application interface, comprising:
Described test terminal obtains the interface identification at the first interface of described tested application, and navigates to initial application interface according to described interface identification;
Described test terminal, from described initial application interface, travels through the control in application interface at different levels in turn according to the rule of depth-first.
5. method according to claim 1, is characterized in that, described test terminal is carried out simulation according to described interface coordinate to described control and clicked, and comprising:
Described test terminal starts shell-command, to be written to by described interface coordinate in input statement and to perform described input statement.
6. method according to claim 1, is characterized in that, the test result that described control produces clicked in described test terminal record, comprising:
The click path of control in application interface at different levels is recorded in described test terminal;
When the collapse of the process of generation, the click process causing process to be collapsed is determined in described test terminal according to described click path.
7. method according to claim 1, is characterized in that, described method comprises further:
The simulation number of clicks of described test terminal to described control counts;
Before again carrying out simulation click, described count value is read in described test terminal;
If described count value reaches predetermined number, then cancel the simulation clicking operation to described control.
8. a control server, is characterized in that, described control server comprises:
Receiving element, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application;
Acquiring unit, the described test instruction for receiving according to described receiving element obtains the packet of described tested application;
Transmitting element, is handed down to test terminal for the described packet obtained by described acquiring unit, to make the tested application according to described packet startup optimization of described test terminal, tests the UI control of described tested application.
9. a test terminal, is characterized in that, described test terminal comprises:
Receiving element, for receiving the packet of the tested application that control server issues;
Performance element, for tested application described in the described packet startup optimization that receives according to described receiving element;
Acquiring unit, for running in the process of described tested application at described performance element, obtains the interface coordinate of every control in application interface;
Processing unit, the described interface coordinate for obtaining according to described acquiring unit carries out simulation to described control and clicks;
Record cell, clicks the test result of described control generation for recording described processing unit.
10. a test macro for user interface, is characterized in that, described system comprises control server and test terminal;
Described control server, for receiving test instruction, described test instruction is used to indicate carries out user interface UI test to selected tested application, obtains the packet of described tested application, and described packet is handed down to described test terminal;
Described test terminal, for tested application described in the described packet startup optimization that issues according to described control server, obtain the interface coordinate of every control in application interface, according to described interface coordinate, simulation is carried out to described control and click, and the test result that described control produces clicked in record.
CN201410805346.9A 2014-12-19 2014-12-19 Test method, control server, test terminal and the system of user interface Active CN104461900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410805346.9A CN104461900B (en) 2014-12-19 2014-12-19 Test method, control server, test terminal and the system of user interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410805346.9A CN104461900B (en) 2014-12-19 2014-12-19 Test method, control server, test terminal and the system of user interface

Publications (2)

Publication Number Publication Date
CN104461900A true CN104461900A (en) 2015-03-25
CN104461900B CN104461900B (en) 2018-08-10

Family

ID=52907989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410805346.9A Active CN104461900B (en) 2014-12-19 2014-12-19 Test method, control server, test terminal and the system of user interface

Country Status (1)

Country Link
CN (1) CN104461900B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205003A (en) * 2015-10-28 2015-12-30 努比亚技术有限公司 Automated testing method and device based on clustering system
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device
CN105868100A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Android system-based automatic test method and device
CN105956438A (en) * 2016-04-19 2016-09-21 奇酷软件(深圳)有限公司 Rapid display method, rapid display device and terminal
CN106294106A (en) * 2015-05-27 2017-01-04 航天信息股份有限公司 The method of testing of Web application system and device
CN106326104A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Terminal control test method and apparatus
CN106789399A (en) * 2016-11-28 2017-05-31 成都成电光信科技股份有限公司 A kind of method of testing, apparatus and system
CN107017939A (en) * 2017-04-17 2017-08-04 北京奥博太空科技有限公司 A kind of server, answering machine, satellite test system and correlation technique
CN107122301A (en) * 2017-04-27 2017-09-01 武汉斗鱼网络科技有限公司 Interface detection method and device
CN107329898A (en) * 2017-06-30 2017-11-07 上海摩软通讯技术有限公司 Terminal interface automated testing method and system
CN107451063A (en) * 2017-08-14 2017-12-08 凌云天博光电科技股份有限公司 A kind of script method of testing and device
CN108549601A (en) * 2018-04-02 2018-09-18 郑州云海信息技术有限公司 A kind of more browser compatibility automated testing methods
CN109101429A (en) * 2018-08-21 2018-12-28 青岛海信宽带多媒体技术有限公司 A kind of method and device of the browser page debugging of set-top box
CN109491890A (en) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 The interface scans method and terminal device of application program
CN109558307A (en) * 2017-09-26 2019-04-02 卓望数码技术(深圳)有限公司 A kind of test method and system of games
CN109587663A (en) * 2018-10-25 2019-04-05 惠州市德赛西威汽车电子股份有限公司 A kind of automated testing method and its system of vehicle-mounted Wi-Fi switch
CN110008110A (en) * 2019-01-28 2019-07-12 阿里巴巴集团控股有限公司 The test method and device of user interface
CN110162453A (en) * 2018-02-11 2019-08-23 腾讯科技(深圳)有限公司 Test method, device, computer readable storage medium and computer equipment
CN110471855A (en) * 2019-08-21 2019-11-19 小胡杨信息技术(武汉)有限公司 A kind of computer application software test macro and method
CN110795022A (en) * 2019-11-08 2020-02-14 北京字节跳动网络技术有限公司 Terminal testing method, system and storage medium
CN110968519A (en) * 2019-12-23 2020-04-07 上海米哈游天命科技有限公司 Game testing method, device, server and storage medium
CN111290938A (en) * 2018-12-08 2020-06-16 南京慕测信息科技有限公司 Android semi-automatic testing method based on manual assistance
CN111694744A (en) * 2020-06-11 2020-09-22 安然 Test open method based on monkey source code
CN111817916A (en) * 2020-07-02 2020-10-23 浙江同花顺智能科技有限公司 Test method, device, equipment and storage medium based on mobile terminal cluster
CN111897740A (en) * 2020-08-24 2020-11-06 北京字节跳动网络技术有限公司 User interface testing method and device, electronic equipment and computer readable medium
CN112612698A (en) * 2020-12-17 2021-04-06 平安普惠企业管理有限公司 Application program crash test method and related product
CN112882939A (en) * 2021-02-26 2021-06-01 北京百度网讯科技有限公司 Automatic testing method and device, electronic equipment and storage medium
CN114978360A (en) * 2022-05-10 2022-08-30 紫光计算机科技有限公司 Automatic testing method and device for communication equipment, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805792A (en) * 1989-07-31 1998-09-08 Texas Instruments Incorporated Emulation devices, systems, and methods
CN103530221A (en) * 2012-07-02 2014-01-22 北京大学 Method for mapping procedure behavior and interface operation in Android system
CN103823758A (en) * 2014-03-13 2014-05-28 北京金山网络科技有限公司 Browser testing method and device
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5805792A (en) * 1989-07-31 1998-09-08 Texas Instruments Incorporated Emulation devices, systems, and methods
CN103530221A (en) * 2012-07-02 2014-01-22 北京大学 Method for mapping procedure behavior and interface operation in Android system
CN104050076A (en) * 2013-03-12 2014-09-17 阿里巴巴集团控股有限公司 Testing method, device and system of application software on mobile terminal
CN103823758A (en) * 2014-03-13 2014-05-28 北京金山网络科技有限公司 Browser testing method and device

Cited By (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294106A (en) * 2015-05-27 2017-01-04 航天信息股份有限公司 The method of testing of Web application system and device
CN106294106B (en) * 2015-05-27 2019-03-22 航天信息股份有限公司 The test method and device of Web application system
CN106326104B (en) * 2015-07-08 2021-03-16 腾讯科技(深圳)有限公司 Terminal control testing method and device
CN106326104A (en) * 2015-07-08 2017-01-11 腾讯科技(深圳)有限公司 Terminal control test method and apparatus
CN105205003A (en) * 2015-10-28 2015-12-30 努比亚技术有限公司 Automated testing method and device based on clustering system
CN105653056A (en) * 2015-12-17 2016-06-08 北京奇虎科技有限公司 Input method test method and device
CN105653056B (en) * 2015-12-17 2019-05-28 北京奇虎科技有限公司 The test method and device of input method
CN105868100A (en) * 2015-12-22 2016-08-17 乐视网信息技术(北京)股份有限公司 Android system-based automatic test method and device
CN105956438A (en) * 2016-04-19 2016-09-21 奇酷软件(深圳)有限公司 Rapid display method, rapid display device and terminal
CN106789399A (en) * 2016-11-28 2017-05-31 成都成电光信科技股份有限公司 A kind of method of testing, apparatus and system
CN106789399B (en) * 2016-11-28 2020-06-26 成都成电光信科技股份有限公司 Test method, device and system
CN107017939A (en) * 2017-04-17 2017-08-04 北京奥博太空科技有限公司 A kind of server, answering machine, satellite test system and correlation technique
CN107122301B (en) * 2017-04-27 2020-04-10 武汉斗鱼网络科技有限公司 Interface testing method and device
CN107122301A (en) * 2017-04-27 2017-09-01 武汉斗鱼网络科技有限公司 Interface detection method and device
CN107329898A (en) * 2017-06-30 2017-11-07 上海摩软通讯技术有限公司 Terminal interface automated testing method and system
CN107451063A (en) * 2017-08-14 2017-12-08 凌云天博光电科技股份有限公司 A kind of script method of testing and device
CN109558307A (en) * 2017-09-26 2019-04-02 卓望数码技术(深圳)有限公司 A kind of test method and system of games
CN110162453A (en) * 2018-02-11 2019-08-23 腾讯科技(深圳)有限公司 Test method, device, computer readable storage medium and computer equipment
CN108549601A (en) * 2018-04-02 2018-09-18 郑州云海信息技术有限公司 A kind of more browser compatibility automated testing methods
CN109101429A (en) * 2018-08-21 2018-12-28 青岛海信宽带多媒体技术有限公司 A kind of method and device of the browser page debugging of set-top box
CN109491890A (en) * 2018-10-16 2019-03-19 深圳壹账通智能科技有限公司 The interface scans method and terminal device of application program
CN109587663A (en) * 2018-10-25 2019-04-05 惠州市德赛西威汽车电子股份有限公司 A kind of automated testing method and its system of vehicle-mounted Wi-Fi switch
CN111290938A (en) * 2018-12-08 2020-06-16 南京慕测信息科技有限公司 Android semi-automatic testing method based on manual assistance
CN110008110A (en) * 2019-01-28 2019-07-12 阿里巴巴集团控股有限公司 The test method and device of user interface
CN110008110B (en) * 2019-01-28 2022-07-22 创新先进技术有限公司 User interface testing method and device
CN110471855A (en) * 2019-08-21 2019-11-19 小胡杨信息技术(武汉)有限公司 A kind of computer application software test macro and method
CN110795022A (en) * 2019-11-08 2020-02-14 北京字节跳动网络技术有限公司 Terminal testing method, system and storage medium
CN110968519A (en) * 2019-12-23 2020-04-07 上海米哈游天命科技有限公司 Game testing method, device, server and storage medium
CN111694744A (en) * 2020-06-11 2020-09-22 安然 Test open method based on monkey source code
CN111817916A (en) * 2020-07-02 2020-10-23 浙江同花顺智能科技有限公司 Test method, device, equipment and storage medium based on mobile terminal cluster
CN111817916B (en) * 2020-07-02 2022-06-03 浙江同花顺智能科技有限公司 Test method, device, equipment and storage medium based on mobile terminal cluster
CN111897740A (en) * 2020-08-24 2020-11-06 北京字节跳动网络技术有限公司 User interface testing method and device, electronic equipment and computer readable medium
CN112612698A (en) * 2020-12-17 2021-04-06 平安普惠企业管理有限公司 Application program crash test method and related product
CN112882939A (en) * 2021-02-26 2021-06-01 北京百度网讯科技有限公司 Automatic testing method and device, electronic equipment and storage medium
CN112882939B (en) * 2021-02-26 2022-09-02 北京百度网讯科技有限公司 Automatic testing method and device, electronic equipment and storage medium
CN114978360A (en) * 2022-05-10 2022-08-30 紫光计算机科技有限公司 Automatic testing method and device for communication equipment, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104461900B (en) 2018-08-10

Similar Documents

Publication Publication Date Title
CN104461900A (en) User interface testing method, center control server, test terminal and system
US9983892B2 (en) Deep linking to mobile application states through programmatic replay of user interface events
WO2020155778A1 (en) Interface automation test method, test apparatus, test device and storage medium
US10152488B2 (en) Static-analysis-assisted dynamic application crawling architecture
CN104050076B (en) Application software testing method, apparatus and system on mobile terminal
CN107609135B (en) Page element determining method and device, and user behavior path determining method and device
Sahami Shirazi et al. Insights into layout patterns of mobile user interfaces by an automatic analysis of android apps
KR20180030724A (en) Identification, indexing, navigating systems and methods for deep states of mobile applications
CN106557424A (en) Internal storage testing method, measured terminal, test client and system
US9317607B2 (en) Executing a fast crawl over a computer-executable application
CN106294094A (en) The method of testing of game server, client, server and system
CN110221959B (en) Application program testing method, device and computer readable medium
US10877778B2 (en) Sequence detection and automation for complex portal environments
JP2022550244A (en) Improved process for retrieving GUI elements using user input
Ma et al. Paladin: Automated generation of reproducible test cases for android apps
Leotta et al. Sidereal: Statistical adaptive generation of robust locators for web testing
CN110147327B (en) Multi-granularity-based web automatic test management method
Wang et al. Using combinatorial testing to build navigation graphs for dynamic web applications
CN111694550A (en) Page display control method, device and system
CN103544271B (en) Load Image in a kind of browser the method and apparatus for processing window
US10042638B2 (en) Evaluating documentation coverage
CN104268246A (en) Method for generating instruction script for visiting websites and visiting method and device
CN108958855A (en) The method, apparatus and system of page jump
CN113031995B (en) Rule updating method and device, storage medium and electronic equipment
CN106484741B (en) A kind of method and device of single page application access data collection and transmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220719

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right