CN103077110A - Test method and device - Google Patents

Test method and device Download PDF

Info

Publication number
CN103077110A
CN103077110A CN2011103282472A CN201110328247A CN103077110A CN 103077110 A CN103077110 A CN 103077110A CN 2011103282472 A CN2011103282472 A CN 2011103282472A CN 201110328247 A CN201110328247 A CN 201110328247A CN 103077110 A CN103077110 A CN 103077110A
Authority
CN
China
Prior art keywords
tested
data
software
automatic test
test suite
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
CN2011103282472A
Other languages
Chinese (zh)
Other versions
CN103077110B (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 Group Holding 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 CN201110328247.2A priority Critical patent/CN103077110B/en
Publication of CN103077110A publication Critical patent/CN103077110A/en
Priority to HK13107358.6A priority patent/HK1180085A1/en
Application granted granted Critical
Publication of CN103077110B publication Critical patent/CN103077110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a test method and a test device, which aim to solve the problem that the test accuracy is reduced by using an automatic test method of software in the prior art. The test method comprises the following steps that identification information of to-be-tested data required for performing a current test case is determined, and the to-be-tested data comprises data displayed on an interface of tested software; an obtaining message of obtaining the to-be-tested data is sent to the tested software; the to-be-tested data provided by the tested software are obtained; and the tested software is tested in accordance with the obtained to-be-tested data. According to the test method and the test device, because the data displayed on the interface of the tested software are obtained, and the tested software is tested in accordance with the data displayed on the page, whether the data displayed on the interface of the software are correct or not can be tested, and the test accuracy of the software is increased.

Description

A kind of method of testing and device
Technical field
The application relates to communication technical field, relates in particular to a kind of method of testing and device.
Background technology
Along with popularizing of computing machine, various softwares also emerge in an endless stream, and how software are carried out automatic test and are called current problem demanding prompt solution.
In the prior art, it mainly is by writing test script that software is carried out automatic test, and some test cases are set, and carries out the process that test case is come the analog manual operation by moving this test script, to reach the purpose that software is tested.But whether the operation that this method can only testing software breaks down, and whether the data that represent in the interface for software are correct, and the party's rule can't be tested.
For example, interpolation good friend function to certain chat software is carried out automatic test, test script carries out corresponding test case, login this chat software with account A first, then the analog manual operation to add account B be the good friend, the test result of this process shows the interpolation good friend function normal operation of this chat software, but, added account B for after the good friend for account A, whether shown account B in the good friend interface of account A, the method but can not be tested.
For another example, personalized signature function to this chat software is tested, test script is logined this chat software with account A first, then revise the personalized signature of account A, suppose to be revised as " bbb " from " aaa ", the personalized signature function that the test result of this process shows this chat software is normal operation also, still, suppose that account A and B are the good friends, then the method can not test whether the individualized signature of the account A that shows in the interface of account B is amended " bbb ".
Therefore, whether the ruuning situation that method of testing of the prior art can only testing software is normal, and whether the data in can not testing software are correct, reduced the accuracy of test.
Summary of the invention
The embodiment of the present application provides a kind of method of testing and device, has reduced the problem of the accuracy of test in order to solve in the prior art method that software is carried out automatic test.
A kind of method of testing that the embodiment of the present application provides comprises:
Determine to carry out the identification information of the required data to be tested of current test case, described data to be tested comprise the data that represent on the interface of tested software; And
Obtain first of described data to be tested to described tested software transmission and obtain message, described first obtains the identification information that carries described data to be tested in the message; And
Obtain the data to be tested that described tested software provides according to the identification information of described data to be tested;
According to the data to be tested that obtain described tested software is tested.
A kind of proving installation that the embodiment of the present application provides comprises:
Determination module, for the identification information of determining to carry out the required data to be tested of current test case, described data to be tested comprise the data that represent on the interface of tested software;
Sending module is used for obtaining first of described data to be tested to described tested software transmission and obtains message, and described first obtains the identification information that carries described data to be tested in the message;
Obtain module, be used for obtaining the data to be tested that described tested software provides according to the identification information of described data to be tested;
Test module is used for according to the data to be tested that obtain described tested software being tested.
The embodiment of the present application provides a kind of method of testing and device, the method determines to carry out the identification information of the required data to be tested of current test case, these data to be tested comprise the data that represent on the interface of tested software, send the message of obtaining of obtaining data to be tested to tested software, obtain the data to be tested that tested software provides, and according to the data to be tested that obtain tested software is tested.Owing to obtain the data that represent on the interface of tested software in the embodiment of the present application, and according to the data that represent on this page tested software is tested, whether the data that represent on therefore can also the interface of testing software are correct, improved the accuracy that software is tested.
Description of drawings
The test process that Fig. 1 provides for the embodiment of the present application;
Fig. 2 for the embodiment of the present application provide take the test chat software good friend's marking Function as example, the good friend interface of this chat software of explanation;
The DCO process that Fig. 3 provides for the embodiment of the present application;
The proving installation structural representation that Fig. 4 provides for the embodiment of the present application;
The test macro specific implementation structural representation that comprises proving installation and tested software that Fig. 5 provides for the embodiment of the present application.
Embodiment
Owing to can only test the ruuning situation of software in the prior art, such as central processing unit (CentralProcessing Unit, CPU) take, EMS memory occupation etc., and whether the data that represent on can not the interface to this software correctly test, and the accuracy that therefore can cause testing reduces.The embodiment of the present application is in order to improve the accuracy of test, not only want the ruuning situation of testing software whether normal, also want the data that represent on the interface of testing software whether correct, therefore when software is tested, obtain the data that represent on the interface of this software as data to be tested, and compare with default data, realize that the data that represent on the interface to this software test.
Below in conjunction with Figure of description, the embodiment of the present application is described in detail.
Fig. 1 is the test process that the embodiment of the present application provides, and specifically may further comprise the steps:
S101: determine to carry out the identification information of the required data to be tested of current test case, these data to be tested comprise the data that represent on the interface of tested software.
In the embodiment of the present application, proving installation at first will determine to carry out the identification information of the required data to be tested of current test case, and what also namely at first will determine current testing case is what.
The below describes as example to test certain chat software, interpolation good friend function to this chat software is carried out automatic test, proving installation is logined this chat software with account A, and interpolation account B is the good friend, what will test this moment is not only in the process of adding the good friend, whether the ruuning situation of this chat software is normal, also to test and add account B for behind the good friend, whether shown account B in the good friend interface of account A, also be current testing case be whether to have shown account B in the good friend interface of account A, then data to be tested comprise each good friend's data that represent on the good friend interface of this chat software.For this test case, the identification information of data to be tested is: the buddy list that represents on the good friend interface of this chat software.
S102: send to tested software and to obtain first of these data to be tested and obtain message, this first obtains the identification information that carries these data to be tested in the message.
Wherein, send this and first can adopt the mode that sends windows messaging to tested software when obtaining message, the identification information of data to be tested is carried in this windows messaging sends to tested software.And, because corresponding unique window handle of each window interface of Windows, therefore, proving installation is when sending windows messaging, can search the window handle of the window interface that represents these data to be tested in the tested software, windows messaging is sent to window interface corresponding to window handle that finds, to obtain these data to be tested that represent in this window interface.Perhaps, also can directly in current test case, set in advance window handle corresponding to window interface that represents these data to be tested, when sending windows messaging, directly windows messaging is sent to window interface corresponding to window handle that sets in advance, to obtain these data to be tested that represent in this window interface.
Continue to adopt example, proving installation has been determined current testing case is whether to have shown account B in the good friend interface of account A, and the identification information of determining data to be tested is: the buddy list that represents on the good friend interface of this chat software then is carried at first with buddy list as identification information and obtains and send to this chat software in the message.
S103: obtain the data to be tested that this tested software provides according to the identification information of these data to be tested.
Continue to continue to use example, as this chat software of tested software receive first obtain message after, first obtain the buddy list of carrying in the message according to this, search the data from each good friend of in the good friend interface, representing, each good friend's of finding data are offered proving installation as data to be tested.
S104: this tested software is tested according to the data to be tested that obtain.
The data to be tested that proving installation will obtain compare with default test data, and tested software is tested.
Continue to continue to use example, each good friend's who represents on the good friend interface of this chat software that proving installation will obtain data, compare with each good friend's who presets data, when each good friend's who obtains data are in full accord with each good friend's who presets data, determine that then the data that represent on the good friend interface of this chat software are correct, otherwise determine incorrect.
Concrete, suppose to use account A to login this chat software and add account B as the good friend after, each good friend's that should represent on the good friend interface of this chat software data are: account C, account D, account B, then with account C, account D, account B is as each default good friend data, each good friend's who represents on the good friend interface of this chat software that obtains data are: account C, account D, after then comparing, find that the data that obtain are consistent with default data transformation, determine that the data that represent on the good friend interface of this chat software are incorrect, and generate test report output according to test result.
In said process, proving installation obtains the data that represent on the interface of tested software, and accordingly this tested software is tested, the method that can only test the ruuning situation of tested software in the prior art, the method for testing that the embodiment of the present application provides has improved the accuracy of test.
In the embodiment of the present application, in order to make tested software when searching data to be tested, do not affect the application of other functions as far as possible, thereby further improve the accuracy of test, can in tested software, increase an automatic test suite that is independent of other functional modules, be designated as the AutoTest.dll assembly.Proving installation sends the first method of obtaining message to tested software and is specially, and message is obtained in the automatic test suite transmission first in tested software, searches data to be tested by automatic test suite in the interface of tested software.
And, the impact that when obtaining data to be tested, other functions of tested software is caused in order further to reduce proving installation, proving installation can with the automatic test suite memory location of making an appointment, be designated as the first memory location, this first memory location is used for the data to be tested that storage finds.Concrete, automatically test suite receive first obtain message after, according to the first identification information that obtains the data to be tested of carrying in the message, in tested software, search the data to be tested corresponding to identification information of these data to be tested, the data to be tested that find are derived and are kept on the first memory location of agreement, proving installation with the first memory location of this automatic test suite agreement on the data to be tested of reading and saving, to obtain data to be tested.For convenient automatic test suite is searched data to be tested, when proving installation send first when obtaining message and being windows messaging, the window handle that represents the window interface of data to be tested can be carried in the windows messaging, automatically test suite then can according to this window handle, be searched data to be tested in corresponding window interface.
Said method is carried out the step of searching data to be tested by the automatic test suite of other functional modules that are independent of tested software, can reduce when searching data to be tested the impact that other functions on this tested software cause.And, the data to be tested that automatic test suite will find are kept on the first memory location, skip tested software by proving installation, directly read data to be tested in this first memory location, the impact that in the time of can reducing proving installation and obtain data to be tested other functions of tested software is caused has further improved the accuracy of test.
In addition, automatically the test suite data to be tested that will find derive and when being kept on the first memory location, in order to make proving installation can read accurately these data to be tested, automatically test suite can also become to set with the data-switching to be tested that finds the data derivation of form, and the data of the setting form that will derive are kept on the first memory location of agreement.Wherein, this setting form can arrange according to proving installation and automatic test suite agreement in advance, for example should set form and can be extend markup language (ExtensibleMarkup Language, XML) form, namely automatic testing equipment is kept at data to be tested on the first memory location with the XML form.
Consider that in actual applications the lawless person may utilize the automatic test suite in the tested software to pretend to be the tester to obtain data.Continue to continue to use example, the lawless person may utilize the automatic test suite in the chat software to search each good friend's who represents on the good friend interface of account A data, to carry out some illegal operations.Therefore in order to improve the security of the data of preserving in the tested software, proving installation at first will send authentication information to automatic test suite in the embodiment of the present application, automatically test suite is when definite this authentication information is kept in the white list that sets in advance, just in tested software, search data to be tested, if determine that this authentication information is not kept in the white list that sets in advance, then explanation transmission the first transmit leg that obtains message may be the lawless person, does not search data to be tested.
Concrete, proving installation is before the data to be tested of reading and saving on the first memory location, send authentication information to automatic test suite, and determine to receive automatic test suite returns first confirm notice after, read data to be tested in the first memory location.Wherein, first confirms that notice is kept in the white list of setting at definite this authentication information for automatic test suite, and the data to be tested that will find are kept at and return afterwards on the first memory location of this agreement.
Continue to continue to use example, when chat software is tested, because proving installation at first will use account A to login this chat software, therefore the account A that uses just can be used as authentication information, proving installation sends to automatic test suite with account A first, automatically test suite determines that this account A is present in the white list of setting, then follow-uply receives first when obtaining message, for proving installation is searched data to be tested.Proving installation can also directly be carried at account A first and obtain and send to automatic test suite in the message, automatically test suite obtains the account A that carries in the message according to first, determine that this account A is present in the white list of setting, then according to the first identification information that obtains the data to be tested of carrying in the message, search data to be tested.
And, in order further to improve the security of the data of preserving in the tested software, automatic test suite in this tested software can be set as and can only call by the terminal at this current place of tested software, namely can only call this locality, can not pass through network call.All codes in the automatic test suite can also be protected with macro switch; when this tested software of issue; this macro switch is turned off, to shield the automatic test suite in this tested software, be equivalent to delete the automatic test suite in the tested software of external issue.
Because in actual applications, the process of a test may comprise several test cases, and proving installation may all will be inputted some data and test in each test case.Continuing to continue to use example describes, after the interpolation good friend function of chat software tested, also to test good friend's marking Function, proving installation needs the analog manual operation to open the interface of the mark of revising certain good friend, and at corresponding Position input mark, whether test is added being labeled in of this good friend behind the mark and is shown correct on this good friend interface.
Therefore, in the embodiment of the present application, proving installation also will determine to carry out the identification information of the data to be entered that the follow-up test use-case will input, and to automatic test suite send obtain this tested software show these data to be entered display position information second obtain message, this second obtains the identification information that carries data to be entered in the message.Automatically test suite receive this second obtain message after, according to the second identification information that obtains the data to be entered of carrying in the message, in tested software, search this tested software and show the display position information of these data to be entered, the display position information that finds is derived and is kept on the second memory location with the proving installation agreement.Proving installation then can with the second memory location of automatic test suite agreement on this tested software of reading and saving show the display position information of these data to be entered, and according to the display position information that reads, in corresponding Position input data to be entered, carry out the follow-up test use-case.
Continue to continue to use example, as shown in Figure 2, Fig. 2 for the embodiment of the present application provide take the test chat software good friend's marking Function as example, the good friend interface of this chat software of explanation.When good friend's marking Function of this chat software is tested, proving installation determines that at first the data to be entered that follow-up test will be inputted are the mark of good friend B, therefore determine the identification information that is labeled as data to be entered of good friend B, then the automatic test suite in this chat software sends and carries second of this identification information and obtain message.Automatically test suite is then searched the display position information that this chat software shows the mark of good friend B, and the positional information of the mark of the demonstration good friend B that finds derives the display position information that finds and be kept on the second memory location as shown in Figure 2.Wherein, this display position information can be the coordinate information of screen, when being kept at display position information on the second memory location, display position information can being converted equally to the data of setting form and preserve, such as the XML form.Proving installation is the reading displayed positional information on the second memory location, supposes that data to be entered are bbb, then according to this display position information, adds mark bbb in the position of the mark of as shown in Figure 2 demonstration good friend B.In follow-up step, whether the mark that test then can be tested the good friend B that shows on this good friend interface according to method as shown in Figure 1 is bbb.
Same, in order to improve the security of the data of preserving in the tested software, test suite will determine also that the authentication information that proving installation sends was kept in the white list of setting before searching tested software and showing the display position information of data to be entered automatically.Concrete, proving installation is before reading displayed positional information on the second memory location, send authentication information to automatic test suite, and determine to receive that automatic test suite returns second confirms to read the display position information of preserving on the second memory location after the notice.Wherein, second confirms that notice is kept in the white list of setting at definite authentication information for automatic test suite, and the demonstration information that will find derivation and being kept at is returned on the second memory location of this agreement afterwards.
And proving installation also can directly be carried at authentication information second and obtain in the message, sends to automatic test suite, and directly authentication information is carried at first and obtains that to send to automatic test suite in the message basic identical, just gives unnecessary details no longer one by one here.
In the embodiment of the present application, in order to improve testing efficiency, can obtain message and second with first obtains message and merges into one and obtain message, it also is the identification information that proving installation can be determined the data to be tested that current test is required, and the identification information of the data to be entered that will input of definite follow-up test, the identification information of the identification information of data to be tested, data to be entered and authentication information are carried at one obtain and send to automatic test suite in the message.At this moment, same memory location also can be merged in the first memory location and the second memory location, the first affirmation notice and the second affirmation notice also can be merged into one and confirm to notify, also be that automatic test suite obtains message according to this, judge obtain the authentication information that carries in the message whether exist with white list in, if, then search the data to be tested in the tested software, and search the display position information that tested software shows data to be entered, the data to be tested and the display position information that find are derived and is kept on the memory location of agreement, and return affirmation to proving installation and notify, read data to be tested and display position information with the notice proving installation in the memory location of agreement, otherwise, do not search data to be tested and display position information.
Fig. 3 is the DCO process that the embodiment of the present application provides, and specifically may further comprise the steps:
S301: proving installation determines to carry out the identification information of the required data to be tested of current test case, and the identification information that carries out the data to be entered that the follow-up test use-case will input.
Wherein, data to be tested comprise the data that represent on the interface of tested software.
S302: the identification information of the identification information of data to be tested, data to be entered and authentication information be carried at obtain the automatic test suite that sends in the message in the tested software.
S303: test suite judges whether this authentication information is kept in the white list of setting, if then carry out step S304, otherwise carry out step S309 according to the authentication information that carries in the message that obtains that receives automatically.
S304: test suite is searched the data to be tested corresponding to identification information of data to be tested in tested software automatically, searches the display position information that tested software shows data to be entered.
S305: the data to be tested that will find and display position information convert the data of setting form to and derive, and are kept on the memory location of arranging with proving installation, return to proving installation and confirm notice.
S306: after proving installation receives the confirmation notice, read data to be tested and display position information in the memory location of this agreement.
S307: according to data to be tested tested software is tested, generate and the output test report.
S308: according to display position information, in corresponding these data to be entered of Position input, carry out the follow-up test use-case, return step S301.
Wherein, when determining not have follow-up test, then test process finishes.
S309: do not search data to be tested and display position information, refusal obtains message.
Fig. 4 is the proving installation structural representation that the embodiment of the present application provides, and specifically comprises:
Determination module 401, for the identification information of determining to carry out the required data to be tested of current test case, described data to be tested comprise the data that represent on the interface of tested software;
Sending module 402 is used for obtaining first of described data to be tested to described tested software transmission and obtains message, and described first obtains the identification information that carries described data to be tested in the message;
Obtain module 403, be used for obtaining the data to be tested that described tested software provides according to the identification information of described data to be tested;
Test module 404 is used for according to the data to be tested that obtain described tested software being tested.
Described sending module 402 specifically is used for, and the automatic test suite in the described tested software sends described first and obtains message;
Described acquisition module 403 specifically is used for, with the first memory location of described automatic test suite agreement on the data to be tested of reading and saving, wherein, described automatic test suite is according to the described first identification information that obtains the described data to be tested of carrying in the message that receives, in described tested software, search the data to be tested corresponding to identification information of described data to be tested, the data to be tested that find are derived and are kept on the first memory location of described agreement.
Described acquisition module 403 specifically is used for, read the data of the setting form of conversion in the first memory location of described agreement, wherein, the data that the data-switching to be tested that described automatic test suite will find becomes to set form derive, and the data of the setting form that will derive are kept on described the first memory location.
Described device also comprises:
Authentication module 405, be used for the first memory location of described automatic test suite agreement on before the data to be tested of reading and saving, send authentication information to described automatic test suite, and determine to receive that described automatic test suite returns first confirms notice, wherein, described first confirms that notice is kept in the white list of setting at definite described authentication information for described automatic test suite, and return afterwards on the data derivation to be tested that will find and the first memory location that is kept at described agreement.
Described determination module 401 also is used for, and determines to carry out the identification information of the data to be entered that the follow-up test use-case will input;
Described sending module 402 also is used for, to described automatic test suite send obtain described tested software show described data to be entered display position information second obtain message, described second obtains the identification information that carries described data to be entered in the message;
Described acquisition module 403 also is used for, with the second memory location of described automatic test suite agreement on the described tested software of reading and saving show the display position information of described data to be entered, wherein, described automatic test suite is according to the described second identification information that obtains the described data to be entered of carrying in the message that receives, in described tested software, search described tested software and show the display position information of described data to be entered, the display position information that finds is derived and is kept on the second memory location of described agreement;
Described test module 404 also is used for, and according to the described display position information that reads, in the corresponding described data to be entered of Position input, and carries out the follow-up test use-case.
Described device also comprises:
Authentication module 405, be used for the second memory location of described automatic test suite agreement on before the described tested software of reading and saving shows the display position information of described data to be entered, send authentication information to described automatic test suite, and determine to receive that described automatic test suite returns second confirms notice, wherein, described second confirms that notice is kept in the white list of setting at definite described authentication information for described automatic test suite, and the demonstration information that will find derivation and being kept at is returned on the second memory location of described agreement afterwards.
The test macro specific implementation structural representation that comprises proving installation and tested software that Fig. 5 provides for the embodiment of the present application, as shown in Figure 5, proving installation sends to the automatic test suite in the tested software and obtains message, automatically test suite is searched data to be tested and display position information, convert the data to be tested and the display position information that find to set form data derivation, and be kept on the memory location of agreement, proving installation is skipped tested software and is read corresponding data in the memory location of this agreement, in order to testing and to generate test report, and carry out follow-up test case.Wherein, this proving installation can be test script, also can be visualization interface.When proving installation is test script, need not any manual intervention in the process that realizes testing, reduce workload as far as possible.When proving installation is visualization interface, manually by process at any time the adjustment of interface to test, can improve the dirigibility of test.
The embodiment of the present application provides a kind of method of testing and device, the method determines to carry out the identification information of the required data to be tested of current test case, these data to be tested comprise the data that represent on the interface of tested software, send the message of obtaining of obtaining data to be tested to tested software, obtain the data to be tested that tested software provides, and according to the data to be tested that obtain tested software is tested.Owing to obtain the data that represent on the interface of tested software in the embodiment of the present application, and according to the data that represent on this page tested software is tested, whether the data that represent on therefore can also the interface of testing software are correct, improved the accuracy that software is tested.
Obviously, those skilled in the art can carry out various changes and modification and the spirit and scope that do not break away from the application to the application.Like this, if these of the application are revised and modification belongs within the scope of the application's claim and equivalent technologies thereof, then the application also is intended to comprise these changes and modification interior.

Claims (10)

1. a method of testing is characterized in that, comprising:
Determine to carry out the identification information of the required data to be tested of current test case, described data to be tested comprise the data that represent on the interface of tested software; And
Obtain first of described data to be tested to described tested software transmission and obtain message, described first obtains the identification information that carries described data to be tested in the message; And
Obtain the data to be tested that described tested software provides according to the identification information of described data to be tested;
According to the data to be tested that obtain described tested software is tested.
2. the method for claim 1 is characterized in that, obtains first of described data to be tested to described tested software transmission and obtains message, specifically comprises:
Automatic test suite in the described tested software sends described first and obtains message;
Obtain described tested software according to the data to be tested that the identification information of described data to be tested provides, specifically comprise:
With the first memory location of described automatic test suite agreement on the data to be tested of reading and saving, wherein, described automatic test suite is according to the described first identification information that obtains the described data to be tested of carrying in the message that receives, in described tested software, search the data to be tested corresponding to identification information of described data to be tested, the data to be tested that find are derived and are kept on the first memory location of described agreement.
3. method as claimed in claim 2 is characterized in that, the data to be tested that described automatic test suite will find derive and are kept on the first memory location of described agreement, specifically comprise:
The data that the data-switching to be tested that described automatic test suite will find becomes to set form derive, and the data of the setting form that will derive are kept on the first memory location of described agreement.
4. method as claimed in claim 2 is characterized in that, with the first memory location of described automatic test suite agreement on before the data to be tested of reading and saving, described method also comprises:
Send authentication information to described automatic test suite; And
Determine to receive the first affirmation notice that described automatic test suite returns, wherein, described first confirms that notice is kept in the white list of setting at definite described authentication information for described automatic test suite, and return afterwards on the data derivation to be tested that will find and the first memory location that is kept at described agreement.
5. method as claimed in claim 2 is characterized in that, described method also comprises:
Determine to carry out the identification information of the data to be entered that the follow-up test use-case will input; And
To described automatic test suite send obtain described tested software show described data to be entered display position information second obtain message, described second obtains the identification information that carries described data to be entered in the message; And
With the second memory location of described automatic test suite agreement on the described tested software of reading and saving show the display position information of described data to be entered, wherein, described automatic test suite is according to the described second identification information that obtains the described data to be entered of carrying in the message that receives, in described tested software, search described tested software and show the display position information of described data to be entered, the display position information that finds is derived and is kept on the second memory location of described agreement;
According to the described display position information that reads, in the corresponding described data to be entered of Position input, and carry out the follow-up test use-case.
6. method as claimed in claim 5 is characterized in that, with the second memory location of described automatic test suite agreement on before the described tested software of reading and saving shows the display position information of described data to be entered, described method also comprises:
Send authentication information to described automatic test suite; And
Determine to receive the second affirmation notice that described automatic test suite returns, wherein, described second confirms that notice is kept in the white list of setting at definite described authentication information for described automatic test suite, and the demonstration information that will find derivation and being kept at is returned on the second memory location of described agreement afterwards.
7. a proving installation is characterized in that, comprising:
Determination module, for the identification information of determining to carry out the required data to be tested of current test case, described data to be tested comprise the data that represent on the interface of tested software;
Sending module is used for obtaining first of described data to be tested to described tested software transmission and obtains message, and described first obtains the identification information that carries described data to be tested in the message;
Obtain module, be used for obtaining the data to be tested that described tested software provides according to the identification information of described data to be tested;
Test module is used for according to the data to be tested that obtain described tested software being tested.
8. device as claimed in claim 7 is characterized in that, described sending module specifically is used for, and the automatic test suite in the described tested software sends described first and obtains message;
Described acquisition module specifically is used for, with the first memory location of described automatic test suite agreement on the data to be tested of reading and saving, wherein, described automatic test suite is according to the described first identification information that obtains the described data to be tested of carrying in the message that receives, in described tested software, search the data to be tested corresponding to identification information of described data to be tested, the data to be tested that find are derived and are kept on the first memory location of described agreement.
9. device as claimed in claim 8, it is characterized in that, described acquisition module specifically is used for, read the data of the setting form of conversion in the first memory location of described agreement, wherein, the data that the data-switching to be tested that described automatic test suite will find becomes to set form derive, and the data of the setting form that will derive are kept on described the first memory location.
10. device as claimed in claim 8 is characterized in that, described device also comprises:
Authentication module, be used for the first memory location of described automatic test suite agreement on before the data to be tested of reading and saving, send authentication information to described automatic test suite, and determine to receive that described automatic test suite returns first confirms notice, wherein, described first confirms that notice is kept in the white list of setting at definite described authentication information for described automatic test suite, and return afterwards on the data derivation to be tested that will find and the first memory location that is kept at described agreement.
CN201110328247.2A 2011-10-25 2011-10-25 A kind of method of testing and device Active CN103077110B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110328247.2A CN103077110B (en) 2011-10-25 2011-10-25 A kind of method of testing and device
HK13107358.6A HK1180085A1 (en) 2011-10-25 2013-06-25 A testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110328247.2A CN103077110B (en) 2011-10-25 2011-10-25 A kind of method of testing and device

Publications (2)

Publication Number Publication Date
CN103077110A true CN103077110A (en) 2013-05-01
CN103077110B CN103077110B (en) 2015-11-25

Family

ID=48153643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110328247.2A Active CN103077110B (en) 2011-10-25 2011-10-25 A kind of method of testing and device

Country Status (2)

Country Link
CN (1) CN103077110B (en)
HK (1) HK1180085A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932979A (en) * 2015-07-01 2015-09-23 王沛 Software fault locating method and device
CN105260082A (en) * 2015-10-16 2016-01-20 华为技术有限公司 Display method for test data and development terminal
CN106713011A (en) * 2016-11-22 2017-05-24 腾讯科技(深圳)有限公司 Method and system for obtaining test data
CN108389104A (en) * 2018-01-31 2018-08-10 口碑(上海)信息技术有限公司 A kind of emulation verification method and device of network activity
CN108804306A (en) * 2017-04-28 2018-11-13 波音公司 Method and design for Auto-Test System
CN110471833A (en) * 2019-06-27 2019-11-19 网宿科技股份有限公司 A kind of acquisition methods of test data, electronic equipment and storage medium
CN112667513A (en) * 2020-12-31 2021-04-16 长沙市到家悠享网络科技有限公司 Test method, test device, test equipment and storage medium
CN113362175A (en) * 2021-06-23 2021-09-07 富途网络科技(深圳)有限公司 Interface display method and device, storage medium and terminal equipment
CN113468073A (en) * 2021-08-02 2021-10-01 在线途游(北京)科技有限公司 Automatic testing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061113A1 (en) * 2005-08-25 2007-03-15 International Business Machines Corporation Enabling Test Script Play Back in Different Locales
CN101630286A (en) * 2009-08-07 2010-01-20 金蝶软件(中国)有限公司 Automatic testing method and automatic testing device
CN102156673A (en) * 2011-04-20 2011-08-17 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061113A1 (en) * 2005-08-25 2007-03-15 International Business Machines Corporation Enabling Test Script Play Back in Different Locales
CN101630286A (en) * 2009-08-07 2010-01-20 金蝶软件(中国)有限公司 Automatic testing method and automatic testing device
CN102156673A (en) * 2011-04-20 2011-08-17 北京航空航天大学 Test case description oriented GUI (Graphical User Interface) automatic test system and test method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932979A (en) * 2015-07-01 2015-09-23 王沛 Software fault locating method and device
CN105260082A (en) * 2015-10-16 2016-01-20 华为技术有限公司 Display method for test data and development terminal
CN105260082B (en) * 2015-10-16 2018-12-07 华为技术有限公司 A kind of test data methods of exhibiting and exploitation terminal
CN106713011A (en) * 2016-11-22 2017-05-24 腾讯科技(深圳)有限公司 Method and system for obtaining test data
CN106713011B (en) * 2016-11-22 2020-04-28 腾讯科技(深圳)有限公司 Method and system for obtaining test data
CN108804306A (en) * 2017-04-28 2018-11-13 波音公司 Method and design for Auto-Test System
CN108389104A (en) * 2018-01-31 2018-08-10 口碑(上海)信息技术有限公司 A kind of emulation verification method and device of network activity
CN108389104B (en) * 2018-01-31 2021-06-25 口碑(上海)信息技术有限公司 Simulation verification method and device for network activities
CN110471833A (en) * 2019-06-27 2019-11-19 网宿科技股份有限公司 A kind of acquisition methods of test data, electronic equipment and storage medium
CN112667513A (en) * 2020-12-31 2021-04-16 长沙市到家悠享网络科技有限公司 Test method, test device, test equipment and storage medium
CN113362175A (en) * 2021-06-23 2021-09-07 富途网络科技(深圳)有限公司 Interface display method and device, storage medium and terminal equipment
CN113468073A (en) * 2021-08-02 2021-10-01 在线途游(北京)科技有限公司 Automatic testing method

Also Published As

Publication number Publication date
HK1180085A1 (en) 2013-10-11
CN103077110B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN103077110A (en) Test method and device
CN107592238B (en) Automatic test method and system of interface, service terminal and memory
US8681700B2 (en) System and method for executed function management and program for mobile terminal
CN101287266B (en) Test system and method for mobile phone
CN105354118B (en) Automatic test approach, the apparatus and system of intelligent terminal
CN104346256A (en) Method and device for acquiring power consumption information of application program and mobile terminal
CN103514159A (en) Method, system and device for processing form template
CN102231106A (en) Method for generating application code of mobile and general development platform
CN103581179A (en) Data access control system based on position, server and method
CN104281106A (en) Remote control method and system for air conditioner
CN103209418B (en) Mobile terminal and WIFI hot spot information updating method thereof
US20190196898A1 (en) Log transmission apparatus and log collection system
CN104239515A (en) Mood information implementation method and system
CN105700337A (en) Clock synchronization method and device applied to vehicle-borne terminal
CN104270826A (en) Information processing method and electronic equipment
Stach How to assure privacy on android phones and devices?
CN104280042A (en) Method and device for acquiring navigation information
CN103986824A (en) Data display method and system of electronic equipment
EP2584486A2 (en) Meter access management system
CN107548124A (en) Show the method and device of the network state of WAP
CN108491502B (en) News tracking method, terminal, server and storage medium
CN104184768A (en) Method of transmitting data of Internet of things, device and system
CN103701836A (en) Information processing method, terminal equipment and server
CN112905464B (en) Application running environment data processing method and device
CN104331649A (en) Identity recognition system and method based on network connection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1180085

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: GR

Ref document number: 1180085

Country of ref document: HK