b=datatable.GetSheet (2).GetRowCount
For i=1 to b
Window("计算器").WinButton("1").Click DataTable("add1", dtGlobalSheet)
Window("计算器").WinButton("+").Click
Window("计算器").WinButton("2").Click DataTable("add2", dtGlobalSheet)
Window("计算器").WinButton("=").Click
Window("计算器").WinButton("=").Check CheckPoint("=")
Window("计算器").WinButton("C").Click
datatable.SetNextRow
Next
阅读(1014) | 评论(0) | 转发(0) |