CN104572366A - Automatic testing method of laptop closing sleep function - Google Patents

Automatic testing method of laptop closing sleep function Download PDF

Info

Publication number
CN104572366A
CN104572366A CN201310495069.1A CN201310495069A CN104572366A CN 104572366 A CN104572366 A CN 104572366A CN 201310495069 A CN201310495069 A CN 201310495069A CN 104572366 A CN104572366 A CN 104572366A
Authority
CN
China
Prior art keywords
notebook computer
testing
program
laptop
described program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310495069.1A
Other languages
Chinese (zh)
Other versions
CN104572366B (en
Inventor
王丽云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201310495069.1A priority Critical patent/CN104572366B/en
Publication of CN104572366A publication Critical patent/CN104572366A/en
Application granted granted Critical
Publication of CN104572366B publication Critical patent/CN104572366B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An automatic testing method of a laptop closing sleep function includes the steps of firstly, turning on a testing program on a laptop, wherein the program operates under a DOS environment; secondly, by the program, judging whether the value of the BIT2 of 'LidStatus_Addr0X600' is '0' or not, if so, executing the third step, and if not, executing the sixth step; thirdly, closing the laptop; fourthly, by the program, judging whether the value of the BIT2 of 'LidStatus_Addr0X600' is '1' or not, if so, executing the fifth step, and if not, executing the sixth step; fifthly, turning off the program if the program displays 'PASS', and recording a testing result; sixthly, turning off the program if the program displays 'FALL', and recording a testing result. The testing method is simple, automatic testing can be achieved, and a large amount of time is saved.

Description

Notebook computer closes machine dormancy automatic test approach
[technical field]
The present invention relates to a kind of automatic test approach, be specifically related to a kind of notebook computer and close machine dormancy automatic test approach.
[background technology]
Nowadays, in electronic product industry, notebook computer is applied in the life of people more and more widely.Therefore, the requirement of people to its quality is also more and more higher.General factory also all can test its various function before notebook computer dispatches from the factory, thus guarantees that it flows out the quality of product.
Wherein, when notebook computer closes machine dormancy project testing, whether existing method of testing, for board is closed machine manually, now observes the power lights of this board in flicker; If in flicker, then open this board again, press keyboard simultaneously; If now this board by normal wakeup, then can prove that the conjunction machine sleep mode of this board is good, otherwise quite different.But the test process of said method is manual operation and artificially judges, easily produce erroneous judgement and leak phenomenons such as seeing, thus can not ensure the quality of product, the result of simultaneously testing can not be preserved, and is unfavorable for the tracking of subsequent result.
In view of this, be necessary in fact to provide a kind of notebook computer to close machine dormancy method of testing, above-mentionedly test the defect brought manually to solve.
[summary of the invention]
Therefore, the object of this invention is to provide a kind of notebook computer and close machine dormancy method of testing, to solve the defect of testing manually.
In order to achieve the above object, the invention provides a kind of notebook computer and close machine dormancy method of testing, it comprises the following steps:
(1) opened by test procedure on described notebook computer, described program is run under DOS environment;
(2) whether the value being judged the BIT2 position of " LidStatus_Addr0X600 " by described program is " 0 ", if " 0 ", then performs step (3), if not " 0 ", then performs step (6);
(3) described notebook computer is closed machine;
(4) described in described program judges, whether the value of the BIT2 position of " LidStatus_Addr0X600 " is " 1 ", if " 1 ", then performs step (5), if not " 1 ", then performs step (6);
(5) described program display " PASS ", then bolt down procedure, logging test results;
(6) described program display " FAIL ", then bolt down procedure, logging test results.
Preferably, described step (1) is front, and described notebook computer is open mode.
Preferably, the test result in described step (5) and step (6) all can be uploaded to SFCS.
Compared to prior art, the method of testing that notebook computer of the present invention closes machine dormancy is simple, the process of test automatically can be realized, thus save a large amount of time, also avoid simultaneously and easily produce erroneous judgement manually and leak phenomenons such as seeing, the problem that the quality of product and test result can not be preserved can not be ensured.
[accompanying drawing explanation]
Fig. 1 illustrates the process flow diagram into notebook computer conjunction machine dormancy automatic test approach of the present invention.
[embodiment]
The invention provides a kind of notebook computer and close machine dormancy method of testing, it comprises the following steps:
S101: on described notebook computer, test procedure is opened, described program is run under DOS environment;
S102: whether the value being judged the BIT2 position of " LidStatus_Addr0X600 " by described program is " 0 ", if " 0 ", then performs step S103, if not " 0 ", then performs step S106;
S103: described notebook computer is closed machine;
S104: whether the value of the BIT2 position of " LidStatus_Addr0X600 " is " 1 " described in described program judges, if " 1 ", then performs step S105, if not " 1 ", then performs step S106;
S105: described program display " PASS ", then bolt down procedure, logging test results;
S106: described program display " FAIL ", then bolt down procedure, logging test results.
Wherein, before described step S101, described notebook computer is open mode.
Wherein, the test result in described step S105 and step S106 all can be uploaded to SFCS(Shop Floor Control System Workshop control system).
In the present embodiment, described BIT2 refers to the deputy value (figure place from 0) of a binary number from right number, namely right several 3rd numerical value.
The method of testing that notebook computer of the present invention closes machine dormancy is simple, the process of test automatically can be realized, thus save a large amount of time, also avoid simultaneously and easily produce erroneous judgement manually and leak phenomenons such as seeing, the problem that the quality of product and test result can not be preserved can not be ensured.
It is noted that the invention is not restricted to above-mentioned embodiment, any simple modification that any those skilled in the art do above-described embodiment based on technical solution of the present invention, equivalent variations all falls into protection scope of the present invention with modification.

Claims (3)

1. notebook computer closes a machine dormancy method of testing, and it is characterized in that, described method of testing comprises the following steps:
(1) opened by test procedure on described notebook computer, described program is run under DOS environment;
(2) whether the value being judged the BIT2 position of " LidStatus_Addr0X600 " by described program is " 0 ", if " 0 ", then performs step (3), if not " 0 ", then performs step (6);
(3) described notebook computer is closed machine;
(4) described in described program judges, whether the value of the BIT2 position of " LidStatus_Addr0X600 " is " 1 ", if " 1 ", then performs step (5), if not " 1 ", then performs step (6);
(5) described program display " PASS ", then bolt down procedure, logging test results;
(6) described program display " FAIL ", then bolt down procedure, logging test results.
2. notebook computer according to claim 1 closes machine dormancy method of testing, and it is characterized in that, described step (1) is front, and described notebook computer is open mode.
3. notebook computer according to claim 1 closes machine dormancy method of testing, it is characterized in that, the test result in described step (5) and step (6) all can be uploaded to SFCS.
CN201310495069.1A 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach Active CN104572366B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310495069.1A CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310495069.1A CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Publications (2)

Publication Number Publication Date
CN104572366A true CN104572366A (en) 2015-04-29
CN104572366B CN104572366B (en) 2019-01-29

Family

ID=53088501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310495069.1A Active CN104572366B (en) 2013-10-18 2013-10-18 Laptop closes machine suspend mode automatic test approach

Country Status (1)

Country Link
CN (1) CN104572366B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305514A (en) * 2016-04-22 2017-10-31 神讯电脑(昆山)有限公司 Notebook computer closes machine dormancy Auto-Test System and method
CN111970164A (en) * 2020-07-29 2020-11-20 深圳市广和通无线股份有限公司 System, method, device, terminal and storage medium for detecting state of communication module
CN116736076A (en) * 2023-05-12 2023-09-12 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355435A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Autoamtic on-off tester
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
US20050210348A1 (en) * 2004-03-16 2005-09-22 Nec Electronics Corporation Microcomputer and method of testing same
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN2898939Y (en) * 2006-02-07 2007-05-09 上海环达计算机科技有限公司 Automatic counter for testing power-supply switch state circulation
US20110066888A1 (en) * 2009-09-11 2011-03-17 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. System and method for testing sleep and wake functions of computer
CN101996114A (en) * 2009-08-26 2011-03-30 英业达股份有限公司 Testing method
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN202472629U (en) * 2012-02-23 2012-10-03 昆山元崧电子科技有限公司 System for testing motherboard of laptop computer

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1355435A (en) * 2000-12-01 2002-06-26 英业达股份有限公司 Autoamtic on-off tester
CN1622005A (en) * 2003-11-24 2005-06-01 顺德市顺达电脑厂有限公司 Power supply status automatic test method for computer apparatus
US20050210348A1 (en) * 2004-03-16 2005-09-22 Nec Electronics Corporation Microcomputer and method of testing same
CN1831784A (en) * 2005-03-09 2006-09-13 深圳市顶星数码网络技术有限公司 Testing device and method of computer
CN2898939Y (en) * 2006-02-07 2007-05-09 上海环达计算机科技有限公司 Automatic counter for testing power-supply switch state circulation
CN101996114A (en) * 2009-08-26 2011-03-30 英业达股份有限公司 Testing method
US20110066888A1 (en) * 2009-09-11 2011-03-17 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. System and method for testing sleep and wake functions of computer
CN102346700A (en) * 2010-08-03 2012-02-08 神讯电脑(昆山)有限公司 System for testing stability of PDA (Personal Digital Assistant) and method
CN202472629U (en) * 2012-02-23 2012-10-03 昆山元崧电子科技有限公司 System for testing motherboard of laptop computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107305514A (en) * 2016-04-22 2017-10-31 神讯电脑(昆山)有限公司 Notebook computer closes machine dormancy Auto-Test System and method
CN111970164A (en) * 2020-07-29 2020-11-20 深圳市广和通无线股份有限公司 System, method, device, terminal and storage medium for detecting state of communication module
CN116736076A (en) * 2023-05-12 2023-09-12 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium
CN116736076B (en) * 2023-05-12 2024-04-09 珠海妙存科技有限公司 Chip dormancy state detection method and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN104572366B (en) 2019-01-29

Similar Documents

Publication Publication Date Title
CN103234257B (en) Transducer air conditioning and improve its run total energy effect energy-saving control method
CN104678831B (en) Electric cooking pot and its power interruption recovering device and power interruption recovering controlling method
CN104122463B (en) Method and system for detecting electronic expansion valve
CN109357353A (en) Judgment method, system and the air-conditioning of security appliance state
CN104021036B (en) A kind of electronic equipment and state of electronic equipment switching method
CN104572366A (en) Automatic testing method of laptop closing sleep function
CN107832190A (en) A kind of power consumption abnormal diagnostic method, mobile terminal and storage medium
CN104180482A (en) Control method and system for air conditioner controller operation parameters
CN105071489A (en) Charging method and apparatus of terminal having data exchange function
CN106483455A (en) A kind of actuating of relay Response Time Test System
CN202486641U (en) Automatic control system of storage environment
CN105987477A (en) Air conditioner control method and control device, and air conditioner
CN104865851A (en) Light variation-based energy saving method and device
CN101408771A (en) Software automatic test system and method applicable to electronic type refrigerator
CN205066896U (en) Full automatic test system of gas table module
CN107525317B (en) A kind of control device of electric expansion valve, air-conditioning and its discretionary protection method
CN107305514A (en) Notebook computer closes machine dormancy Auto-Test System and method
CN101661065A (en) System and method for automatically testing electronic product
CN206132936U (en) Relay operation response time test system
CN204556557U (en) Water-quality test with TDS and temperature sensing function is popped one's head in
CN106034182A (en) Method, device and terminal for controlling electric quantity loss
CN104461807A (en) Automatic DVD sleeping testing method
CN203965955U (en) The water-level control apparatus of sampling system
CN110134114B (en) Self-adaptive automatic testing device and method for refrigerator electric control
CN208886077U (en) A kind of comprehensive protector for valve electric device

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