WHQL(1.6-8367)测试指南.docx
《WHQL(1.6-8367)测试指南.docx》由会员分享,可在线阅读,更多相关《WHQL(1.6-8367)测试指南.docx(34页珍藏版)》请在冰豆网上搜索。
![WHQL(1.6-8367)测试指南.docx](https://file1.bdocx.com/fileroot1/2022-10/2/7a677e57-a86f-4daf-9279-c7eed5093120/7a677e57-a86f-4daf-9279-c7eed50931201.gif)
WHQL测试指南
目录
WHQL认证简介 2
注意事项 3
总体设计 7
1.1 工作组方式 7
1.2 域环境方式 8
2.1 Controller端的操作 9
1、 安装虚拟光驱 9
2、 安装DriverTestManager 10
3、 安装WindowsDTMStudio 11
4、 安装WindowsDTMClient(工作组方式) 13
第一章 软件测试步骤 15
第二章 结果分析 22
测试项执行状态 22
分析工具 24
第三章 信息提取 25
结果提取 25
提交认证 26
例1:
USB测试 27
1) USBAddressDescriptionTest(Automated) 27
2) USBDescriptortest(Automated) 28
3) USBDeviceControlRequests(Automated) 28
4) USBDeviceFramework[CV](Manual) 29
5) USBDisableEnable(Automated) 30
6) USBEnumerationStress(Automated) 30
7) USBSelectiveSuspend(Automated) 31
8) USBSerialNumber(Automated) 32
9) USBSystemSuspendResumeTest 32
例2:
其他测试项 33
1) INFSyntaxTest 33
2) PrintDriverDevModeCorruptorTest 33
3) 需要手动运行的测试项 33
4) 可能需要手动输入的测试项 33
WHQL认证简介
WHQL认证简介:
WHQL是WindowsHardwareQualityLabs的简称,意思为“Windows操作系统硬件品质实验室”,该实验室的主要工作在于测试电脑周边硬件产品、驱动程式与操作系统的相容性及稳定性。
微软WHQL(Windows操作系统硬件品质实验室商标)是微软(Microsoft)为了确保计算机硬件与Windows窗口操作系统能够兼容所制定,凡是通过WHQL的认定,便可以在其产品上标注“WHQL”验证规格,有了“微软”背书,消费使用者只要购买了具有WHQL规格的产品,都可得到很大程度的保障。
假如用户的驱动程序通过了WHQL认证,则其可以获得下列权利:
1、有权在产品和包装上使用“DesignedforWindows”徽标,获得微软Windows品牌及用户对产品与Windows兼容认可的优势;
2、选择在全球WindowsCatalog以及HCL列入产品。
政府机关,大公司的IT管理部门和教育院所在WHQL购买之前,常常会确保产品在列表之中;
3、设备产品驱动的数字签名认可,表示驱动已经通过了Windows兼容性检测;
4、在Windows更新上免费发放经过数字签名的驱动,因此客户很容易得到最新的与Windows相关软件的更新;
5、访问微软联机崩溃分析(OCA),利用其提供的用户出错数据帮助公司改进他们签名驱动软件和目标装置的质量。
注意事项
1)请仔细阅读注意事项,附录中为测试搭建与运行中遇到的问题及解决方法
2)系统要求(WLK_1.6_8367)
DTMController系统要求:
Component
最低配置
最佳配置
Processor
Singlex86-basedprocessorrunninginx64mode,withaspeedof2.0GHz
Multicoreormultiplex64-basedprocessorsrunninginx64mode,withaspeedof2.0GHzorfaster
SystemMemory
2GBmainmemory
4GBmainmemory
HardDiskCapacity
300GB.Thisvalueisconsideredaminimumbecauseofthevolumeoflogsthatcanbegeneratedandtheirstoragerequirements.
JBODarray
NetworkConnection
100megabitspersecond(Mbps)
OperatingSystem
x64-basedversionofWindowsServer2008R2.
Notes:
DTMControllerisnotsupportedonWindowsServer2003,WindowsServer2008,WindowsVista,WindowsXP,orMicrosoftWindows2000.
DTMControllerisnotsupportedonaWindowsServer2008R2installationthathasalreadybeensetupasadomaincontroller.
DTMControllerisnotsupportedinavirtualPCenvironment.
DTMClient系统要求:
Component
Minimum
Optimum
Processor
x86-based,or
Itanium-based,or
x64-basedarchitectures
SystemMemory
128MBmainmemory(forfreebuilds)
256MBormore(forcheckedbuilds)
OperatingSystem
.Windows7(allversions)forx86-basedorx64-basedarchitectures,or
.WindowsServer2008R2x64-based,orItanium-basedarchitectures,or
.WindowsServer2008forx86-basedorx64-based,orItanium-basedarchitectures,
.WindowsVista(allversions)forx86-basedorx64-basedarchitectures,or
.WindowsServer2003withServicePack1(SP1)forx86-based,x64-based,orItanium-basedarchitectures,or
.WindowsXPwiththelatestreleaseServicePack
.TotestandobtainaWindowsServer2008logo,youmustuseWindowsServer2008Datacenter(x64-based)orWindowsServer2008forItanium-basedsystems(IA-64).x64-basedsystemsmaybeAMD64orIntel64.IA64-basedsystemsmustbeItanium2orlaterbecauseWindowsServer2008doesnotsupportItanium1(Merced)processors.
Notes:
Whenselectingacomputernamefortheclient,youmustchooseauniquenamewith15orfewercharacters.
Windows2000issupportedfortesting-purposesonly.ThereisnologosupportforWindows2000.
DTMClientisnotsupportedinavirtualPCenvironment.
3)所有计划作Controller与Client的计算机系统都必须保持干净(仅加载系统进程);
4)Client端计算机系统的时间必须与当前时间同步(详情见附录);
5)WHQL测试中作Client的操作系统设置为默认开机启动的系统;
6)WHQL平台Controller端安装的程序顺序为(按所述顺序安装):
a)DriverTestManager
b)WindowsDTMStudio
7)WHQL平台Client端安装程序顺序为:
a)DTMClient
8)在所有Controller与Client计算机上使用相同用户名登录,且这些用户皆隶属于Administrators组;
9)对Controller、Client网络进行设置,使之在测试过程中保持Controller、Client之间能够相互访问并能够运行对方共享的文件;
a)设置同域IP;
若搭建环境有路由器,(待以后补充)。
若搭建环境没有路由器,则需要手动设置IP地址(“ControlPanel->AllControlPanelItems->NetworkandSharingCenter->Properties->InternetProtocolVersion4(TCP/IPv4)->Properties”),参见下例
i.将DTMServerIP设置为以下参数
IPaddress:
192.168.1.1
Subnetmask:
255.255.255.0
Defaultgateway:
192.168.1.22
PreferredDNSserver:
111.111.111.111
ii.将DTMClientIP设置为以下参数
IPaddress:
192.168.1.2
Subnetmask:
255.255.255.0
Defaultgateway:
192.168.1.22
PreferredDNSserver:
111.111.111.111
b)关闭防火墙;
c)打开Guest帐户;
d)系统设置自动启动
在Controller、Client、Studio的PC端“Start->Run”输入“netplwiz”,或在DOS命令行窗口(PC端“Start->Run”输入“cmd”)输入“controluserpasswords2”)后回车。
会弹出“UserAccounts”窗口。
这时要反选“Usermustenterausernameandpasswordtousethiscomputer.”,见图1取消登陆选项;然后点“Apply”按钮,再在“AutomaticallyLogOn”窗口中输入“Username”和“Password”(若无密码,为空),按确定按钮,见图2输入登陆密码。
图1取消登陆选项
图2输入登陆密码
重新启动系统,系统将自动登录了。
e)需要关闭密码保护共享(仅Win7/VISTA需要设置);
“Con