|
我用Delphi写了个程序功能是 点击 button1 实现
(edit1.text + edit2.text = edit3.text)
我在用robot录制脚本的时候 value 老是 =100000, 这是为什么? 回放出错
请大虾们帮我看看,谢谢。
Sub Main
Dim Result As Integer
'Initially Recorded: 2006-4-20 10:40:10
'Script Name: d_jfys
StartApplication "F:\新建文件夹\TestProject.exe"
Window SetContext, "Caption=QuizForm", ""
InputKeys "1{TAB}1"
PushButton Click, "Text=Button1"
Result = EditBoxVP (CompareNumeric, "ObjectIndex=3", "VP=Alphanumeric;Value=100000")
Window CloseWin, "", ""
End Sub
[ 本帖最后由 kingylq 于 2006-4-20 11:39 编辑 ] |
|