`

QTP中Mercury.DeviceReplay所用到的VK码

    博客分类:
  • QTP
阅读更多

Figure 1 - United States Dvorak

Const

#

Description

VK_ESCAPE

1

Primarily used to cancel a command (instead of pressing Enter) or to escape from a process which may be in an odd state.

VK_1

2

        Numeric Key 1. combined with VK_SHIFT will display
        an exclamation mark depend on your keyboard layout 

VK_2

3

        Numeric Key 1. combined with VK_SHIFT will display
        an at sign depend on your keyboard layout

VK_3

4

        Numeric Key 3. combined with VK_SHIFT will display
        a number sign depend on your keyboard layout

VK_4

5

        Numeric Key 4. combined with VK_SHIFT will display
        a dollar sign depend on your keyboard layout

VK_5

6

        Numeric Key 5. combined with VK_SHIFT will display
        a percent sign depend on your keyboard layout

VK_6

7

        Numeric Key 6. combined with VK_SHIFT will display
        a caret sign depend on your keyboard layout

VK_7

8

        Numeric Key 7. combined with VK_SHIFT will display
        an ampersand sign depend on your keyboard layout

 

<td style="padding-right: 5.4pt; border-top: #ffffff; padding-left: 5.4pt; padding-botto

VK_8

9

        Numeric Key 8. combined with VK_SHIFT will display
        an asterik sign depend on your keyboard layout

VK_9

10

        Numeric Key 9. combined with VK_SHIFT will display
        an open round bracket sign depend on your keyboard layout

VK_0

11

        Numeric Key 0. combined with VK_SHIFT will display
        a close round bracket sign depend on your keyboard layout

VK_MINUS

12

        Minus Key ( - )  and underscore ( _ ) with VK_SHIFT.   
        depends on your keyboard layout.

VK_EQUAL

13

         Equal Key ( = ) Or Plus key ( + ) with VK_SHIFT.   
         Depends on your keyboard layout.

VK_BACKSPACE

14

             Used to delete one character at a time to the left
             of the cursor. You can also click and drag to highlight text and then press the Backspace key to delete text.

VK_TAB

15

           Used to set tab positions in a document. Setting
           tab positions allows you to move the cursor to defined positions, for instance when typing figures in columns. Used in conjunction with the Shift key you can jump to the previous tab position.

VK_Q

16

       Capital Q combined with Shift or CAPS-LOCK pressed

 

VK_W

17

       Capital W combined with Shift or CAPS-LOCK pressed

 

VK_E

18

       Capital E combined with Shift or CAPS-LOCK pressed

 

VK_R

19

       Capital R combined with Shift or CAPS-LOCK pressed

 

VK_TAB

20

Used to set tab positions in a document. Setting tab positions allows you to move the cursor to defined positions, for instance when typing figures in columns. Used in conjunction with the Shift key you can jump to the previous tab position.

VK_Y

21

       Capital Y combined with Shift or CAPS-LOCK pressed

 

VK_U

22

       Capital U combined with Shift or CAPS-LOCK pressed

 

VK_I

23

        Capital I combined with Shift or CAPS-LOCK pressed

 

VK_O

24

       Capital O combined with Shift or CAPS-LOCK pressed


VK_P

25

       Capital P combined with Shift or CAPS-LOCK pressed

 

VK_OBRACKET

26

        Open Square bracket key ( [ ) or Open qurly bracket  
        key ( { ) with VK_SHIFT. depend on your keyboard layout

VK_CBRACKET

27

         Close Square bracket ( ] ) or Close qurly bracket key
         ( } ) with VK_SHIFT. depend on your keyboard layout

VK_RETURN

28

              This key is used to send the cursor to the
              beginning of the next line (for instance when typing text in a word processing package). It is also used to finish a command and tell the computer to execute the command just typed. There are usually two of these keys.

VK_CONTROL

29

           Cannot be used on its own. Used in conjunction with
           other keys to carry out a specific function eg Ctrl/Alt/Del performs a system restart. There are usually two of these keys.

VK_A

30

        Capital A combined with Shift or CAPS-LOCK pressed

 

VK_S

31

        Capital S combined with Shift or CAPS-LOCK pressed

 

VK_D

32

        Capital D combined with Shift or CAPS-LOCK pressed

 

VK_F

33

        Capital F combined with Shift or CAPS-LOCK pressed


VK_G

34

        Capital G combined with Shift or CAPS-LOCK pressed


VK_H

35

        Capital H combined with Shift or CAPS-LOCK pressed


VK_J

36

        Capital H combined with Shift or CAPS-LOCK pressed


VK_K

37

        Capital K combined with Shift or CAPS-LOCK pressed
z

VK_L

38

         Capital L combined with Shift or CAPS-LOCK pressed

 

VK_SEMICOLON

39

       Semicolon sign ( ; ) or Colon sign ( : ) with
       VK_SHIFT. depend on your keyboard layout

VK_SINGLE_QUOTE

40

        Single Quote sign ( ' ) or double quote sign ( " ) with
        VK_SHIFT.
depend on your keyboard layout

VK_APOSTROPHE

41

        apostrophe sign ( ` ) or tiled sign ( ~ ) with 
        VK_SHIFT.
depend on your keyboard

VK_SHIFT

42

               Changes lower case letters to upper case, and
               numbers to symbols. There are usually two of
  these keys.

VB_PIPE

43

        Backslash sign ( \ ) or pipe sign ( | ) with VK_SHIFT.  
        depend on your keyboard layout.

VK_Z

44

        Capital Z combined with Shift or CAPS-LOCK pressed


VK_X

45

        Capital X combined with Shift or CAPS-LOCK pressed


VK_C

46

        Capital C combined with Shift or CAPS-LOCK pressed


VK_V

47

        Capital V combined with Shift or CAPS-LOCK pressed


VK_B

48

        Capital B combined with Shift or CAPS-LOCK pressed
 

VK_N

49

        Capital B combined with Shift or CAPS-LOCK pressed


分享到:
评论

相关推荐

    QTP 10.0 补丁-QTP_00599.exe

    QTP 10.0 补丁-QTP_00599.exe

    QTP_00591.EXE

    解决QTP 10.0用户在注册高版本(9.x以上)PDM.DLL时,Debug View 在监视对象时,显示空白的BUG。

    QTP10的重要补丁----QTP_00604.exe

    这个补丁包含了对QTP10代码的修改,旨在解决引发错误的具体问题,可能是修复了某个函数调用错误,或者是更新了与系统环境交互的部分,确保QTP10在启动和运行过程中不会出现异常崩溃。安装这个补丁后,用户应该能够...

    QTP 10.0重要补丁 QTP_00626.exe

    HP目前已经需要特别的服务码才能下载各种补丁了,所以没有了从官方获取补丁的途径。 本人找QTP_00626的补丁找了好久,只有一个网站有下载,还下载了好几天才下载下来。这里上传上来给大家多提供一个下载源。 具体做...

    QTP中文教程.pdf

    - **名称演变**:Mercury QuickTest,后被惠普公司收购,并更名为HP QuickTest Professional (QTP)。 - **最新版本**:截至2012年12月20日发布版本为QTP 11.5。 - **产品定位**:企业级自动化测试工具,适用于功能...

    QTP_00604.EXE 解决QTP10 R6025 Runtime Error

    我装的是QTP10,之前还用的好好的,今天不知道怎么回事,我把QTP关了后再启动就看见 QTP10 R6025 Runtime Error,我上网查了相关文章也没能解决,看论坛上也有人遇到过,但是没有答案,各位XDJM,帮忙看看哈。...

    非常全的QTP学习资料

    Main_Users_Guide.pdf中文 QTP9.0编程常用方法及实例心得.doc QTP Excel函数.docX ...读取EXCEL用例中的参数到QTP中去.txt 相对路径和绝对路径的获取和访问.txt 一位高人的QTP学习笔记.doc 在QTP中如何使用Class.txt

    QTP_Tutorial.chm

    Tutorial ENGLISH

    qtp启动说明.doc

    Mercury Interactive是HP公司早期的名称,因此在旧版本的QTP中,你可能会看到这个公司名。 2. 进入bin文件夹:在上述路径下,有一个名为"bin"的文件夹,这是存放QTP可执行文件的地方。在这个文件夹内,你需要找到名...

    QTP[9.x-10.x]破解文件

    QTP[9.x-10.x]破解文件

    QTP10 setup.exe

    QTP10 setup.exe

    QTP使用手册.rar

    QTP的Error Handling机制允许在脚本中插入错误处理代码,以便在测试过程中遇到问题时能够进行适当的处理。理解并合理使用Try...Catch结构,可以提高测试的稳定性和可靠性。 六、对象智能识别与增强 QTP的Smart ...

    QTP11 UsersGuide.chm 中文版

    QTP11 UsersGuide.chm 中文版帮助文档

    QTP server序列号.txt

    QTP(Quick Test Professional)是一款由Mercury Interactive开发的功能测试工具,后被惠普收购并更名为UFT(Unified Functional Testing)。它主要用于自动化功能测试、回归测试等场景,通过模拟用户的操作来验证...

    QTP九阳神功....

    笔记在手,QTP迅速掌握,从简单操作到对象操作由浅及深...

    【QTP】QTP基础代码.pdf

    在QTP中,数据表是非常重要的组成部分,用于存储测试数据。 ##### 1. 获取数据表的值 获取数据表中某个单元格的值。 ```vbscript Dim value value = dataTable.value("num", dtLocalSheet) ``` 调用示例: ```...

    QTP_00635.rar

    "非常重要的补丁"这一描述表明,这个补丁可能解决了QTP 10中的一些关键问题,这些问题可能包括但不限于稳定性问题、性能瓶颈、兼容性问题或者是一些导致测试无法正常进行的bug。 QTP的补丁通常包含以下方面的更新:...

    1 自动化测试的实践-应用QTP测试框架.pptx

    1 自动化测试的实践-应用QTP测试框架.pptx

    计算机软件及应用QTP基础教程.pptx

    计算机软件及应用QTP基础教程.pptx

Global site tag (gtag.js) - Google Analytics