|
情况:我用robot录制用JAVA编写的程序。回放的时候没有回放成功,只回放到显示选择下拉菜单那一步,但是没有选择,更谈不上点击保存的步骤了。然后robot就显示回放失败的界面了。脚本具体如下
Sub Main
Dim Result As Integer
'Initially Recorded: 2007-12-3 16:08:23
'Script Name: test1
Window SetContext, "Caption=System", ""
Browser SetApplet,"JavaCaption=System",""
SetThinkAvg 32
EditBox Click, "Type=EditBox;Index=1", "Coords=607,394"
SetThinkAvg 1266
ComboListBox MakeSelection, "Type=ComboListBox", "Text=8 × E1"
SetThinkAvg 1641
PushButton Click, "Type=PushButton;Name=Save"
Window SetContext, "Caption=Message", ""
Browser SetApplet,"JavaCaption=Message",""
SetThinkAvg 1344
PushButton Click, "Type=PushButton;Name=OK"
End Sub
请问是什么原因呢?java enable 还有JDK都已经安装及java环境变量也设置好了。
参见附件的 图片 |
|