在CoddedUI中重新启动方案 [英] reboot scenarios in CoddedUI
问题描述
亲爱的全部,
我想知道如何 我们可以处理CoddedUI中的重启场景,即在执行我的testmethod中的一些步骤后,系统将重启,重新启动系统后需要从停止的地方开始测试方法
执行。这是我的一个例子。
在我的例子中,我有一个testmethod,它包含不同的exectuions步骤。其中一个是在这些testmethod正在执行的地方安装一个软件。问题是安装软件系统时会自动重新启动
,而不会完成测试方法中的剩余步骤。因此Mstest.exe假设测试方法执行没有完成,因为突然重启,所以它失败了测试用例。
我如何处理上面的场景CoddedUI
任何想法
谢谢,
Srikanth
我有一个测试方法,在该测试方法中,我有一个安装软件的测试步骤。一旦我安装软件,自动系统
CodedUITest框架不支持此重新启动方案,您可以在重新启动后继续测试。在开始测试运行之前,必须安装所有软件。您使用我们的Build,Deploy&测试工作流程来完成此任务更多信息
Dear All,
I want to know how can we handle reboot scenario's in CoddedUI, i.e. after executing some of the steps in my testmethod, system will reboot, After rebooting system need to start test method execution from where it stops. This is the scenario for this I have one example.
In my example, I have a testmethod, which contains different exectuions steps. One among them is to install a software on where these testmethod is executing. Problem is when installing a software system will automatically reboot without completion of exectuing remaining steps in test method. Hence Mstest.exe assuming that test method execution is not completed because sudden reboot, so it fails the testcase.
How can I handle above scenario CoddedUI
Any Ideas
Thanks,
Srikanth
I have a test method, in that test method, i have a test step to install a software. Once I am installing software, automatically system
CodedUITest framework does not support this rebooting scenario where you can continue the test after rebooting. All softwares has to be installed before starting the Test run. You use our Build, Deploy & Test workflow to accomplish this. More info below
这篇关于在CoddedUI中重新启动方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!