当前位置:首页 > 全部子站 > IT > 水平考试

2013年计算机软件水平考试软件测评师自动化测试(1)

来源:长理培训发布时间:2017-11-22 17:35:25

 在WinRunner中识别Delphi控件

  # 制作环境:

  # WinRunner 7.0 Build 7211

  # Delphi 6.0

  # 方法发现: 袁海松

  # 制 作: 杨欣源

  # 使用方法:

  # Step 1 拷贝本文档中所有内容

  # Step 2 打开WinRunnerlibvbinit中的script文件

  # Step 3 将内容粘贴在段落"

  # VisualBasic 4.0 Standart controls"之前

  # Step 4 重新运行WinRunner

  # Step 5 启动时装载VB Addin

  # TBitBtn

  set_class_map("tbitbtn", "push_button");

  set_record_attr("tbitbtn", "class label x y", "MSW_id", "location");

  # TButton

  set_class_map("tbutton", "push_button");

  set_record_attr("tbutton", "class label x y", "MSW_id", "location");

  # TCheckBox

  set_class_map("tcheckbox", "check_button");

  set_record_attr("tcheckbox", "class label x y", "MSW_id", "location");

  # TComboBox

  set_class_map("TComboBox", "combobox");

  db2inst1 set_record_attr("TComboBox", "class attached_text x y", "MSW_id", "location");

  # TDateTimePicker

  set_class_map("tdatetimepicker", "sysdatetimepick32");

  set_record_attr("tdatetimepicker", "class attached_text x y", "MSW_id", "location");

  # TEdit

  set_class_map("tedit", "edit");

  set_record_attr("tedit", "class attached_text x y", "MSW_id", "location");

  # TGroupButton

  set_class_map("tgroupbutton", "radio_button");

  set_record_attr("tgroupbutton", "class label x y", "MSW_id", "location");

  # TListBox

  set_class_map("TListBox", "listbox");

  set_record_attr("TListBox", "class attached_text x y", "MSW_id", "location");

  # TListView

  set_class_map("TListView", "syslistview32");

  set_record_attr("TListView", "class attached_text x y abs_x", "MSW_id", "location");

  # TMaskEdit

  set_class_map("TMaskEdit", "edit");

  set_record_attr("TMaskEdit", "class attached_text x y", "MSW_id", "location");

  # TMemo

  set_class_map("tmemo", "edit");

  set_record_attr("tmemo", "class attached_text x y", "MSW_id", "location");

  # TMonthCalendar

  set_class_map("TMonthCalendar", "sysmonthcal32");

  set_record_attr("TMonthCalendar", "class attached_text x y", "MSW_id", "location");

  # TRadioButton

  set_class_map("TRadioButton", "radio_button");

  set_record_attr("TRadioButton", "class label x y", "MSW_id", "location");

  # TRickEdit

  set_class_map("TRichEdit", "edit");

  set_record_attr("TRichEdit", "class attached_text x y", "MSW_id", "location");

  # TPageControl

  set_class_map("tpagecontrol", "systabcontrol32");

  set_record_attr("tpagecontrol", "class attached_text x y", "MSW_id", "location");

  # TStaticText

  set_class_map("TStaticText", "object");

  set_record_attr("TStaticText", "class regexp_MSW_class label", "attached_text MSW_id MSW_class", "location");

  # TTreeView

  set_class_map("ttreeview", "systreeview32");

  set_record_attr("ttreeview", "class attached_text", "MSW_id", "location");

责编:罗莉

发表评论(共0条评论)
请自觉遵守互联网相关政策法规,评论内容只代表网友观点,发表审核后显示!

国家电网校园招聘考试直播课程通关班

  • 讲师:刘萍萍 / 谢楠
  • 课时:160h
  • 价格 4580

特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关

配套通关班送国网在线题库一套

课程专业名称
讲师
课时
查看课程

国家电网招聘考试录播视频课程

  • 讲师:崔莹莹 / 刘萍萍
  • 课时:180h
  • 价格 3580

特色解密新课程高频考点,免费学习,助力一次通关

配套全套国网视频课程免费学习

课程专业名称
讲师
课时
查看课程
在线题库
面授课程更多>>
图书商城更多>>
在线报名
  • 报考专业:
    *(必填)
  • 姓名:
    *(必填)
  • 手机号码:
    *(必填)
返回顶部