CN106993222A - The method and apparatus that visual automation tools are write based on android set top box - Google Patents

The method and apparatus that visual automation tools are write based on android set top box Download PDF

Info

Publication number
CN106993222A
CN106993222A CN201710187453.3A CN201710187453A CN106993222A CN 106993222 A CN106993222 A CN 106993222A CN 201710187453 A CN201710187453 A CN 201710187453A CN 106993222 A CN106993222 A CN 106993222A
Authority
CN
China
Prior art keywords
testing tool
top box
set top
normal
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710187453.3A
Other languages
Chinese (zh)
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.)
Shandong Inspur Business System Co Ltd
Original Assignee
Shandong Inspur Business System 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 Shandong Inspur Business System Co Ltd filed Critical Shandong Inspur Business System Co Ltd
Priority to CN201710187453.3A priority Critical patent/CN106993222A/en
Publication of CN106993222A publication Critical patent/CN106993222A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of method and apparatus that visual automation tools are write based on android set top box.Wherein, this method includes:Test information is obtained, and according to test information generation test script;By testing tool testing results script and generate set top box testing daily record;Determine whether the adb connections of testing tool and set top box are normal;When the adb connections of testing tool and set top box are normal, set top box testing daily record is stored.

Description

The method and apparatus that visual automation tools are write based on android set top box
Technical field
The present invention relates to field of set-top, write visual automatic based on android set top box in particular to one kind The method and apparatus of chemical industry tool.
Background technology
Current android set top box increased popularity, requirement to android set top box automatic test also more and more higher, does Android System automation testing tool has a many, such as Monkey, Monkeyrunner, UiAutomator, Instrumentation, Espresso etc., the characteristics of each instrument has different, and can accomplish the automatic test of android set top box.But they There is a common ground, exactly need tester oneself to write scripted code realization.
But, each time the automatic test of android set top box is required to write scripted code again, not only lost time, If script edit Personnel Skill Levels are not in place, the correctness of scripted code can't be ensured.
The content of the invention
In order to solve the above problems, write visual automatic based on android set top box the embodiments of the invention provide one kind The method and apparatus of chemical industry tool.
One side according to embodiments of the present invention writes visual automation there is provided one kind based on android set top box The method of instrument, including:Test information is obtained, and according to the test information generation test script;
The test script is run by testing tool and set top box testing daily record is generated;
Determine whether the adb connections of the testing tool and set top box are normal;
When the adb connections of the testing tool and set top box are normal, the set top box testing daily record is stored.
Alternatively, before the test script is run by testing tool and set top box testing daily record is generated, methods described Also include:Detect whether the testing tool is normal;When the testing tool is normal, the test is run by testing tool Script simultaneously generates set top box testing daily record.
Alternatively, methods described also includes:When the testing tool is abnormal, detect the testing tool whether just again Often, until determining that the testing tool is normal.
Alternatively, methods described also includes:When the adb connections of the testing tool and set top box are abnormal, detect again Whether the testing tool is normal, until determining that the testing tool is normal.
Alternatively, the testing tool includes first thread and the second thread, and the first thread is used to detect the survey The first instrument running log when trial work tool is normally run, when second thread is used to detect the test for according to misoperation The second instrument running log;Whether the detection testing tool normally includes:Detected in the first thread described During the first instrument running log, determine that the testing tool is normal;The second instrument operation is detected in second thread During daily record, determine that the testing tool is abnormal.
Other side according to embodiments of the present invention writes visual automatic there is provided one kind based on android set top box The device of chemical industry tool, including:Self -adaptive module, for obtaining test information, and according to the test information generation test pin This;Daily record generation module, for running the test script by testing tool and generating set top box testing daily record;First judges Module, for determine the testing tool and set top box adb connections whether normal storage module, in the testing tool When being connected normal with the adb of set top box, the set top box testing daily record is stored.
Alternatively, described device also includes:Second judge module, for detecting whether the testing tool is normal;It is described Daily record generation module, for when the testing tool is normal, running the test script by testing tool and generating machine top Box test log.
Alternatively, described device also includes:First processing module, for when the testing tool is abnormal, detecting again Whether the testing tool is normal, until determining that the testing tool is normal.
Alternatively, described device also includes:Second processing module, for the adb companies in the testing tool and set top box When connecing abnormal, detect whether the testing tool is normal again, until determining that the testing tool is normal.
Alternatively, the testing tool includes first thread and the second thread, and the first thread is used to detect the survey The first instrument running log when trial work tool is normally run, when second thread is used to detect the test for according to misoperation The second instrument running log;Second judge module, for detecting the first instrument operation in the first thread During daily record, determine that the testing tool is normal;When second thread detects the second instrument running log, institute is determined State testing tool abnormal.
Using the above method, test information is obtained, and according to the test information generation test script;Pass through testing tool Run the test script and generate set top box testing daily record;Whether just to determine the adb connections of the testing tool and set top box Often;When the adb connections of the testing tool and set top box are normal, the set top box testing daily record is stored.In such manner, it is possible to automatic Generate test script and the test script can be performed automatically, machine can also be carried out hence for the people that will not write script completely The automatic test of top box, adds set top box testing ide applicabilities, and save the time of set top box testing.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is that one kind according to embodiments of the present invention optionally writes visual automation tools based on android set top box Method schematic flow sheet;
Fig. 2 is that one kind according to embodiments of the present invention optionally writes visual automation tools based on android set top box Device structural representation;
Fig. 3 is according to embodiments of the present invention another optionally to write visual automatic chemical industry based on android set top box The structural representation of the device of tool;
Fig. 4 is that according to embodiments of the present invention the third optionally writes visual automation based on android set top box The structural representation of the device of instrument;
Fig. 5 is that according to embodiments of the present invention the 4th kind optionally writes visual automatic chemical industry based on android set top box The structural representation of the device of tool.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " etc. be for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating herein or Order beyond those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to Those steps or unit clearly listed, but may include not list clearly or for these processes, method, product Or the intrinsic other steps of equipment or unit.
There is provided a kind of method that visual automation tools are write based on android set top box according to embodiments of the present invention Embodiment, can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated, it is necessary to explanation Performed in computer system, and, although logical order is shown in flow charts, but in some cases, can be with not The order being same as herein performs shown or described step.
Fig. 1 is a kind of side that visual automation tools are write based on android set top box according to embodiments of the present invention Method, as shown in figure 1, this method can be the application program (i.e. testing tool) for test, this method comprises the following steps:
S101, acquisition test information, and test script is generated according to the test information.
Wherein, the test information can be inputted by user, such as automatic test, the set top box of which kind of mode of user's selection The letter such as daily record storage location, test loop number of times, the ip ports for testing key assignments circulation time, the key assignments set and set top box Breath.The test script can be Monkeyrunne scripts, and this is not limited by the present invention.
S102, the test script is run by testing tool and set top box testing daily record is generated.
Alternatively, before this step, it can detect whether the testing tool is normal, and when the testing tool is normal, The test script is run by testing tool and set top box testing daily record is generated.
In a kind of possible implementation, the testing tool includes first thread and the second thread, and the first thread is used The first instrument running log when detecting that the testing tool is normally run, second thread is used to detect that the test is supplied according to exception The second instrument running log during operation, now, when the first thread detects the first instrument running log, determines the survey Trial work tool is normal;When second thread detects the second instrument running log, determine that the testing tool is abnormal.
In addition, when the testing tool is abnormal, detecting whether the testing tool is normal again, until determining the testing tool Normally.
S103, determine whether the adb connections of the testing tool and set top box are normal.
S104, when the adb connections of the testing tool and set top box are normal, store the set top box testing daily record.
Wherein it is possible to which the set top box testing daily record is stored in into the set-top performance logs storage position that above-mentioned test information includes In putting.
When the adb connections of the testing tool and set top box are abnormal, detect whether the testing tool is normal again, until really The fixed testing tool is normal.
Above-mentioned steps S101 to step S104 is illustrated with reference to specific example, first, testing tool to Family shows main interface, and the main interface includes multiple test options, the different test operation of each test option correspondence, for example, should Main interface includes 4 test operations, respectively fixes key assignments, set time test;Fixed key assignments, random time test;At random Key assignments, set time test;Random key assignments, random time test.User therefrom selects the test option for needing to carry out, now, The main interface jumps to corresponding setting interface, and the setting interface includes multiple setting options, and user inputs at the setting interface Configuration information, for example, for fixed key assignments, the test of set time test, the setting interface includes:Select file is pressed from both sides:For File where user's selection Monkeyrunner, i.e. Android SDK tools files, similar to this catalogue:F:\ Android\adt-bundle-windows-x86_64-20140702\sdk\tools;Box IP, port:For filling in needs The IP of the set top box of test, port.Port is not filled out and is defaulted as 5555.Cycle-index:One group of operation for filling in user's setting Cycle-index, the number of times is more than the positive integer more than 0;Key assignments interval:For filling in the time interval before button, numerical value is big In 0, unit second supports decimal, and is accurate to after decimal point 9, i.e.,:It is accurate to nanosecond.1st button-the, 14 buttons:Mesh Preceding at most to set 14 buttons, each button can select 1 in 17 key assignments.17 key assignments are:HOME、BACK、 OK, UP, DOWN, LEFT, RIGHT, 0-9, set top box operational process:" button of first setting "-" between the time of setting Every "-...-" button that n-th is set ", cycle-index is the number of times set.After the setup, validation of information can be shown Interface, so that whether user's confirmation is correct, and after user confirms correctly, shows test run interface, with table to user Show that current test is currently running, it is necessary to illustrate, if normally stopping during last time operation and (circulating end to be automatically stopped), this Occur after this page, about 10-20s set top boxes just have test response, if improper during last time operation stop (clicking on close manually Close, or otherwise positive closing), then this occurs after this page, and set top box just has response in about 2 minutes.
For fixed key assignments, the test of random time test, the setting interface includes:Select file is pressed from both sides:For selecting certainly The tools files of file where own Monkeyrunner, i.e. Android SDK, similar to this catalogue:F:\ Android\adt-bundle-windows-x86_64-20140702\sdk\tools;Box IP, port:For filling in needs The IP of the set top box of test, port.Port is not filled out and is defaulted as 5555.Cycle-index:One group of operation for filling in user's setting Cycle-index, the number of times is more than the positive integer more than 0;Key assignments interval:For the random model of time interval before filling in button Enclose, such as 1-4, then the time interval of button value is random between 1s, 2s, 3s, 4s.Numerical value is more than 0, and unit second supports decimal, And be accurate to after decimal point 9, i.e.,:Nanosecond is accurate to, first empty value is less than second sky.1st button-the 14 is pressed Key:14 buttons can be at most set at present, each button can select 1 in 17 key assignments.17 key assignments are:HOME、 BACK、OK、UP、DOWN、LEFT、RIGHT、0-9.Set top box operational process:" button of the first setting "-" time of setting The interval random time "-...-" button that n-th is set ", cycle-index is the number of times set.It is being provided with Afterwards, validation of information interface can be shown, so that whether user's confirmation is correct, and after user confirms correctly, is shown to user Test run interface, to represent that current test is currently running, it is necessary to illustrate, if normally stopping (circulation knot during last time operation Beam is automatically stopped), then this occurs after this page, and about 10-20s set top boxes just have test response, if anon-normal during last time operation Often stop and (click on close manually, or otherwise positive closing), then this occurs after this page, machine top in about 2 minutes Box just has response.
For random key assignments, the test of set time test, the setting interface includes:Select file is pressed from both sides:For selecting The tools files of file where Monkeyrunner, i.e. Android SDK, similar to this catalogue:F:\Android\ adt-bundle-windows-x86_64-20140702\sdk\tools;Box IP, port:For filling in the machine for needing to test The IP of top box, port.Port is not filled out and is defaulted as 5555.Cycle-index:One group of operation circulation number of times for filling in user's setting, The number of times is the positive integer more than 0;Key assignments interval:For filling in the time interval before button, numerical value is more than 0, unit second, branch Decimal is held, and is accurate to after decimal point 9, i.e.,:It is accurate to nanosecond.Random key is selected:17 buttons are listed, it is necessary to random Which button, then choose.Set top box operational process:" random one choose button "-" time interval of setting ", circulation time Number is the number of times set.After the setup, validation of information interface can be shown, so that whether user's confirmation is correct, and User confirm it is correct after, show test run interface to user, to represent that current test is currently running, it is necessary to illustrate, if Last time normally stops (circulation end is automatically stopped) when running, then this occurs after this page, and about 10-20s set top boxes just have Test response, stops if improper during last time operation and (clicks on close manually, or otherwise positive closing), then this goes out After this existing page, set top box just has response in about 2 minutes.
For random key assignments, the test of random time test, the setting interface includes:Select file is pressed from both sides:For selecting The tools files of file where Monkeyrunner, i.e. Android SDK, similar to this catalogue:F:\Android\ adt-bundle-windows-x86_64-20140702\sdk\tools;Box IP, port:For filling in the machine for needing to test The IP of top box, port.Port is not filled out and is defaulted as 5555.Cycle-index:One group of operation circulation number of times for filling in user's setting, The number of times is the positive integer more than 0.Key assignments interval:For the random scope of time interval before filling in button, such as 1-4 is then pressed The time interval of key key assignments is random between 1s, 2s, 3s, 4s.Numerical value is more than 0, and unit second supports decimal, and be accurate to decimal 9 after point, i.e.,:It is accurate to first empty value of nanosecond and is less than second sky random keys selection:17 buttons are listed, are needed Which random button is wanted, then is chosen.Set top box operational process:" random one choose button "-" time interval model of setting Enclose the random time ", cycle-index is the number of times set.After the setup, validation of information interface can be shown, so that user is true Whether correct recognize information, and after user confirms correctly, test run interface is shown to user, to represent that current test is transported Row is, it is necessary to which explanation, if normally stopping (circulation end is automatically stopped) during last time operation, this occurs after this page, about 10-20s set top boxes just have to test and responded, if improper during last time operation stop (click closing, or otherwise manually Positive closing), then this occurs after this page, and set top box just has response in about 2 minutes.
Using the above method, test script can be automatically generated and the test script can be performed automatically, hence for The people of script will not be write completely can also carry out the automatic test of set top box, add set top box testing ide applicabilities, and Save the time of set top box testing.
Fig. 2 is a kind of dress that visual automation tools are write based on android set top box provided in an embodiment of the present invention Put, as shown in Fig. 2 including:
Self -adaptive module 201, test script is generated for obtaining test information, and according to the test information;
Daily record generation module 202, for running the test script by testing tool and generating set top box testing daily record;
First judge module 203, for determining whether the adb connections of the testing tool and set top box are normal
Memory module 204, for the adb connections in the testing tool and set top box it is normal when, store the set top box testing Daily record.
Alternatively, as shown in figure 3, the device also includes:Second judge module 205, for whether detecting the testing tool Normally;
The daily record generation module 202, for when the testing tool is normal, the test script to be run simultaneously by testing tool Generate set top box testing daily record.
Alternatively, as shown in figure 4, the device also includes:First processing module 206, for when the testing tool is abnormal, Again detect whether the testing tool is normal, until determining that the testing tool is normal.
Alternatively, as shown in figure 5, the device also includes:
Second processing module 207, for the adb connections in the testing tool and set top box it is abnormal when, the survey is detected again Whether trial work tool is normal, until determining that the testing tool is normal.
Alternatively, the testing tool includes first thread and the second thread, and the first thread is used to detect the testing tool The first instrument running log during normal operation, second thread is used to detect that the test is supplied according to the second instrument during misoperation Running log;Second judge module 205, for when the first thread detects the first instrument running log, it is determined that should Testing tool is normal;When second thread detects the second instrument running log, determine that the testing tool is abnormal.
Using said apparatus, test script can be automatically generated and the test script can be performed automatically, hence for The people of script will not be write completely can also carry out the automatic test of set top box, add set top box testing ide applicabilities, and Save the time of set top box testing.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in some embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, others can be passed through Mode is realized.Wherein, device embodiment described above is only schematical, such as division of described unit, Ke Yiwei A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces Connect, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On unit.Some or all of unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method that visual automation tools are write based on android set top box, it is characterised in that including:
Test information is obtained, and according to the test information generation test script;
The test script is run by testing tool and set top box testing daily record is generated;
Determine whether the adb connections of the testing tool and set top box are normal;
When the adb connections of the testing tool and set top box are normal, the set top box testing daily record is stored.
2. according to the method described in claim 1, it is characterised in that the test script is being run by testing tool and generated Before set top box testing daily record, methods described also includes:
Detect whether the testing tool is normal;
When the testing tool is normal, the test script is run by testing tool and set top box testing daily record is generated.
3. method according to claim 2, it is characterised in that methods described also includes:
When the testing tool is abnormal, detect whether the testing tool is normal again, until determining the testing tool just Often.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
When the adb connections of the testing tool and set top box are abnormal, detect whether the testing tool is normal again, until really The fixed testing tool is normal.
5. the method according to any one of claim 2 to 4, it is characterised in that the testing tool include first thread and Second thread, the first thread is used to detecting the first instrument running log when the testing tool is normally run, described the Two threads are used to detect the test for according to the second instrument running log during misoperation;
Whether the detection testing tool normally includes:
When the first thread detects the first instrument running log, determine that the testing tool is normal;
When second thread detects the second instrument running log, determine that the testing tool is abnormal.
6. a kind of device that visual automation tools are write based on android set top box, it is characterised in that including:
Self -adaptive module, for obtaining test information, and according to the test information generation test script;
Daily record generation module, for running the test script by testing tool and generating set top box testing daily record;
First judge module, for determining whether the adb connections of the testing tool and set top box are normal
Memory module, for the adb connections in the testing tool and set top box it is normal when, store the set top box testing day Will.
7. device according to claim 6, it is characterised in that described device also includes:
Second judge module, for detecting whether the testing tool is normal;
The daily record generation module, for when the testing tool is normal, the test script to be run simultaneously by testing tool Generate set top box testing daily record.
8. device according to claim 7, it is characterised in that described device also includes:
First processing module, for when the testing tool is abnormal, detecting whether the testing tool is normal again, until really The fixed testing tool is normal.
9. device according to claim 7, it is characterised in that described device also includes:
Second processing module, for the adb connections in the testing tool and set top box it is abnormal when, the test work is detected again Whether tool is normal, until determining that the testing tool is normal.
10. the device according to any one of claim 7 to 9, it is characterised in that the testing tool include first thread and Second thread, the first thread is used to detecting the first instrument running log when the testing tool is normally run, described the Two threads are used to detect the test for according to the second instrument running log during misoperation;
Second judge module, for when the first thread detects the first instrument running log, it is determined that described Testing tool is normal;When second thread detects the second instrument running log, determine that the testing tool is abnormal.
CN201710187453.3A 2017-03-27 2017-03-27 The method and apparatus that visual automation tools are write based on android set top box Pending CN106993222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710187453.3A CN106993222A (en) 2017-03-27 2017-03-27 The method and apparatus that visual automation tools are write based on android set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710187453.3A CN106993222A (en) 2017-03-27 2017-03-27 The method and apparatus that visual automation tools are write based on android set top box

Publications (1)

Publication Number Publication Date
CN106993222A true CN106993222A (en) 2017-07-28

Family

ID=59413358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710187453.3A Pending CN106993222A (en) 2017-03-27 2017-03-27 The method and apparatus that visual automation tools are write based on android set top box

Country Status (1)

Country Link
CN (1) CN106993222A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698499A (en) * 2020-06-30 2020-09-22 深圳创维-Rgb电子有限公司 Automatic connection method based on GMS test, terminal equipment and readable storage medium
CN114339327A (en) * 2021-12-29 2022-04-12 北京连屏科技有限公司 Media asset operation method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075789A (en) * 2010-12-31 2011-05-25 上海全景数字技术有限公司 Method and system for quickly testing set top box
CN102799511A (en) * 2012-06-30 2012-11-28 成都西可科技有限公司 Android-based automatic test method and system
CN104331360A (en) * 2013-07-23 2015-02-04 上海斐讯数据通信技术有限公司 Automatic testing platform
CN105227949A (en) * 2015-09-16 2016-01-06 成都三零凯天通信实业有限公司 A kind of Android Set Top Box automated testing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075789A (en) * 2010-12-31 2011-05-25 上海全景数字技术有限公司 Method and system for quickly testing set top box
CN102799511A (en) * 2012-06-30 2012-11-28 成都西可科技有限公司 Android-based automatic test method and system
CN104331360A (en) * 2013-07-23 2015-02-04 上海斐讯数据通信技术有限公司 Automatic testing platform
CN105227949A (en) * 2015-09-16 2016-01-06 成都三零凯天通信实业有限公司 A kind of Android Set Top Box automated testing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111698499A (en) * 2020-06-30 2020-09-22 深圳创维-Rgb电子有限公司 Automatic connection method based on GMS test, terminal equipment and readable storage medium
CN114339327A (en) * 2021-12-29 2022-04-12 北京连屏科技有限公司 Media asset operation method and system
CN114339327B (en) * 2021-12-29 2023-12-29 北京连屏科技有限公司 Media resource operation method and system

Similar Documents

Publication Publication Date Title
CN107193733A (en) Simulate the methods, devices and systems of Monkey tests
CN110297774A (en) A kind of automatic interface testing method based on python
CN109582563B (en) Test method, device, computer equipment and storage medium for test cases
CN105068929A (en) Test script generation method, test script generation device, testing method, testing device and testing system
CN106897216A (en) The method and apparatus of test software
CN107402880A (en) A kind of method of testing and electronic equipment
CN107301130A (en) A kind of VR all-in-ones testing tool and its method
CN107133174A (en) Test case code automatically generating device and method
CN104820640A (en) Webpage testing method and device
CN109491860A (en) Method for detecting abnormality, terminal device and the medium of application program
CN105868311A (en) Data analyzing method and device
CN106776336A (en) Test script generation method and device, method for testing software and device
CN108304426A (en) The acquisition methods and device of mark
CN104899016A (en) Call stack relationship obtaining method and call stack relationship obtaining device
CN107271822A (en) Protect the method for calibration and device of definite value
CN108459850A (en) Generate the method, apparatus and system of test script
CN107249182A (en) A kind of note transmission method and its device, terminal device
CN108460068A (en) Method, apparatus, storage medium and the terminal that report imports and exports
CN106993222A (en) The method and apparatus that visual automation tools are write based on android set top box
CN108226742A (en) Circuit board detecting method and device
CN108776604A (en) The execution method and system of goal task
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN107679423A (en) Partition integrity inspection method and device
CN110347976A (en) Method, system, device and the storage medium of quick equipment leading out data model
CN109299002A (en) Generation method, computer readable storage medium and the terminal device of test report

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170728

WD01 Invention patent application deemed withdrawn after publication