TA的每日心情 | 无聊 2024-4-1 11:04 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
If JavaEdit("attached text:=注册号:"),getroproperty("enabled")=1 Then
JavaToolbar("attached text:=密码:").Press "确定"
JavaDialog("tagname:=确认信息").JavaButton("attached text:=是").Click
Set objFile = objFSO.OpenTextFile(LogFile,ForAppending)
intoFile="中断"
objFile.WriteLine Now & " " & intoFile
objFile.Close
End If
错误内容
The test run cannot continue due to a syntax error.
缺少 'Then'
Line (1): "If JavaEdit("attached text:=注册号:"),getroproperty("enabled")=1 Then". |
|