当然,在本例中,您可以简单使用find方法来定位按钮。
Of course, in this example, you can simply use the find method to locate the button.
您可以使用该对话框来观察如何使用find方法在对话框中定位按钮,以及为每个控件获得一个TestObject。
You can use this dialog to see how to use find to locate the buttons in the dialog and to get a TestObject for each control.
现在只需要对按钮控件进行定位或者修改尺寸(按照您的意愿),然后关闭设计模式以测试控件。
All that is left to do now is to position or size the button control as you want and then turn off design mode to test the control.
应用推荐