CN106484604A - application test control method and device - Google Patents

application test control method and device Download PDF

Info

Publication number
CN106484604A
CN106484604A CN201510533045.XA CN201510533045A CN106484604A CN 106484604 A CN106484604 A CN 106484604A CN 201510533045 A CN201510533045 A CN 201510533045A CN 106484604 A CN106484604 A CN 106484604A
Authority
CN
China
Prior art keywords
interface
application
tested application
runnable
many
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510533045.XA
Other languages
Chinese (zh)
Other versions
CN106484604B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510533045.XA priority Critical patent/CN106484604B/en
Publication of CN106484604A publication Critical patent/CN106484604A/en
Application granted granted Critical
Publication of CN106484604B publication Critical patent/CN106484604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Telephone Function (AREA)

Abstract

A kind of open application test control method of the present invention, described application test control method comprises the following steps:Many, detecting surveys whether the tested application downloaded on platform starts;When detecting described tested application startup, suspension control is generated according to the corresponding identification information of tested application starting, survey the incidence relations of platform runnable interfaces switching to set up tested application runnable interface and crowd;Described suspension control is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;It is triggered and when trigger action operates for changing interface when detecting described suspension control, control currently displaying interface to switch between platform runnable interface in tested application runnable interface and many survey.Invention additionally discloses a kind of application test control device.The present invention reduces many survey the step operating when switching between application runnable interface and tested application runnable interface, enhance many fluency surveying switching between application runnable interface and tested application runnable interface.

Description

Application test control method and device
Technical field
The present invention relates to application technical field of measurement and test, more particularly, to application test control method and device.
Background technology
It is known that many platforms of surveying are a platforms based on mass-rent concept, by popular test strength And test resource, complete the test to application and experience.In prior art, generally store up on platform in many survey There are tested application and the corresponding task resource information of tested application, user can be upper and lower in many survey platforms Carry tested application, and the test to tested application is completed according to task resource information.Carrying out tested application Test process in, it usually needs carry out between platform runnable interface in tested application runnable interface and many survey Switching.The display interface that traditional switching mode typically requires control terminal returns to main interface, then clicks on Respective application icon, to realize switching;This handover operation is complicated.
Content of the invention
The main purpose of the embodiment of the present invention is to provide a kind of application test control method and device it is intended to subtract Few many survey applies the step operating when switching between runnable interface and tested application runnable interface, strengthens many survey The fluency of switching between application runnable interface and tested application runnable interface.
For achieving the above object, embodiments provide a kind of application test control method, described should Comprised the following steps with test control method:
Many, detecting surveys whether the tested application downloaded on platform starts;
When detecting described tested application startup, according to the tested application corresponding identification information life starting Become suspension control, to set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface; Described suspension control is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;
It is triggered and when trigger action operates for changing interface when detecting described suspension control, control and work as The interface of front display switches between platform runnable interface in tested application runnable interface and many survey.
Further, the embodiment of the present invention additionally provides a kind of application test control device, and described application is surveyed Examination control device includes:
Many, detecting module, surveys whether the tested application downloaded on platform starts for detecting;
Display module, for when detecting described tested application startup, according to the tested application pair starting The identification information answered generates suspension control, to set up tested application runnable interface and many survey platform runnable interfaces The incidence relation of switching;Described suspension control is used for being shown in described tested application runnable interface and many survey is put down On platform runnable interface;
Control module, for when detecting, described suspension control is triggered and trigger action is changing interface During operation, control currently displaying interface between tested application runnable interface and many survey platform runnable interfaces Switching.
The embodiment of the present invention is passed through detecting and is surveyed whether the tested application downloaded on platform starts many;Work as detecting To during described tested application startup, suspension control is generated according to the corresponding identification information of tested application starting, To set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface;The described control that suspends Part is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;Described when detecting When suspension control is triggered and trigger action operates for changing interface, control currently displaying interface in quilt Survey application runnable interface and many survey switch between platform runnable interface, convenient many survey application runnable interfaces with The switching of tested application runnable interface, reduces the step operating during switching, strengthens crowd and surveys application runnable interface The fluency of switching and tested application runnable interface between.
Brief description
Fig. 1 is the hardware structure schematic diagram of present invention application test control device first embodiment;
Fig. 2 is the functional module structure schematic diagram of present invention application test control device second embodiment;
Fig. 3 is the refinement function mould of control module in present invention application test control device 3rd embodiment Block structure schematic diagram;
Fig. 4 is the refinement function mould of control module in present invention application test control device fourth embodiment Block structure schematic diagram;
Fig. 5 is the functional module structure schematic diagram of present invention application test control device the 5th embodiment;
Fig. 6 is the schematic flow sheet of present invention application test control method first embodiment;
Fig. 7 is the schematic flow sheet of present invention application test control method second embodiment;
Fig. 8 is the preset task resource of query display in present invention application test control method 3rd embodiment The refinement schematic flow sheet of information;
Fig. 9 is the refinement stream of display interface switching in present invention application test control method fourth embodiment Journey schematic diagram;
Figure 10 is the schematic flow sheet of present invention application test control method the 5th embodiment.
The realization of the object of the invention, functional characteristics and advantage will be done further in conjunction with the embodiments referring to the drawings Explanation.
Specific embodiment
Further illustrate technical scheme below in conjunction with Figure of description and specific embodiment.Should Understand, specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Many survey platforms refer to the platform based on mass-rent concept, complete by popular test strength and test resource The test of product and experience in pairs.Many survey store on platforms the offer of Zhong Ce party in request tested application and The preset task resource information formulated for this tested application, this preset task resource information includes task and holds Row step and task expected resultss.User by terminal downloads and can log in many survey platforms, flat in many surveys Tested application is downloaded on platform, then surveys, according to many, the preset task resource letter that this tested application on platform provides Breath is tested to this tested application.After the completion of test, submit the bug of feedback opinion, suggestion and discovery to. The test to tested application can be completed in a relatively short time by many survey platforms, and collect user to quilt Survey suggestion and the suggestion of application, so that tested application provides more perfect function and preferably experiences.
With reference to Fig. 1, present invention application test control device first embodiment is proposed.In this embodiment, should Included with test control device:Processor 111, memorizer 112, user interface 113, network interface 114 And communication bus 115.Communication bus 115 is used for the communication in data server between each building block, uses Family interface 113 is used for the information of receiving user's input, and this user interface can connect for wireline interface and wirelessly Mouthful, such as keyboard, mouse etc..Network interface 114 is used for data server and carries out intercommunication with outside, This network interface 114 can also include wireline interface and wave point.Memorizer 112 can include one or More than one computer-readable recording medium, and it not only includes internal storage, also includes outside and deposits Reservoir.The operating system that is stored with this memorizer and application testing and control application program etc..Processor 111 For calling the application testing and control application program in memorizer 112, to execute following operation:
Many, detecting surveys whether the tested application downloaded on platform starts;
When detecting described tested application startup, according to the tested application corresponding identification information life starting Become suspension control, to set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface; Described suspension control is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;
It is triggered and when trigger action operates for changing interface when detecting described suspension control, control and work as The interface of front display switches between platform runnable interface in tested application runnable interface and many survey.
Further, processor 111 is additionally operable to call the application testing and control application program in memorizer 112, To execute following operation:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd;
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file;
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
Further, processor 111 is additionally operable to call the application testing and control application program in memorizer 112, To execute following operation:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd;
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file;
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
Further, processor 111 is additionally operable to call the application testing and control application program in memorizer 112, To execute following operation:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, inquiry request is sent according to the identification information of the current tested application running and surveys platform to many;
It is tested that reception many surveys platforms currently run according to the identification information-enquiry in described inquiry request Apply corresponding preset task resource information;
Show described preset task resource information.
Further, processor 111 is additionally operable to call the application testing and control application program in memorizer 112, To execute following operation:
Judge whether currently displaying interface is tested application runnable interface;
If so, then current display interface is switched to many survey platform runnable interfaces;
If it is not, then current display interface is switched to tested application runnable interface.
Further, processor 111 is additionally operable to call the application testing and control application program in memorizer 112, To execute following operation:
Obtain the system of terminal;
Determine whether to export information according to the system type of terminal, to point out how to open display suspension Control function.
The embodiment of the present invention is passed through detecting and is surveyed whether the tested application downloaded on platform starts many;Work as detecting To during described tested application startup, suspension control is generated according to the corresponding identification information of tested application starting, To set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface;The described control that suspends Part is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;Described when detecting When suspension control is triggered and trigger action operates for changing interface, control currently displaying interface in quilt Survey application runnable interface and many survey switch between platform runnable interface, convenient many survey application runnable interfaces with The switching of tested application runnable interface, reduces the step operating during switching, strengthens crowd and surveys application runnable interface The fluency of switching and tested application runnable interface between.
With reference to Fig. 2 it is proposed that the present invention proposes a kind of application another embodiment of test control device, at this In embodiment, above-mentioned application test control device, described application test control device includes:
Many, detecting module 10, surveys whether the tested application downloaded on platform starts for detecting;
Generation module 20, when detecting described tested application startup, the tested application according to starting corresponds to Identification information generate suspension control, cut with setting up tested application runnable interface and many platform runnable interfaces of surveying The incidence relation changing;Described suspension control is used for being shown in described tested application runnable interface and many survey platforms On runnable interface;
Control module 30, for when detecting, described suspension control is triggered and trigger action is cut for interface When changing operation, control currently displaying interface tested application runnable interface with many survey platform runnable interfaces it Between switch.
Application test control device provided in an embodiment of the present invention is mainly used in many survey platforms, for right The process of application test carries out operational control.
In the embodiment of the present invention, after user has downloaded tested application by many survey platforms, can click on should With icon to start tested application, start the test to tested application.While tested application runs, Suspension control will be generated, this suspension control will be on tested application runnable interface and many survey platform runnable interfaces Display.The shapes and sizes of this suspension control can be configured according to actual needs, as long as without prejudice to quilt Survey application runnable interface and many entirety surveying platform runnable interface shows, for example, can rounded arrange. This suspension control can be a button or suspension forms;This suspension control to tested application runnable interface and Many platform runnable interfaces of surveying switch over association, with when changing interface operates, according to this tested application fortune Row interface and many survey platform runnable interfaces switch over incidence relation and carry out changing interface.It should be noted that On the interface that terminal shows, above-mentioned tested application runnable interface and many survey platform runnable interfaces can not be simultaneously Shown, such as, when the tested application of terminal front stage operation, the interface that terminal shows is that tested application runs Interface, when terminal front stage operation many surveys platform, the interface that terminal shows is many survey platform runnable interfaces.
The position that above-mentioned suspension control shows on terminal display screen can be configured according to actual needs; Show it is preferable that suspension control can be controlled in the way of using automatic absorbing to rest on terminal in the present embodiment On the edge of display screen.Specifically, absorption algorithm can be in the following ways:
If the width of terminal unit display screen is screenWidth, the width of suspension control is WindowWidth, the position that current suspended window is dragged to is windowX (with respect to terminal unit Left hand edge distance) and windowY (with respect to the top edge distance of terminal unit), if windowX> (screenWidth/2 windowWidth/2), after mouse release suspended window drags, suspended window adsorbs To screen right hand edge, now suspension window position is (screenWidth-windowWidth/2, windowY); No lateral suspension window is adsorbed onto screen left hand edge, now suspension window position be (windowWidth/2, windowY).
It is understood that tested application runnable interface and many displays surveying platform runnable interface for convenience, When suspension control is not triggered, the transparency of suspension control is higher.While tested application runs, Suspension control will be generated, now will show suspension control on surveying application runnable interface, and be somebody's turn to do when user clicks on During suspension control, suspension control is triggered, and now judges whether trigger action is changing interface operation.If Trigger action operates for changing interface, then switch over the interface controlling display, by currently displaying boundary Face switches to many survey platform runnable interfaces, and shows suspension control in many survey on platform runnable interfaces.When need Return tested application runnable interface proceed test when, suspension control can be triggered again, and trigger Operation be changing interface operation, then carry out changing interface, by current display interface switch to tested should Proceed application test with runnable interface.It should be noted that currently displaying interface refers to end panel The interface that curtain front end shows, the interface shown in the application program of front stage operation.Specifically, interface The scene of switching is mainly used in checking of preset task resource information, or completes in tested application test Carry out test result by many survey platforms afterwards to report.
Specifically, the mode carrying out the trigger action of suspension control can be configured according to actual needs, For example can click, double-click or long by etc..It is preferable that when clicking suspension control in the present embodiment, So that suspension control is triggered, and the trigger action clicked operates for changing interface.In other embodiments, Can also be after suspension control be double-clicked triggering, ejection function options menu, wrap in function choosing-item menu (this switching push button is the virtual push button in function choosing-item menu, and this function choosing-item menu is to include switching push button The form of pop-up is shown), when user clicks on this switching push button it is determined that trigger action is cut for interface Change operation.It should be noted that when there are two or more tested applications and being tested simultaneously, Switching between tested application runnable interface and many survey platform runnable interfaces can be carried out in the following way Run, when tested application runnable interface clicks on switching push button, many survey platform fortune can be directly switch to Row interface;Many survey click on switching push button on platform runnable interfaces when, can eject option show all just In the tested application of test, the then selection according to user, survey platform runnable interface of comforming jumps to tested Apply runnable interface, or survey platform runnable interface of can directly comforming jumps to the quilt of the last display Survey application runnable interface.
Further, in order to improve the display effect of suspension control, to distinguish in suspension control on different boundaries The effect of display on face, it is preferable that the background that can arrange suspension control is to click on to hang in the present embodiment The interface corresponding product Logo of switching is needed during floating control.In the present embodiment, if currently displaying boundary Face is tested application runnable interface, then the corresponding background of suspension control is shown as many Logo surveying platform;If Currently displaying interface be many survey platform runnable interfaces, then the corresponding background of suspension control be shown as tested should Logo.Specifically, switching currently displaying interface simultaneously, corresponding Logo will obtained, and by Logo Background as suspension icon is shown.
The embodiment of the present invention is passed through detecting and is surveyed whether the tested application downloaded on platform starts many;Work as detecting To during described tested application startup, suspension control is generated according to the corresponding identification information of tested application starting, To set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface;The described control that suspends Part is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;Described when detecting When suspension control is triggered and trigger action operates for changing interface, control currently displaying interface in quilt Survey application runnable interface and many survey switch between platform runnable interface, convenient many survey application runnable interfaces with The switching of tested application runnable interface, reduces the step operating during switching, strengthens crowd and surveys application runnable interface The fluency of switching and tested application runnable interface between.
Further, based on above-described embodiment, in the present embodiment, above-mentioned control module 30 is additionally operable to:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd;
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file;
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
Specifically, when detecting, described suspension control is triggered and trigger action is preset task resource letter During breath display operation, the corresponding preset task of tested application with current test in many survey platforms can be obtained Resource information, is then shown by the interface front end that the form of pop-up is shown in tested application operation, To remind user's current task execution step and task expected resultss, put down thus need not returning and being switched to many survey Checked on platform.When detecting, described suspension control is triggered and trigger action is test starting or temporary When stopping operation, then start or suspend log file;This journal file refers in tested application test During, record what tested application running status, user operation step and the function having to carry out were generated File, for, after test terminates, being uploaded onto the server this document by many platforms of surveying, for exploitation Personnel improve to tested application for this document.
Further, with reference to Fig. 3, based on above-described embodiment, in the present embodiment, above-mentioned control module 30 Including:
Query unit 301, for when detecting, described suspension control is triggered and trigger action is preset During business resource information display operation, inquiry request is sent according to the identification information of the current tested application running Survey platform to many;
Receiving unit 302, for receiving many platforms of surveying according to the identification information-enquiry institute in described inquiry request State the corresponding preset task resource information of tested application of current operation;
Display unit 303, for showing described preset task resource information.
In the present embodiment, many survey can store multiple tested applications on platform, and each tested application pair The preset task resource information of oneself should be provided with.When the operation of triggering is preset task resource presentation of information behaviour The identification information of the tested application of current operation when making, can be obtained first, then existed according to this identification information Many survey inquires about corresponding preset task resource information on platform, the preset task resource finally obtaining inquiry Presentation of information out, so that user checks.When understandable, in the present embodiment, preset of display Business information can for whole task execution step and task expected resultss or, current task step With task expected resultss, here further do not limit.Specifically, after the completion of task step, can To carry out active flag in many survey on platform;Or the feedback by tested application, many survey Platform Analysis are true Fixed completed task step.
It should be noted that in other embodiments, comform and survey the preset task that platform obtains tested application Resource information can also execution when generating suspension control.And by preset task resource information with above-mentioned Task the Show Button associates, and when clicking on this task the Show Button, directly displays corresponding preset Business resource information.Thus need not each click task the Show Button all comform survey platform obtained, The speed of program operation therefore can be improved.
Further, with reference to Fig. 4, based on above-described embodiment, in the present embodiment, above-mentioned control module 30 Also include:
Judging unit 304, for judging whether currently displaying interface is tested application runnable interface;
Switch unit 305, for when currently displaying interface be tested application runnable interface when, will be current Display interface switches to many survey platform runnable interfaces;When currently displaying interface is many survey platform runnable interfaces When, current display interface is switched to tested application runnable interface.
In the present embodiment, when the operation of triggering on suspension control operates for changing interface, can start The system interface inquiry of Servics service call terminal is in the application program of front stage operation, thus judging current It is many survey platforms and tested application in the application program of front stage operation.When the application program of front stage operation be by Surveying during application it is determined that currently displaying interface is tested application runnable interface;Carrying out application program During running status switching, can be instructed to terminal with output control, control tested application to enter by the system of terminal Enter running background, many platforms of surveying enter front stage operation, thus current display interface is switched to many surveys flat Platform runnable interface.When the application program of front stage operation be many survey platform when it is determined that currently displaying interface Survey platform runnable interface for many;When the running status carrying out application program switches, can be referred to output control Make to terminal, control many platforms of surveying to enter running background by the system of terminal, tested application enters foreground fortune OK, thus current display interface is switched to tested application runnable interface.
Further, with reference to Fig. 5, based on above-described embodiment, in the present embodiment, above-mentioned application test control Device processed also includes:
Acquisition module 50, for obtaining the system of terminal;
Determining module 60, for determining whether to export information according to the system type of terminal, to point out How to open display suspension control function.
In the present embodiment, above-mentioned terminal can be the intelligent terminal such as mobile phone, pad.It is provided with the terminal Many survey platform client and tested application.The system type of this terminal include apple system, Android system and Semen setariae system.Due to arranging suspension control only for application in Semen setariae system, therefore when determination terminal When system type is Semen setariae system, information will be exported, to point out how to open display suspension control work( Can, prevent suspension control from cannot normally show.
The invention allows for a kind of application test control method.With reference to Fig. 6, the application test of this embodiment Control method comprises the following steps:
Step S10, many, detecting surveys whether the tested application downloaded on platform starts;
Step S11, when detecting described tested application startup, corresponding according to the tested application starting Identification information generates suspension control, to set up tested application runnable interface and many survey platform runnable interface switchings Incidence relation;Described suspension control is used for being shown in described tested application runnable interface and many platforms of surveying are transported On row interface;
Step S12, judges whether that detecting described suspension control is triggered;If so, then execution step S13, Otherwise terminate;
Step S13, judges whether trigger action is changing interface operation;If so, then execution step S14, If it is not, then terminating;
Step S14, controls currently displaying interface to run boundary in tested application runnable interface with many platforms of surveying Switch between face.
Application test control method provided in an embodiment of the present invention is mainly used in many survey platforms, for right The process of application test carries out operational control.
In the embodiment of the present invention, after user has downloaded tested application by many survey platforms, can click on should With icon to start tested application, start the test to tested application.While tested application runs, Suspension control will be generated, this suspension control will be on tested application runnable interface and many survey platform runnable interfaces Display.The shapes and sizes of this suspension control can be configured according to actual needs, as long as without prejudice to quilt Survey application runnable interface and many entirety surveying platform runnable interface shows.This suspension control can be one Button or suspension forms;This suspension control enters to tested application runnable interface and many platform runnable interfaces of surveying Row handoff association, when changing interface operates, to transport according to this tested application runnable interface and many platforms of surveying Row interface switches over incidence relation and carries out changing interface.It should be noted that the interface showing in terminal On, above-mentioned tested application runnable interface and many platform runnable interfaces of surveying can not be simultaneously displayed, for example, work as end During the tested application of front stage operation of end, the interface that terminal shows is tested application runnable interface, when terminal foreground When running many survey platforms, the interface that terminal shows is that crowd surveys platform runnable interface.
The position that above-mentioned suspension control shows on terminal display screen can be configured according to actual needs; Show it is preferable that suspension control can be controlled in the way of using automatic absorbing to rest on terminal in the present embodiment On the edge of display screen.Specifically, absorption algorithm can be in the following ways:
If the width of terminal unit display screen is screenWidth, the width of suspension control is WindowWidth, the position that current suspended window is dragged to is windowX (with respect to terminal unit Left hand edge distance) and windowY (with respect to the top edge distance of terminal unit), if windowX> (screenWidth/2 windowWidth/2), after mouse release suspended window drags, suspended window adsorbs To screen right hand edge, now suspension window position is (screenWidth-windowWidth/2, windowY); No lateral suspension window is adsorbed onto screen left hand edge, now suspension window position be (windowWidth/2, windowY).
It is understood that tested application runnable interface and many displays surveying platform runnable interface for convenience, When suspension control is not triggered, the transparency of suspension control is higher.While tested application runs, Suspension control will be generated, now will show suspension control on surveying application runnable interface, and be somebody's turn to do when user clicks on During suspension control, suspension control is triggered, and now judges whether trigger action is changing interface operation.If Trigger action operates for changing interface, then switch over the interface controlling display, by currently displaying boundary Face switches to many survey platform runnable interfaces, and shows suspension control in many survey on platform runnable interfaces.When need Return tested application runnable interface proceed test when, suspension control can be triggered again, and trigger Operation be changing interface operation, then carry out changing interface, by current display interface switch to tested should Proceed application test with runnable interface.It should be noted that currently displaying interface refers to end panel The interface that curtain front end shows, the interface shown in the application program of front stage operation.Specifically, interface The scene of switching is mainly used in checking of preset task resource information, or completes in tested application test Carry out test result by many survey platforms afterwards to report.
Specifically, the mode carrying out the trigger action of suspension control can be configured according to actual needs, For example can click, double-click or long by etc..It is preferable that when clicking suspension control in the present embodiment, So that suspension control is triggered, and the trigger action clicked operates for changing interface.In other embodiments, Can also be after suspension control be double-clicked triggering, ejection function options menu, wrap in function choosing-item menu (this switching push button is the virtual push button in function choosing-item menu, and this function choosing-item menu is to include switching push button The form of pop-up is shown), when user clicks on this switching push button it is determined that trigger action is cut for interface Change operation.It should be noted that when there are two or more tested applications and being tested simultaneously, Switching between tested application runnable interface and many survey platform runnable interfaces can be carried out in the following way Run, when tested application runnable interface clicks on switching push button, many survey platform fortune can be directly switch to Row interface;Many survey click on switching push button on platform runnable interfaces when, can eject option show all just In the tested application of test, the then selection according to user, survey platform runnable interface of comforming jumps to tested Apply runnable interface, or survey platform runnable interface of can directly comforming jumps to the quilt of the last display Survey application runnable interface.
Further, in order to improve the display effect of suspension control, to distinguish in suspension control on different boundaries The effect of display on face, it is preferable that the background that can arrange suspension control is to click on to hang in the present embodiment The interface corresponding product Logo of switching is needed during floating control.In the present embodiment, if currently displaying boundary Face is tested application runnable interface, then the corresponding background of suspension control is shown as many Logo surveying platform;If Currently displaying interface be many survey platform runnable interfaces, then the corresponding background of suspension control be shown as tested should Logo.Specifically, switching currently displaying interface simultaneously, corresponding Logo will obtained, and by Logo Background as suspension icon is shown.
The embodiment of the present invention is passed through detecting and is surveyed whether the tested application downloaded on platform starts many;Work as detecting To during described tested application startup, suspension control is generated according to the corresponding identification information of tested application starting, To set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface;The described control that suspends Part is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;Described when detecting When suspension control is triggered and trigger action operates for changing interface, control currently displaying interface in quilt Survey application runnable interface and many survey switch between platform runnable interface, convenient many survey application runnable interfaces with The switching of tested application runnable interface, reduces the step operating during switching, strengthens crowd and surveys application runnable interface The fluency of switching and tested application runnable interface between.
Further, based on above-described embodiment, in the present embodiment, also wrap after above-mentioned steps S10 Include:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd;
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file;
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
In the present embodiment, Function Extension can be carried out to suspension control, for example, double-click above-mentioned suspension control Afterwards, ejection function options menu, includes switching push button (for defeated for user in this function choosing-item menu Enter changing interface operation), task the Show Button (for for user input preset task resource presentation of information behaviour Be used as), time-out/start button (for for user input test starting or pausing operation) and screenshotss button ( In for the operation of user input screenshotss).
Specifically, as shown in fig. 7, in the present embodiment, after detecting described suspension control and be triggered, If to judge trigger action be not changing interface operation, execution is following to be operated:
Step S15, judges whether trigger action is preset task resource presentation of information operation;
If so, then execution step S16, if it is not, then execution step S17;
Step S16, described tested application of display surveys corresponding preset task resource letter on platforms in described crowd Breath;
Step S17, judges whether trigger action is test starting or pausing operation;
If so, then execution step S18, otherwise execution step S19;
Step S18, starts or suspends log file;
Step S19, judges whether trigger action is screenshotss operation;
If so, then execution step S20, otherwise terminates;
Step S20, preserves currently displaying interface.
It should be noted that above-mentioned each judgement operates and there is not sequencing, can mutually replace.Example As first determined whether that trigger action whether there is screenshotss operation and then judges trigger action whether test starting Or pausing operation etc..
Specifically, when detecting, described suspension control is triggered and trigger action is preset task resource letter During breath display operation, the corresponding preset task of tested application with current test in many survey platforms can be obtained Resource information, is then shown by the interface front end that the form of pop-up is shown in tested application operation, To remind user's current task execution step and task expected resultss, put down thus need not returning and being switched to many survey Checked on platform.When detecting, described suspension control is triggered and trigger action is test starting or temporary When stopping operation, then start or suspend log file;This journal file refers in tested application test During, record what tested application running status, user operation step and the function having to carry out were generated File, for, after test terminates, being uploaded onto the server this document by many platforms of surveying, for exploitation Personnel improve to tested application for this document.
Further, with reference to Fig. 8, based on above-described embodiment, in the present embodiment, above-mentioned when detecting institute State suspension control to be triggered and when trigger action is the operation of preset task resource presentation of information, display is described Tested application includes in described many steps surveying corresponding preset task resource information on platform:
Step S161, when detecting, described suspension control is triggered and trigger action is preset task resource During presentation of information operation, inquiry request is sent according to the identification information of the current tested application running and surveys to many Platform;
Step S162, receives many survey platforms current according to the identification information-enquiry in described inquiry request The corresponding preset task resource information of tested application run;
Step S163, shows described preset task resource information.
In the present embodiment, many survey can store multiple tested applications on platform, and each tested application pair The preset task resource information of oneself should be provided with.When the operation of triggering is preset task resource presentation of information behaviour The identification information of the tested application of current operation when making, can be obtained first, then existed according to this identification information Many survey inquires about corresponding preset task resource information on platform, the preset task resource finally obtaining inquiry Presentation of information out, so that user checks.When understandable, in the present embodiment, preset of display Business information can for whole task execution step and task expected resultss or, current task step With task expected resultss, here further do not limit.Specifically, after the completion of task step, can To carry out active flag in many survey on platform;Or the feedback by tested application, many survey Platform Analysis are true Fixed completed task step.
It should be noted that in other embodiments, comform and survey the preset task that platform obtains tested application Resource information can also execution when generating suspension control.And by preset task resource information with above-mentioned Task the Show Button associates, and when clicking on this task the Show Button, directly displays corresponding preset Business resource information.Thus need not each click task the Show Button all comform survey platform obtained, The speed of program operation therefore can be improved.
Further, with reference to Fig. 9, based on above-described embodiment, in the present embodiment, above-mentioned control currently shows The interface showing includes in tested application runnable interface and many steps surveying switching between platform runnable interface:
Step S141, judges whether currently displaying interface is tested application runnable interface;If so, then hold Row step S142, otherwise execution step S143;
Step S142, current display interface is switched to many survey platform runnable interfaces;
Step S143, current display interface is switched to tested application runnable interface.
In the present embodiment, when the operation of triggering on suspension control operates for changing interface, can start The system interface inquiry of Servics service call terminal is in the application program of front stage operation, thus judging current It is many survey platforms and tested application in the application program of front stage operation.When the application program of front stage operation be by Surveying during application it is determined that currently displaying interface is tested application runnable interface;Carrying out application program During running status switching, can be instructed to terminal with output control, control tested application to enter by the system of terminal Enter running background, many platforms of surveying enter front stage operation, thus current display interface is switched to many surveys flat Platform runnable interface.When the application program of front stage operation be many survey platform when it is determined that currently displaying interface Survey platform runnable interface for many;When the running status carrying out application program switches, can be referred to output control Make to terminal, control many platforms of surveying to enter running background by the system of terminal, tested application enters foreground fortune OK, thus current display interface is switched to tested application runnable interface.
Further, with reference to Figure 10, based on above-described embodiment, in the present embodiment, in above-mentioned steps S11 Also include before:
Step S21, obtains the system of terminal;
Step S22, determines whether to export information according to the system type of terminal, to point out how to open Open display suspension control function.
In the present embodiment, above-mentioned terminal can be the intelligent terminal such as mobile phone, pad.It is provided with the terminal Many survey platform client and tested application.The system type of this terminal include apple system, Android system and Semen setariae system.Due to arranging suspension control only for application in Semen setariae system, therefore when determination terminal When system type is Semen setariae system, information will be exported, to point out how to open display suspension control work( Can, prevent suspension control from cannot normally show.
The foregoing is only the preferred embodiments of the present invention, not thereby limit its scope of the claims, every profit The equivalent structure made with description of the invention and accompanying drawing content or equivalent flow conversion, directly or indirectly transport Used in other related technical fields, it is included within the scope of the present invention.

Claims (12)

1. a kind of application test control method it is characterised in that described application test control method include with Lower step:
Many, detecting surveys whether the tested application downloaded on platform starts;
When detecting described tested application startup, according to the tested application corresponding identification information life starting Become suspension control, to set up tested application runnable interface and many incidence relations surveying the switching of platform runnable interface; Described suspension control is used for being shown in described tested application runnable interface and many survey platform runnable interfaces;
It is triggered and when trigger action operates for changing interface when detecting described suspension control, control and work as The interface of front display switches between platform runnable interface in tested application runnable interface and many survey.
2. application test control method as claimed in claim 1 is it is characterised in that described ought detect When described tested application starts, according to the corresponding identification information of tested application starting generate suspension control it Also include afterwards:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd.
3. application test control method as claimed in claim 2 is it is characterised in that described ought detect When described suspension control is triggered and trigger action is preset task resource presentation of information operation, show institute State tested application many to survey corresponding preset task resource information on platforms and include described:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, inquiry request is sent according to the identification information of the current tested application running and surveys platform to many;
It is tested that reception many surveys platforms currently run according to the identification information-enquiry in described inquiry request Apply corresponding preset task resource information;
Show described preset task resource information.
4. application test control method as claimed in claim 1 is it is characterised in that described ought detect When described tested application starts, according to the corresponding identification information of tested application starting generate suspension control it Also include afterwards:
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file.
5. application test control method as claimed in claim 1 is it is characterised in that described ought detect When described tested application starts, according to the corresponding identification information of tested application starting generate suspension control it Also include afterwards:
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
6. application test control method as claimed in claim 1 is it is characterised in that described control is current The switching between tested application runnable interface and many survey platform runnable interfaces of the interface of display includes:
Judge whether currently displaying interface is tested application runnable interface;
If so, then current display interface is switched to many survey platform runnable interfaces;
If it is not, then current display interface is switched to tested application runnable interface.
7. the application test control method as described in any one of claim 1 to 6 is it is characterised in that giving birth to Also include before becoming suspension control:
Obtain the system of terminal;
Determine whether to export information according to the system type of terminal, to point out how to open display suspension Control function.
8. a kind of application test control device is it is characterised in that described application test control device includes:
Many, detecting module, surveys whether the tested application downloaded on platform starts for detecting;
Display module, for when detecting described tested application startup, according to the tested application pair starting The identification information answered generates suspension control, to set up tested application runnable interface and many survey platform runnable interfaces The incidence relation of switching;Described suspension control is used for being shown in described tested application runnable interface and many survey is put down On platform runnable interface;
Control module, for when detecting, described suspension control is triggered and trigger action is changing interface During operation, control currently displaying interface between tested application runnable interface and many survey platform runnable interfaces Switching.
9. application test control device as claimed in claim 8 is it is characterised in that described control module It is additionally operable to:
When detecting, described suspension control is triggered and trigger action is preset task resource presentation of information behaviour When making, described tested application of display surveys corresponding preset task resource information on platforms in described crowd;
When detecting, described suspension control is triggered and trigger action is test starting or during pausing operation, Start or suspend log file;
It is triggered and when trigger action operates for screenshotss when detecting described suspension control, preserve and currently show The interface showing.
10. application test control device as claimed in claim 9 is it is characterised in that described control module Including:
Query unit, for when detecting, described suspension control is triggered and trigger action is preset task During resource information display operation, inquiry request is sent extremely according to the identification information of the current tested application running Many survey platforms;
Receiving unit, for receiving many platforms of surveying according to the identification information-enquiry in described inquiry request The current corresponding preset task resource information of tested application run;
Display unit, for showing described preset task resource information.
11. application test control devices as claimed in claim 8 are it is characterised in that described control module Including:
Judging unit, for judging whether currently displaying interface is tested application runnable interface;
Switch unit, for when currently displaying interface is tested application runnable interface, current being shown Show that changing interface is many survey platform runnable interfaces;When currently displaying interface is many survey platform runnable interfaces, Current display interface is switched to tested application runnable interface.
12. application test control devices as described in any one of claim 8 to 11 are it is characterised in that institute State application test control device also to include:
Acquisition module, for obtaining the system of terminal;
Determining module, for determining whether to export information according to the system type of terminal, to point out such as What opens display suspension control function.
CN201510533045.XA 2015-08-26 2015-08-26 Application test control method and device Active CN106484604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510533045.XA CN106484604B (en) 2015-08-26 2015-08-26 Application test control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510533045.XA CN106484604B (en) 2015-08-26 2015-08-26 Application test control method and device

Publications (2)

Publication Number Publication Date
CN106484604A true CN106484604A (en) 2017-03-08
CN106484604B CN106484604B (en) 2020-12-29

Family

ID=58234569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510533045.XA Active CN106484604B (en) 2015-08-26 2015-08-26 Application test control method and device

Country Status (1)

Country Link
CN (1) CN106484604B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102795A (en) * 2017-05-31 2017-08-29 努比亚技术有限公司 A kind of log recording method, mobile terminal and computer-readable recording medium
CN109840191A (en) * 2017-11-24 2019-06-04 南京大学 A kind of Android crowdsourcing test feedback method based on step prompt
CN110389701A (en) * 2018-04-23 2019-10-29 北京易轻软件有限公司 Multiple solutions user interaction approach and device applied to enterprise management informatization system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945138A (en) * 2012-11-14 2013-02-27 李江涛 Switching method and terminal for application programs
CN104239184A (en) * 2014-09-22 2014-12-24 北京金山安全软件有限公司 Method and device for identifying abnormal application program of terminal and mobile terminal
US20150177916A1 (en) * 2013-12-23 2015-06-25 Tencent Technology (Shenzhen) Company Limited Devices and methods for providing feedback of an application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102945138A (en) * 2012-11-14 2013-02-27 李江涛 Switching method and terminal for application programs
US20150177916A1 (en) * 2013-12-23 2015-06-25 Tencent Technology (Shenzhen) Company Limited Devices and methods for providing feedback of an application
CN104239184A (en) * 2014-09-22 2014-12-24 北京金山安全软件有限公司 Method and device for identifying abnormal application program of terminal and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
茶人: "小悬浮窗中的大学问主流下载软件悬浮窗功能横向评测", 《网络与信息》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102795A (en) * 2017-05-31 2017-08-29 努比亚技术有限公司 A kind of log recording method, mobile terminal and computer-readable recording medium
CN109840191A (en) * 2017-11-24 2019-06-04 南京大学 A kind of Android crowdsourcing test feedback method based on step prompt
CN109840191B (en) * 2017-11-24 2023-12-08 南京大学 An Zhuozhong packet test feedback method based on step prompt
CN110389701A (en) * 2018-04-23 2019-10-29 北京易轻软件有限公司 Multiple solutions user interaction approach and device applied to enterprise management informatization system
CN110389701B (en) * 2018-04-23 2022-03-25 北京易轻软件有限公司 Multi-interface user interaction method and device applied to enterprise management informatization system

Also Published As

Publication number Publication date
CN106484604B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US11126328B2 (en) Application processing method and apparatus, storage medium, and computing device
US10853232B2 (en) Adaptive system for mobile device testing
JP6133411B2 (en) Optimization scheme for controlling user interface via gesture or touch
CN104035683B (en) A kind of communicating terminal split screen multi-task interaction method
US8286033B2 (en) Network hang recovery
CN103616982B (en) The method and touch panel device of a kind of new folder on touch panel device
CN106030486B (en) Batch processing method and terminal
CN104050076A (en) Testing method, device and system of application software on mobile terminal
CN105740144A (en) Automated testing method and system for Android mobile Terminal
CN107357725B (en) Application testing method and device
WO2017206739A1 (en) Screenshot method and device
CN108874268A (en) The acquisition method and device of user behavior data
CN109814801A (en) Using login method, device, terminal and storage medium
CN107562321A (en) Using installation method, device and terminal
US10649884B2 (en) Methods and system for constrained replay debugging with message communications
CN106484604A (en) application test control method and device
KR20160020486A (en) Independent hit testing for touchpad manipulations and double-tap zooming
US9152872B2 (en) User experience analysis system to analyze events in a computer desktop
CN106302932A (en) The method and apparatus checking log in communication terminal
CN107967207A (en) The test method and device of user interface interaction function
CN105302702B (en) The detection method and device of terminal capabilities
CN102855129B (en) The method of automatic establishment detached process and system thereof
KR101575723B1 (en) Device and method for managing application test
CN105824493A (en) Mobile terminal control method and mobile terminal
JP5919838B2 (en) Analyzer control system

Legal Events

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