QTP录制鼠标右键 中间键操作
上一篇 /
下一篇 2010-02-13 16:22:58
/ 个人分类:学习经历
- ClickSaveto save the file and close the dialog box.
The following example illustrates the beginning of an exported configuration file:
TheProperty Nameelement controls the recording of the mouse buttons. The values of the mouse buttons are defined as follows:
- Edit the file as follows:
- To record a left mouse click for theonmouseupevent, add the following line:
<Property Name="button" Value="1" Listen="2" Record="2"/>
- To record right and left mouse clicks for theonmousedownevent, add the following lines:
<Event Name="onmousedown" Listen="2" Record="1">
<Property Name="button" Value="2" Listen="2" Record="2"/>
<Property Name="button" Value="1" Listen="2" Record="2"/>
<Property Name="button" Value="4" Listen="2" Record="2"/>
</Event>
收藏
举报
TAG: