CN104811954B - A kind of mobile terminal application testing method, apparatus and system - Google Patents

A kind of mobile terminal application testing method, apparatus and system Download PDF

Info

Publication number
CN104811954B
CN104811954B CN201410043686.2A CN201410043686A CN104811954B CN 104811954 B CN104811954 B CN 104811954B CN 201410043686 A CN201410043686 A CN 201410043686A CN 104811954 B CN104811954 B CN 104811954B
Authority
CN
China
Prior art keywords
mobile terminal
test
sim card
test script
script
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
CN201410043686.2A
Other languages
Chinese (zh)
Other versions
CN104811954A (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.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong 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 China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201410043686.2A priority Critical patent/CN104811954B/en
Publication of CN104811954A publication Critical patent/CN104811954A/en
Application granted granted Critical
Publication of CN104811954B publication Critical patent/CN104811954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The present invention provides a kind of mobile terminal application testing method, apparatus and systems.The mobile terminal application testing method, for testing device, wherein, for testing at least one of mobile terminal pond mobile terminal, mobile terminal can be established at least one of SIM card cluster targeted SIM card and be connected, and mobile terminal can be connected to test device by connecting equipment, mobile terminal application testing method, including:Establish the connection of the mobile terminal to be measured in mobile terminal pond and the targeted SIM card in SIM card cluster;Obtain the execution condition of the test script and test script that are set to mobile terminal to be measured;Send the execution condition of test script and test script so that mobile terminal to be measured executes test script when the condition of execution is set up;Receive the test execution result obtained according to mobile terminal execution test script to be measured.Said program, when test script executes condition and sets up, mobile terminal executes test script automatically, improves testing efficiency.

Description

A kind of mobile terminal application testing method, apparatus and system
Technical field
The present invention relates to business support technical field, more particularly to a kind of mobile terminal application testing method, device and it is System.
Background technology
With science and technology, the fast development of communication network, mobile Internet, the quantity presentation of mobile terminal and mobile application is quick-fried Fried formula increases.Since mobile application can access whenever and wherever possible, with easily and efficiently advantage, more and more people pass through shifting Dynamic terminal uses mobile application.It becomes increasingly abundant, makes in particular with 3G network and intelligent mobile terminal universal, mobile application The trend exponentially increased using scale.Mobile terminal brand, type are various, and same application is on different mobile terminal There may be different operating statuses.To ensure application correct, performance the stabilization of function and good on mobile terminals User experience, manufacturer terminal, mobile application developer and mobile operator need to largely test the application on mobile terminal. Huge test volume, it is true to lead to that test quality is low, test index is not statistical uncertainty.
Currently, the test to the application on mobile terminal is mainly carried out by artificial mode, i.e., tester operates Be mounted with the mobile terminal accessing application of SIM card, judge using whether be able to access that, function whether normal load, and manually remember Record load duration logs in the performance statistics indexs such as delay time.But there are following defects for existing measuring technology:(1)Artificial note Log duration and delay time are applied in record, and there are certain errors, lead to the inaccuracy of test result, cannot reflect the true of application Situation;(2)It applies the operating status on different mobile terminal different, results in the need for detection and apply in the terminal of different styles Operating status, usual SIM card manually changes card and test together with being loaded with mobile terminal, causes test quality and effect Rate is low.
Invention content
The technical problem to be solved in the present invention is to provide a kind of mobile terminal application testing method, apparatus and system, to It solves at present to apply mobile terminal and uses manual testing's method, manual record application log duration and delay time, there are one Determine error, cause test result inaccurate, the problem of test quality and inefficiency.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of mobile terminal application testing method, for surveying Trial assembly is set, wherein for testing at least one of mobile terminal pond mobile terminal, the mobile terminal energy and SIM At least one of card cluster targeted SIM card establishes connection, and the mobile terminal can be connected to test by connecting equipment Device, the mobile terminal application testing method, including:
Establish the connection of the mobile terminal to be measured in the mobile terminal pond and the targeted SIM card in the SIM card cluster;
Obtain the execution condition of the test script and test script that are set to the mobile terminal to be measured;
Send the execution condition of the test script and test script so that the mobile terminal to be measured is in the execution When condition is set up, the test script is executed;
It receives according to the test execution result that test script obtains described in the mobile terminal execution to be measured.
Further, described to establish the mobile terminal to be measured in the mobile terminal pond and the mesh in the SIM card cluster Mark SIM card connection be specially:
Determine mobile terminal to be measured;
The selection target SIM card from SIM card cluster, and establish the connection of the two.
Further, described to obtain holding for the test script and test script set to the mobile terminal to be measured Row condition is specially:
Obtain to the mobile terminal to be measured set include test function and test output-index test Script;
Obtain includes the SIM card information used when test script operation, the execution time of test script and number The execution condition of test script.
Further, the execution condition for sending the test script and test script so that the movement to be measured When the execution condition is set up, execute the test script is specially terminal:
The execution condition of the test script and test script is sent to test server so that the test server When the execution condition is set up, test script described in the mobile terminal execution to be measured is controlled.
The mobile terminal application testing method, wherein the mobile terminal to be measured is set in the acquisition Test script and test script execution condition before further include:
One or more test scripts are generated, and send preservation order so that the test script is stored in testing service In device;
One or more test scripts preserved are obtained from the test server as target detection script.
The embodiment of the present invention also provides a kind of mobile terminal application test device, for at least one in mobile terminal pond A mobile terminal is tested, and the mobile terminal can be established at least one of SIM card cluster targeted SIM card and be connected, and And the mobile terminal can be connected to the mobile terminal application test device by connecting equipment, the mobile terminal application is surveyed Trial assembly is set, including:
Connection establishment module, for establishing in the mobile terminal to be measured in the mobile terminal pond and the SIM card cluster Targeted SIM card connection;
Acquisition module, for obtaining holding for the test script and test script that are set to the mobile terminal to be measured Row condition;
Sending module, the execution condition for sending the test script and test script so that the movement to be measured Terminal executes the test script when the execution condition is set up;
Receiving module, for receiving according to the test execution knot that test script obtains described in the mobile terminal execution to be measured Fruit.
Further, the connection establishment module includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
Further, the acquisition module includes:
First acquisition unit includes test function and survey for obtaining set to the mobile terminal to be measured Try the test script of output-index;
Second acquisition unit includes the SIM card information used when test script operation, test script for obtaining Execute the execution condition of the test script of time and number.
The mobile terminal application test device further includes:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
The embodiment of the present invention also provides a kind of mobile terminal application test systems, including:
Mobile terminal application test device;
SIM card device, for realizing the connection of test SIM card and mobile terminal;
Test server, the execution for controlling test script;
The test server is connected to the mobile terminal application test device, and is connected by electric wire and SIM card device It connects, is connect with mobile terminal by cable;
Wherein, the mobile terminal application test device, including:
Connection establishment module, for establishing in the mobile terminal to be measured in the mobile terminal pond and the SIM card cluster Targeted SIM card connection;
Acquisition module, for obtaining holding for the test script and test script that are set to the mobile terminal to be measured Row condition;
Sending module, the execution condition for sending the test script and test script so that the movement to be measured Terminal executes the test script when the execution condition is set up;
Receiving module, for receiving according to the test execution knot that test script obtains described in the mobile terminal execution to be measured Fruit.
Further, the SIM card device includes:
Multiple SIM cards;
Strobe Controller is connected, is attached with mobile terminal for controlling SIM card.
The mobile terminal application test systems further include:The mobile end being connected respectively with each mobile terminal End connection equipment, the mobile terminal connection equipment are connected to the test server by cable.
Further, the connection establishment module includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
Further, the acquisition module includes:
First acquisition unit includes test function and survey for obtaining set to the mobile terminal to be measured Try the test script of output-index;
Second acquisition unit includes the SIM card information used when test script operation, test script for obtaining Execute the execution condition of the test script of time and number.
Further, the mobile terminal application test device further includes:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
In said program, by setting the execution condition of test script and test script, item is executed meeting test script When part so that mobile terminal executes test script automatically, and automatically generates test result, improves efficiency and the test of test Accuracy solves and applies the manual testing's method that uses to mobile terminal at present, when manual record application log duration is with postponing Between, there are certain error, cause test result inaccurate, the problem of test quality and inefficiency.
Description of the drawings
Fig. 1 is the overview flow chart of the mobile terminal application testing method of the embodiment of the present invention;
The mobile terminal application test systems of Fig. 2 embodiment of the present invention and mobile terminal attachment structure schematic diagram;
The method flow diagram that the mobile terminal application test systems of Fig. 3 embodiment of the present invention are tested.
Specific implementation mode
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The present invention for it is existing to mobile terminal apply use manual testing's method, manual record application log duration with The problem of delay time, there are certain errors, cause test result inaccurate, test quality and inefficiency, provides a kind of shifting Dynamic terminal applies test method, for testing device, wherein for being carried out at least one of mobile terminal pond mobile terminal Test, the mobile terminal can be established at least one of SIM card cluster targeted SIM card and be connected, and the mobile terminal It can be connected to test device by connecting equipment, the mobile terminal application testing method, including:
Step 10, the mobile terminal to be measured in the mobile terminal pond and the targeted SIM card in the SIM card cluster are established Connection;
Step 20, the execution item of the test script and test script that are set to the mobile terminal to be measured is obtained Part;
Step 30, the execution condition of the test script and test script is sent so that the mobile terminal to be measured exists When the execution condition is set up, the test script is executed;
Step 40, it receives according to the test execution result that test script obtains described in the mobile terminal execution to be measured.
It should be noted that the mobile terminal includes mobile phone, tablet computer, mobile interchange equipment, PND(Portable Navigation Devices, i.e. portable automatic navigation system)Equal portable hand-helds mobile terminal is the load using test Body.
Said program executes condition by setting the execution condition of test script and test script meeting test script When so that mobile terminal executes test script automatically, and automatically generates test result, improves the efficiency of test and the standard of test True property.
When in order to solve manual testing, SIM card and mobile terminal are loaded together with, elapsed time reduces testing efficiency The problem of, the step 10 includes:
Step 11, mobile terminal to be measured is determined;
Step 12, the selection target SIM card from SIM card cluster, and establish the connection of the two.
Mobile terminal is carried out binding with SIM card and connect by said program when being tested, without manually that movement is whole End loads together with SIM, reduces operating procedure, improves testing efficiency.
It should be noted that the step 20 specifically includes:
Step 21, obtain to the mobile terminal to be measured set include test function and test output-index Test script;
Step 22, obtain comprising the test script operation when use SIM card information, test script the execution time and The execution condition of the test script of number.
It should be noted that the test function includes to be logged in the application on mobile terminal, play video, audio Equal sequence of operations, the test output-index comprising login successfully, log duration, the output-indexes such as video load time, In practical application, tester can formulate required test script according to the type of the application test on mobile terminal.
The mobile terminal application testing method further includes before step 21:
One or more test scripts are generated, and send preservation order so that the test script is stored in testing service In device.
It completes and is stored in test server it should be noted that the test script is advance editor, carrying out When the execution condition setting of test script, one or more test scripts are chosen from test server, for each test foot Originally the corresponding execution condition of the test script is set separately.
In order to ensure being smoothed out when test, the step 30 is specially:Send the test script and test foot This execution condition is to test server so that for the test server when the execution condition is set up, control is described to be measured Test script described in mobile terminal execution.
Said program, by the way that the execution condition of the test script set and test script is sent to test server, It will be stored in test server both as test assignment, it is described when the execution condition of each test assignment is set up Test server controls the test script in the test assignment and is run on corresponding mobile terminal, is protected using test server It deposits test assignment and controls the execution of test assignment, ensure that test assignment accurately executes.
In order to solve the above-mentioned technical problem, the embodiment of the present invention also provides a kind of mobile terminal application test device, is used for At least one of mobile terminal pond mobile terminal is tested, the mobile terminal can be at least one in SIM card cluster A targeted SIM card establishes connection, and the mobile terminal can be connected to the mobile terminal application test by connecting equipment Device, the mobile terminal application test device, including:
Connection establishment module, for establishing in the mobile terminal to be measured in the mobile terminal pond and the SIM card cluster Targeted SIM card connection;
Acquisition module, for obtaining holding for the test script and test script that are set to the mobile terminal to be measured Row condition;
Sending module, the execution condition for sending the test script and test script so that the movement to be measured Terminal executes the test script when the execution condition is set up;
Receiving module, for receiving according to the test execution knot that test script obtains described in the mobile terminal execution to be measured Fruit.
Specifically, the connection establishment module includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
Specifically, the acquisition module includes:
First acquisition unit includes test function and survey for obtaining set to the mobile terminal to be measured Try the test script of output-index;
Second acquisition unit includes the SIM card information used when test script operation, test script for obtaining Execute the execution condition of the test script of time and number.
The mobile terminal application test device further includes:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
It should be noted that the mobile terminal application test device includes mobile terminal control interface, the mobile terminal The display content that control interface brings user with true mobile terminal is completely the same, including the physical button of mobile terminal, screen And shell, it is showed by Flash software technology, is shown in the screen area of mobile terminal application test device. The mobile terminal control interface is amplified according to the full-size(d) equal proportion of mobile terminal, and display pattern thereon switches mould Block can control mobile terminal and be switched between transverse screen display, vertical screen display pattern, to meet different testing requirements; Mouse event prize procedure is used for detecting the events such as user's operation mode, including mouse down, release, dragging;Screen coordinate meter Program is calculated according to the display pattern of mobile terminal, the screen size of mobile terminal, the display size of control interface, screen operator side Formula etc., control parameter when button or touch screen to calculate practical operation mobile terminal;Button time-sequence control module is according to button Key assignments, by parameters such as delays between time of key pressing, button, to generate actual button control sequential;Touch screen sequential Control module according to parameters such as delays between contact action mode, touch screen coordinate sequence, contact, generate actual touch screen control Sequential processed.It should be noted that above functions module is mainly used for the formulation of test script.
It should be noted that the device embodiment is device corresponding with the above method, all realization sides of the above method Formula can also reach technique effect identical with said program suitable for the device embodiment.
In order to solve the above-mentioned technical problem, the embodiment of the present invention also provides a kind of mobile terminal application test systems, including:
Mobile terminal application test device;
SIM card device, for realizing the connection of test SIM card and mobile terminal;
Test server, the execution for controlling test script;
The test server is connected to the mobile terminal application test device, and by electric wire be based on electric signal with SIM card device is communicated, and is communicated with mobile terminal based on ICP/IP protocol by cable;
Wherein, the mobile terminal application test device, including:
Connection establishment module, for establishing in the mobile terminal to be measured in the mobile terminal pond and the SIM card cluster Targeted SIM card connection;
Acquisition module, for obtaining holding for the test script and test script that are set to the mobile terminal to be measured Row condition;
Sending module, the execution condition for sending the test script and test script so that the movement to be measured Terminal executes the test script when the execution condition is set up;
Receiving module, for receiving according to the test execution knot that test script obtains described in the mobile terminal execution to be measured Fruit.
It should be noted that the SIM card device includes:
Multiple SIM cards;
Strobe Controller is connected, is attached with mobile terminal for controlling SIM card.
It is attached with mobile terminal it should be noted that the SIM card device connects equipment by data line, the number Equipment and n are connected according to line(N is more than or equal to 1)A mobile terminal is correspondingly connected with, and the SIM card device includes m(M can be not equal to n)A SIM card.
The mobile terminal application test systems further include:The mobile terminal being connected respectively with each mobile terminal Equipment is connected, the mobile terminal connection equipment is connected to the test server by cable.
It should be noted that the mobile terminal connection equipment act as a user in mobile terminal application test device The inputs such as button, touch screen, the audio of upper virtual mobile device are converted to the interface protocol that mobile terminal can really identify, to control The input of mobile terminal processed operates, while the output signals such as the image, sound, video of mobile terminal are collected, and converts At the signal form that suitable internet web page exports, come out by the showing interface of mobile terminal application test device.It is mobile whole End connection equipment is directly attached with mobile terminal by digital circuit, including but not limited to following function:
Signal procedure:Realize the two-way communication with mobile terminal application test device.On the one hand, signal procedure exists user Various audio inputs in mobile terminal application test device are sent to connection equipment with control signal is interactively entered;Another party Face, signal procedure also are responsible for being sent to the output signals such as the sound, image, video of mobile terminal from mobile terminal connection equipment Mobile terminal application test device is simultaneously shown on its interface.
Key-press input controls:Button control message is demodulated from signal procedure, and according to the key circuit of mobile terminal The circuit control sequential of button is formed, control button is operated.
Button operation:According to the sequential that key-press input controls, to the row, column key circuit of mobile terminal according to voltage, press The requirements such as key time carry out operation and control, to control the closure and the disconnection that correspond to button on mobile terminal.
Audio input controls:The audio signal that input is demodulated from signal procedure is carried out according to the requirement that audio plays Buffering, playback rate control and volume control.
Audio signal plays:The digital-to-analogue conversion of audio signal is carried out, and drives the microphone of mobile terminal.
Audio signal sample:Analog-to-digital conversion is carried out to the voice signal exported from mobile terminal loud speaker.
Audio output controls:Volume control, rate control and buffer operation are carried out to audio signal, and according to signal procedure Requirement carry out data packing and transmission control.
Video signal collection:Image and video letter are acquired on circuit interface between the CPU and display screen of mobile terminal Number.Common interface includes but not limited to MIPI(Mobile Industry Processor Interface, mobile application into Journey interface)、MDDI(Mobile Display Digital Interface, mobile digital display interface, i.e., by towards mobile phone Deng high speed serial device interface)、VSYNC(V-Sync, vertical synchronization)、MCU(Micro Control Unit, micro-control unit) Deng.
Video output control:Coding mode, the control of frame speed and buffer operation are carried out to vision signal, and according to signal procedure Requirement carry out data packing and transmission control.
It should be noted that being the major function description for the mobile terminal connection equipment used in the present invention, institute above The function realization for stating mobile terminal connection equipment is that those skilled in the art understand that, is no longer elaborated herein.
Specifically, the connection establishment module includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
Specifically, the acquisition module includes:
First acquisition unit includes test function and survey for obtaining set to the mobile terminal to be measured Try the test script of output-index;
Second acquisition unit includes the SIM card information used when test script operation, test script for obtaining Execute the execution condition of the test script of time and number.
Specifically, the mobile terminal application test device further includes:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
As shown in Fig. 2, the mobile terminal application test systems include:Mobile terminal application test device, testing service Device and SIM card device, the test server are connect with the mobile terminal application test device, and the test server passes through Cable is attached with interchanger, and each mobile terminal in the mobile terminal pond passes through corresponding mobile connection respectively Equipment is connected to interchanger, realizes the connection with test server;The SIM card device includes gate logic and and gate logic Multiple SIM cards of connection, the gate logic is connected by electrical wiring to the test server, wherein the SIM card device is also Multiple connection equipment by being connected to gate logic realize the connection with each mobile terminal in mobile terminal pond, final real The connection of existing mobile terminal and SIM card.
As shown in figure 3, being illustrated below to the specific workflow of mobile terminal application test systems(Made with user A For mobile terminal test being carried out with mobile terminal application test systems):
Step 100, user A logs on to test server by mobile terminal application test device;
Step 102, mobile terminal application test device sends logging request to test server;
Step 103, test server returns to login result to mobile terminal application test device;
Step 104, mobile terminal application test device is to user's response login result.
It should be noted that step 100 to step 104 is the process that user A logs in mobile terminal application test systems, only There is the test that this mobile terminal application test systems could be applied to carry out mobile terminal after logining successfully.
After logining successfully, user's A application mobile terminal application test systems carry out mobile terminal test the step of be:
Step 200, depending on the user's operation, mobile terminal application test device sends selection SIM card to SIM card device Request;
Step 201, SIM card device returns to selection result to mobile terminal application test device;
Step 202, mobile terminal application test device sends association according to the SIM card of selection to mobile terminal connection equipment The request of mobile terminal;
Step 203, this request is sent to mobile terminal by mobile terminal connection equipment;
Step 204, mobile terminal returns to association results to mobile terminal connection equipment;
Step 205, this association results is returned to mobile terminal application test device by mobile terminal connection equipment.
It should be noted that step 200 to step 205 is the process of mobile terminal binding SIM card, binding mentioned here It is not that each mobile terminal is corresponded to each SIM card to bind, here only the movement to be measured in mobile terminal pond Terminal and the SIM card in SIM card cluster are interrelated, are equivalent to and are connected to the two.
After being associated mobile terminal and SIM, user carries out mobile terminal using mobile terminal application test systems Test is specially:
It is the operation for generating test script first, the specific steps are:
Step 300, mobile terminal application test device is sent to mobile terminal connection equipment using associated mobile whole End carries out scripting editing request, carries out the setting of the test script comprising test function and output-index;
Step 301, this request is sent to associated mobile terminal by mobile terminal connection equipment;
Step 302, associated mobile terminal returns to request response results to mobile terminal connection equipment;
Step 303, mobile terminal connection equipment will ask response results to return to mobile terminal application test device;
Step 304, user A according to request response results carried out in mobile terminal application test device scripting editing and to Test server, which is sent, preserves script request;
Step 305, test server returns to script to mobile terminal application test device and preserves result.
After test script editor completes and preserves successfully, the formulation of test assignment is just carried out, the specific steps are:
Step 400, mobile terminal application test device sends selection script request to test server;
Step 401, test server returns to selection result;
Step 402, mobile terminal application test device sends selection SIM card request to SIM card device, can be according to SIM The brand or number of card are selected;
Step 403, SIM card device returns to selection result;
Step 404, execution time of the mobile terminal application test device according to the script design script of selection, number;
Step 405, it includes test script and test foot that mobile terminal application test device is sent to test server This execution condition(This execution condition includes the execution time of SIM card information and test script that test is used, number)Survey Trial business preserves request;
Step 406, test server, which returns, preserves result.
It should be noted that above-mentioned selection SIM card process is not the specific a certain SIM card of actual general and test script Corresponding, the SIM of a certain brand or number is only distributed to test script by SIM card selection herein, is being held for test script It is chosen when row.
Test script is just executed automatically after the completion of task is formulated, when reaching preset time to test mobile terminal, is had Body step is:
Step 500, according to the time of setting, test server is selected when being sent in scripting editing to mobile terminal connection equipment The request of task is executed on the mobile terminal selected;
Step 501, this request is sent to corresponding mobile terminal by mobile terminal connection equipment;
Step 502, the SIM card selected when relevant mobile terminal is formulated to task sends selection request;
Step 503, relevant SIM card returns to selection result;
Step 504, relevant mobile device utilizes the automatic perform script of task of the SIM card and setting of selection, output to hold Row result;
Step 505, relevant mobile terminal returns to implementing result to mobile terminal connection equipment;
Step 506, this result is returned to test server and preserved by mobile terminal connection equipment;
Step 507, implementing result is returned to mobile terminal application test device by test server;
Step 508, mobile terminal application test device returns to test result to user A.
So far, the automatic testing process of separation between machine and card terminates.
Application process of the above test method in actual scene is illustrated below below:
By Samsung mobile phone, iPhone, periodically normally whether test wechat carry out using for login, log duration automatically Explanation.After user logs in test system by account, available SIM card and Samsung mobile phone, apple are selected respectively in SIM card cluster Fruit handset binding, after user carries out bindings, mobile phone restarts and is associated with the SIM card of selection automatically;Then script generates mould again In block, Samsung mobile phone and iPhone are selected, scripting editing interface is clicked to enter and carries out scripting editing(It is put in the scripting editing page The graphic interface for setting real handset, any operation carried out by mouse will pass to long-range real handset simultaneously in a manner of electric signal Feedback operation result), in the scripting editing page, the true of wechat login is carried out on the Samsung mobile phone of selection, iPhone respectively Practical operation is made, and sets the output-indexes such as the whether of logining successfully, log duration, and script preservation is carried out after the completion of editor;It is set in task Periodically, the script editted just now is selected, the SIM card that must be used when automatic running is selected(It can be selected by brand or number It is fixed), setting task execution time, period, number etc. preserve after the completion of setting;After preservation, the task of setting enters team to be run Row when reaching the run time of setting, automatically select the SIM card of setting and mobile phone run the script of selection, and according to setting Test script is executed corresponding number by the period, after the completion of execution, exports the indication information set automatically.User can move The task management module of dynamic terminal applies test device checks the performance of task(In operation, complete, stop etc. states), Task index statistical module can check the index of this task execution output, such as the wechat application login in Samsung mobile phone Success, log duration are 8 seconds, the statistical informations such as wechat application login failure in iPhone.
Said program of the present invention compensates for the deficiency of existing manual testing, does not have to carry out SIM card by hand again with movement eventually The loading at end, after making test assignment, test system is tested and is outputed test result automatically according to execution condition, from Dynamic test can improve testing efficiency at any time than manual test reliability higher, automatic test;Automatic test can be with Increase test coverage, to promote product or service quality.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come It says, under the premise of not departing from principle of the present invention, can also make several improvements and retouch, these improvements and modifications should also regard For protection scope of the present invention.

Claims (13)

1. a kind of mobile terminal application testing method, for testing device, which is characterized in that for in mobile terminal pond extremely A few mobile terminal is tested, and the mobile terminal can be established at least one of SIM card cluster targeted SIM card to be connected It connects, and the mobile terminal can be connected to test device, the mobile terminal application testing method, packet by connecting equipment It includes:
Establish the connection of the mobile terminal to be measured in the mobile terminal pond and the targeted SIM card in the SIM card cluster;
Obtain the execution condition of the test script and test script that are set to the mobile terminal to be measured;
Send the execution condition of the test script and test script so that the mobile terminal to be measured is in the execution condition When establishment, the test script is executed;
It receives according to the test execution result that test script obtains described in the mobile terminal execution to be measured;
Wherein, the execution condition for obtaining the test script and test script that are set to the mobile terminal to be measured has Body is:
Obtain to the mobile terminal to be measured set include test function and test output-index test script;
The test for executing time and number of the SIM card information and test script used when obtaining comprising test script operation The execution condition of script.
2. mobile terminal application testing method according to claim 1, which is characterized in that described to establish the mobile terminal The connection of mobile terminal to be measured and the targeted SIM card in the SIM card cluster in pond is specially:
Determine mobile terminal to be measured;
The selection target SIM card from SIM card cluster, and establish the connection of the two.
3. mobile terminal application testing method according to claim 1, which is characterized in that described to send the test script And the execution condition of test script so that the mobile terminal to be measured executes the test when the execution condition is set up Script is specially:
The execution condition of the test script and test script is sent to test server so that the test server is in institute When stating the establishment of execution condition, test script described in the mobile terminal execution to be measured is controlled.
4. mobile terminal application testing method according to claim 1, which is characterized in that in the acquisition to described to be measured Further include before the execution condition for the test script and test script that mobile terminal is set:
One or more test scripts are generated, and send preservation order so that the test script is stored in test server;
One or more test scripts preserved are obtained from the test server as target detection script.
5. a kind of mobile terminal application test device, which is characterized in that for mobile eventually at least one of mobile terminal pond End is tested, and the mobile terminal can be established at least one of SIM card cluster targeted SIM card and be connected, and the shifting Dynamic terminal can be connected to the mobile terminal application test device by connecting equipment, the mobile terminal application test device, Including:
Connection establishment module, for establishing the mobile terminal to be measured in the mobile terminal pond and the mesh in the SIM card cluster Mark the connection of SIM card;
Acquisition module, the execution item for obtaining the test script and test script that are set to the mobile terminal to be measured Part;
Sending module, the execution condition for sending the test script and test script so that the mobile terminal to be measured When the execution condition is set up, the test script is executed;
Receiving module, for receiving according to the test execution result that test script obtains described in the mobile terminal execution to be measured;
Wherein, the acquisition module includes:
First acquisition unit, for obtain to the mobile terminal to be measured set include test function and test it is defeated Go out the test script of index;
Second acquisition unit, the SIM card information used when for obtaining comprising test script operation and test script are held The execution condition of the test script of row time and number.
6. mobile terminal application test device according to claim 5, which is characterized in that the connection establishment module packet It includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
7. mobile terminal application test device according to claim 5, which is characterized in that further include:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
8. a kind of mobile terminal application test systems, which is characterized in that including:
Mobile terminal application test device;
SIM card device, for realizing the connection of test SIM card and mobile terminal;
Test server, the execution for controlling test script;
The test server is connected to the mobile terminal application test device, and is connect with SIM card device by electric wire, leads to Cable is crossed to connect with mobile terminal;
Wherein, the mobile terminal application test device, including:
Connection establishment module, for establishing the mobile terminal to be measured in the mobile terminal pond and the mesh in the SIM card cluster Mark the connection of SIM card;
Acquisition module, the execution item for obtaining the test script and test script that are set to the mobile terminal to be measured Part;
Sending module, the execution condition for sending the test script and test script so that the mobile terminal to be measured When the execution condition is set up, the test script is executed;
Receiving module, for receiving according to the test execution result that test script obtains described in the mobile terminal execution to be measured.
9. mobile terminal application test systems according to claim 8, which is characterized in that the SIM card device includes:
Multiple SIM cards;
Strobe Controller is connected, is attached with mobile terminal for controlling SIM card.
10. mobile terminal application test systems according to claim 8, which is characterized in that further include:Eventually with each movement The mobile terminal connection equipment being connected respectively, the mobile terminal connection equipment is held to be connected to the test by cable and take Business device.
11. mobile terminal application test systems according to claim 8, which is characterized in that the connection establishment module packet It includes:
First determination unit, for determining mobile terminal to be measured;
Second determination unit, for determining targeted SIM card from SIM card cluster;
Connection establishment unit, the connection for establishing the mobile terminal to be measured and the targeted SIM card.
12. mobile terminal application test systems according to claim 8, which is characterized in that the acquisition module includes:
First acquisition unit, for obtain to the mobile terminal to be measured set include test function and test it is defeated Go out the test script of index;
Second acquisition unit, the SIM card information used when for obtaining comprising test script operation and test script are held The execution condition of the test script of row time and number.
13. mobile terminal application test systems according to claim 8, which is characterized in that the mobile terminal application is surveyed Trial assembly is set, and further includes:
Script generation module, for generating one or more test scripts;
Order sending module preserves order so that the test script is stored in test server for sending.
CN201410043686.2A 2014-01-29 2014-01-29 A kind of mobile terminal application testing method, apparatus and system Active CN104811954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410043686.2A CN104811954B (en) 2014-01-29 2014-01-29 A kind of mobile terminal application testing method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410043686.2A CN104811954B (en) 2014-01-29 2014-01-29 A kind of mobile terminal application testing method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104811954A CN104811954A (en) 2015-07-29
CN104811954B true CN104811954B (en) 2018-09-07

Family

ID=53696341

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410043686.2A Active CN104811954B (en) 2014-01-29 2014-01-29 A kind of mobile terminal application testing method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104811954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113515420B (en) * 2021-07-28 2022-12-27 展讯半导体(成都)有限公司 Test method and test system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459927A (en) * 2008-12-19 2009-06-17 中国移动通信集团浙江有限公司 Method for service test by analogue mobile phone terminal
CN103365770A (en) * 2012-04-09 2013-10-23 陆兵 Mobile terminal software testing system and software testing method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI476587B (en) * 2011-12-01 2015-03-11 Mstar Semiconductor Inc Testing method and testing apparatus for testing function of electronic apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459927A (en) * 2008-12-19 2009-06-17 中国移动通信集团浙江有限公司 Method for service test by analogue mobile phone terminal
CN103365770A (en) * 2012-04-09 2013-10-23 陆兵 Mobile terminal software testing system and software testing method

Also Published As

Publication number Publication date
CN104811954A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
US10726068B2 (en) App processing method and apparatus
CN107005721B (en) Live broadcast room video stream push control method, corresponding server and mobile terminal
CN104765678B (en) The method and device tested the application on mobile terminal device
CN106331765B (en) Hard solution testing method, terminal, server and computer readable storage medium
CN108763086A (en) Script method for recording, terminal and computer readable storage medium based on remote real machine
CN107920122A (en) Game player's matching process, device, match server and readable storage medium storing program for executing
CN112799891B (en) iOS device testing method, device, system, storage medium and computer device
CN112596848A (en) Screen recording method and device, electronic equipment, storage medium and program product
CN104253861A (en) Terminal control method, terminal control device and terminal control system
CN111625381B (en) Method, device, equipment and storage medium for reproducing running scene of application program
CN103841466A (en) Screen projection method, computer end and mobile terminal
CN115643359B (en) Enhanced video call method and system and electronic equipment
CN106776323B (en) Application testing method and device
CN110554831A (en) Operation synchronization method, device, equipment and storage medium
CN102300117A (en) Automatic testing system and testing method for set-top box
CN112328492B (en) Interaction control method and device between anchor and electronic equipment
CN109324962A (en) A kind of test method and equipment of the application program based on cloud internet of things technology
CN110162255B (en) Single-machine program running method, device, equipment and storage medium
CN108243033A (en) A kind of method given a mark to video quality, cloud server terminal and system
CN113747482A (en) Method, system and terminal equipment for detecting and analyzing service network
CN103729258B (en) A kind of automatic test approach, terminal and system
CN104811954B (en) A kind of mobile terminal application testing method, apparatus and system
CN104349110A (en) Terminal remote interaction method and system
CN105374354A (en) Terminal voice control method and device
CN116939283A (en) Equipment control method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant