CN104142883B - Testing method and recording tool - Google Patents

Testing method and recording tool Download PDF

Info

Publication number
CN104142883B
CN104142883B CN201310166181.0A CN201310166181A CN104142883B CN 104142883 B CN104142883 B CN 104142883B CN 201310166181 A CN201310166181 A CN 201310166181A CN 104142883 B CN104142883 B CN 104142883B
Authority
CN
China
Prior art keywords
multidate information
recording
tested
page
instrument
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.)
Active
Application number
CN201310166181.0A
Other languages
Chinese (zh)
Other versions
CN104142883A (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.)
Alibaba Singapore Holdings Pte Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201310166181.0A priority Critical patent/CN104142883B/en
Publication of CN104142883A publication Critical patent/CN104142883A/en
Application granted granted Critical
Publication of CN104142883B publication Critical patent/CN104142883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a testing method and a recording tool. The recording tool is used for recoding the source of dynamic information in a recording mode; next, in a testing mode, every time when a tested page is tested, the recording tool is capable of obtaining the valid contents of the current dynamic information according to the source of the dynamic information in real time and testing the tested page by use of the obtained real-time valid contents of the dynamic information; as a result, the accuracy of testing the tested page can be improved.

Description

A kind of method of testing and a kind of recording instrument
Technical field
The application is related to field of computer technology, more particularly to a kind of method of testing and a kind of recording work for test Tool.
Background technology
Software test procedure is the indispensable part of software development process, its objective is to find to hide in software Defect, promotes the lifting of software quality.As the complexity of software function is improved constantly, to the measuring technology of software also continuous Development and progress.
In various types of software automated testing technologies, ui testing(User interface testing, UI is tested)Technology is a kind of During manual operation by analog subscriber to the tested page, with script executive mode, automatically The measuring technology of the feature operation to the tested page is realized, the purpose that the correctness to tested page function is tested is can reach.
In order to improve the efficiency of test script generation, current industry is generally adopted to record script of the instrument as supplementary meanss Generation technique, such as selenium ide record instrument, qtp and record instrument, sahi recording instruments, can reduce to a certain extent The duplication of labour of script edit, improves the efficiency that script is generated and safeguarded.
The working condition of recording instrument is divided into recording mode and test pattern, and its operation principle is:
Under recording mode, operation trace of the tool records user to the tested page is recorded, and for each step operation trace Generate corresponding test code statement, due to different users it is all identical to the operation trace of the same tested page, therefore, surveying Under die trial formula, the test code statement that instrument is generated by operation is recorded, repeat operation of the analog subscriber to the tested page Journey, realizes the functional test to the tested page.
It can be seen from the operation principle of the instrument of recording, record tool records is the Normal Operation to the page, but in fact, User is carried out once to producing multidate information, recording instrument in the operating process of the tested page to the operation trace of user After recording, can only using this operate in produce multidate information recorded as normality information, afterwards using record when give birth to Into test code statement multiple test is carried out to the tested page when, every time test can only be using identical dynamic letter Breath, it is impossible to the situation of different multidate informations is used when simulating the tested page of each run, causes test result inaccurate.
For example, borrow when borrowing the page and returning the page and test, recording tool records User logs in library The page, each step operation trace to borrowing the page are read, after borrowing successfully, it will this for user borrows process generation one It is individual to borrow mark A(Different users borrow produce during different books to borrow mark different, process dynamics are as borrowed every time Mark is borrowed in generation), recording instrument record simultaneously this borrow mark A;Afterwards, the page is returned in user's continuation login, and for this That borrows that mark A carries out returns operation and also will all be recorded tool records and get off.Recording instrument is borrowed, moved back to user's Also process is recorded and generated after corresponding test code statement, using the test code statement to borrowing, returning the page The test of hundreds and thousands of times is carried out, but, mark A is borrowed due to only have recorded one in recording process, to returning the page When the hundreds and thousands of time test for carrying out is to simulate a large number of users to its operation, every time mark A is borrowed using same, because This, the test process to replacing the page is likely to occur the inaccurate problem of test result.
Again for example, when placing an order to the order of shopping website, paying the page and test, record tool records User logs in and order Single lower single-page and each step operation trace to the page, and record can be this order generation after the success that places an order Order number 001(Successfully to descend single event dynamic to generate order number every time), afterwards, recording instrument continues record user utilization, and this is ordered Odd numbers 001 pair pays the operation that the page is carried out, and then generates corresponding test code statement.In the survey generated using testing tool When examination code statement places an order to order, pays the page and test, because each dry run process is all using identical order Number 001, it is impossible to simulate different user every time using the situation of different order numbers, cause the test result to paying the page to be forbidden Really.
In order to solve the problems, such as recording instrument cannot the dynamic recording page be that every time operation generates multidate information, at present, only By way of manual coding, the test code of multidate information can be encoded based on the code API of test frame offer.
As a example by the placing an order of shopping website, the test of the newly-increased order record of data base's order table, record instrument and can record User opens browser and logs in lower single-page, clicks on the operation of lower single-button, but because the order number for generating is to be continually changing , it is impossible to by recording instrument dynamically recording, therefore, the order number of each generation can only be recorded by way of manual coding, and Record log-on data storehouse and new order number is write in data base and the process of order table is updated.
In sum, recording instrument in current UI automatizatioies cannot carry out efficient recording to the multidate information of the page, lead Cause based on the inaccurate problem of UI test results of multidate information.
The content of the invention
The embodiment of the present application provides a kind of method of testing and a kind of recording instrument, to solve at present to the tested page The inaccurate problem of test result.
A kind of method of testing, methods described includes:
In test mode, recording instrument is according to the source of the multidate information for having recorded, it is determined that tested under current time Effective content of the multidate information in the page, the source of the multidate information is that recording instrument is believed under recording mode according to dynamic The generating process record of breath;
Recording instrument is tested the tested page using effective content of the multidate information determined.
A kind of recording instrument, including:
Module is recorded, for the generating process under recording mode according to multidate information, the source of multidate information is recorded;
Test module, in test mode, according to the source of the multidate information for having recorded, it is determined that under current time Effective content of the multidate information in the tested page, and utilize effective content of the multidate information determined to carry out the tested page Test.
The application has the beneficial effect that:
The recording instrument of the embodiment of the present application records the source of multidate information under recording mode, in order in test pattern Under, when testing the tested page every time, according to the source of multidate information, the effective interior of current multidate information is obtained in real time Hold, the tested page is tested using effective content of the real-time multidate information for obtaining, the tested page is tested with improving Accuracy.
Description of the drawings
Fig. 1 is the method that the multidate information source that instrument records the tested page under recording mode is recorded in the present embodiment one Step schematic diagram;
Fig. 2 is that the method and step signal that instrument is tested the tested page in test mode is recorded in the present embodiment two Figure;
Fig. 3 is the structural representation of the recording instrument in the embodiment of the present application three.
Specific embodiment
In order to solve the problems, such as that recording instrument cannot carry out efficient recording to the multidate information of the page, the embodiment of the present application is carried Go out a kind of new testing scheme, effective content of multidate information is not only recorded under recording mode by recording instrument, while also remembering The source of the lower multidate information of record, in order in test mode, recording instrument can be when testing the tested page every time, root According to the source of multidate information, effective content of current multidate information is obtained in real time, using having for the real-time multidate information for obtaining Imitate content to test the tested page.
Because the embodiment of the present application realizes the real-time acquisition of multidate information, when repeatedly being tested the tested page, Every time test process can all use effective content of current multidate information, truly operation rail of the analog subscriber to the tested page Mark, improves the test result accuracy to the tested page.
The multidate information being related in the embodiment of the present application can be page insertion by canonical formula value mode, take total head, What the modes such as filtering characters value, calculating value were generated.
The recording instrument being related in the embodiment of the present application can be the improvement of the recording instrument general to industry, and the application is simultaneously It is not limited to certain specific recording instrument.
The recording mode that instrument is recorded in the embodiment of the present application is referred to:Record operation of the tool records user to the tested page Track, and the pattern for generating corresponding test code statement for each step operation trace.The test pattern of recording instrument is referred to:Record The pattern that instrument processed is tested the tested page using the test code statement for generating.
The tested page that multidate information is generated in the embodiment of the present application and the tested page tested using multidate information Can be the same page, for example, when the page to being input into identification code is tested, dynamic identification both generated in the same page Code, need to be tested in the page using the identification code for generating again.Generate the tested page of multidate information and using dynamic letter The tested page tested of breath can also be the different pages, for example, the order of shopping website placed an order, pay the page and survey During examination, dynamic order number is generated in lower single-page, tested paying the page using the order number.
The scheme of the embodiment of the present application is described in detail with reference to Figure of description.
Embodiment one:
As shown in figure 1, for instrument is recorded in the present embodiment one under its recording mode, recording multidate information in the tested page The process in source, mainly includes the following steps that:
Step 101:Recording instrument determines the target operation object that multidate information is generated in the tested page.
In the scheme of this step 101, the instrument of recording can be to the operation trace of user and the processing procedure of the tested page It is scanned, determines the target operation object that multidate information is generated in the tested page.For example, in the lower single-page of shopping website, The target operation object for generating order number is order number control.Except the target operation object of page control " element " type Outward, the other guide that may include multidate information can also be target operation object.For example:
Following kind of object is likely to become target operation object in the tested page:
URL, comprising the multidate information for generating in its content;
The property value of control class/title/value/herf/src, comprising the dynamic for generating in the content of its property value Information;
Control Custom Attributes value, comprising the multidate information for generating in the content of its property value;
Database query result, comprising the multidate information for generating in the content of its Query Result.
In this step 101, recording instrument can reach record target by the location information of record target operation object The purpose of operation object.For example, when it is determined that target operation object is order number control, the order number control is can record tested Location information in the page, directly according to record location information can find as target operation object afterwards in the tested page Order number control.
Step 102:Recording instrument determines data type of the multidate information for generating in the target operation object.
The data type of multidate information can be text type(text), or value type, boolean's Value Types etc., In addition to above-mentioned data type, as long as what target operation object was supported, and instrument reading can be recorded when performing with code Various data types to value all can be used as the data type in this step 102.
So that target operation object is for order number control as an example, if data type of the multidate information in order number control is Text, then it represents that be the content of multidate information in order number control with the value of text forms.
By above step 101 and the scheme of step 102, recording instrument defines multidate information in the tested page Source, afterwards, recording instrument can do further operation under recording mode to multidate information and its source.
Step 103:Recording instrument distributes title for the source of multidate information.
In the scheme of this step 103, record instrument for multidate information source distribution title including but not limited to Lower form:
Recording instrument distributes unique id of character string forms for the source of multidate information, such as " 1234 ".
The name that recording instrument is easily recognized for the source distributing user of multidate information, such as " order number " or " orderid ", Here name is also capable of the source of unique mark multidate information.
Recording instrument both distributed unique id of character string forms for the source of multidate information, and distributing user is easily recognized Name, and be that the id and name set up one-to-one relationship.
No matter recording instrument distributes the title of which kind of form for the source of multidate information, its purpose is provided to know Not, using the source of the multidate information, and then real-time query goes out effective content of multidate information.
Step 104:Recording instrument determines effective content of the multidate information under current time in the tested page.
In the scheme of this step 104, recording instrument can determine that under current recording mode, multidate information it is effective Content, effective content of the multidate information now determined can be used for the survey in recording mode is located the time period to the tested page During examination.
By the scheme of above step 101 to step 104, recording instrument had both defined the source of multidate information, also true Effective content of the multidate information under recording mode in the tested page is defined, the instrument of recording can be by the generation of multidate information Journey is stored in locally in the form of code, below so that order number control dynamic generates order number as an example, records what instrument was generated json(JavaScript Object Notation)The code of structure is as follows:
After recording instrument is stored in the generating process of multidate information in the form of code locally, recording mode can be entered Under test process to the tested page.
Step 105:Recording instrument determines the target widget in the tested page.
In this step 105, the tested page being related in the tested page and step 101 that target widget is located can be same The page, or the different pages.
Step 106:Recording instrument judges whether the target widget has the ability for receiving multidate information, if so, then jumps Go to step 107;Otherwise, it determines not using multidate information at present.
Recording instrument can judge whether it has and receive and using the ability of multidate information, tool according to the type of target widget Body ground, can represent that target widget supports that multidate information fills in operation, with reception when it is determined that target widget is input box type The ability of multidate information.
Step 107:Recording instrument when being triggered by user, write by effective content of the multidate information that step 104 is determined In entering the target widget in the tested page.
In the scheme of this step 107, recording instrument can be provided a user with using the input interface of multidate information(As clicked on Button or shortcut), to user the title of the multidate information that recording instrument currently determines is shown.Recording instrument receive user passes through After some multidate information title that the modes such as click are selected, can be tested by the write of effective content of the multidate information under the title In target widget in the page.
By recording instrument to user is in the lower single-page of shopping website and pays as a example by page operation records, it is assumed that hold Row step 101 records the order number and order number of tool records current time lower single-page generation to step 104 Source, afterwards, records instrument after it is determined that paying the order input frame in the page, can simulate and be triggered by user, with above-mentioned As a example by the code of the json structures that recording instrument is generated, when entitled " ordered " that the simulation of recording instrument is received, will can work as 2342342342 front write order input inframes.
Step 108:Record target widget described in toolmarking.
Target widget in due to having determined that the tested page in step 106 is the control for needing to write multidate information, because This, recording instrument can indicate the target widget, in order in test mode, can directly be determined according to mark can be to the target control Part writes multidate information, and the type of target widget need not be judged again.
For example, the code that target widget is be [input frame A], can by by its code revision be [input frame A] .set come Mark [input frame A] writable multidate information.
More preferably, recording instrument can will set up corresponding relation between the target widget for having indicated and source name, such as set up The corresponding relation of [input frame A] between .set and orderid, in order in test mode, be closed according to correspondence between the two System, it is determined that the multidate information that need to be write to input frame A is the multidate information under orderid.In this step, can be with The mode of [[orderid]] this pair of bracket is used come the self-defined of entitled identification string for representing multidate information source Symbol, in test process, the symbol will be replaced by the actual value under wherein title.
More than illustrate by taking input frame as an example, other kinds of scene is also not necessarily limited in the present embodiment with it is above-mentioned from Define symbol to represent multidate information, and again self-defined symbol replaced back with the actual value of multidate information in test process.
By the scheme of the present embodiment one, generating process of the instrument by record multidate information is recorded, have recorded dynamic letter The source of breath, now, when recycling the test code statement that recording instrument is generated to test the tested page, can survey every time Obtain from the source of multidate information current multidate information during examination in real time so that test process being capable of accurate simulation multi-user Operation to the tested page.The test process under the test pattern for recording instrument is described in detail below.
Embodiment two:
As shown in Fig. 2 in the embodiment of the present application two record instrument using in embodiment one record multidate information come Source, obtains in real time multidate information and the schematic diagram tested the tested page, mainly including herein below:
Step 201:Recording instrument determines whether the source of the multidate information for having recorded, if having, execution step 202, Otherwise, represent this test process without using multidate information.
Recording instrument can pass through to judge locally whether to be stored with embodiment one the step of 104 in json structures code, To determine whether the source of the multidate information for having recorded.
Step 202:Recording instrument according to the source of the multidate information for having recorded, it is determined that under current time in the tested page Multidate information effective content.
By taking the code for recording the json structures that instrument is generated in step 104 as an example, this step 202 implements process For:
First, recording instrument determines the target operation object in the tested page according to the source of the multidate information for having recorded, The SourceType in json structural codes is read, determines that target operation object is page control A, and then can be according to Source In location information { id:Xxxxx } find page control A in the tested page.
Then, recording instrument determines data type of the multidate information in the target operation object, that is, read Type, really It is text type to determine data type.
Then, recording instrument determines the data class included in the target operation object under current time in the tested page The content of type, that is, read content of text current in page control A.
Step 203:Recording instrument is by effective content caching of the current multidate information for determining local.
In the code of the json structures that hypothesis is generated at step 104, there is the spatial cache of multidate information, then in this step In rapid 203, can be inserted in spatial cache { " title in multidate information source ":Effective content of multidate information }.For example, in record Under molding formula, the content of spatial cache insertion at that time is { " ordered ":2342342342 }, and 202 the step of test pattern Middle determination current order number is 55555, then the content update of spatial cache insertion is { " ordered ":55555}.
By the operation of step 201 to step 203, the instrument of recording is obtained in test mode, in real time in the tested page Multidate information(The order number generated in following single-page), afterwards, test process can be continued, using the current dynamic letter for obtaining Effective content of breath is tested the tested page(Such as tested paying the page using the current order number for obtaining).
Step 204:Recording instrument is tested the tested page using effective content of the multidate information determined.
If the target widget in having indicated the tested page in 108 the step of embodiment one, in this step 204, record Instrument processed can write effective content of the multidate information determined in the target widget indicated in the tested page.
As a example by establishing corresponding relation between the title that target widget in step 108 and multidate information are originated, work is recorded Having the corresponding relation set up between the title originated for target widget and multidate information is:[input frame A] .set " [[orderid]] ", the process that implements of this step is:
When recording instrument goes to test code statement [input frame A] .set " [[orderid]] ", sentence is first determined whether In whether include the self-defined use symbol of double bracket form, self-defined use symbol is included in this example.Further, due to Set represents [input frame A] writable multidate information, and double bracket [[orderid]] represents the entitled identification in multidate information source The self-defined use symbol of character string, in test process, the symbol will be replaced by the actual value under wherein title, therefore, record Tool queries processed go out { " ordered " of current cache:55555 }, the effective content for finding the multidate information of current determination is 55555, sentence [input frame A] .set " [[orderid]] " is changed into into sentence [input frame A] .set " 55555 ", perform the sentence Afterwards, 55555 are written with input frame A, are realized in test process to the efficient recording of page multidate information and using real-time Test of the multidate information of recording to the tested page.
Embodiment three:
As shown in figure 3, the embodiment of the present application three also provides a kind of record for being able to carry out embodiment one and real-time two each step Instrument processed, the recording instrument mainly includes two parts, and a part is to record module 11, for being believed according to dynamic under recording mode The generating process of breath, records the source of multidate information;Another part is test module 12, in test mode, according to The source of the multidate information of record, it is determined that effective content of the multidate information under current time in the tested page, and using true Effective content of the multidate information made is tested the tested page.
More preferably, the recording module 11 includes:
Object determination sub-module 101, under recording mode, determining the target behaviour that multidate information is generated in the tested page Make object;
Data type determination sub-module 102, for determining number of the multidate information for generating in the target operation object According to type;
Source determination sub-module 103, for the content of the data type included in the target operation object to be made For the source of multidate information.
By the collaborative work of three above submodule, record module 11 and realize the recording originated to multidate information.
The test module 12 includes:
Test content determination sub-module 201 is used in test mode, according to moving that source determination sub-module 103 has been recorded The source of state information, it is determined that in the data type included in the target operation object under current time in the tested page Hold;
Test submodule 202 is used to test the tested page using the content determined.
The recording module also includes:
Recorded content determination sub-module 104, under recording mode, determining the dynamic under current time in the tested page Effective content of information, and it is determined that the target widget in the tested page has the ability of reception multidate information and touched by user When sending out, effective content of the multidate information that recorded content determination sub-module is determined is write in the target widget in the tested page.
The recording module also includes:
Control mark submodule 105, under recording mode, mark write submodule to write the mesh of effective content Mark control;
The test submodule 202, writes in the tested page specifically for the effective content by the multidate information determined In the target widget for having indicated.
The recording module also includes:
Title is distributed in title distribution sub module 106, the source under recording mode, being multidate information;
The test submodule 202, specifically for being closed according to the correspondence between the target widget and source name for having indicated System, effective content of the multidate information determined from source corresponding with the target widget for indicating is marked described in write In the target widget of will.
The scheme provided by the embodiment of the present application, records instrument under recording mode, inscribes when being more than recording a certain Multidate information, but while recording the source of multidate information so that record instrument in test mode, can be real-time according to source Multidate information is obtained, the tested page is tested using the real-time multidate information for obtaining, the accuracy of test result can be lifted.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or computer program Product.Therefore, the application can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the application can be adopted and wherein include the computer of computer usable program code at one or more Usable storage medium(Including but not limited to disk memory, CD-ROM, optical memory etc.)The computer program of upper enforcement is produced The form of product.
The application is with reference to method, the equipment according to the embodiment of the present application(System)And the flow process of computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into having altered and changing for the application scope.
Obviously, those skilled in the art can carry out the essence of various changes and modification without deviating from the application to the application God and scope.So, if these modifications of the application and modification belong to the scope of the application claim and its equivalent technologies Within, then the application is also intended to comprising these changes and modification.

Claims (10)

1. a kind of method of testing, it is characterised in that methods described includes:
In test mode, recording instrument is according to the source of the multidate information for having recorded, it is determined that the tested page under current time In multidate information effective content, the source of the multidate information be recording instrument under recording mode according to multidate information Generating process record;
Recording instrument is tested the tested page using effective content of the multidate information determined;
Recording instrument records the source of the multidate information under recording mode, specifically includes:
Under recording mode, recording instrument determines the target operation object that multidate information is generated in the tested page;
Recording instrument determines data type of the multidate information for generating in the target operation object;
Recording instrument using the content of the data type included in the target operation object as multidate information source.
2. method of testing as claimed in claim 1, it is characterised in that in test mode, records instrument and determines when current Effective content of the multidate information in the tested page is inscribed, is specifically included:
In the data type that the determination of recording instrument is included in the target operation object under current time in the tested page Hold.
3. method of testing as claimed in claim 2, it is characterised in that methods described also includes:
Under recording mode, recording instrument determines effective content of the multidate information under current time in the tested page;
Recording instrument it is determined that the target widget in the tested page has receives the ability of multidate information and when being triggered by user, Effective content of the multidate information determined under recording mode is write in the target widget in the tested page.
4. method of testing as claimed in claim 3, it is characterised in that methods described also includes:
Under recording mode, target widget described in toolmarking is recorded;
In test mode, recording instrument is tested the tested page using effective content of the multidate information determined, is had Body includes:
Recording instrument writes effective content of the multidate information determined in the target widget indicated in the tested page.
5. method of testing as claimed in claim 4, it is characterised in that methods described also includes:
Under recording mode, the source distribution title that instrument is multidate information is recorded;
In test mode, effective content of the multidate information determined is write recording instrument the mesh indicated in the tested page In mark control, specifically include:
Recording instrument according to the corresponding relation between the target widget and source name for having indicated, by from the target control for indicating Effective content of the multidate information determined at the corresponding source of part, in the target widget that indicated described in write.
6. a kind of recording instrument, it is characterised in that include:
Module is recorded, for the generating process under recording mode according to multidate information, the source of multidate information is recorded;
Test module, in test mode, according to the source of the multidate information for having recorded, it is determined that tested under current time Effective content of the multidate information in the page, and utilize effective content of the multidate information determined to survey the tested page Examination;
Wherein, the recording module includes:
Object determination sub-module, under recording mode, determining the target operation object that multidate information is generated in the tested page;
Data type determination sub-module, for determining data type of the multidate information for generating in the target operation object;
Source determination sub-module, for believing the content of the data type included in the target operation object as dynamic The source of breath.
7. it is as claimed in claim 6 to record instrument, it is characterised in that the test module includes:
Test content determination sub-module, in test mode, according to the source of the multidate information for having recorded, it is determined that current When inscribe in the tested page target operation object in the content of the data type that includes;
Test submodule, for being tested the tested page using the content determined.
8. it is as claimed in claim 7 to record instrument, it is characterised in that the recording module also includes:
Recorded content determination sub-module, under recording mode, determining the multidate information under current time in the tested page Effective content, and when it is determined that the target widget in the tested page has the ability of reception multidate information and triggered by user, Effective content of the multidate information for determining is write in the target widget in the tested page.
9. it is as claimed in claim 8 to record instrument, it is characterised in that the recording module also includes:
Control mark submodule, under recording mode, mark write submodule to write the target widget of effective content;
The test submodule, writes what is indicated in the tested page specifically for the effective content by the multidate information determined In the target widget.
10. it is as claimed in claim 9 to record instrument, it is characterised in that the recording module also includes:
Title is distributed in title distribution sub module, the source under recording mode, being multidate information;
The test submodule, specifically for according to the corresponding relation between the target widget that indicated and source name, will be from Effective content of the multidate information determined at source corresponding with the target widget for indicating, the target that indicated described in write In control.
CN201310166181.0A 2013-05-08 2013-05-08 Testing method and recording tool Active CN104142883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310166181.0A CN104142883B (en) 2013-05-08 2013-05-08 Testing method and recording tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310166181.0A CN104142883B (en) 2013-05-08 2013-05-08 Testing method and recording tool

Publications (2)

Publication Number Publication Date
CN104142883A CN104142883A (en) 2014-11-12
CN104142883B true CN104142883B (en) 2017-04-12

Family

ID=51852064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310166181.0A Active CN104142883B (en) 2013-05-08 2013-05-08 Testing method and recording tool

Country Status (1)

Country Link
CN (1) CN104142883B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824742B (en) * 2015-01-08 2018-10-02 阿里巴巴集团控股有限公司 Operating user interface method for recording and device
CN112612707B (en) * 2020-12-26 2024-03-26 深圳集智数字科技有限公司 Method and device for running test script, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141319A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Function operation packaging based automatization test script implementing method and apparatus
CN101241466A (en) * 2007-02-08 2008-08-13 深圳迈瑞生物医疗电子股份有限公司 Embedded software test method and system
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN102184184A (en) * 2011-04-07 2011-09-14 安徽博约信息科技有限责任公司 Method for acquiring webpage dynamic information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100547562C (en) * 2006-10-18 2009-10-07 国际商业机器公司 The method and system of the unit testing use-case of problem when generation can be reproduced operation automatically

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101241466A (en) * 2007-02-08 2008-08-13 深圳迈瑞生物医疗电子股份有限公司 Embedded software test method and system
CN101141319A (en) * 2007-05-23 2008-03-12 中兴通讯股份有限公司 Function operation packaging based automatization test script implementing method and apparatus
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN102184184A (en) * 2011-04-07 2011-09-14 安徽博约信息科技有限责任公司 Method for acquiring webpage dynamic information

Also Published As

Publication number Publication date
CN104142883A (en) 2014-11-12

Similar Documents

Publication Publication Date Title
CN105190548B (en) Method and system for auto Analysis risk
JP5072882B2 (en) Circuit specification description visualization apparatus and circuit specification description visualization method
CN104956362B (en) Analyze the structure of weblication
CN108132887B (en) User interface method of calibration, device, software testing system, terminal and medium
US20130272679A1 (en) Video Generator System
CN104391786B (en) Webpage automatization test system and its method
CN107908959A (en) Site information detection method, device, electronic equipment and storage medium
CN104239219B (en) Software defect positioning technology on-line evaluating and experimenting platform and method based on coverage
CN103597469A (en) Live browser tooling in an integrated development environment
CN104572577B (en) Mathematical formulae processing method and processing device
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
CN103399848B (en) Engine test data normalization specific format imports processing method
CN107204040A (en) Multiple-Point Geostatistics modeling method and device, computer-readable storage medium
Hoffswell et al. Visual debugging techniques for reactive data visualization
CN103729713A (en) Audit result display configuration method and device
CN108287786A (en) A kind of automated testing method and device and hybrid navigation system based on map
EP3761288A1 (en) Print, and production method and production system for touch-and-talk content of print
CN110211581A (en) A kind of laboratory automatic speech recognition record identification system and method
CN104142883B (en) Testing method and recording tool
CN102053987A (en) Uniform interface for displaying and modifying data array
CN101206668A (en) Method for generating and analyzing website content components as well as apparatus
CN113204340A (en) Question production method, question management system and electronic equipment
CN104238879B (en) The moving method and device of application window
RU2001112109A (en) Computer-readable recording medium on which an image file is recorded, a device for manufacturing a recording medium, a medium on which a program for creating an image file is recorded, a device for transferring a file
CN103164629B (en) A kind of automatic scoring method of Flash software operative skill

Legal Events

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

Effective date of registration: 20240207

Address after: # 01-21, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Patentee after: Alibaba Singapore Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Islands Grand Cayman capital building, a four storey No. 847 mailbox

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right