CN104461898B - Using the method for test, control server, test terminal and system - Google Patents

Using the method for test, control server, test terminal and system Download PDF

Info

Publication number
CN104461898B
CN104461898B CN201410805330.8A CN201410805330A CN104461898B CN 104461898 B CN104461898 B CN 104461898B CN 201410805330 A CN201410805330 A CN 201410805330A CN 104461898 B CN104461898 B CN 104461898B
Authority
CN
China
Prior art keywords
test
apk
subtest
packet
case
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
CN201410805330.8A
Other languages
Chinese (zh)
Other versions
CN104461898A (en
Inventor
田野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410805330.8A priority Critical patent/CN104461898B/en
Publication of CN104461898A publication Critical patent/CN104461898A/en
Application granted granted Critical
Publication of CN104461898B publication Critical patent/CN104461898B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method of application test, control server, test terminal and systems, are related to automatic test field, to solve the problems, such as that existing test process is complicated, cumbersome, ease for use is poor and invents.The method comprise the steps that receiving the test instruction that case management platform issues, peace APK mark and the test case using scripting language are carried in test instruction, the APK as test object is obtained according to APK mark, generate the subtest packet of APK, and essential information needed for encapsulating script engine and test in subtest packet, APK, test case, subtest packet and function library are handed down to test terminal.The present invention is mainly using in the application test process under publicly-owned cloud environment.

Description

Using the method for test, control server, test terminal and system
Technical field
The present invention relates to the method for automatic test field more particularly to a kind of application test, control server, tests eventually End and system.
Background technique
User interface (User Interface, abbreviation UI) test generally comprises layout test, content test (including text And picture), Fabric Hand Test, the contents such as components testing.For test objects such as layout, content style, fonts, static state is generallyd use Mode is tested, such as the mode of point of use inspection table combination artificial observation obtains test result.And in user interface For control, due to its characteristic with human-computer interaction, can provide a user such as interface jump, switch control, text it is defeated The interaction sexual function such as enter, therefore often the control in UI is tested using dynamical fashion in the prior art.
Existing dynamic test mode is specifically included that by writing test case to tested object, test mode, expection Etc. as a result contents are bound.Inventors have found that the UI applied for Android (Android) during daily production practice Test case is normally based on what JAVA language was write.Tester needs to download before writing test case installation Android software Development kit (Software Development Kit, abbreviation SDK), and build Android exploitation environment (be related to JDK, The contents such as Eclipse, ADT), use it is relatively complicated, especially when test case portability it is poor when, largely write Test case can greatly extend the period of use-case exploitation.In addition, JAVA language itself belongs to a kind of language of more heavyweight, phase More hard to understand for layman, tester is difficult to grasp and flexibly use JAVA language within a short period of time, Therefore JAVA language writes the aspect problem poor there is also ease for use in use-case.
Summary of the invention
In view of the above problems, method, control server, test terminal and the system of a kind of application test are proposed, it can Solve the problems, such as that existing test process is complicated, cumbersome, ease for use is poor.
To solve the above problems, in the first aspect, the present invention provides a kind of applications applied to control server side The method of test, this method comprises:
Receive case management platform issue test instruction, test instruction in carry Android installation kit APK mark and Use the test case of scripting language;
The APK as test object is obtained according to APK mark;
Generate APK subtest packet, and in subtest packet encapsulate script engine and test needed for basic letter Breath;
APK, test case, subtest packet and function library are handed down to test terminal;
It wherein, include the script file with different test functions in function library, script file is adjusted by test case With.
In second aspect, the present invention provides a kind of method of application test applied to test terminal side, this method Include:
Receive Android installation kit APK, test case, subtest packet and function library that control server issues, wherein APK is test object, and test case uses scripting language, is packaged with needed for script engine and test in subtest packet Essential information, include the script file with different test functions in function library, script file is called by test case;
APK and subtest packet are run under JAVA environment;
Test case is explained by the script engine in subtest packet, obtains the test case of JAVA format;
The test case of JAVA format is executed, and is explained further and executes the script that the test case of JAVA format is called File.
In a third aspect, the present invention provides a kind of control server, which includes:
Receiving unit, the test instruction issued for receiving case management platform, tests in instruction and carries Android installation Wrap APK mark and the test case using scripting language;
Acquiring unit, for obtaining the APK as test object according to the received APK mark of receiving unit;
Generation unit, the subtest packet of the APK for generating acquiring unit acquisition, and the package foot in subtest packet Essential information needed for this engine and test;
Transmission unit, APK, test case, subtest packet and function library for will acquire unit acquisition are handed down to Test terminal;
It wherein, include the script file with different test functions in function library, script file is adjusted by test case With.
In fourth aspect, the present invention provides a kind of test terminal, which includes:
Receiving unit, for receive Android installation kit APK, test case that control server issues, subtest packet with And function library, wherein APK is test object, and test case uses scripting language, is packaged with script in subtest packet and draws Hold up and test required essential information, include the script file with different test functions in function library, script file by Test case is called;
Test cell is used for:
The received APK of receiving unit and subtest packet are run under JAVA environment;
Test case is explained by the script engine in subtest packet, obtains the test case of JAVA format;
The test case of JAVA format is executed, and is explained further and executes the script that the test case of JAVA format is called File.
The 5th aspect in, the present invention provides a kind of application test system, the system include case management platform, in Control server and test terminal;
Case management platform connects for providing the Web page for increasing to test case, changing, delete, looking into for tester It receives and sends the test instruction that tester triggers to control server, the Android of tester's selection is carried in test instruction Installation kit APK mark and the test case using scripting language;
Control server, the test instruction issued for receiving case management platform, identifies according to APK and obtains as test The APK of object generates the subtest packet of APK, and in subtest packet encapsulate script engine and test needed for it is basic APK, test case, subtest packet and function library are handed down to test terminal by information, wherein include tool in function library There is the script file of different test functions, script file is called by test case;
Terminal is tested, for running APK and subtest packet under JAVA environment, is drawn by the script in subtest packet Explanation test case is held up, the test case of JAVA format is obtained, executes the test case of JAVA format, and execution is explained further The script file that the test case of JAVA format is called.
Method, control server, test terminal and the system of application test provided by the invention, can pass through case management Platform provides the test case of scripting language to tester, selects tested APK and test in tester and uses After example, control server is issued test instruction by case management platform, is that tested APK generation is packaged with script by control server The subtest packet of engine, and control test terminal and APK is tested.Compared with prior art, the present invention is not necessarily to tester Member voluntarily builds Android exploitation environment and writes test case, and tester need to only choose tested APK and survey in Web page Test case needed for examination can be completed using test, be easy to use quick.In addition, test case and letter in the present invention The scripting language that number library has been all made of more lightweight is write, and can eliminate JAVA language defect hard to understand, more It is applicable in amateur programming personnel to use, has widened the use scope using test.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of method flow diagram of application test provided in an embodiment of the present invention;
Fig. 2 shows the method flow diagrams of another application test provided in an embodiment of the present invention;
Fig. 3 shows a kind of interaction schematic diagram of application test provided in an embodiment of the present invention;
Fig. 4 shows the structural schematic diagram of control server provided in an embodiment of the present invention;
Fig. 5 shows the structural schematic diagram of another control server provided in an embodiment of the present invention;
Fig. 6 shows the structural schematic diagram of test terminal provided in an embodiment of the present invention;
Fig. 7 shows the structural schematic diagram of another test terminal provided in an embodiment of the present invention;
Fig. 8 shows a kind of system schematic of application test provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
To simplify the operating procedure of application test, reducing the professional requirement to tester, the invention discloses one kind Using the method for test, this method is mainly used in control server side.As shown in Figure 1, this method comprises:
101, control server receives the test instruction that case management platform issues.
In the test case that tester goes out to need APK to be tested and test to use by case management platform selecting Afterwards, control server receives the test instruction that case management platform issues, and carries tester APK's in test instruction APK mark and test case.In the present embodiment, test case is by the scripting language of insertion type, in practical application, Writing scripting language used by test case includes but is not limited to be: Ch (C/C++interpreter), Dao, ECMAScript、GameMonkeyScript、Guile、ICI、Lua、RBScript(REALbasic Script)、 Squirrel,Tcl,Z-Script.In a kind of implementation of the present embodiment, the test case be can be by tester The test case write manually is also possible to the test case of case management platform offer.Above-mentioned test case can be stored in In special database, is read or be written by specific data-interface by case management platform or control server, alternatively, on Stating test case can also be stored directly in case management platform or control server, and the present embodiment is not to the tool of test case Body source is limited.
102, control server obtains the APK as test object according to APK mark.
After receiving test instruction, control server is according to APK identifier lookup therein and obtains APK to be tested, The APK is used for the subsequent test terminal operating that is handed down to.
103, control server generates the subtest packet of APK, and script engine and survey are encapsulated in subtest packet Essential information needed for examination.
In addition to the APK as test object, control server also needs to generate a subtest packet for the APK.Due to surveying Example on probation is using scripting language, and running environment of the APK in test terminal is Android operation system, therefore middle control Server needs to provide a script engine for test terminal, includes script interpreter in the script engine, is used for script lattice The file of formula is converted to the file of JAVA format.In the present embodiment, which is packaged in subtest packet and mentions Supply test terminal.In practical application, script engine can also directly be configured in test terminal, be operated in this way, this step Script engine need not be just encapsulated in subtest packet in rapid.
In addition to being packaged with the script engine that test uses, control server can also be added tested in subtest packet The essential information of APK, such as APK title, APK mark, APK version, the name/identity of startup item Activity etc..
104, APK, test case, subtest packet and function library are handed down to test terminal by control server.
After obtaining tested APK and subtest packet, control server is by both together with test case and function library It is handed down to test terminal together.Wherein, which can be lib function library, a series of with different test function for saving The script file of energy.During the test, these script files are mainly called by test case, to carry out the survey of different purposes Examination.In practical application, the head of test case tests terminal and executes the calling path with the calling path statement of script file Sentence can call and execute corresponding script file.
It is similar with test case, it is that the function library in the present embodiment is also possible to finish writing in advance and be stored in database or in It controls in server.In some scenes, function library can also be permanently written into test terminal after being handed down to test terminal Storage region in, in subsequent test process, control server just need not again to test terminal issue function library.
In the following, the present embodiment will be based on flow chart shown in Fig. 2, how above-mentioned data test APK is based on to test terminal It is illustrated.It is as shown in Figure 2:
201, test terminal receives APK, test case, subtest packet and function library that control server issues.
After receiving above-mentioned data, test terminal is saved it in outer memory area, transfers use so as to subsequent. In practical application, when testing terminal without fixed accessing zone, above-mentioned data can also be stored in pluggable is to deposit In storage media, such as SD card.Under this mode, need to guarantee storage medium and test the stability that communicates between terminal, prevent because Reading and writing data interruption impacts test process.
202, test terminal runs APK and subtest packet under JAVA environment.
After receiving above-mentioned data, test terminal starting runs tested APK and subtest packet, is surveyed according to auxiliary The homepage face of the name/identity positioning APK of the startup item Activity carried in examination packet, and starting is surveyed from the homepage face Examination.
203, test terminal explains test case by the script engine in subtest packet, obtains the test of JAVA format Use-case.
As previously mentioned, as made of scripting language, therefore the test case and function library in the present embodiment are When gear is run under Android environment, need to be converted by the file of script interpreter script format.Test terminal passes through foot The script interpreter (it is of course also possible to being the configured script interpreter in terminal side) carried in this engine carries out test case It explains, obtains the test case of the JAVA format executed under Android environment.
204, test terminal executes the test case of JAVA format, and the test case for executing JAVA format is explained further The script file called.
As previously mentioned, calling path of the head of test case with script file, in implementation of test cases, test is eventually The calling path is read at end, and corresponding script file is called from function library.Similar with test case is explained, test terminal is same Sample needs to explain script file by script interpreter, and the test file for being converted to JAVA format is executed, thus Complete the automatic test course of APK.
The method of application test provided in this embodiment can provide script language to tester by case management platform Say the test case write, after tested APK and test case are selected in tester, case management platform takes middle control Business device issues test instruction, is that tested APK generation is packaged with the subtest packet of script engine, and controls survey by control server Examination terminal tests APK.Compared with prior art, the present invention voluntarily builds Android exploitation environment without tester and compiles Test case is write, test case needed for tester need to only choose tested APK and test in Web page, which can be completed, answers With test, it is easy to use quick.In addition, the test case and function library in the present invention have been all made of the foot of more lightweight This language is write, and JAVA language defect hard to understand can be eliminated, and is more applicable in amateur programming personnel and uses, widens The use scope of application test.
Further, as the refinement and extension to method shown in Fig. 1 or Fig. 2, another embodiment of the present invention is also provided A kind of method of application test.For ease of understanding, the present embodiment will be from case management platform, control server and test eventually Three sides are held to be illustrated.As shown in figure 3, this method comprises:
301, case management platform receives the test instruction of tester's triggering.
In the present embodiment, case management platform is used to store, manage the test case of various script formats, and can pass through Web page realizes the human-computer interaction process between tester.Based on case management platform, tester can be in Web page It write in face, upload, modify, delete, check test case.When carrying out using test, tester can also be in Web page Upper selection tested APK and test case.
In a kind of implementation of the present embodiment, tester can select to need in use-case list after selecting APK The test case that one or more to be used writes in advance can also write test case in specific edit page. After determining test case, case management platform issues test instruction to control server.
302, control server receives the test instruction that case management platform issues.
After obtaining test instruction, control server obtains preset mapping table, and the mapping table is for recording Corresponding relationship between APK mark and APK store path.Control server is according to the APK mark traversal carried in test instruction The relation table searches the store path of corresponding APK mark, is then searched by the store path and obtain APK to be tested.
After obtaining APK to be tested, control server generates subtest packet for it.In the present embodiment, test terminal is adopted It is carried out being based on Instrumentation mechanism using test with Instrumentation tool, control server is needed to APK Signing messages and/or the signing messages of subtest packet carry out again signature processing, both make signing messages having the same, by This guarantees that subtest packet can be injected into the process of APK by test terminal and executes.
In addition to above-mentioned APK, test case, subtest packet, control server also needs the function for using test case Library is sent to test terminal.In a kind of implementation of the present embodiment, when test terminal is carried out for the first time using test, middle control Server function reading library and is handed down to test terminal from database, is saved by test terminal.It was tested subsequent Cheng Zhong, in addition to function library exists and updates, control server no longer issues function library to test terminal.
In the present embodiment, comprising the script file with different test functions in function library, these script file functions are big Cause can be divided into following several types:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
It should be noted that above-mentioned script file type is merely illustrative, not as the limit to this embodiment scheme System.
303, APK, test case, subtest packet and function library are handed down to test terminal by control server.
In the present embodiment, control server can be directly connected to test terminal, can also be connected and be surveyed by trunking Try terminal.For the former mode, in a kind of implementation of the present embodiment, control server is wireless by wifi, bluetooth etc. Network and test terminal carry out data interaction, issue the data such as APK, test case, subtest packet, function library.And for rear For person's mode, control server then can issue APK, test case to such as proxy server by wired or wireless network Etc. data, and from proxy server to by universal serial bus (Universal Serial Bus, abbreviation USB) interface connect Above-mentioned data are issued in the test terminal of proxy server.The present embodiment misaligns control server and tests the data between terminal Interactive mode is limited.
In data sender's formula, control server can by Android Debug bridge (Android Debug Bridge, Abbreviation ADB) tool progress data-pushing.By the PUSH order of ADB tool, control server can be by APK, test case etc. Data are pushed directly in the SD card of test terminal.
In an application scenarios of the present embodiment, control server can connect more test terminals.Tester Identical or different APK can be tested simultaneously by different test terminals.When to same APK progress multiple terminals test When, control server can reject the factor that individual test terminal is randomly generated, and keep test result more accurate.And when to difference When APK is tested simultaneously, control server is counted to can then send different APK and test case etc. to different test terminals According to make each test terminal that can execute different test assignments with independent parallel.
Further, the number interacted between reduction control server and test terminal as a further modification of the present embodiment, According to amount, control server only can also issue the script file that test case is called to test terminal.Specifically, issuing function Before library, control server parses test case, obtains the function call interface in test case, which connects Mouth is the calling path for the script file that test case head is written.After getting function call interface, middle control service The script file that the function call interface is called is searched in device access function library, generates script file set.Finally, with script It is handed down to test terminal in file set alternative functions library.
After receiving the relevant data of test, terminal constructions initial environment is tested, APK and auxiliary is run under JAVA environment Test bag is helped, and Instrumentation tool is called to run APK.In the present embodiment, due to the label of APK and subtest packet Name information is identical, therefore subtest packet can be injected into the process of APK by test terminal according to identical signing messages.
In same process, test terminal explains test case by the script engine in subtest packet, obtains JAVA The test case of format, executes the test case of JAVA format, and the test case that execution JAVA format is explained further is adjusted Script file.
Further, in another implementation of the present embodiment, to prevent from taking long time or falling into using test Length of testing speech can also be arranged according to the order of control server in endless loop, test terminal.When being actuated for using test, survey Examination terminal starts to carry out timing, when the time-consuming of test process is more than preset duration (such as 10 minutes), if survey is not yet received Test result, test terminal then terminate test process.
304, test test terminal reports test result to control server.
After test completion, test result is reported to control server by test terminal, is tied test by control server Fruit is reported to case management platform, is used so that tester checks.Particularly, when the multiple test terminals of use are to same APK The processing such as when carrying out concurrent testing, control server also needs to screen received multiple test results, duplicate removal, are stablized Accurate test result.In addition, in the present embodiment, it, can also be with middle control after testing terminal acquisition test relevant data Server disconnects, and switchs to off-line mode and executes test assignment.Alternatively, test terminal can also first pass through control server in advance APK and Wireless Test Toolset (including script engine, function library etc.) to be tested are downloaded, when that can not connect network, starting is offline Mode executes test assignment.For off-line test mode, terminal is tested in locally saving test result, does not require to service to middle control Device is reported.Meanwhile test terminal can also be outputed test result by output equipments such as screen, loudspeaker or indicator lights, It is checked for tester.
Further, in practical applications, mode shown in above-mentioned Fig. 3 is mainly used in privately owned cloud environment, using test The application test systems of Fang Jianli itself carry out automatic test to the application of independent development or third party's third-party test.And In another embodiment of the present invention, mode shown in above-mentioned Fig. 3 be can also be used under publicly-owned cloud environment.It can be to third using test side The interface of Fang Kaifang automatic test is based on the application test systems by third party and independently carries out automatic test.In specifically, Control server to third party open case management platform application programming interfaces (Application Program Interface, Abbreviation API).After the authentication is passed, third party can be entered in the Web page of case management platform by independent account, The test case provided using case management platform, and pass through the survey of control server and test terminal completion third-party application Examination.In addition, control server can also be open to third party by the API for testing terminal, third party is allowed to use the test of oneself Terminal is tested.In practical application, third-party test terminal can be directly connected to third-party testing people by USB interface On the computer or server that member uses, realization is docked with application test systems.Under tester is in case management platform After hair test instruction, test related data is sent to third-party test terminal by api interface by control server, and can To recycle corresponding test result.
Further, as the realization to above-mentioned each method embodiment, another embodiment of the present invention is additionally provided in one kind Server is controlled, to realize above-mentioned each method embodiment.As shown in figure 4, the control server includes: receiving unit 41, obtains Unit 42, generation unit 43 and transmission unit 44, in which:
Receiving unit 41, the test instruction issued for receiving case management platform, tests in instruction and carries Android peace Dress packet APK mark and the test case using scripting language;
Acquiring unit 42, for obtaining the APK as test object according to the received APK of receiving unit 41 mark;
Generation unit 43, the subtest packet of the APK for generating the acquisition of acquiring unit 42, and sealed in subtest packet Essential information needed for filling script engine and test;
Transmission unit 44, for will acquire under APK, test case, subtest packet and the function library that unit 42 obtains Issue test terminal;
It wherein, include the script file with different test functions in function library, script file is adjusted by test case With.
Further, as shown in figure 5, acquiring unit 42, comprising:
Searching module 421, for searching the store path of corresponding A PK mark in preset mapping table;
Module 422 is obtained, is searched according to the store path that searching module 421 is found and obtains APK.
Further, as shown in figure 5, the control server further include:
Processing unit 45, for generation unit 43 generate APK subtest packet after, to APK and/or subtest Packet is signed again, so that APK and subtest packet signing messages having the same.
Further, transmission unit 44 is used for:
Test case is parsed, the function call interface in test case is obtained;
The script file that function call interface is called is searched in function library, generates script file set;
Script file set is handed down to test terminal.
Further, transmission unit 44 is used for:
APK, test case, subtest packet and function library are handed down to test terminal by wireless network.
Further, transmission unit 44 is used for:
APK, test case, subtest packet and function library are handed down to proxy server, passed through by proxy server General-purpose serial bus USB interface is transferred to test terminal.
Further, transmission unit 44 is used for:
APK, test case, subtest packet and function library are pushed to by the PUSH order of Android Debug bridge ADB Test terminal.
Further, as shown in figure 5, the control server further include:
Interface management unit 46, for opening case management platform to third party and testing the application programming interfaces of terminal API。
Further, the test function that is related to of script file that transmission unit 44 is sent includes:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
Further, as the realization to above-mentioned each method embodiment, another embodiment of the present invention additionally provides a kind of survey Terminal is tried, to realize above-mentioned each method embodiment.As shown in fig. 6, the test terminal includes: receiving unit 61 and test cell 62, in which:
Receiving unit 61, Android installation kit APK, test case, the subtest packet issued for receiving control server And function library, wherein APK is test object, and test case uses scripting language, is packaged with script in subtest packet Essential information needed for engine and test, includes the script file with different test functions, script file in function library It is called by test case;
Test cell 62, is used for:
The received APK of receiving unit 61 and subtest packet are run under JAVA environment;
Test case is explained by the script engine in subtest packet, obtains the test case of JAVA format;
The test case of JAVA format is executed, and is explained further and executes the script that the test case of JAVA format is called File.
Further, test cell 62 for calling Instrumentation tool to run APK, and are based on identical label Subtest packet is loaded into the process where APK by name information.
Further, as shown in fig. 7, the test terminal further include:
Timing unit 63, the test process for carrying out to test cell 62 carry out timing, when the time-consuming of test process is super When crossing preset duration, test process is terminated.
Further, as shown in fig. 7, the test terminal further include:
Storage unit 64, for being carried out to the test result that test cell 62 obtains offline after testing APK It saves;
The test result that test cell 62 obtains is reported to for after testing APK by transmission unit 65 Control server.
Further, as the realization to above-mentioned each method embodiment, another embodiment of the present invention additionally provides one kind and answers With the system of test, to realize above-mentioned each method embodiment.As shown in figure 8, the system includes case management platform 81, middle control Server 82 and test terminal 83.Wherein, control server 82 is Fig. 4 or control server shown in fig. 5, and test terminal 83 is Fig. 6 or test terminal shown in Fig. 7.
Case management platform 81, for providing the Web page for increasing to test case, changing, delete, looking into for tester, It receives and sends the test instruction that tester triggers to control server 82, carry tester's selection in test instruction Android installation kit APK mark and the test case using scripting language;
Control server 82, the test instruction issued for receiving case management platform 81, identifies according to APK and obtains conduct The APK of test object generates the subtest packet of APK, and encapsulates needed for script engine and test in subtest packet APK, test case, subtest packet and function library are handed down to test terminal 83, wherein wrap in function library by essential information Containing the script file with different test functions, script file is called by test case;
Terminal 83 is tested, for running APK and subtest packet under JAVA environment, passes through the script in subtest packet Engine explains test case, obtains the test case of JAVA format, executes the test case of JAVA format, and is explained further and holds The script file that the test case of row JAVA format is called.
The system that control server, test terminal and application provided in an embodiment of the present invention are tested, can pass through use-case pipe Platform provides the test case of scripting language to tester, and tested APK and test are selected in tester After use-case, control server is issued test instruction by case management platform, is that tested APK generation is packaged with foot by control server The subtest packet of this engine, and control test terminal and APK is tested.Compared with prior art, the present invention is without test Personnel voluntarily build Android exploitation environment and write test case, tester need to only be chosen in Web page tested APK and Test case needed for test can be completed using test, be easy to use quick.In addition, the test in the embodiment of the present invention The scripting language that use-case and function library have been all made of more lightweight is write, can eliminate JAVA language it is hard to understand lack It falls into, is more applicable in amateur programming personnel and uses, widened the use scope using test.
Further, the invention also discloses:
A kind of method that A1, application are tested, which comprises
The test instruction that case management platform issues is received, carries Android installation kit APK mark in the test instruction And the test case using scripting language;
The APK as test object is obtained according to APK mark;
The subtest packet of the APK is generated, and is encapsulated needed for script engine and test in the subtest packet Essential information;
The APK, the test case, the subtest packet and function library are handed down to test terminal;
It wherein, include the script file with different test functions in the function library, the script file is by described Test case is called.
A2, method according to a1, the APK obtained according to APK mark as test object, comprising:
The store path of the corresponding APK mark is searched in preset mapping table;
It is searched according to the store path and obtains the APK.
A3, method according to a1, after the subtest packet for generating the APK, the method is further Include:
It is signed again to the APK and/or the subtest packet, so that the APK and the subtest packet Signing messages having the same.
A4, method according to a1, it is described that function library is handed down to test terminal, comprising:
The test case is parsed, the function call interface in the test case is obtained;
The script file that the function call interface is called is searched in the function library, generates script file set;
The script file set is handed down to the test terminal.
A5, method according to a1, it is described by the APK, the test case, the subtest packet and function It is handed down to test terminal in library, comprising:
The APK, the test case, the subtest packet and function library be handed down to by wireless network described Test terminal.
A6, method according to a1, it is described by the APK, the test case, the subtest packet and function It is handed down to test terminal in library, comprising:
The APK, the test case, the subtest packet and function library are handed down to proxy server, by institute It states proxy server and the test terminal is transferred to by general-purpose serial bus USB interface.
A7, the method according to A5 or A6, it is described by the APK, the test case, the subtest packet and Function library is handed down to test terminal, comprising:
By the PUSH order of Android Debug bridge ADB by the APK, the test case, the subtest packet and Function library is pushed to the test terminal.
A8, method according to a1, the method further includes:
The application programming interfaces API of the case management platform and the test terminal is opened to third party.
A9, the method according to any one of A1, A2, A3, A4, A5, A6 and A8, the test that the script file is related to Function includes:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
A kind of method that B10, application are tested, which comprises
Receive Android installation kit APK, test case, subtest packet and function library that control server issues, wherein The APK is test object, and the test case uses scripting language, is packaged with script engine in the subtest packet And required essential information is tested, it include the script file with different test functions, the script in the function library File is called by the test case;
The APK and the subtest packet are run under JAVA environment;
The test case is explained by the script engine in the subtest packet, and the test for obtaining JAVA format is used Example;
The test case of the JAVA format is executed, and is explained further and is executed the test case of the JAVA format and adjusted Script file.
B11, method according to b10, it is described that the APK and the subtest packet, packet are run under JAVA environment It includes:
It calls Instrumentation tool to run the APK, and is based on identical signing messages for the subtest It wraps in the process where being loaded into the APK.
B12, method according to b10, the method further includes:
Timing is carried out to test process, when the time-consuming of the test process is more than preset duration, terminates described tested Journey.
B13, method according to b10, after testing the APK, the method further includes:
Test result is saved offline or the test result is reported to the control server.
C14, a kind of control server, the control server include:
Receiving unit is instructed for receiving the test that case management platform issues, and carries Android in the test instruction Installation kit APK mark and the test case using scripting language;
Acquiring unit, for obtaining the APK as test object according to the received APK mark of the receiving unit;
Generation unit is surveyed for generating the subtest packet for the APK that the acquiring unit obtains, and in the auxiliary Essential information needed for encapsulating script engine and test in examination packet;
Transmission unit, the APK, the test case, the subtest packet for obtaining the acquiring unit And function library is handed down to test terminal;
It wherein, include the script file with different test functions in the function library, the script file is by described Test case is called.
C15, the control server according to C14, the acquiring unit, comprising:
Searching module, for searching the store path of the corresponding APK mark in preset mapping table;
Module is obtained, is searched according to the store path that the searching module is found and obtains the APK.
C16, the control server according to C14, the control server further include:
Processing unit, after the subtest packet for generating the APK in the generation unit, to the APK and/or The subtest packet is signed again, so that the APK and the subtest packet signing messages having the same.
C17, the control server according to C14, the transmission unit are used for:
The test case is parsed, the function call interface in the test case is obtained;
The script file that the function call interface is called is searched in the function library, generates script file set;
The script file set is handed down to the test terminal.
C18, the control server according to C14, the transmission unit are used for:
The APK, the test case, the subtest packet and function library be handed down to by wireless network described Test terminal.
C19, the control server according to C14, the transmission unit are used for:
The APK, the test case, the subtest packet and function library are handed down to proxy server, by institute It states proxy server and the test terminal is transferred to by general-purpose serial bus USB interface.
C20, the control server according to C18 or C19, the transmission unit are used for:
By the PUSH order of Android Debug bridge ADB by the APK, the test case, the subtest packet and Function library is pushed to the test terminal.
C21, the control server according to C14, the control server further include:
Interface management unit, for opening the application journey of the case management platform and the test terminal to third party Sequence interface API.
C22, the control server according to any one of C14, C15, C16, C17, C18, C19 and C21, the transmission The test function that is related to of the script file that unit is sent includes:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
D23, a kind of test terminal, the test terminal include:
Receiving unit, for receive Android installation kit APK, test case that control server issues, subtest packet with And function library, wherein the APK is test object, and the test case uses scripting language, in the subtest packet It is packaged with script engine and tests required essential information, include the script with different test functions in the function library File, the script file are called by the test case;
Test cell is used for:
The received APK of the receiving unit and the subtest packet are run under JAVA environment;
The test case is explained by the script engine in the subtest packet, and the test for obtaining JAVA format is used Example;
The test case of the JAVA format is executed, and is explained further and is executed the test case of the JAVA format and adjusted Script file.
D24, the test terminal according to D23, the test cell, for calling Instrumentation tool to transport The row APK, and based on identical signing messages be loaded into the subtest packet in the process where the APK.
D25, the test terminal according to D23, the test terminal further include:
Timing unit, the test process for carrying out to the test cell carries out timing, when the consumption of the test process When be more than preset duration when, terminate the test process.
D26, the test terminal according to D23, the test terminal further include:
Storage unit, for being carried out to the test result that the test cell obtains after testing the APK It is offline to save;
Transmission unit, the test result for after testing the APK, the test cell to be obtained It is reported to the control server.
The system that E27, a kind of application are tested, the system comprises: case management platform, control server and test are eventually End;
The case management platform, for providing the Web for increasing to test case, changing, delete, looking into for the tester The page receives and sends the test instruction that the tester triggers to the control server, carries in the test instruction The Android installation kit APK mark and the test case using scripting language for having tester's selection;
The control server, the test instruction issued for receiving the case management platform, according to the APK Mark obtains the APK as test object, generates the subtest packet of the APK, and the package foot in the subtest packet Essential information needed for this engine and test, by the APK, the test case, the subtest packet and function library It is handed down to the test terminal, wherein include the script file with different test functions, the script in the function library File is called by the test case;
The test terminal passes through the auxiliary for running the APK and the subtest packet under JAVA environment Script engine in test bag explains the test case, obtains the test case of JAVA format, executes the JAVA format Test case, and be explained further and execute the script file that the test case of the JAVA format is called.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment " first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the denomination of invention according to an embodiment of the present invention (as determined in website The device of Hyperlink rank) in some or all components some or all functions.The present invention is also implemented as being used for Some or all device or device programs of method as described herein are executed (for example, computer program and calculating Machine program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one Or the form of multiple signals.Such signal can be downloaded from an internet website to obtain, or be provided on the carrier signal, Or it is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second and third etc. does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (27)

1. a kind of method of application test, which is characterized in that the described method includes:
Receive the test instruction that case management platform issues, carried in the test instruction Android installation kit APK identify and Use the test case of scripting language;
The APK as test object is obtained according to APK mark;
Generate the subtest packet of the APK, and in the subtest packet encapsulate script engine and test needed for base This information;
The APK, the test case, the subtest packet and function library are handed down to test terminal;Wherein, the letter Number includes the script file with different test functions in library, and the script file is called by the test case.
2. the method according to claim 1, wherein described obtained according to APK mark is used as test object APK, comprising:
The store path of the corresponding APK mark is searched in preset mapping table;
It is searched according to the store path and obtains the APK.
3. the method according to claim 1, wherein after the subtest packet for generating the APK, institute The method of stating further comprises:
It is signed again to the APK and/or the subtest packet, so that the APK has with the subtest packet Identical signing messages.
4. the method according to claim 1, wherein described be handed down to test terminal for function library, comprising:
The test case is parsed, the function call interface in the test case is obtained;
The script file that the function call interface is called is searched in the function library, generates script file set;
The script file set is handed down to the test terminal.
5. the method according to claim 1, wherein described by the APK, the test case, the auxiliary Test bag and function library are handed down to test terminal, comprising:
The APK, the test case, the subtest packet and function library are handed down to the test by wireless network Terminal.
6. the method according to claim 1, wherein described by the APK, the test case, the auxiliary Test bag and function library are handed down to test terminal, comprising:
The APK, the test case, the subtest packet and function library are handed down to proxy server, by the generation It manages server and the test terminal is transferred to by general-purpose serial bus USB interface.
7. method according to claim 5 or 6, which is characterized in that it is described by the APK, it is the test case, described auxiliary Test bag and function library is helped to be handed down to test terminal, comprising:
By the PUSH order of Android Debug bridge ADB by the APK, the test case, the subtest packet and function Library is pushed to the test terminal.
8. the method according to claim 1, wherein the method further includes: described in opening to third party The application programming interfaces API of case management platform and the test terminal.
9. according to claim 1, method described in any one of 2,3,4,5,6 and 8, which is characterized in that the script file relates to And test function include:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
10. a kind of method of application test, which is characterized in that the described method includes:
Receive Android installation kit APK, test case, subtest packet and function library that control server issues, wherein described APK is test object, and the test case uses scripting language, be packaged in the subtest packet script engine and Required essential information is tested, includes the script file with different test functions, the script file in the function library It is called by the test case;
The APK and the subtest packet are run under JAVA environment;
The test case is explained by the script engine in the subtest packet, obtains the test case of JAVA format;
The test case of the JAVA format is executed, and is explained further and executes what the test case of the JAVA format was called Script file.
11. according to the method described in claim 10, it is characterized in that, the APK and described of being run under JAVA environment Subtest packet, comprising:
It calls Instrumentation tool to run the APK, and is added the subtest packet based on identical signing messages It is downloaded in the process where the APK.
12. according to the method described in claim 10, it is characterized in that, the method further includes:
Timing is carried out to test process, when the time-consuming of the test process is more than preset duration, terminates the test process.
13. according to the method described in claim 10, it is characterized in that, after testing the APK, the method into One step includes:
Test result is saved offline or the test result is reported to the control server.
14. a kind of control server, which is characterized in that the control server includes:
Receiving unit is instructed for receiving the test that case management platform issues, and carries Android installation in the test instruction Wrap APK mark and the test case using scripting language;
Acquiring unit, for obtaining the APK as test object according to the received APK mark of the receiving unit;
Generation unit, for generating the subtest packet for the APK that the acquiring unit obtains, and in the subtest packet Essential information needed for middle encapsulation script engine and test;
Transmission unit, the APK, the test case, the subtest packet for obtaining the acquiring unit and Function library is handed down to test terminal;
It wherein, include the script file with different test functions in the function library, the script file is by the test Use-case is called.
15. control server according to claim 14, which is characterized in that the acquiring unit, comprising:
Searching module, for searching the store path of the corresponding APK mark in preset mapping table;
Module is obtained, is searched according to the store path that the searching module is found and obtains the APK.
16. control server according to claim 14, which is characterized in that the control server further include:
Processing unit, after the subtest packet for generating the APK in the generation unit, to the APK and/or described Subtest packet is signed again, so that the APK and the subtest packet signing messages having the same.
17. control server according to claim 14, which is characterized in that the transmission unit is used for:
The test case is parsed, the function call interface in the test case is obtained;
The script file that the function call interface is called is searched in the function library, generates script file set;
The script file set is handed down to the test terminal.
18. control server according to claim 14, which is characterized in that the transmission unit is used for:
The APK, the test case, the subtest packet and function library are handed down to the test by wireless network Terminal.
19. control server according to claim 14, which is characterized in that the transmission unit is used for:
The APK, the test case, the subtest packet and function library are handed down to proxy server, by the generation It manages server and the test terminal is transferred to by general-purpose serial bus USB interface.
20. control server described in 8 or 19 according to claim 1, which is characterized in that the transmission unit is used for:
By the PUSH order of Android Debug bridge ADB by the APK, the test case, the subtest packet and function Library is pushed to the test terminal.
21. control server according to claim 14, which is characterized in that the control server further include: mouthpiece Unit is managed, for opening the application programming interfaces API of the case management platform and the test terminal to third party.
22. control server described in any one of 4,15,16,17,18,19 and 21 according to claim 1, which is characterized in that The test function that the script file that the transmission unit is sent is related to includes:
UI operation class, screenshot class, assert class, APK management class, key simulation class, process class, file operation class, time class, Activity, which obtains class, class database, APK configuration file management class, Root authority and obtains, judges class, configuration management class.
23. a kind of test terminal, which is characterized in that the test terminal includes:
Receiving unit, Android installation kit APK, test case, subtest packet and the letter issued for receiving control server Number library, wherein the APK is test object, and the test case uses scripting language, encapsulates in the subtest packet There is script engine and test required essential information, includes the script text with different test functions in the function library Part, the script file are called by the test case;
Test cell is used for: the received APK of the receiving unit and the subtest packet are run under JAVA environment; The test case is explained by the script engine in the subtest packet, obtains the test case of JAVA format;Execute institute The test case of JAVA format is stated, and is explained further and executes the script file that the test case of the JAVA format is called.
24. test terminal according to claim 23, which is characterized in that the test cell, for calling Instrumentation tool runs the APK, and based on identical signing messages is loaded into the subtest packet described In process where APK.
25. test terminal according to claim 23, which is characterized in that the test terminal further include:
Timing unit, the test process for carrying out to the test cell carry out timing, when the time-consuming of the test process is super When crossing preset duration, the test process is terminated.
26. test terminal according to claim 23, which is characterized in that the test terminal further include: storage unit is used In after testing the APK, the test result obtained to the test cell is saved offline;
Transmission unit, for after testing the APK, the test result that the test cell is obtained to be reported To the control server.
27. a kind of system of application test, which is characterized in that the system comprises: case management platform, control server and survey Try terminal;
The case management platform connects for providing the Web page for increasing to test case, changing, delete, looking into for tester It receives and sends the test instruction that the tester triggers to the control server, carry the survey in the test instruction The Android installation kit APK mark and the test case using scripting language for trying personnel selection;
The control server, the test instruction issued for receiving the case management platform, identifies according to the APK The APK as test object is obtained, the subtest packet of the APK is generated, and encapsulates script in the subtest packet and draws Required essential information is held up and tested, the APK, the test case, the subtest packet and function library are issued To the test terminal, wherein include the script file with different test functions, the script file in the function library It is called by the test case;
The test terminal passes through the subtest for running the APK and the subtest packet under JAVA environment Script engine in packet explains the test case, obtains the test case of JAVA format, executes the test of the JAVA format Use-case, and be explained further and execute the script file that the test case of the JAVA format is called.
CN201410805330.8A 2014-12-19 2014-12-19 Using the method for test, control server, test terminal and system Active CN104461898B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410805330.8A CN104461898B (en) 2014-12-19 2014-12-19 Using the method for test, control server, test terminal and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410805330.8A CN104461898B (en) 2014-12-19 2014-12-19 Using the method for test, control server, test terminal and system

Publications (2)

Publication Number Publication Date
CN104461898A CN104461898A (en) 2015-03-25
CN104461898B true CN104461898B (en) 2019-02-15

Family

ID=52907987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410805330.8A Active CN104461898B (en) 2014-12-19 2014-12-19 Using the method for test, control server, test terminal and system

Country Status (1)

Country Link
CN (1) CN104461898B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104880659B (en) * 2015-05-15 2018-03-30 北京光电技术研究所 Semiconductor laser off-line test method
CN106294102B (en) * 2015-05-20 2021-04-09 腾讯科技(深圳)有限公司 Application program testing method, client, server and system
CN104899046B (en) * 2015-06-26 2018-01-30 上海斐讯数据通信技术有限公司 A kind of multi-functional script operation method and system
CN106354626A (en) * 2015-07-21 2017-01-25 腾讯科技(深圳)有限公司 Application test and method, system and device realizing application test in multiple terminals
CN105095090A (en) * 2015-09-16 2015-11-25 北京奇虎科技有限公司 Method and device for testing application installation package
CN105468518A (en) * 2015-11-11 2016-04-06 中国联合网络通信集团有限公司 Test method and device of mobile terminal application
CN105512029B (en) * 2015-11-27 2018-12-25 北京奇虎科技有限公司 A kind of method, server and system for testing intelligent terminal
CN105677561B (en) * 2015-12-31 2019-01-29 广州华多网络科技有限公司 The multi-platform test method of mobile product and system
CN105740148B (en) * 2016-01-29 2018-03-06 博雅网信(北京)科技有限公司 The script engine system and method for testing of a kind of mobile terminal automation testing
CN106168924A (en) * 2016-07-07 2016-11-30 北京金山安全软件有限公司 Software testing method and device and electronic equipment
CN106775823B (en) * 2016-11-21 2020-03-27 努比亚技术有限公司 Mobile terminal and quick starting method thereof
CN108628736B (en) * 2017-03-23 2021-09-03 北京小唱科技有限公司 Android device testing method and device
CN108958992A (en) * 2017-05-18 2018-12-07 北京京东尚科信息技术有限公司 test method and device
CN107465572A (en) * 2017-08-02 2017-12-12 华数传媒网络有限公司 Intelligent terminal method of testing, apparatus and system
CN107995024A (en) * 2017-10-30 2018-05-04 北京奇虎科技有限公司 A kind of device management method, device, server and storage medium
CN108038052A (en) * 2017-11-27 2018-05-15 平安科技(深圳)有限公司 Automatic test management method, device, terminal device and storage medium
CN108459958A (en) * 2017-12-08 2018-08-28 平安科技(深圳)有限公司 The creation method of function and performance test script, device, equipment and storage medium
CN108111369A (en) * 2017-12-22 2018-06-01 北京奇虎科技有限公司 The test method and device of a kind of webpage performance of mobile terminal
CN108153673B (en) * 2017-12-25 2021-07-13 苏州赛源微电子有限公司 Application software testing system
CN108650507B (en) * 2018-04-26 2020-05-19 珠海全志科技股份有限公司 Terminal device testing method and device, terminal device and storage medium
CN109446050A (en) * 2018-11-01 2019-03-08 北京汉迪移动互联网科技股份有限公司 A kind of function test method and device
CN110135168B (en) * 2019-05-16 2021-04-20 北京字节跳动网络技术有限公司 Application program detection method, device and system, terminal equipment and storage medium
CN111737137B (en) * 2020-06-24 2023-04-07 重庆紫光华山智安科技有限公司 Interface test data generation method and device, host and storage medium
CN116166554A (en) * 2023-02-24 2023-05-26 上海硬通网络科技有限公司 Automated test system, method and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399814A (en) * 2013-07-16 2013-11-20 西安Tcl软件开发有限公司 Automated testing method and automated testing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141960B (en) * 2011-03-18 2013-08-14 广东欧珀移动通信有限公司 Automatic test method based on Android
CN104216828A (en) * 2013-06-03 2014-12-17 刘伟 Testing method for performing function traversal on tested application program
CN103336742B (en) * 2013-07-18 2015-11-11 北京航空航天大学 A kind of automated software Black-box Testing system and method based on Android
CN104035869A (en) * 2014-06-19 2014-09-10 科大讯飞股份有限公司 Application evaluation method, terminal, and server
CN104199770B (en) * 2014-09-01 2018-05-01 上海斐讯数据通信技术有限公司 A kind of automated testing method of mobile phone music APK

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399814A (en) * 2013-07-16 2013-11-20 西安Tcl软件开发有限公司 Automated testing method and automated testing device

Also Published As

Publication number Publication date
CN104461898A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN104461898B (en) Using the method for test, control server, test terminal and system
Gonsalves Evaluating the mobile development frameworks Apache Cordova and Flutter and their impact on the development process and application characteristics
US6941546B2 (en) Method and apparatus for testing a software component using an abstraction matrix
US9535823B2 (en) Method and apparatus for detecting software bugs
CN110134386B (en) Program editing method and device
US20170132024A1 (en) Deep Linking to Mobile Application States Through Programmatic Replay of User Interface Events
US9436449B1 (en) Scenario-based code trimming and code reduction
US8219991B2 (en) Consolidated launching of multiple tasks
Sommer et al. Evaluation of cross-platform frameworks for mobile applications
CN108304175B (en) Code file isolation packaging method and device
US20120110560A1 (en) Data type provider for a web semantic store
CN107015841B (en) Preprocessing method for program compiling and program compiling device
CN110457211A (en) Script performance test methods, device and equipment and computer storage medium
CN107368420A (en) API method of testings, device and electronic equipment
US8776010B2 (en) Data type provider for a data store
CN107506190A (en) XML file amending method and device based on Spring frameworks
Colombo et al. Verifying web applications: from business level specifications to automated model-based testing
CN112631618A (en) Application program packaging method, application program testing method, terminal and storage medium
CN109614107A (en) A kind of integrated approach and device of Software Development Kit
US8473903B2 (en) Code edit apparatus and recording medium
CN110020370B (en) Method and device for realizing animation in client application and framework of animation script
CN103176903B (en) The test method and equipment of MapReduce distributed system program
Oliveira pytest Quick Start Guide: Write better Python code with simple and maintainable tests
DeVito et al. Using python for model inference in deep learning
Appel Testing with JUnit

Legal Events

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

Effective date of registration: 20220725

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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