CN105487970B - A kind of method for showing interface and device - Google Patents
A kind of method for showing interface and device Download PDFInfo
- Publication number
- CN105487970B CN105487970B CN201410538355.6A CN201410538355A CN105487970B CN 105487970 B CN105487970 B CN 105487970B CN 201410538355 A CN201410538355 A CN 201410538355A CN 105487970 B CN105487970 B CN 105487970B
- Authority
- CN
- China
- Prior art keywords
- test
- index
- test case
- user
- probability
- 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
Links
Abstract
The embodiment of the invention discloses a kind of method for showing interface and devices, this method comprises: obtaining test case historical operation information;According to the test case historical operation information, obtains test case and show that list and/or test case show priority;Show that list and/or test case show that priority carries out test case displaying on the interface of terminal device according to the test case.The embodiment of the present invention reduces the number of operations of tester's implementation of test cases.Efficiency is higher and user experience is good.
Description
Technical field
The present invention relates to terminal applies field more particularly to a kind of method for showing interface and device.
Background technique
Network and operational trials tool based on intelligent terminal have currently been widely used, such tool is usual
For " cloud test platform+testing tool apply (APP) " mode, the mode mainly using test terminal for network, signal strength or weakness,
Data service performance indicator is tested.In general, the testing tool application is mounted on intelligent terminal by tester, then
Hold the setting and open application after formulating place, according to test assignment require on APP manual operation multilevel menu, into pair
Test is executed behind the test case interface answered.Test application forms test report in executing test and is automatically uploaded to cloud test
Platform.Tester can open corresponding test report in terminal interface and check the use-case test result simultaneously.
The prior art is generally showed using customization test case menu and test index customization, and tester
Index in the test case and test result report of body concern is not quite similar, and needs to hold so as to cause user in test process
The a large amount of operations of click and screen sliding etc. by hand of row can just find corresponding test case and go to execute, in addition, needing after finding test report
The test result index of concern can be found by carrying out the operations such as multiple page turning and zoom, and testing tool will be unable in various surveys
Preferable user experience is obtained on examination terminal screen, can not also promote testing efficiency.
According to foregoing description, it is based on the prior art, tester is during the test in order to check the test of itself concern
Use-case and test report index need to carry out repeated manual operations, and efficiency reduces and user experience is poor.
Summary of the invention
In view of this, the embodiment of the present invention provides to solve existing technical problem:
A kind of method for showing interface, comprising:
Obtain test case historical operation information;
According to the test case historical operation information, obtains test case and show that list and/or test case displaying are excellent
First grade;
Show that list and/or test case show that priority carries out on the interface of terminal device according to the test case
Test case is shown.
In a specific embodiment of the invention, the test case historical operation information includes following one or more: current
Test user executes the number of each test case, multiple total degrees tested users and execute each test case.
It is described according to the test case historical operation information in a specific embodiment of the invention, obtain test case exhibition
Show priority, comprising:
Probability P that test case i is performed (wi | h) is determined according to P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h),
Wherein, 0≤λ≤1, Pa (wi| h) indicate the probability that i-th of test case is performed in overall test user model, value is
The multiple test user executes the total degree of i-th of test case and the multiple test user executes all test cases
The ratio of total degree;Pb(wi| h) indicate the probability that i-th of test case is performed in currently test user model, value is
Current test user executes the number of i-th of test case and currently test user executes the ratio of the total degree of all test cases
Value;
Priority is shown according to the determine the probability test case that test case is performed, and the probability that test case is performed is got over
Height shows that priority is higher.
In a specific embodiment of the invention, this method further include:
Terminal device updates test case historical operation information according to predetermined period, and/or, terminal device is according to from cloud
The information of test platform updates test case historical operation information.
In a specific embodiment of the invention, after test case is operated, this method further include:
It obtains test index history and checks number;
Number is checked according to the test index history, is obtained test index and is shown that list and/or test index displaying are excellent
First grade;
Show that list and/or test index show priority according to the test index, it is enterprising at the interface of terminal device
Row test index is shown.
In a specific embodiment of the invention, the test index history checks that number includes following one or more: current
Test user checks that the number of each test index, multiple test users check the total degree of each test index.
It is described that number is checked according to the test index history in a specific embodiment of the invention, obtain test index exhibition
Show priority, comprising:
According to P'(wi | h)=λ ' Pb'(wi | h)+(1- λ ') Pa'(wi | h) determine probability P that test index i checked '
(wi | h), wherein 0≤λ '≤1, Pa'(wi | h) i-th of test index of expression is checked general in overall test user model
Rate, value are that check that the total degree of i-th of test index is checked with the multiple test user all by the multiple test user
The ratio of the total degree of test index;Pb'(wi | it h) indicates currently testing what i-th of test index in user model was checked
Probability, value are that current test user checks that the number of i-th of test index and current test user check all test indexs
Total degree ratio;
Priority is shown according to the determine the probability test index that test index is checked, the probability that test index is checked is got over
Height shows that priority is higher.
In a specific embodiment of the invention, this method further include: super when the time that test index is shown on terminal interface
Preset time is crossed, and/or, when residence time is more than preset time to eyes of user in test index, the test index
History checks that number adds one.
The embodiment of the invention also provides a kind of showing interface devices, comprising: first obtain module, second obtain module and
Display module;Wherein,
Described first obtains module, for obtaining test case historical operation information;
Described second obtains module, for obtaining test case and showing column according to the test case historical operation information
Table and/or test case show priority;
The display module, for showing that list and/or test case show that priority carries out according to the test case
Test case is shown.
In an of the invention specific embodiment, described second obtains module, be specifically used for according to P (wi | h)=λ Pb (wi | h)+
(1- λ) Pa (wi | h) determines probability P that test case i is performed (wi | h), wherein 0≤λ≤1, Pa (wi| h) indicate i-th
The probability that test case is performed in overall test user model, value are that the multiple test user executes i-th of test
The total degree of use-case and the multiple test user execute the ratio of the total degree of all test cases;Pb(wi| it h) indicates working as
The probability that i-th of test case is performed in preceding test user model, value are that current test user executes i-th of test case
Number and current test user execute all test cases total degree ratio;Later, it is performed according to test case
Determine the probability test case shows priority, and the probability that test case is performed is higher, shows that priority is higher.
In a specific embodiment of the invention, which further includes the first update module,
First update module is used to update test case historical operation information according to predetermined period, and/or, according to
Information from cloud test platform updates test case historical operation information.
In a specific embodiment of the invention, the device further include: third obtains module and the 4th and obtains module;Wherein,
The third obtains module, checks number for after test case is operated, obtaining test index history;
Described 4th obtains module, for checking number according to the test index history, obtains test index and shows column
Table and/or test index show priority;
The display module is also used to show list and/or test index displaying priority according to the test index, into
Row test index is shown.
In a specific embodiment of the invention, the described 4th obtains module, is specifically used for according to P'(wi | h)=λ ' Pb'(wi |
H)+(1- λ ') Pa'(wi | h) determine probability P that test index i checked ' (wi | h), wherein 0≤λ '≤1, Pa'(wi | h) table
Show the probability that i-th of test index is checked in overall test user model, value is that the multiple test user checks i-th
The total degree of a test index and the multiple test user check the ratio of the total degree of all test indexs;Pb'(wi|h)
Indicate the probability that i-th of test index is checked in currently test user model, value is that current test user checks i-th
The number of test index and current test user check the ratio of the total degree of all test indexs;Later, according to test index
The determine the probability test index checked shows priority, and the probability that test index is checked is higher, shows that priority is higher.
In a specific embodiment of the invention, which further includes the second update module,
Second update module, the time for showing on terminal interface when test index are more than preset time, and/
Or, the test index history is checked number when residence time is more than preset time to eyes of user in test index
Add one.
Method for showing interface described in the embodiment of the present invention and device obtain test case historical operation information;According to institute
Test case historical operation information is stated, test case is obtained and shows that list and/or test case show priority;According to the survey
Example on probation shows that list and/or test case show that priority carries out test case displaying on the interface of terminal device.This hair
Scheme described in bright embodiment, in conjunction with the test case executive condition of local test use-case executive condition and cloud platform overall user
The adaptive menu for establishing the machine quickly selects test case to execute for tester, reduces tester and executes test use
The number of operations of example.Efficiency is higher and user experience is good, further, the report of one embodiment of the present invention combination local test
Interior test index checks that probabilistic model and cloud platform overall user test index check model, establishes adaptive local test and refers to
Mark checks probabilistic model, replaces using automatically according to the probability of model when tester opens the test report of certain test case when
The operation behavior at family shows the part index number in current screen region, reduces tester to check test report
Manual operation number, the efficiency further increased and user experience.
Detailed description of the invention
Fig. 1 is a kind of method for showing interface flow diagram of one embodiment of the invention;
Fig. 2 is a kind of showing interface apparatus structure schematic diagram of one embodiment of the invention;
Fig. 3 is a kind of showing interface apparatus structure schematic diagram of yet another embodiment of the invention;
Fig. 4 is a kind of showing interface apparatus structure schematic diagram of yet another embodiment of the invention;
Fig. 5 is a kind of showing interface apparatus structure schematic diagram of yet another embodiment of the invention;
Fig. 6 is one test index display interface schematic diagram of the present embodiment.
Specific embodiment
In view of although tester's individual is not quite similar to the index in concern test case and test result report,
But the test case that may be frequently performed of tester with the test index of concern be it is similar, therefore, the embodiment of the present invention
A kind of method for showing interface is provided, as shown in Figure 1, this method comprises:
Step 101: obtaining test case historical operation information;
Step 102: according to the test case historical operation information, obtaining test case and show that list and/or test are used
Example shows priority;
Step 103: showing that list and/or test case show priority on the boundary of terminal device according to the test case
Test case displaying is carried out on face.
It should be noted that can default all test cases of display in practical application, can also be gone through according to test case
History operation information acquisition all or part test case forms test case and shows list.
Optionally, in an embodiment of the present invention, the test case historical operation information includes following one or more:
Current test user executes the number of each test case, multiple total degrees tested users and execute each test case.
Here, it should be noted that the multiple test user can be all test users that can be counted on,
It can be multiple test users using present terminal equipment, multiple test users are general to the execution total degree of each test case
It is obtained by terminal device from testing service device (corresponding cloud test platform).
Optionally, in an embodiment of the present invention, described according to the test case historical operation information, it obtains test and uses
Example shows priority, comprising:
Probability P that test case i is performed (wi | h) is determined according to P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h),
Wherein, 0≤λ≤1, Pa (wi| h) indicate the probability that i-th of test case is performed in overall test user model, value is
The multiple test user executes the total degree of i-th of test case and the multiple test user executes all test cases
The ratio of total degree;Pb(wi| h) indicate the probability that i-th of test case is performed in currently test user model, value is
Current test user executes the number of i-th of test case and currently test user executes the ratio of the total degree of all test cases
Value;
Priority is shown according to the determine the probability test case that test case is performed, and the probability that test case is performed is got over
Height shows that priority is higher.Here it is possible to show whole test cases, a part of test case can also be shown.
Optionally, in an embodiment of the present invention, this method further include:
Terminal device updates test case historical operation information according to predetermined period, and/or, terminal device is according to from cloud
The information of test platform updates test case historical operation information.
Here it is possible to update test case historical operation information after operation test case every time, can also be surveyed in operation
After example preset times on probation, then update test case historical operation information.
In addition, generally having present terminal plant maintenance due to currently testing the number that user executes each test case, own
The interaction not being related to other network elements is updated, and multiple test users are executed with the total degree of each test case, updates one
As executed by cloud test platform, present terminal equipment can choose every time operation test case after report relevant operation information to cloud
Test platform also can choose after operating test case preset times, by relevant operation information to cloud test platform, cloud test
After platform updates the total degree of multiple test user's implementations of test cases according to predetermined period, by updated multiple test users
The total degree of implementation of test cases notifies present terminal equipment, alternatively, directly sending updated overall test user model
To present terminal equipment.
Optionally, in an embodiment of the present invention, after test case is operated, this method further include:
It obtains test index history and checks number;
Number is checked according to the test index history, is obtained test index and is shown that list and/or test index displaying are excellent
First grade;
Show that list and/or test index show priority according to the test index, it is enterprising at the interface of terminal device
Row test index is shown.
Optionally, in an embodiment of the present invention, the test index history checks that number includes following one or more:
Current test user checks that the number of each test index, multiple test users check the total degree of each test index.
Optionally, in an embodiment of the present invention, described that number is checked according to the test index history, it obtains test and refers to
Mark shows priority, comprising:
According to P'(wi | h)=λ ' Pb'(wi | h)+(1- λ ') Pa'(wi | h) determine probability P that test index i checked '
(wi | h), wherein 0≤λ '≤1, Pa'(wi | h) i-th of test index of expression is checked general in overall test user model
Rate, value are that check that the total degree of i-th of test index is checked with the multiple test user all by the multiple test user
The ratio of the total degree of test index;Pb'(wi | it h) indicates currently testing what i-th of test index in user model was checked
Probability, value are that current test user checks that the number of i-th of test index and current test user check all test indexs
Total degree ratio;
Priority is shown according to the determine the probability test index that test index is checked, the probability that test index is checked is got over
Height shows that priority is higher.
It should be noted that test index shows that priority is corresponding with the display location of test index, high priority
Test index shows the position for being easier to be this process effectively goes unnoticed by the user on the screen.
Optionally, in an embodiment of the present invention, this method further include: when test index is shown on terminal interface
Between be more than preset time, and/or, when eyes of user in test index residence time be more than preset time when, the test
Metric history checks that number adds one.
The embodiment of the present invention also correspondingly proposes a kind of showing interface device, as shown in Fig. 2, the device includes: first
It obtains module 201, second and obtains module 202 and display module 203;Wherein,
Described first obtains module 201, for obtaining test case historical operation information;
Described second obtains module 202, for obtaining test case and showing according to the test case historical operation information
List and/or test case show priority;
The display module 203, it is preferential grading for showing that list and/or test case are shown according to the test case
Row test case is shown.
Optionally, in an embodiment of the present invention, described second module 202 is obtained, be specifically used for according to P (wi | h)=λ
Pb (wi | h)+(1- λ) Pa (wi | h) determines probability P that test case i is performed (wi | h), wherein 0≤λ≤1, Pa (wi|h)
Indicate the probability that i-th of test case is performed in overall test user model, value is the multiple test user execution
The total degree of i-th of test case and the multiple test user execute the ratio of the total degree of all test cases;Pb(wi|
H) probability that i-th of test case is performed in currently test user model is indicated, value is that current test user executes i-th
The number of a test case and current test user execute the ratio of the total degree of all test cases;Later, it is used according to test
The determine the probability test case that example is performed shows priority, and the probability that test case is performed is higher, shows that priority is higher.
Optionally, as shown in figure 3, in an embodiment of the present invention, which further includes the first update module 204,
First update module 204 is used to update test case historical operation information according to predetermined period, and/or, root
According to the information from cloud test platform, test case historical operation information is updated.
Optionally, as shown in figure 4, in an embodiment of the present invention, the device further include: third obtains module 205 and the
Four obtain module 206;Wherein,
The third obtains module 205, checks number for after test case is operated, obtaining test index history;
Described 4th obtains module 206, for checking number according to the test index history, obtains test index and shows
List and/or test index show priority;
The display module 203 is also used to show that list and/or test index are shown according to the test index preferential
Grade carries out test index displaying.
Optionally, in an embodiment of the present invention, the described 4th module 206 is obtained, is specifically used for according to P'(wi | h)=
λ ' Pb'(wi | h)+(1- λ ') Pa'(wi | h) determine probability P that test index i checked ' (wi | h), wherein 0≤λ '≤1,
Pa'(wi | h) indicate the probability that i-th of test index is checked in overall test user model, value is the multiple test
User checks that the total degree of i-th of test index and the multiple test user check the ratio of the total degree of all test indexs
Value;Pb'(wi | h) indicate the probability that i-th of test index is checked in currently test user model, value is current test
User checks that the number of i-th of test index and current test user check the ratio of the total degree of all test indexs;Later,
Priority is shown according to the determine the probability test index that test index is checked, the probability that test index is checked is higher, shows
Priority is higher.
Optionally, as shown in figure 5, in an embodiment of the present invention, which further includes the second update module 207,
Second update module 207, the time for showing on terminal interface when test index are more than preset time,
And/or when residence time is more than preset time to eyes of user in test index, the test index history is checked secondary
Number plus one.
Technical solution of the present invention is described in further detail below by specific embodiment.The embodiment of the present invention is intended to
Show scheme by the test case menu and test result index of establishing adaptive, in conjunction with user's history test case execute and
It observes conditions, and the information such as duration and frequency for checking test index at the terminal, provides quick lookup to tester
Common test case and test result refer to calibration method.
Embodiment 1
In the present embodiment, for adaptive menu display model, testing tool can be increased newly on interface one it is adaptive
Answer test case menu list: dynamically displaying user is most likely at the test case list of the machine execution, according to prediction probability
The height of value is ranked up and shows several former in a menu, to facilitate user quickly to select common test case.
The factor being adaptively related to for test menu can be with reference to having:
Execution number of the local test personnel to each use-case;
The execution total degree of all users of each use-case of testing service device statistics;
Normalized weight.
From the point of view of specific, for having w in a testing tool application1,w2...wnThe terminal of a test case (menu item)
For, Pa (wi| h) indicate the probability that i-th of test case is performed in overall user model;Pb(wi| h) indicate in the machine
The probability being performed in i-th of test case in user, then (can be adjusted according to the actual situation by normalized parameter λ
The whole weight) setting, form the probability P (w that the test case in the machine is performedi| h):
P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h)
For each is mounted with the intelligent terminal of test APP, according to P (wi| value size h) is to corresponding survey
The order of example on probation is ranked up from big to small, then forms adaptive menu list according to by the highest test case of probability value
It is placed on the test interface APP, user will execute use-case after clicking the list on these interfaces automatically, to reduce user behaviour
The number of work.
It, will dynamic as the execution number Ci of i-th of test case of the machine increases in user's test process in the present embodiment
Adjust local user model, in which:
Pb(wi| h)=Ci/ ∑J=1..nCj.Since test case execution number and result can be reported cloud to survey by test APP
Platform is tried, therefore cloud test platform forms new overall user use-case and executes probabilistic model after summarizing all user's executive conditions
Pa(wi|h)
Pa(wi| h)=Ci (all)/∑J=1..nCj(all).Wherein Ci (all) represents all users and executes test use
The total degree of example.It tests terminal and periodically executes model Pa (w from background update totality use-casei| h) arrive the machine.
Embodiment 2
For the intelligent terminal common for one, due to possibly can not disposably be shown in test report in screen
All test indexs, therefore user is after opening the test report, it would be possible to according to the index situation that it is paid close attention to, in screen
After executing the operation such as roll screen, screen sliding, zoom up and down, checks the test index certain time of concern, then terminate.
The present embodiment tester rest on test report some show reach in screen certain time (such as more than
5 seconds) after, it is believed that tester may pay close attention to the portion shown in this screen in the behavior that this checks report
Divide index, these indexs are checked that number increases by 1 time.Fig. 6 is one test index display interface schematic diagram of the present embodiment, ginseng
See Fig. 6, is only able to display test index 1, test index 2 and test in the current interface after the test report of terminal is opened
Index 3.And if the eye in terminal is resident the screen area that identification function has recognized eyes of user concern, test work
The index of concern will more accurately have been narrowed down to test index 1 and test index 2 by tool.Then it is more than when eyes of user has stopped
After 5 seconds, testing tool will add in a model 1 concern for this 2 indexs in this test report.
In sum, it is resident recognition capability terminal for having eye, can differentiates that user is specific in conjunction with eye recognition technology
The screen ranges of observation and the time is actually looked at, the test index showed in this eye concern range is just checked that number adds
1。
Local test tool terminal needs to record to check each test index user in the operation of the machine simultaneously
Journey, namely from test report of performing fighting to the sequence hand-manipulated for viewing user in the period corresponding test index.With
When phase user opens the test report of corresponding the type after an action of the bowels, the energy testing tool energy automatic imitation user holds at the terminal
These demands of row, corresponding test index is highlighted in the screen of test terminal.
The adaptive temporary model of test index and corresponding prediction scheme and above-mentioned adaptive menu are used
Scheme is similar.From the point of view of specific, for having w in a test report1,w2...wnFor the terminal that a test index needs, Pa
(wi| h) indicate the probability that i-th of test index is concerned in overall user model;Pb(wi| it h) indicates the in local user
The probability being concerned in i test index, then passing through normalized parameter λ (can be adjusted according to the actual situation the weight)
Setting, form the probability P (w that the test index in the machine is concernedi| h):
P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h)
The same model can also show model with the overall test index of cloud test platform terminal and synchronize and update.
In the present embodiment, terminal and cloud platform respectively establish adaptive menu and test index display model.Terminal is real-time
The machine model is updated in the behavior of the machine according to test case and will be reported to cloud test platform the behavior, cloud test platform lateral root
Overall model is modernized into according to the behavior of all users.Terminal can be periodically synchronous with cloud test platform, downloads the totality of update
Model.
According to foregoing description, the main technical advantage of the embodiment of the present invention has:
The case where executing test in conjunction with the history tester in cloud test platform and local test terminal establishes one certainly
The dynamic menu model of adaptation, the test case that prediction local test personnel are most likely at this confidential execution are presented in certainly automatically
It adapts in menu, user can select quick execution test in the menu with a key.
In conjunction with the history tester in cloud test platform and local test terminal for index in the report of each class testing
Observe conditions, establish an adaptive test index and show model automatically, prediction local test personnel a kind of survey for every
Example on probation is most likely at the index that the machine is checked, and after user opens this test report automatic imitation user in terminal
On operation behavior, which is presented in the marking area of terminal, user is facilitated quickly to check such index.
Above-mentioned each unit can by electronic equipment central processing unit (Central Processing Unit, CPU),
Digital signal processor (Digital Signal Processor, DSP) or programmable logic array (Field-
Programmable Gate Array, FPGA) it realizes.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (13)
1. a kind of method for showing interface, which is characterized in that this method comprises:
Obtain test case historical operation information;Wherein, the test case historical operation information includes: that current test user holds
The number of each test case of row and multiple test users execute the total degree of each test case;
According to the test case historical operation information, obtains test case and show list;
Priority is shown according to the determine the probability test case that test case is performed, the probability that test case is performed is higher,
Show that priority is higher;
Show that list and test case show that priority carries out test use on the interface of terminal device according to the test case
Example is shown.
2. the method according to claim 1, wherein the method also includes:
Probability P that test case i is performed (wi | h) is determined according to P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h),
In, 0≤λ≤1, Pa (wi| h) indicate the probability that i-th of test case is performed in overall test user model, value is institute
It states the total degree that multiple test users execute i-th of test case and executes the total of all test cases with the multiple test user
The ratio of number;Pb(wi| h) indicate the probability that i-th of test case is performed in currently test user model, value is to work as
Preceding test user executes the number and the current ratio tested user and execute the total degree of all test cases of i-th of test case
Value.
3. the method according to claim 1, wherein this method further include:
Terminal device updates test case historical operation information according to predetermined period, and/or, terminal device is tested according to from cloud
The information of platform updates test case historical operation information.
4. method according to any one of claims 1 to 3, which is characterized in that after test case is operated, this method is also wrapped
It includes:
It obtains test index history and checks number;
Number is checked according to the test index history, is obtained test index and is shown that list and/or test index show priority;
It shows that list and/or test index show priority according to the test index, is surveyed on the interface of terminal device
Index is tried to show.
5. according to the method described in claim 4, it is characterized in that,
The test index history checks that number includes following one or more: current test user checks time of each test index
Several, multiple test users check the total degree of each test index.
6. according to the method described in claim 5, obtaining it is characterized in that, described check number according to the test index history
Test index is taken to show priority, comprising:
According to P'(wi | h)=λ ' Pb'(wi | h)+(1- λ ') Pa'(wi | h) determine probability P that test index i checked ' (wi |
H), wherein 0≤λ '≤1, Pa'(wi | h) indicate the probability that i-th of test index is checked in overall test user model,
Value is that the multiple test user checks that the total degree of i-th of test index and the multiple test user check all tests
The ratio of the total degree of index;Pb'(wi | h) indicate that i-th of test index is checked general in currently test user model
Rate, value are that current test user checks that the number of i-th of test index and current test user check all test indexs
The ratio of total degree;
Priority is shown according to the determine the probability test index that test index is checked, the probability that test index is checked is higher,
Show that priority is higher.
7. according to the method described in claim 5, it is characterized in that, this method further include: when test index is on terminal interface
The time of displaying is more than preset time, and/or, when residence time is more than preset time to eyes of user in test index,
The test index history checks that number adds one.
8. a kind of showing interface device, which is characterized in that the device includes: the first acquisition module, the second acquisition module and displaying
Module;Wherein,
Described first obtains module, for obtaining test case historical operation information;Wherein, the test case historical operation letter
Breath includes: the number and multiple total degrees tested user and execute each test case that current test user executes each test case;
Described second obtains module, for obtaining test case and showing list according to the test case historical operation information;With
And priority is shown according to the determine the probability test case that test case is performed, the probability that test case is performed is higher, exhibition
Show that priority is higher;
The display module, for showing that list and test case show that priority carries out test case according to the test case
It shows.
9. device according to claim 8, which is characterized in that
Described second obtains module, is specifically used for determining test case according to P (wi | h)=λ Pb (wi | h)+(1- λ) Pa (wi | h)
Probability P that i is performed (wi | h), wherein 0≤λ≤1, Pa (wi| h) indicate i-th of test case in overall test user model
In the probability that is performed, value be the multiple test user execute i-th of test case total degree and the multiple test
User executes the ratio of the total degree of all test cases;Pb(wi| h) indicate i-th of test in currently test user model
The probability that use-case is performed, value are that current test user executes the number of i-th of test case and current test user executes
The ratio of the total degree of all test cases.
10. device according to claim 8, which is characterized in that the device further includes the first update module,
First update module, for updating test case historical operation information according to predetermined period, and/or, according to coming from
The information of cloud test platform updates test case historical operation information.
11. according to the described in any item devices of claim 8 to 10, which is characterized in that the device further include: third obtains module
Module is obtained with the 4th;Wherein,
The third obtains module, checks number for after test case is operated, obtaining test index history;
Described 4th obtains module, for checking number according to the test index history, obtain test index show list and/
Or test index shows priority;
The display module is also used to show that list and/or test index show priority according to the test index, be surveyed
Index is tried to show.
12. device according to claim 11, which is characterized in that
Described 4th obtains module, is specifically used for according to P'(wi | h)=λ ' Pb'(wi | h)+(1- λ ') Pa'(wi | and h) it determines and surveys
The probability P that examination index i is checked ' (wi | h), wherein 0≤λ '≤1, Pa'(wi | h) indicate i-th of test index in overall survey
The probability checked in examination user model, value check the total degree and institute of i-th of test index for the multiple test user
State the ratio that multiple test users check the total degree of all test indexs;Pb'(wi | it h) indicates in currently test user model
In the probability checked of i-th of test index, value is that current test user checks the number of i-th of test index and current surveys
The ratio of the total degree of all test indexs is checked at family on probation;Later, the determine the probability test checked according to test index refers to
Mark shows priority, and the probability that test index is checked is higher, shows that priority is higher.
13. device according to claim 11, which is characterized in that the device further includes the second update module,
Second update module, the time for showing on terminal interface when test index are more than preset time, and/or,
When residence time is more than preset time to eyes of user in test index, the test index history is checked that number adds
One.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410538355.6A CN105487970B (en) | 2014-10-13 | 2014-10-13 | A kind of method for showing interface and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410538355.6A CN105487970B (en) | 2014-10-13 | 2014-10-13 | A kind of method for showing interface and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105487970A CN105487970A (en) | 2016-04-13 |
CN105487970B true CN105487970B (en) | 2019-01-08 |
Family
ID=55674962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410538355.6A Active CN105487970B (en) | 2014-10-13 | 2014-10-13 | A kind of method for showing interface and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105487970B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106250314B (en) * | 2016-08-04 | 2019-05-28 | 合一网络技术(北京)有限公司 | A kind of test data acquisition methods and system |
CN110347578B (en) * | 2018-04-08 | 2022-05-17 | 腾讯科技(深圳)有限公司 | Application testing method and device and storage medium |
CN109542795A (en) * | 2018-12-13 | 2019-03-29 | 平安科技(深圳)有限公司 | Recommend method, apparatus, the medium, electronic equipment of test action for user |
CN109828907B (en) * | 2018-12-15 | 2023-06-20 | 中国平安人寿保险股份有限公司 | Probabilistic test method, probabilistic test device, computer device, and readable storage medium |
CN112000586B (en) * | 2020-10-29 | 2021-02-26 | 深圳开源互联网安全技术有限公司 | Test case execution method and device, execution equipment and readable storage medium |
CN114339327B (en) * | 2021-12-29 | 2023-12-29 | 北京连屏科技有限公司 | Media resource operation method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908020A (en) * | 2010-08-27 | 2010-12-08 | 南京大学 | Method for prioritizing test cases based on classified excavation and version change |
CN102214139A (en) * | 2011-06-01 | 2011-10-12 | 北京航空航天大学 | Automatic test performance control and debugging method facing distributed system |
CN102231686A (en) * | 2011-06-24 | 2011-11-02 | 北京天融信科技有限公司 | System and method for implementing automated test of network security equipment |
CN103064780A (en) * | 2011-10-18 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Software testing method and device thereof |
CN103425585A (en) * | 2013-08-31 | 2013-12-04 | 华南理工大学 | OSGI (Open Service Gateway Initiative) integration testing method |
CN103902446A (en) * | 2012-12-27 | 2014-07-02 | 北京新媒传信科技有限公司 | Network server automated testing method and device |
-
2014
- 2014-10-13 CN CN201410538355.6A patent/CN105487970B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908020A (en) * | 2010-08-27 | 2010-12-08 | 南京大学 | Method for prioritizing test cases based on classified excavation and version change |
CN102214139A (en) * | 2011-06-01 | 2011-10-12 | 北京航空航天大学 | Automatic test performance control and debugging method facing distributed system |
CN102231686A (en) * | 2011-06-24 | 2011-11-02 | 北京天融信科技有限公司 | System and method for implementing automated test of network security equipment |
CN103064780A (en) * | 2011-10-18 | 2013-04-24 | 阿里巴巴集团控股有限公司 | Software testing method and device thereof |
CN103902446A (en) * | 2012-12-27 | 2014-07-02 | 北京新媒传信科技有限公司 | Network server automated testing method and device |
CN103425585A (en) * | 2013-08-31 | 2013-12-04 | 华南理工大学 | OSGI (Open Service Gateway Initiative) integration testing method |
Non-Patent Citations (1)
Title |
---|
"基于测试用例设计信息的回归测试优先级算法";屈波等;《计算机学报》;20080331;第31卷(第3期);第431页到第439页 |
Also Published As
Publication number | Publication date |
---|---|
CN105487970A (en) | 2016-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105487970B (en) | A kind of method for showing interface and device | |
EP3923140A2 (en) | Fault prediction method, apparatus, electronic device and storage medium | |
EP2778929B1 (en) | Test script generation system | |
CN109660419A (en) | Predict method, apparatus, equipment and the storage medium of network equipment exception | |
CN107679818A (en) | Software project management method, terminal and computer-readable recording medium | |
CN106303515B (en) | A kind of online live video quality detecting method and device | |
CN108399114A (en) | A kind of system performance testing method, apparatus and storage medium | |
CN110427323A (en) | A kind of application testing method, device, proxy server and system | |
CN105407323A (en) | Screen splitting method and device of monitor video | |
CN103750552A (en) | Intelligent sampling method and application of method in cigarette quality control | |
CN110263748A (en) | Method and apparatus for sending information | |
CN107291621A (en) | Processing method, processing unit, medium and the electronic equipment of test case | |
CN109036510A (en) | Training for vision correction scheduling method, apparatus and system | |
CN106294114A (en) | A kind of code coverage acquisition methods, server and application apparatus to be measured | |
WO2020238965A1 (en) | Production environment performance evaluation method and apparatus, and storage medium | |
CN110008694A (en) | A kind of application security control method, device, equipment and readable storage medium storing program for executing | |
CN108959101A (en) | Test result processing method, device, equipment and memory software testing system | |
CN105490865A (en) | Method and device for implementing flow analysis | |
CN106537715A (en) | Systems and methods for coordinating signal injections to understand and maintain orthogonality among signal injections patterns in utility grids | |
CN114691662A (en) | Data quality inspection rule self-adaption method, storage medium and system | |
CN107124459A (en) | It is controllable in sequence of threads evaluation and test middleware based on cloud platform | |
CN108256894A (en) | Advertising display control method, equipment, server and client | |
CN110262956A (en) | A kind of test cases selection method and device | |
US8935116B2 (en) | Method and apparatus for testing a wind turbine installation | |
CN107193749A (en) | Method of testing, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |