比较实用的:快捷键

dim  ws

set ws=createobject("wscript.shell")

ws.exec "notepad"   ‘打开记事本

ws.sendkeys "{a 10}"   '在记事本中,输入十次字母a

ws.sendkeys "{down}"  '按下向下光标

ws.sendkeys "{enter}"   '按下回车键

ws.sendkeys " %"+"{h}"  '输入alt+h快捷键

换种方式(对象库中存在记事本)

windows("记事本").dialog("记事本").type micAltDwn+"{h}"+micAltUp  ' 在记事本中使用alt+h 快捷键 micAltDwn 按下alt健 micAltUp 放开alt建

QTP按键列表

micCtrlDwn  Presses the Ctrl key.
micCtrlUp  Releases the Ctrl key.
micLCtrlDwn  Presses the left Ctrl key.
micLCtrlUp  Releases the left Ctrl key.
micRCtrlDwn  Presses the right Ctrl key.
micRCtrlUp  Releases the right Ctrl key.
micAltDwn  Presses the Alt key.
micAltUp  Releases the Alt key.
micLAltDwn  Presses the left Alt key.
micLAltUp  Releases the left Alt key.
micRAltDwn  Presses the right Alt key.
micRAltUp  Releases the right Alt key.
micShiftDwn  Presses the Shift key.
micShiftUp  Releases the Shift key.
micLShiftDwn  Presses the left Shift key.
micLShiftUp  Releases the left Shift key.
micRShiftDwn  Presses the right Shift key.
micRShiftUp  Releases the right Shift key.
micIns  Presses the Insert key.
micDel  Presses the Delete key.
micHome  Presses the Home key.
micEnd  Presses the End key.
micPgUp  Presses the Page Up key.
micPgDwn  Presses the Page Down key.
micUp  Presses the Up arrow key.
micDwn  Presses the Down arrow key.
micLeft  Presses the Left arrow key.
micRight  Presses the Right arrow key.
micEsc  Presses the Esc key.
micBack  Presses the Backspace key.
micReturn  Presses the Return key.
micTab  Presses the Tab key.
micBreak  Presses the Break key.
micPause  Presses the Pause key.
micPrintScr  Presses the Print Screen key.
micWinLogoDwn  Presses the Windows Logo key.
micWinLogoUp  Releases the Windows Logo key.
micLWinLogoDwn  Presses the left Windows Logo key.
micLWinLogoUp  Releases the left Windows Logo key.
micRWinLogoDwn  Presses the right Windows Logo key.
micRWinLogoUp  Releases the right Windows Logo key.
micAppKey  Presses the Application key.
micF1  Presses the F1 key.
micF2  Presses the F2 key.
micF3  Presses the F3 key.
micF4  Presses the F4 key.
micF5  Presses the F5 key.
micF6  Presses the F6 key.
micF7  Presses the F7 key.
micF8  Presses the F8 key.
micF9  Presses the F9 key.
micF10  Presses the F10 key.
micF11  Presses the F11 key.
micF12  Presses the F12 key.
micNumLockOn  Turns on the Num Lock.
micCapsLockOn  Turns on the Caps Lock.
micScrollOn  Turns on the Scroll Lock.
micNumLockOff  Turns off the Num Lock.
micCapsLockOff  Turns off the Caps Lock.
micScrollOff  Turns off the Scroll Lock.

QTP学习笔记,六月十号相关推荐

  1. QTP学习笔记----2013.04.25

    一.封装对象模型 1.QTP封装对象:Test Objects(TO)测试对象和Runtime Objects(RO)运行时对象 TO和RO区别:TO是被添加到对象库中的对象,RO是被测试软件在运行时 ...

  2. QTP学习笔记之QTP基础知识总结整理

    1. QTP简述 QTP(HP QuickTest Professionnal)是一种自动化测试工具,QTP11.5之后的版本已经更名为UFT(Unified Functional Testing). ...

  3. FullCalendar 的学习笔记(一)

    FullCalendar 的学习笔记(一) 前一段时间,一个老项目需要新增一个小功能,日程表~ 于是网上找了下,发现FullCalendar这个控件还不错于是就拿来用了下,下面简单介绍下我的学习笔记. ...

  4. lunar.js 基本使用学习笔记

    文章目录 lunar 基本使用学习笔记 介绍 基本使用 部分文档 API 转载 阳历相关的方法 API Solar 阳历 阳历实例化 阳历对象可以使用多种字符串输出方式: 获取年.月.日 儒略日 获取 ...

  5. PyTorch 学习笔记(六):PyTorch hook 和关于 PyTorch backward 过程的理解 call

    您的位置 首页 PyTorch 学习笔记系列 PyTorch 学习笔记(六):PyTorch hook 和关于 PyTorch backward 过程的理解 发布: 2017年8月4日 7,195阅读 ...

  6. 容器云原生DevOps学习笔记——第三期:从零搭建CI/CD系统标准化交付流程

    暑期实习期间,所在的技术中台-效能研发团队规划设计并结合公司开源协同实现符合DevOps理念的研发工具平台,实现研发过程自动化.标准化: 实习期间对DevOps的理解一直懵懵懂懂,最近观看了阿里专家带 ...

  7. 容器云原生DevOps学习笔记——第二期:如何快速高质量的应用容器化迁移

    暑期实习期间,所在的技术中台-效能研发团队规划设计并结合公司开源协同实现符合DevOps理念的研发工具平台,实现研发过程自动化.标准化: 实习期间对DevOps的理解一直懵懵懂懂,最近观看了阿里专家带 ...

  8. 2020年Yann Lecun深度学习笔记(下)

    2020年Yann Lecun深度学习笔记(下)

  9. 2020年Yann Lecun深度学习笔记(上)

    2020年Yann Lecun深度学习笔记(上)

最新文章

  1. 设备树与驱动的关系_Linux I2C驱动竟然如此简单?手把手教你写i2c驱动
  2. 获取当前脚本所在的绝对路径
  3. 我该拿什么拯救你,我的CSDN
  4. PEP 20 -- The Zen of Python(Python之禅)
  5. navicat 添加外键1215错误
  6. UnrealEngine4 学习总结备忘
  7. 远程桌面(3389)复制(拖动)文件
  8. ionic——性能优化【界面缓存清理】
  9. 第八章、面向对象设计
  10. tp3.2 生成二维码
  11. PHP根据文件夹删除异常文件,删除重复文件
  12. Ubuntu18.04 如何解决编译objective-c出现undefined reference to objc_get_class
  13. 通俗易懂的虚短、虚断的使用条件?
  14. 企业网站建设教程:自己怎么建网站,做网站的步骤有哪些
  15. linux开机自动进入安全模式,Linux的安全模式
  16. datedif函数mysql_datedif函数怎么用
  17. mysql多张表join_mysql多表联查join优化之 straight_join
  18. 2018下半年Android面试历程
  19. MySql-STDEV、STDEVP、VAR、VARP
  20. 测试开发 | 这些常用测试平台,你们公司在用的是哪些呢?

热门文章

  1. 十大管理技巧帮你统筹时间
  2. python制作飞机大战代码_python实现飞机大战完整代码,可运行
  3. WinForm DataGrid的功能扩展及实现 (已写完)
  4. Java:离职证明有大用处,学习起来
  5. 【数值分析】学习笔记2——最小线性二乘
  6. 北京网通dns地址服务器大全 - 产品/方案 net.ChinaUnix.net
  7. 基于JAVA人才库构建研究计算机毕业设计源码+系统+mysql数据库+lw文档+部署
  8. 人生在世短短几十载,怎甘碌碌终生而无为?
  9. 磁盘分区及开机自动挂载
  10. 手把手教你玩 MySQL 删库不跑路,直接把 MySQL 的 binlog 玩溜