|
4#
楼主 |
发表于 2010-9-27 14:55:56
|
只看该作者
回复 2# TIB
Sub Test2()
Call Aliases.CPBCGD.frmBkMain.Click(43, 12)
Call Aliases.CPBCGD.frmBkMain.MainMenu.Click("系统(F)|用户管理")
'Clicks at point (57, 15) of the 'UserManageForm' object.
Call Aliases.CPBCGD.UserManageForm.Click(57, 15)
Call Aliases.CPBCGD.UserManageForm.Panel1.UserTreeView.PopupMenu.Click("新建用户(Z)")
'Closes the 'UserManageForm' window.
Call Aliases.CPBCGD.UserManageForm.Close
End Sub
已经将UserManageForm对象属性用正则表达式匹配过了,成功过一次,但是之后我重新运行就提示如下,请高手帮我看一下是什么原因啊,谢谢!
log中显示
Type Message Time Priority Has Picture Link
The '用户管理' window is invisible and thus cannot be activated. 14:46:08 Normal |
|