微软测试细节
查安装的哪个build:C:\Windows\Panther\setupact.log第八行
product key:
http://itwebtools/windows/pkd/Index.asp
选view my key
test machine product key:
. 180 days
YFGGV-FFBW8-H4HH8-8GX93-4WBJK
. 365 days for academic use
6K7JH-Q9DXD-T233D-3TVPC-8K7V6
开启EWF:
“ewfmgr %SystemDrive% -enable” and reboot
关闭 EWF:
doesn't need a reboot
ewfmgr c: -commitanddisable -live
开启FBWF
Fbwfmgr /enable
Fbwfmgr /addvolume %SystemDrive%
关闭FBWF
Fbwfmgr /disable
…… Reboot Machine ……
sysprep后进当前系统:
从\\ctitve\public\BenXu下拷SysPrep_entry.bat到本地
找到你刚装的eCore的盘(可以看user),然后运行SysPrep_entry.bat <盘符>
例如:SysPrep_entry.bat e:
找到你刚装的eCore的盘(可以看user),然后运行
SysPrep_entry.bat <盘符>
例如:SysPrep_entry.bat e:
盘改名:
bcdedit /set {current} description "aaa"
进去后,将当前系统盘改名为该FS的名,免得被格
关闭休眠:
powercfg -h off
将电源模式改为只关显示器:
Control Panel\All Control Panel Items\Power Options将power saver改为high performance
VPC:\\msrasia\Products\Products\Applications\User\Virtual PC 2007
逻辑分区:
1.diskpart
2.sel disk 0
3.list part
4.create part extend
5.list part
active分区:
1. 在“运行“里,输入“cmd”。
2. 接着输入“diskpart”。
3. 接着输入“list disk”
4. 接着输入“select disk 0”比如我们现在要将第1硬盘的第1分区做为活动的~!
5. 接着输入 “list partition ”
6. 接着输入 “select partition 1”
7. 最后输入 “active”
装WinPE:
进\\ctitve\public\Tools\ASI_CD,将Init.bat拷贝到X盘,然后运行:
Init.bat 16158-xb86
生成镜像:
imagex /capture C: D:\XP.wim "Win_XP_wim"
format C:
imagex /APPLY D:\XP.wim 1 C:
PMQ:
1. \\ctitve\Win7\release\7600.16385.win7_gdr_embedded_dev.100401-1730\x86fre\staged\sources\tap.exe
2. 运行后生成PMQ
3. Import到AnswerFile中,安装即可
Online install PKG using configSet:
install a clean ecore, boot into ecore, run
“DISM.exe /Online /Apply-Unattend: [path to answer file]”
Offline install PKG using configSet:
install a clean ecore; then boot into another system, run
“DISM.exe /Image:[Driver Letter] /Apply-Unattend: [path to answer file]”
“PackageTrackerXmlFile”:
\\ewtest3\svc\bld\RC\100115-0100\PackageTracker.xml for x86
\\ewtest3\svc\bld\RC\100115-0100-2\PackageTracker.xml for amd64
win7的manifest:C:\Windows\winsxs\Manifests
覆盖率:
1.CMD进入\\ctitve\public\TeamTools\EVE\Tools
2.运行TraceLog.exe -start -f "z:\Benxu\XXX.etl"
3.弄完后用TraceLog.exe -stop停止
4.打开GetFileList,选最新的x86的build
5.进入相应文件夹D:\EWDev\MergedComponents\Embedded\Packages中的yaml,选出coponent
6.选中生成的etl,比较
Lab机器发邮件:
Hi Bassam, Moe
We have two machines 12-A-02-CHINA and 12-A-06-CHINA need to reboot, and one machine 12-A-08-CHINA need to insert an Asi disk(winpe), are you still available to help us?
Thanks,
Tianjiao
\\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to use new Eve tool.docx
\\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to use Lab machines.docx
加入域:
netdom join <comperter name> /domain:<domain> /userd:<user> /passwordd:<password>
进入lab的机器:
1.https://ewav01
2.用redmon登陆
3.打开树状菜单:Bench-12-CHINA ONLY,选一台机器,如第一台12-A-01-CHINA
4.点KVM Session
5.用完后重启到winpe
Auto文件地址:
\\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\WTT&Auto jobs\SampleCodeDescription\log
生成WTT log:
Job155239:tianjiao的remote assistance例子(参考)
调用Job3085:将txt转为wttlog,在task execution status下面对Generate WTT logs右键,view task log
copy:在jpb execution的结果右键
Job内要用Pass:或Fail:
IE的auto job:
1,将wsf复制到文件夹:
1.1:\\ewtest\testbinroot\amd64fretest\bin\embedded\fstest\Internet_Explorer
1.2:\\ewtest\testbinroot\x86fretest\bin\embedded\fstest\Internet_Explorer
2,在v-bex目录新建一个job,将对应manual的JOb步骤复制粘贴过来,保存
3,在Parameters的Global中选择六个:
EW\ComptestBinRoot
EW\Branch
EW\Build
EW\FileShare
EW\Share
EW\TestBinRoot
4,在Tasks的Setup中创建以下两个:
4.1.Copy test binaries(Option全不选,记住Execution Options页写上Mantis)
4.1.1.[EW\FileShare]\Comptest\InternetExplorer\IE-Explorer\[WTT\Processor]\xAcc.dll
4.1.2.[EW\CompTestBinRoot]\NTTEST\BASETEST\Embedded\CompTest\FSTest\InternetExplorer\IE-Explorer\***.wsf
4.2Regist xAcc(Option选Rollup Result to Job,下面选1,3项)
4.2.1.regsvr32 /s xacc.dll
5,在Regular中创建:
Execute ***.wsf(Option选Rollup Result to Job,下面选1,3项)
***.wsf
域验证框:
var accWindowsSecurity = desk.FindWindowText("Windows Security").FindRole(Dialog).FindWindowClass("DirectUIHWND").FindRole(Pane);
var accUserame = desk.FindWindowText("Windows Security").FindRole(Dialog).FindWindowClass("DirectUIHWND").FindRole(Pane).FindName("Use another account").FindWindowClass("Edit").FindName("User name");
var accPassword = desk.FindWindowText("Windows Security").FindRole(Dialog).FindWindowClass("DirectUIHWND").FindRole(Pane).FindName("Use another account").FindWindowClass("Edit").FindName("Password");
找那个东西属于那个component:
\\ctitve\public\Tools\MinkWeb
Execute:
Regist xAcc: regsvr32 /s xacc.dll
Clean up:
unregist xacc : regsvr32.exe /u /s xacc.dll
RunJob - Library - Text Log To WTT Log: 3085
运行CMD命令
Wshshell.Run("cmd.exe /c Helppane.exe -embedding");
创建wsf:
1.RPF:
<job id="FVT - SetProgram">
<reference object="RPFMsaaPlayback.RPFPlayback"/>
<reference object="WScript.shell"/>
<reference object="scripting.filesystemobject"/>
<script language="JScript">
var Rpf= new ActiveXObject("RPFMsaaPlayback.RPFPlayback");
//改坐标为相对坐标
var x, y;
screenElement.GetClickablePoint(x, y);
screenElement.LeftButtonClick(x, y);
2.Xacc
<reference object="XAcc.CurrentDesktop"/>
var Wshshell= new ActiveXObject("WScript.shell");
var desk = new ActiveXObject("XAcc.CurrentDesktop");
smoke发信:
1.Submitted by 谁发给谁
2.我SYNC的PM:Dave, IE的PM:Hema
3.抄送:boby,wanshu,changlong
转换输入法:
rundll32 shell32.dll,Control_RunDLL input.dll
\\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process
用winpe重装后,需要运行init.bat:\\ctitve\public\Tools\ASI_CD
win7
safe OS:
\\winbuilds\release\winmain\7680.0.091124-1740\x86fre\media\client_en-us
bug
template:
\\ctitve\public\Wanshu\Bug Template.prt
copy to here:
\\ctitve\public\TeamTools\ProcMon_Ext
online-auto
\\ctitve\public\Tianjiao\cmd\Tools\OnlineInstall
testdoc
\\ctitve\Win7\FeatureSet\TestPass\CTP2
装新版本的ICE:
\\ctitve\Win7\ICE\RTM\win7_gdr_embedded_dev.100401-1730
1. Type in cmd "net use * \\evbuilds\release\Daily\Win7_GDR_Embedded_Dev\7600.16385.win7_gdr_embedded_dev.100301-1900\EMBTools"
2.then run "WindowsEmbeddedStudio.msi"
3.only select "tools"
for bug 7097, you should verify it on the latest build
装完后,需要注册,run \bin\NTTest\Embedded\skipSNAll.reg"
skipSNAll.reg is under \\evbuilds\Release\Daily\Win7_GDR_Embedded_Dev\7600.16385.win7_gdr_embedded_dev.100225-1900\x86fre\bin\NTTest\Embedded
Online
安装:
1、先在系统盘建立一个temp文件夹(注意,不一定是C盘了)
2、C:\Users\v-bex>net use * \\ctitve\win7\release\7600.16385.win7_gdr_embedded_dev_ctp2.091030-1800\x86fre\staged\DS\Packages\FeaturePack
Drive X: is now connected to \\ctitve\win7\release\7600.16385.win7_gdr_embedded_dev_ctp2.091030-1800\x86fre\staged\DS\Packages\FeaturePack.
3、在另一个命令行窗口直接进X:,然后CD到这个package下,然后复制到packagepath这边
4、X:\>Dism /Online /add-package /packagepath:"X:\x86~winemb-installers-msi~~~~6.1.7600.16385~1.0" /ScratchDir:"C:\Temp" (ScratchDir为解压到临时文件夹)
dism的packages卸载:
Dism /Online /remove-package /packagename:“x86~winemb-installers-msi~~~~6.1.7600.16385~1.0”
LogResult:
Please add the results to the following result collection by EOD during Test Pass:
EW~7600.16385.win7_gdr_embedded_dev.091024-0100~Amd64fre~TestPass
EW~7600.16385.win7_gdr_embedded_dev.091024-0100~x86fre~TestPass
Precondition for integration auto job & MessageBox 问题:
1.Precondition for integration auto job: To 判断一个pkg装上没 - library job 232504 (Dacheng created). Yan & Others, please update your AUTO jobs to add this precondition.
2.If 你遇到一些massage box弹不出来 (e.g below), 那多半是因为你安装了EEF的一个feature“WinEmb-MessageBoxDefaultReply“, 解决办法:
a.For auto job, add a precondition to disable massage box by running
“reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Error Message Instrument" /v EnableDefaultReply /d 0 /t REG_DWORD /f”
b.For manual job, add 1 step before, like:
If you donot install “WinEmb-MessageBoxDefaultReply”, please ignore this step; Otherwise, you should disable massage box by running
“reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Error Message Instrument" /v EnableDefaultReply /d 0 /t REG_DWORD /f”
tianjiao:
win7:
computer name: 29max64-pc
user: 29max64
password: 123
server2008:
computer name: WIN-WSL51C9NXSE
user name: administrator
password: TestMachine.
09.10.28
Unattend installation:
Our products also provide another installation method to enable user to install with an answer file. We called this method as unattend Setup.
Install ICE on your machine from \\evbuilds\release\daily\Win7_GDR_Embedded_Dev\7600.16385.win7_gdr_embedded_dev.091024-0100\EMBTools\Setup.exe
Create an answer file by following the guidance at \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to create answer file using ICE.docx and save to \\ctitve\public\<your name> (this is your private folder on our server) .
Boot with WinPE CD.
Go to the build \\ctitve\Win7\release\7600.16385.win7_gdr_embedded_dev.091024-0100 .
Run “setup.exe /unattend: [The path of the answer file]
Follow the guidance to complete the installation.
Also, you should understand another switch “/DS:” of unattend installation.
Please take the Feature Set “Networking – BITS” as your exercise.
Others:
? Create mail rules
? Waiting the permission SD, WTT
? Waiting for the badge.
09.10.27
1. Learn basic knowledge of Quebec:
The trainer should provide the following knowledge points:
1. What Embedded Windows is: install IE by double clicking
\\ctitve\Win7\release\7600.16385.win7_gdr_embedded_dev.091024-0100\x86fre\staged\setup.exe
2. Get familiar with Win7, WTT, PS.
3. What eCore is, and what Feature Sets is
4. What the difference is between minBoot and maxBoot
5. What our team is doing
6. How we usually work
7. Other general things
09.10.26
Setup the machines:
Install from \\ctitve\public\Tools\Common_Tools and \\MSRASIA\Products\Products
Please setup your machines with the following configuration:
Machine 1: (work machine) X86 Windows 7. Please follow the doc here to setup your work machine. \\ctitve\public\Team_Docs\Tranining\General\Getting started in Embedded Win7.doc . Install the following sofeware:
1. Product Studio & Bugger
2. Office & Messenger
3. Office Communicator
Machine 2: (test machine) x86
Machine 3: (test machine) amd64
Please follow the doc here to prepare your test machines: \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to Using ASI 3.0 to config test box.docx
Request access permission:
? Access to China server \\ctitve: Please contact to Dacheng
? Access to China server \\ctitshare: Please contact to Zhiquan
? Access to Source Depot: Please follow the doc \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to use SD.docx
? Access to WTT: Please follow the doc \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\Tips\ Getting_Access_For_WindowsEnterprise(WTTStudio2.6).docx
Others:
? Waiting the permission SD, WTT
? Waiting for the badge.
? Acquire for the 3rd box
Hi Na,
Welcome to WESWin7/Feature Set team! You will start your training from tomorrow, since Ivan still need to focusing on ICE work, the last day for comp training is still on the air. I will follow it with you day by day
After successfully completing the following training, you’ll be able to:
• Get a basic knowledge about Quebec
• Install a Quebec using both IBW and ICE
• Handle a smoke when there is one
• Ramp up a new feature
• Take charge of some FSs during Test Pass
• Improve yourself on Embedded Windows area
Please do not hesitate to ask question and why if any question during your training (It would be pretty muchJ).
Especially, you will join to Ben’s work group, and closely work with Yong, Lei, who will support your training
1. The 1st phase
Setup the machines:
Please setup your machines with the following configuration:
1. Install work circumstances
Machine 1: (work machine Install safe Win7 ;
In Win7, install:
1. Office: \\msrasia\Products\Products\Applications\User\Office_2007\OfficeEnterprise_2007
2. Communicator: \\BJS-USP-03\products\Applications\User\Office Communicator 2007 R2\OCGInstaller.exe
3. Bugger: \\ctitve\public\Tools\Common_Tools\bugger 3.2\BuggerSetup.exe
4. Product Studio: \\ctitve\public\Tools\Common_Tools\Product Studio\setup.exe
5. WTT 2.6: \\ctitve\public\Tools\WTT\Studio2.6_BGIT\Setup.exe
Apply permission for Data Store “EmbeddedWindows” in http://ramweb/
6. Winrar: \\ctitve\public\Shuaiming\tools\wrar36b5.exe
7. Teamtools: \\ctitve\public\TeamTools\TeamTools\installAll.bat
8. MSN: http://download.live.com/?sku=messenger
9. Adobe Reader: \\ctitve\public\Tools\Common_Tools\AdbeRdr80_en_US.exe
10. BeyondCompare: \\ctitve\public\Tools\Common_Tools\BeyondCompare\beycomp_060323.exe
Set
up your mail rule:
Import \\ctitve\public\Wanshu\!Important\CommonMailRules.rwz : Rule and Alerts Options Import Rules.
Optional:
11. Visio: \\msrasia\Products\Products\Applications\User\Office_2007\Visio_Professional_2007
12. Project: \\msrasia\Products\Products\Applications\User\Office_2007\Project_Professional_2007
(If no two test machine, contact Jinglei & Yong who are both in charge of machines in our team.)
Machine 2: (test machine) x86
Machine 3: (test machine) amd64
Please follow the doc here to prepare your test machines: \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to Using ASI 3.0 to config test box.docx
2. Request access permission:
Ask Sifei adding yourself to DL “FS Beijing Test Team”
Access to China server \\ctitve: Please contact to Dacheng
Access to China server \\ctitshare: Please contact to Zhiquan
Access to Source Depot: Please follow the doc \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to use SD.docx
Access to WTT: Please follow the doc \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\Tips\ Getting_Access_For_WindowsEnterprise(WTTStudio2.6).docx
Learn basic knowledge of Quebec:
1. \\ctitve\public\Team_Docs\Tranining\Basic\TestSense
2. \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\How to test GUI.docx
3. \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\BugFiling_Bobby\Bug Filing Best Practice.pptx
4. \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\Work Flow
5. \\ctitve\public\Team_Docs\Tranining\Quebec Feature Set Test Process\FS Training_GetStarting_091117\1-Project overview&FS resources
Thanks,
Wanshu