你好,
我有15个测试用例执行列表,在每个测试用例有这两个步骤1。打开网址2。最大化窗口(我使用TBOX窗口操作这个操作)预条件步骤后喜欢和Taskkill关闭现有的浏览器。最大化窗口在我所有的测试用例步骤是失败原因为窗口不存在!。这次失败发生只有当我们运行测试用例在敏捷(代理机器)。当我们运行它作为独立在Scratch中书或执行列表这并没有发生。我应该包含任何参数来避免这种失败敏捷。我已经同步时间60秒
(最初要求和解决支持中心)
最佳答案社区管理员
For all the DEX machines I make sure to have any of the browser options set to ensure no dialogs pop up for location, push notifications, etc as part of the standard setup. This has taken care of a lot of the intermittent failures and improved success rate immensely.\u00a0<\/p>
As mentioned in the previous comments using Taskkill is not a great option as Chrome will always pop up the message and only option is to manually click it (or automate it). In those scenarios where you need to force close the browser I use a PowerShell script that closes it instead and avoids the Chrome unexpectedly closed like Taskkill does. It could be customized to close other apps as well by changing the Get Process command.\u00a0
Module used = TBox Start Program<\/p>
Parameters<\/p>
<\/p>","className":"post__content__best_answer"}">