在多次迭代期间识别控件的问题 [英] Issue with identificatio of controls during multiple iterations
问题描述
我们是微软的供应商。我有一个Test Automation框架,它是Coded UI的包装器。我已经自动化了很多测试用例。
We work as a vendor to Microsoft. I have a Test Automation framework which is a wrapper on Coded UI. I have automated quite a few testcases using this.
问题:
当我单独运行测试用例时,它们会通过,但是当我批量运行它们时, 最初测试用例通过,但随后他们开始失败。是否是测试引擎无法在后续迭代中识别uicontrol的情况。我知道
我们在编码用户界面中使用 SearchConfiguration.AlwaysSearch 来解决类似问题。
When I individually run the testcases, they pass but when I run them in bulk, initially the testcases pass but then they start failing. Is it a case that of the Test Engine not being able to recognize the uicontrols in the later iterations. I know we use SearchConfiguration.AlwaysSearch in Coded UI for similar issues.
如果有人可以帮我理解背后的逻辑,那就太棒了这样我就可以尝试使用相同的逻辑来解决我的问题。
It would be great be someone can help me understand the logic behind it so that I can try to use the same logic to fix my issue also.
谢谢,
Abhijit
Abhijit
推荐答案
请参阅此主题以了解放置SearchConfiguration.AlwaysSearch
Refer this thread to know the usages/reasons to put SearchConfiguration.AlwaysSearch
谢谢。
这篇关于在多次迭代期间识别控件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!