mmc测试和CodedUI [英] mmc testing and CodedUI
问题描述
我需要自动执行mmc管理单元...例如我的计算机 - >管理
I need to automate mmc snap-in ... for example My computer->Manage
您是否有任何推荐如何自动化mmc树?
Do you have any recomendation how to automate mmc tree ?
我的观点是
My scenarion is
1)clik to 项目(任何嵌套级别) 到mmc管理单元
1) clik to the items (any nesting level) into mmc snap-in
2) 在右侧窗格中选择一个对象...
2) select an object in the right pane ...
是否可以为mmc Snap-in开发一个通用功能?
is it possible to develop one universal function for mmc Snap-in?
推荐答案
您应该能够自动化您的方案(如上所述) CodedUI测试。我认为控件具有足够的可访问性(MSAA)支持。左侧窗格中的项目将是树项目,右侧窗格将是一个列表框,您可以在其中记录选择。
You should be able to automate your scenario (mentioned above) in CodedUI Test. The controls I believe have good enough accessiblity (MSAA) support. The items on left pane would be tree items and the right pane will be a list box where you can record selection.
我没有得到您的意思我的"一个通用功能"。如果这是你想要的,你可以用一种测试方法记录你的场景。
I did not get what you meant my "one universal function". You can record your scenario in one test method, if this is what you want.
这篇关于mmc测试和CodedUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!