积极答复者
怎么在指定的时间运行coded ui test

问题
答案
-
你好,
你可以试着创建一个.Bat 文件,然后用命令行去执行测试。
参考:
http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/42a5d8f2-fe58-4133-b09d-28fa0553ab1a
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 李孟 2013年5月3日 7:38
全部回复
-
你好。
你的问题是关于coded ui test运行的,我将它移到http://social.microsoft.com/Forums/zh-CN/vstudiozhchs/threads。这个论坛的工程师可以更好的回答你的问题。
Lily Wu
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
你好,
你可以试着创建一个.Bat 文件,然后用命令行去执行测试。
参考:
http://social.msdn.microsoft.com/Forums/en-US/vsautotest/thread/42a5d8f2-fe58-4133-b09d-28fa0553ab1a
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.- 已标记为答案 李孟 2013年5月3日 7:38
-
如果你直接用VS IDE运行的时候是不是不关闭?你可以安装 Process Explorer, 你就会发现,MSTest.exe process是自动关闭的,所以作为它的子类进程,在test结束的时候也会被关闭掉。所以在test运行之前,你可以在你的coded UI test中添加代码去调用你的程序窗体的进程。
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help. -
可以试着用 ”CloseOnPlaybackCleanup =false“
Jack Zhai [MSFT]
MSDN Community Support | Feedback to us
Develop and promote your apps in Windows Store
Please remember to mark the replies as answers if they help and unmark them if they provide no help.