忙碌,但不盲目

使用WTT的Forge工具创建workflow,生成测试结果发至指定邮箱

上一篇 / 下一篇  2009-12-15 17:48:29

Here, we introduce some using method on how to use forge tool to set up workflow and generate testing result to mail box.

Before using, the first thing you should do is to do some changes:

1. Open LauchForgeTest.xml

Change FeaturePath to the path which you need to save your wokflow.

Change the attribute PoolName in Node <Schedule> to your own machine pool in WLX DB, change the PoolPath to your machine pool’s path.

Change stage attribute Name or Type according to your demand.

Also, you can add schedule or delete schedule.

3. Create a shared folder in your machine and give permission to everybody for read/write (in order to let WTT/Forge account to put build binaries even though we don’t have any build binaries), open Forge.exe.config file and change the key value for “JJPackShare” to you share folder location

4. You will find the node <value> under <applicationSettings>, this is where you should put the web service address to let Forge to call it when you have you new own environment.

5. You can create new xlm file to replace LauchForgeTest.xml to tell Forge what jobs should be scheduled. (If you want to do this, you can find me for details, but you don’t really have to.). after that, open and edit RunForgeWorkFlow.cmd, change attributes /WorkflowXml and /Mailto according to your requirement.

6. Run RunForgeWorkflow.cmd to launch Forge or you can call it from the command line by ‘.\forge.exe /workflowRunOnFail /NoJJPack /Silent:%WorkflowIndex% /WorkflowXml:LauchForgeTest.xml /MailXsl:SummaryMail.xsl’

You don’t have to change any parameter in this command line except /WorkflowXml, change the value to your own xml file name.

鉴于信息保密性,不传截图上来了,英语有点烂,以后再改

 

 我的百度博客:http://hi.baidu.com/%C0%BC%C3%A8/blog/item/7ebe60824740a8a80df4d2e9.html


TAG:

 

评分:0

我来说两句

Open Toolbar