buttonaddclick
result=SqaGetProperty("弹出对话框","text",str)
if str为“姓名不能为空”
click ok
else 失败
end if
editboxname input "a"
buttonaddclick
result=SqaGetProperty("弹出对话框","text",str)
if str为“姓名不能重复”
click ok
goto label1
else if str为“添加成功”
click ok
else 失败
end if
label1: editboxname input "b"