在WinRunner中识别Delphi控件[1]
# 制作环境:
# Delphi 6.0
# 制 作: 杨欣源
# Step 1 拷贝本文档中所有内容
# Step 3 将内容粘贴在段落"
# Step 4 重新运行WinRunner
# TBitBtn
set_record_attr("tbitbtn", "class label x y", "MSW_id", "location");
# TButton
set_record_attr("tbutton", "class label x y", "MSW_id", "location");
# TCheckBox
set_record_attr("tcheckbox", "class label x y", "MSW_id", "location");
# TComboBox
db2inst1 set_record_attr("TComboBox", "class attached_text x y", "MSW_id", "location");
# TDateTimePicker
set_record_attr("tdatetimepicker", "class attached_text x y", "MSW_id", "location");
# TEdit
set_record_attr("tedit", "class attached_text x y", "MSW_id", "location");
# TGroupButton
set_record_attr("tgroupbutton", "class label x y", "MSW_id", "location");
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>