CN109960641A - To the test method of the OS Type of input - Google Patents

To the test method of the OS Type of input Download PDF

Info

Publication number
CN109960641A
CN109960641A CN201711401594.7A CN201711401594A CN109960641A CN 109960641 A CN109960641 A CN 109960641A CN 201711401594 A CN201711401594 A CN 201711401594A CN 109960641 A CN109960641 A CN 109960641A
Authority
CN
China
Prior art keywords
type
input
operating system
test
test method
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
CN201711401594.7A
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.)
Mitac Computer Kunshan Co Ltd
Original Assignee
Mitac Computer Kunshan 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 Mitac Computer Kunshan Co Ltd filed Critical Mitac Computer Kunshan Co Ltd
Priority to CN201711401594.7A priority Critical patent/CN109960641A/en
Publication of CN109960641A publication Critical patent/CN109960641A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention discloses a kind of test method of OS Type to input, comprising steps of (1) barcode scanning equipment scans the input OS Type for obtaining the board from the corresponding producing line traveler of commissioning stage to be measured;(2) the board target operating system type is obtained from the Naming data of the commissioning stage to be measured;(3) the input OS Type of the keyboard controller of the commissioning stage to be measured is compared by the test program with target operating system type, obtains test result.It is reminded in mistake input, so as to ensure to input the correctness of OS Type, prevents the problem of operator's input error or leakage input OS Type in producing line.Meanwhile the test program can be adapted for the test of WIN10_64 and following version, applicability is stronger;Corresponding relationship can be increased by configuration file for subsequent possible increased new target operating system type, so that scalability is strong, there is better versatility.

Description

To the test method of the OS Type of input
[technical field]
The present invention relates to a kind of testing fields, and in particular to a kind of test method of the OS Type to input.
[background technique]
Computer board, such as during laptop board produces in the factory, need to be scanned with scanning device and give birth to The HDI code on traveler is produced, which includes the OS Type of the board.However, if there is fault in operating process, Can then there be scanned traveler and actual test board is not corresponding.
For example, the operating system version of the board of test is WIN7_64, and during production, due to operator's Fault, scanning the OS Type inputted after the traveler of mistake is WIN10_64, then will cause after subsequent shipment can not Normal boot-strap etc. occurs extremely.Or be no scanning process card, can all occur corresponding exception in this way.
In view of this, it is really necessary to provide a kind of test method of OS Type to input, to solve above-mentioned ask Topic.
[summary of the invention]
Therefore, the purpose of the present invention is to provide a kind of test methods of OS Type to input, solve operation system The problem of system type input error or leakage input.
In order to achieve the above object, the test method of the OS Type of the invention to input, comprising steps of
(1) barcode scanning equipment scans the input operating system for obtaining the board from the corresponding producing line traveler of commissioning stage to be measured Type;
(2) the board target operating system type is obtained from the Naming data of the commissioning stage to be measured;
(3) test program is by the input OS Type of the keyboard controller of the commissioning stage to be measured and object run System type is compared, and obtains test result.
Optionally, the step (3) enters step (4) and issues input error if the test result obtained is not pass through It reminds.
Optionally, the error prompting content is that the OS Type inputted and target operating system type are inconsistent.
Optionally, the test program is tested suitable for WIN10_64 (bit) commissioning stages to be measured.
Optionally, the test program is encoded using MFC encapsulation.
Optionally, the target operating system type includes WIN7_64, WIN7_32, WIN8_64, WIN8_32, WIN10_ 64、WIN10_32。
Optionally, which further includes a configuration file, include the Naming data in the configuration file with The corresponding relationship of target operating system type.
Optionally, the corresponding relationship of the Naming data and target operating system type in the configuration file can increase Add.
Compared to the prior art, the test method of the OS Type of the invention to input, due to being that will scan To input OS Type and Naming data in the target operating system type that obtains be compared, in mistake input It is reminded, so as to ensure to input the correctness of OS Type, prevents operator's input error or leakage in producing line The problem of inputting OS Type.Meanwhile the test program can be adapted for the test of WIN10_64 and following version, be applicable in Property is stronger;Corresponding relationship can be increased by configuration file for subsequent possible increased new target operating system type, from And scalability is strong, has better versatility.
[Detailed description of the invention]
Fig. 1 is schematically shown as the flow chart of one preferred embodiment of test method of the OS Type of the invention to input.
[specific embodiment]
Referring to Fig. 1, Fig. 1 is schematically shown as one preferred embodiment of test method of the OS Type of the invention to input Flow chart.
In order to achieve the above object, the test method of the OS Type of the invention to input, comprising steps of
Step 101: barcode scanning equipment scans the input behaviour for obtaining the board from the corresponding producing line traveler of commissioning stage to be measured Make system type;
Step 102: the board target operating system type is obtained from the Naming data of the commissioning stage to be measured;
Step 103: the test program is by the input OS Type and mesh of the keyboard controller of the commissioning stage to be measured Mark OS Type is compared, and obtains test result.
Wherein, the commissioning stage to be measured that the test program can be adapted for WIN10_64 (bit) is tested, certainly It can be adapted for the test of the commissioning stage to be measured of version more lower than the version, versatility is stronger.
Wherein, the test program can be encoded using MFC encapsulation.
Wherein, the target operating system type may include WIN7_64, WIN7_32, WIN8_64, WIN8_32, WIN10_64、WIN10_32。
Wherein, which can also include a configuration file, include the Naming data in the configuration file With the corresponding relationship of target operating system type.Due to being scanned in obtained input OS Type and Naming data The target operating system type of acquisition is compared, so as to ensure to input the correctness of OS Type.
Wherein, the corresponding relationship of the Naming data and target operating system type in the configuration file can increase. Corresponding relationship can be increased by configuration file for subsequent possible increased new target operating system type, thus scalability By force, there is better versatility.
Wherein, the step step 103 enters step if the test result obtained is not pass through: issuing input error It reminds.The error prompting content can be with are as follows: the OS Type of input and target operating system type are inconsistent.Due to Mistake is reminded when inputting, and prevents the problem of operator's input error or leakage input OS Type in producing line.
Compared to the prior art, the test method of the OS Type of the invention to input, due to being that will scan To input OS Type and Naming data in the target operating system type that obtains be compared, in mistake input It is reminded, so as to ensure to input the correctness of OS Type, prevents operator's input error or leakage in producing line The problem of inputting OS Type.Meanwhile the test program can be adapted for the test of WIN10_64 and following version, be applicable in Property is stronger;Corresponding relationship can be increased by configuration file for subsequent possible increased new target operating system type, from And scalability is strong, has better versatility.
It is noted that the present invention is not limited to the above embodiments, any person skilled in the art is based on this hair Bright technical solution both falls within protection model of the invention to any simple modification, equivalent change and modification made by above-described embodiment In enclosing.

Claims (8)

1. a kind of test method of the OS Type to input, which is characterized in that comprising steps of
(1) barcode scanning equipment scans the input operating system class for obtaining the board from the corresponding producing line traveler of commissioning stage to be measured Type;
(2) the board target operating system type is obtained from the Naming data of the commissioning stage to be measured;
(3) test program is by the input OS Type and destination OS of the keyboard controller of the commissioning stage to be measured Type is compared, and obtains test result.
2. as described in claim 1 to the test method of the OS Type of input, which is characterized in that the step (3), If the test result obtained is not pass through, enters step (4) and issue input error prompting.
3. as claimed in claim 2 to the test method of the OS Type of input, which is characterized in that the error prompting Content is that the OS Type inputted and target operating system type are inconsistent.
4. as described in claim 1 to the test method of the OS Type of input, which is characterized in that the test program Commissioning stage to be measured suitable for WIN10_64 is tested.
5. as described in claim 1 to the test method of the OS Type of input, which is characterized in that the test program It is encoded using MFC encapsulation.
6. as described in claim 1 to the test method of the OS Type of input, which is characterized in that the object run System type includes WIN7_64, WIN7_32, WIN8_64, WIN8_32, WIN10_64, WIN10_32.
7. as described in claim 1 to the test method of the OS Type of input, which is characterized in that the test program is also It include the corresponding relationship of the Naming data and target operating system type including a configuration file, in the configuration file.
8. as claimed in claim 7 to the test method of the OS Type of input, which is characterized in that in the configuration file The Naming data and the corresponding relationship of target operating system type can increase.
CN201711401594.7A 2017-12-22 2017-12-22 To the test method of the OS Type of input Pending CN109960641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711401594.7A CN109960641A (en) 2017-12-22 2017-12-22 To the test method of the OS Type of input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711401594.7A CN109960641A (en) 2017-12-22 2017-12-22 To the test method of the OS Type of input

Publications (1)

Publication Number Publication Date
CN109960641A true CN109960641A (en) 2019-07-02

Family

ID=67018910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711401594.7A Pending CN109960641A (en) 2017-12-22 2017-12-22 To the test method of the OS Type of input

Country Status (1)

Country Link
CN (1) CN109960641A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114009A (en) * 2006-07-24 2008-01-30 纬创资通股份有限公司 Battery automatically testing system and method of electronic device
CN101526570A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Method for automatically testing machine platform
CN107357400A (en) * 2016-05-10 2017-11-17 佛山市顺德区顺达电脑厂有限公司 Method of the Auto Power On to the hard disk for being provided with assigned operation system type

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114009A (en) * 2006-07-24 2008-01-30 纬创资通股份有限公司 Battery automatically testing system and method of electronic device
CN101526570A (en) * 2008-03-07 2009-09-09 佛山市顺德区顺达电脑厂有限公司 Method for automatically testing machine platform
CN107357400A (en) * 2016-05-10 2017-11-17 佛山市顺德区顺达电脑厂有限公司 Method of the Auto Power On to the hard disk for being provided with assigned operation system type

Similar Documents

Publication Publication Date Title
CN104317589B (en) A kind of code automatic generation method and device for being used to load dynamic link library
CN106133537A (en) A kind of FPGA function module emulation verification method and system thereof
US20130117855A1 (en) Apparatus for automatically inspecting security of applications and method thereof
CN104090751B (en) A kind of method that root authority is obtained in android system
CN105335278A (en) Testing method and device
CN103530209B (en) A kind of code keypad automated testing method
CN107220539B (en) Demand-based IMA security verification analysis method
CN105930274A (en) Automated test method and system
CN110287098A (en) Automatically create test script method, server and computer readable storage medium
CN104572465A (en) Novel BIOS Debug method
CN104820676B (en) A kind of method and device for judging version number's size
WO2019103891A1 (en) Systems and methods for transforming machine language models for a production environment
CN109543409B (en) Method, device and equipment for detecting malicious application and training detection model
CN102902540A (en) Embedded automation development method
CN108647533B (en) Automatic generation method of safety assertion for detecting hardware trojan
CN108170466B (en) A kind of C/C++ bugs self-repairing method based on program synthesis
CN109885327A (en) A kind of method and device upgrading CPLD
CN109960641A (en) To the test method of the OS Type of input
CN105959070B (en) Change the test method of frequency based on GNSS receiver radio station
CN104535874B (en) The ageing tester and method of the more key-press inputs of electronic equipment
CN103744757B (en) DF file verification method based on ARINC661
JP6290147B2 (en) Computer-implemented method for creating control device program code and associated message management system
CN106874179A (en) A kind of flight control system BIT system detection methods
Ulmer et al. Virtual testing of high lift systems
CN104820638A (en) Embedded whole machine automatic testing method

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