关于QTP FAX order
Window("Flight Reservation").WinButton("Insert Order").Click'获取Order No 放入datatable中
Window("Flight Reservation").WinEdit("Order No:").Output CheckPoint("Order No:")
Window("Flight Reservation").WinMenu("Menu").Select "File;Fax Order..."
orderNo=DataTable("order_NO_text_out")
'faxorder对话框的标题
message="Fax_Order_No. " &orderNo
DataTable("text")=message
failed:The retrieve DataTable.Value operation failed. The <order_NO_text_out> column does not exist.
Line (20): "orderNo=DataTable("order_NO_text_out")".
为什么会失败呢,指教下呢
高手呢,帮忙解决下啊
大侠们~ 因为order no会每次自动增长的,fax order no.无法识别出自动增长后的数组,因此无法识别。建议:在order no.的检查点以及fax order no.的对象属性中运用正则表达式来匹配。
页:
[1]