您的位置:首页 > 职场人生

使用自定义的TS测试软件安装

2008-06-22 20:38 585 查看
原文:http://blogs.technet.com/benhunter/archive/2007/05/14/update-how-to-manually-use-a-bdd-task-sequence-to-test-application-installation.aspx

测试BDD/MDT的时候,一个重要的任务就是测试软件是否正常安装,使用自定义的TS,可以让我们在客户端上直接进行测试,从而跳过系统安装,大大加快测试速度。

UPDATE - How to manually use a BDD Task Sequence to test application installation

In a previous post I detailed the process for using a cut down version of the task sequence to test application installation, unfortunately this process has not worked for a number of people so I thought I should add the following tip.
在之前的帖子里我详细叙述了如何使用一个经过删减的TS来测试程序安装,不幸的是经过测试,这个TS在大多数测试中都无法正常工作,因此我写了现在这个帖子。

If you leave any folders behind then make sure that you remove any conditions. A example of this is the folder for the state restore phase, when using the custom task sequence BDD will see that it is not in the state restore phase and skip the folder. This means that non of the tasks in that folder will be run. The screen shot below shows the condition that should be removed.
如果你曾经留下过任何folder,现在确认你已经把他们的运行条件都删除了。以State Restore为例,当使用自定义的TS时,BDD会认为这个并不是State Restore而跳过了这个folder。这意味着这个Folder中的任何任务都不会执行。以下这个截图显示了你应当删除的条件(图中黄色部分)



Another good tip is to leave the "Gather local only" task in your task sequence as this will then ensure that the BDD environment variables are collected. These are then able to be used by other scripts.
另一个好主意就是留下“Gather Local only”任务,这个任务会收集BDD环境变量,用于其他的
Published Monday, May 14, 2007 12:02 PM by BenHunter
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  职场 BDD 休闲