'3.判断测试用例有几条
If Dialog("Login").Dialog("Flight Reservations").Exist(3) Then
qiwang=datatable("qiwangjieguo","Action1")
shiji=Dialog("Login").Dialog("Flight Reservations").Static("Please enter agent name").GetROProperty("text")'获取对话框提示信息
If qiwang=shiji Then
datable("ceshijieguo","Action1")="pass"
else
datable("ceshijieguo","Action1")="faill"
datable("shijijieguo","Action1")=shiji
End If
dialog ("Login").Dialog("Flight Reservations").winButton("确定").Click