CN109947655A - Mobile front end test platform - Google Patents
Mobile front end test platform Download PDFInfo
- Publication number
- CN109947655A CN109947655A CN201910242612.4A CN201910242612A CN109947655A CN 109947655 A CN109947655 A CN 109947655A CN 201910242612 A CN201910242612 A CN 201910242612A CN 109947655 A CN109947655 A CN 109947655A
- Authority
- CN
- China
- Prior art keywords
- test
- application software
- mobile front
- server
- automatic test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses mobile front end test platforms, comprising: server, display interface, multiple mobile front ends;Server includes storage element, administrative unit, auxiliary unit;Administrative unit is used to manage the connection of mobile front end and server, start test case script and carries out automatic test, automatic test is handled as a result, monitoring automation test process, auxiliary unit is for capturing the unusual character and abnormal log occurred in application software operational process to be measured;Mobile front end is for downloading, installing, running application software to be tested, downloading and operation test case script and auxiliary unit, feedback automation test result;Display interface is used to provide the interactive function between server and user.The present invention has in the case where not increasing server capacity, while carrying out automatic test to multiple application software to be measured, shares same auxiliary unit to improve the beneficial effect of the processing capacity of server.
Description
Technical field
The present invention relates to field of automatic testing.It is more particularly related to which a kind of mobile front end test is flat
Platform.
Background technique
Since the software of exploitation design has very much, and original software is also often tested, i.e., due to edition upgrading
Make also have the platform of automatic test at present, but since the quantity of application software to be tested is excessive, be easy to cause tester
Excessive fatigue, and tester is needed to pay close attention to the process of each application software to be tested at any time, after, tester is needed
What very important person was, which go, intervenes and starts next application software to be measured, the corresponding test case foot of the artificial selection application software to be measured
This, is also easy to malfunction, and low efficiency when test case script is excessive.
Summary of the invention
It is an object of the invention to solve at least the above problems, and provide the advantages of at least will be described later.
It is a still further object of the present invention to provide a kind of mobile front end test platforms, are not increasing server capacity
In the case where, while automatic test is carried out to multiple application software to be measured, and share same auxiliary unit to improve server
Processing capacity.
In order to realize these purposes and other advantages according to the present invention, it is flat to provide a kind of mobile front end test
Platform, comprising:
Server, display interface, multiple mobile front ends;
The server includes the storage element of mutual communication connection, administrative unit, auxiliary unit, the auxiliary unit packet
Include unusual character capture item and abnormal log capture item;
Wherein, for storing application software and test case script to be measured, the administrative unit is used for the storage element
The connection for managing the mobile front end and the server carries out automatic test for starting the test case script, uses
In processing automatic test as a result, being used for monitoring automation test process, the auxiliary unit is for capturing the application to be measured
The unusual character and abnormal log occurred in software running process;
The mobile front end and the server communication connection, the mobile front end for described in downloading, install, run to
Test application software for downloading and run the auxiliary unit, and is used for for downloading and running the test case script
Feedback automation test result;
The display interface is used to provide the described the interactive function between server and user.
Preferably, the administrative unit includes:
Item is communicated, is used to manage the connection of the mobile front end and the server, and trigger under the mobile front end
The application software to be tested is carried and installed, the test case script and the auxiliary unit are downloaded;
Automatic test item is used to start the test case script and carries out automatic test, it is single to start the auxiliary
Member is detected;
Automatic test result treatment item is used to automatic test result and testing result generating report, and anti-
It is fed to the storage element, and is shown in the display interface;
Monitored item, be used for monitoring automation test, auxiliary unit detect whether to complete, if complete, this is to be measured
Examination application software is labeled as having surveyed, and continues to search and whether need test application software in the storage element, if so, then
Solution sends out communication item described.
Preferably, further include role management unit, be used to distribute in test case script to corresponding and to be tested answer
Use software.
Preferably, the abnormal log capture item includes:
Abnormal log intercepts part, is used to access the abnormal log occurred in automatic test course, and then interception should
The corresponding code of abnormal log simultaneously exports;
Repair member is used to repair the corresponding code of abnormal log;
Recheck part, according to the corresponding codelookup of the abnormal log into corresponding test case script corresponding finger
It enables, restarts the instruction and carry out automatic test;
Abnormal log contrast piece is used to compare same application software to be tested and repairs the abnormal log of front and back, and exports
Comparison result.
Preferably, the unusual character capture item includes:
Unusual character intercepts part, is used to access the unusual character occurred in automatic test course, and then interception should
Code segment and export where unusual character;
The repair member is for repairing the corresponding code of abnormal log;
Unusual character contrast piece is used to compare same application software to be tested and repairs the unusual character of front and back, and exports
Comparison result;
The reinspection part finds corresponding in corresponding test case script according to the code segment where the unusual character
Instruction restarts the instruction and carries out automatic test.
Preferably, further include code translation unit, be used to automatic test result translating to natural language.
The present invention is include at least the following beneficial effects:
The first, application software to be measured and the test case foot for testing the application software to be measured are stored in storage element
This, behind mobile front end and the success of server communication connection, application software to be measured is downloaded and installed automatically in mobile front end, downloading with
The corresponding test case script of application software to be measured, downloads auxiliary unit, and administrative unit judge whether are mobile front end and server
Communication connection success triggers application software and test case script to be measured, auxiliary unit automatic running if successful connection,
Carry out automatic test, in the process, test case script compare the application software to be measured operation result and application to be measured
Whether software expected result in design is consistent, and is recorded in test report, and auxiliary unit captures in automatic testing process
The unusual character and abnormal log of appearance, and be recorded in test report, after the completion of automatic test, test report is fed back
It to server, and is shown in display interface, to facilitate user to consult.
The second, since the software of exploitation design has very much, and original software is also often surveyed due to edition upgrading
Examination, therefore, in the technical scheme, in the case where not increasing server capacity, by by application software to be measured, test case
Script, auxiliary unit can carry out the automation of multiple application software to be measured by way of communication connection within the same time
Test, and application software to be measured and corresponding test case are clicked and chosen manually by design management unit woth no need to user
Script, can be realized application software to be measured and corresponding test case script it is orderly be downloaded to mobile front end and automatic running,
Human intervention is reduced, manual operation waste of time is saved.
Third, auxiliary unit are consistent due to the function of execution, and application software to be tested used can share together
One auxiliary unit, can so save server capacity, improve the processing capacity of server.
Further advantage, target and feature of the invention will be partially reflected by the following instructions, and part will also be by this
The research and practice of invention and be understood by the person skilled in the art.
Detailed description of the invention
Fig. 1 is the frame diagram of the mobile front end test platform of one of technical solution of the invention.
Specific embodiment
Present invention will be described in further detail below with reference to the accompanying drawings, to enable those skilled in the art referring to specification text
Word can be implemented accordingly.
As shown in Figure 1, the present invention provides a kind of mobile front end test platform, comprising:
Server, display interface, multiple mobile front ends, mobile front end can be such as mobile phone, plate etc.;
The server includes the storage element of mutual communication connection, administrative unit, auxiliary unit, the auxiliary unit packet
Include unusual character capture item and abnormal log capture item;
Wherein, for storing application software and test case script to be measured, the administrative unit is used for the storage element
The connection for managing the mobile front end and the server carries out automatic test for starting the test case script, uses
In processing automatic test as a result, being used for monitoring automation test process, the auxiliary unit is for capturing the application to be measured
The unusual character and abnormal log occurred in software running process;
The mobile front end and the server communication connection, the mobile front end for described in downloading, install, run to
Test application software for downloading and run the auxiliary unit, and is used for for downloading and running the test case script
Feedback automation test result;
The display interface is used to provide the described the interactive function between server and user.
In the above-mentioned technical solutions, application software to be measured is stored in storage element and for testing the application software to be measured
Test case script, behind mobile front end and the success of server communication connection, to be measured answer is downloaded and install automatically in mobile front end
With software, test case script corresponding with application software to be measured is downloaded, downloads auxiliary unit, administrative unit judges mobile front end
Whether communication connection success if successful connection it is single trigger application software and test case script to be measured, auxiliary with server
First automatic running carries out automatic test, and in the process, test case script compares the operation result of the application software to be measured
In design, whether expected result is consistent with application software to be measured, and is recorded in test report, and auxiliary unit capture is automatic
The unusual character and abnormal log occurred in test process, and be recorded in test report, after the completion of automatic test, it will survey
Examination report feeds back to server, and shows in display interface, to facilitate user to consult.
In addition, since the software of exploitation design has very much, and original software is also often surveyed due to edition upgrading
Examination, therefore, in the technical scheme, in the case where not increasing server capacity, by by application software to be measured, test case
Script, auxiliary unit can carry out the automation of multiple application software to be measured by way of communication connection within the same time
Test, and application software to be measured and corresponding test case are clicked and chosen manually by design management unit woth no need to user
Script, can be realized application software to be measured and corresponding test case script it is orderly be downloaded to mobile front end and automatic running,
Human intervention is reduced, manual operation waste of time is saved.
Since the function of execution is consistent, application software to be tested used can share same auxiliary auxiliary unit
Unit is helped, server capacity can be so saved, improves the processing capacity of server.
In another technical solution, the administrative unit includes:
Item is communicated, is used to manage the connection of the mobile front end and the server, and trigger under the mobile front end
The application software to be tested is carried and installed, the test case script and the auxiliary unit are downloaded;
Automatic test item is used to start the test case script and carries out automatic test, it is single to start the auxiliary
Member is detected;
Automatic test result treatment item is used to automatic test result and testing result generating report, and anti-
It is fed to the storage element, and is shown in the display interface;
Monitored item, be used for monitoring automation test, auxiliary unit detect whether to complete, if complete, this is to be measured
Examination application software is labeled as having surveyed, and continues to search and whether need test application software in the storage element, if so, then
Solution sends out communication item described.
In the above-mentioned technical solutions, provide it is a kind of when existing simultaneously multiple application software to be tested in the server, into
The orderly method tested automatically of row, to improve testing efficiency.
Further include role management unit in another technical solution, is used to distribute test case script to correspondence
Application software to be tested.When existing simultaneously multiple test case scripts in server, role management unit can be accurately
Test case script is matched with application software to be tested, without wanting user manually to go to choose, to improve testing efficiency.
In another technical solution, the abnormal log capture item includes:
Abnormal log intercepts part, is used to access the abnormal log occurred in automatic test course, and then interception should
The corresponding code of abnormal log simultaneously exports;
Repair member is used to repair the corresponding code of abnormal log;
Recheck part, according to the corresponding codelookup of the abnormal log into corresponding test case script corresponding finger
It enables, restarts the instruction and carry out automatic test;
Abnormal log contrast piece is used to compare same application software to be tested and repairs the abnormal log of front and back, and exports
Comparison result.
In the above-mentioned technical solutions, in auxiliary unit the preparatory some conventional abnormal log situations of compilation and design reparation
Code, when there are abnormal log, and after the completion of automatic test, if the abnormal log situation one of abnormal log and design
It causes, then starts reparation code and repaired, recheck part according to the corresponding codelookup of abnormal log to corresponding test case foot
Corresponding instruction in this restarts the instruction and carries out automatic test, in this way, not needing to carry out whole automatic tests, in this way
Can save the testing time, abnormal log contrast piece compares the abnormal log for repairing front and back, and export comparison result, in this way for
Some abnormal logs being easy to appear in design software realize that automation is repaired, when user artificially repairs, it is only necessary to repair not
Common abnormal log, to improve the remediation efficiency of software.
In another technical solution, the unusual character capture item includes:
Unusual character intercepts part, is used to access the unusual character occurred in automatic test course, and then interception should
Code segment and export where unusual character;
The repair member is for repairing the corresponding code of unusual character;
Unusual character contrast piece is used to compare same application software to be tested and repairs the unusual character of front and back, and exports
Comparison result;
The reinspection part finds corresponding in corresponding test case script according to the code segment where the unusual character
Instruction restarts the instruction and carries out automatic test.
In the above-mentioned technical solutions, in auxiliary unit the preparatory some conventional unusual character situations of compilation and design reparation
Code, when there are unusual character, and after the completion of automatic test, if the unusual character situation one of unusual character and design
It causes, then starts reparation code and repaired, recheck part according to the corresponding codelookup of unusual character to corresponding test case foot
Corresponding instruction in this restarts the instruction and carries out automatic test, in this way, not needing to carry out whole automatic tests, in this way
Can save the testing time, unusual character contrast piece compares the unusual character for repairing front and back, and export comparison result, in this way for
Some unusual characters being easy to appear in design software realize that automation is repaired, when user artificially repairs, it is only necessary to repair not
Common unusual character, to improve the remediation efficiency of software.
In another technical solution, further includes code translation unit, be used to translate to automatic test result certainly
Right language.After translating to natural language, the requirement for user is reduced, and is not needed the code knowledge for having profession, that is, be can be appreciated that
Software under testing there are the problem of, to be repaired.
Although the embodiments of the present invention have been disclosed as above, but its is not only in the description and the implementation listed
With it can be fully applied to various fields suitable for the present invention, for those skilled in the art, can be easily
Realize other modification, therefore without departing from the general concept defined in the claims and the equivalent scope, the present invention is simultaneously unlimited
In specific details and legend shown and described herein.
Claims (6)
1. mobile front end test platform characterized by comprising
Server, display interface, multiple mobile front ends;
The server includes the storage element of mutual communication connection, administrative unit, auxiliary unit, and the auxiliary unit includes different
Normal character capture item and abnormal log capture item;
Wherein, the storage element is for storing application software and test case script to be measured, and the administrative unit is for managing
The connection of the mobile front end and the server carries out automatic test for starting the test case script, for locating
Automatic test is managed as a result, being used for monitoring automation test process, the auxiliary unit is for capturing the application software to be measured
The unusual character and abnormal log occurred in operational process;
The mobile front end and the server communication connection, the mobile front end are described to be tested for downloading, installing, running
Application software, for downloading and running the test case script, for downloading and run the auxiliary unit, and for feeding back
Automatic test result;
The display interface is used to provide the described the interactive function between server and user.
2. mobile front end test platform as described in claim 1, which is characterized in that the administrative unit includes:
Item is communicated, is used to manage the connection of the mobile front end and the server, and triggers the mobile front end downloading simultaneously
The application software to be tested is installed, the test case script and the auxiliary unit are downloaded;
Automatic test item is used to start the test case script and carries out automatic test, start the auxiliary unit into
Row detection;
Automatic test result treatment item is used to automatic test result and testing result generating report, and feeds back to
The storage element, and it is shown in the display interface;
Monitored item, is used for monitoring automation test, auxiliary unit detects whether to complete, if completed, this to be tested is answered
It is to have surveyed, and continue to search and whether need test application software in the storage element with software tags, if so, then solving hair
The communication item.
3. mobile front end test platform as described in claim 1, which is characterized in that it further include role management unit,
It is used to distribute test case script to corresponding application software to be tested.
4. mobile front end test platform as described in claim 1, which is characterized in that the abnormal log captures item packet
It includes:
Abnormal log intercepts part, is used to access the abnormal log occurred in automatic test course, then intercepts the exception
The corresponding code of log simultaneously exports;
Repair member is used to repair the corresponding code of abnormal log;
Part is rechecked, according to the corresponding instruction into corresponding test case script of the corresponding codelookup of the abnormal log, weight
It opens the instruction and carries out automatic test;
Abnormal log contrast piece is used to compare same application software to be tested and repairs the abnormal log of front and back, and exports comparison
As a result.
5. mobile front end test platform as claimed in claim 4, which is characterized in that the unusual character captures item packet
It includes:
Unusual character intercepts part, is used to access the unusual character occurred in automatic test course, then intercepts the exception
Code segment and export where character;
The repair member is for repairing the corresponding code of abnormal log;
Unusual character contrast piece is used to compare same application software to be tested and repairs the unusual character of front and back, and exports comparison
As a result;
The reinspection part finds corresponding instruction in corresponding test case script according to the code segment where the unusual character,
Restart the instruction and carries out automatic test.
6. mobile front end test platform as described in claim 1, which is characterized in that it further include code translation unit,
It is used to automatic test result translating to natural language.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910242612.4A CN109947655A (en) | 2019-03-28 | 2019-03-28 | Mobile front end test platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910242612.4A CN109947655A (en) | 2019-03-28 | 2019-03-28 | Mobile front end test platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947655A true CN109947655A (en) | 2019-06-28 |
Family
ID=67012033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910242612.4A Pending CN109947655A (en) | 2019-03-28 | 2019-03-28 | Mobile front end test platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947655A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113391994A (en) * | 2021-03-09 | 2021-09-14 | 深圳市星锐游戏有限公司 | Mobile phone software automatic testing method based on Unity platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150181447A1 (en) * | 2012-07-24 | 2015-06-25 | Borqs Wireless Ltd. | Wireless automation test apparatus and method for mobile device |
CN106502888A (en) * | 2016-10-13 | 2017-03-15 | 杭州迪普科技股份有限公司 | The method of testing of software and device |
CN107315683A (en) * | 2017-06-22 | 2017-11-03 | 四川长虹电器股份有限公司 | The automatic test platform and method of testing of a kind of Android Mobile solution |
CN108572919A (en) * | 2018-05-30 | 2018-09-25 | 平安普惠企业管理有限公司 | Automated testing method, device, computer equipment and storage medium |
-
2019
- 2019-03-28 CN CN201910242612.4A patent/CN109947655A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150181447A1 (en) * | 2012-07-24 | 2015-06-25 | Borqs Wireless Ltd. | Wireless automation test apparatus and method for mobile device |
CN106502888A (en) * | 2016-10-13 | 2017-03-15 | 杭州迪普科技股份有限公司 | The method of testing of software and device |
CN107315683A (en) * | 2017-06-22 | 2017-11-03 | 四川长虹电器股份有限公司 | The automatic test platform and method of testing of a kind of Android Mobile solution |
CN108572919A (en) * | 2018-05-30 | 2018-09-25 | 平安普惠企业管理有限公司 | Automated testing method, device, computer equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113391994A (en) * | 2021-03-09 | 2021-09-14 | 深圳市星锐游戏有限公司 | Mobile phone software automatic testing method based on Unity platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103235913B (en) | A kind of for identifying, intercept the system of bundled software, Apparatus and method for | |
US9940225B2 (en) | Automated error checking system for a software application and method therefor | |
US8756595B2 (en) | Method and system for distributed application stack deployment | |
CN105550001A (en) | Distributed automatic construction method and system | |
CN108446223B (en) | Business scene automatic testing method based on dynamic compilation | |
CN106293811A (en) | A kind of packing and issuing method and device automatically | |
CN103294514A (en) | System software release integrated method, compiling server and system | |
CN107465572A (en) | Intelligent terminal method of testing, apparatus and system | |
CN104636252A (en) | Online code reviewing method and system based on SonarQube | |
CN104461786A (en) | Recovery method and system for Android system | |
CN103530226A (en) | Method and device for testing peripheral compatibility of electronic device | |
CN107122293A (en) | software performance testing method, device, server and system | |
CN106339273A (en) | Application program restoration method, terminal and server | |
CN106681783A (en) | Detection method and system for SVN code | |
CN110427757A (en) | Android vulnerability detection method, system and related device | |
CN110119348B (en) | Software upgrading test method and terminal | |
US11327720B2 (en) | Automated generation of software bindings | |
CN104899505A (en) | Software detection method and software detection device | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
CN108446224B (en) | Performance analysis method of application program on mobile terminal and storage medium | |
CN107301346A (en) | One kind realizes Android device APP fast and safely detection methods using white list mechanism | |
CN109828917A (en) | A kind of the continuous integrating management method and system of whole process automation | |
CN109783284A (en) | Information acquisition method, system and server, computer readable storage medium | |
CN109947655A (en) | Mobile front end test platform | |
CN104915593A (en) | Binding removing processing method and system for software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190628 |
|
RJ01 | Rejection of invention patent application after publication |