|
录制操作:
点击网页上的“新建”,弹出一窗口!
脚本:
<TD><FONT onmouseup="this.className='BADiv';" class=BUpiv onmouseover="this.className='BADiv';" onclick="this.className='BDDiv';New();" onmouseout="this.className='BUDiv';">新建</FONT> </TD>
录制脚本:
Window SetContext, "Caption=新建文件 - Microsoft Internet Explorer", ""
Browser SetFrame,"Type=HTMLFrame;HTMLId=main;\;Type=HTMLFrame;HTMLId=content",""
HTMLTable Click, "Type=HTMLTable;Index=2", "Row=1;Col=2"
Window SetContext, "Caption=选择文件类型", ""
Browser NewPage,"HTMLTitle=文件类型",""
PushButton Click, "Name=Cancel;VisualText=取消"
脚本“HTMLTable Click, "Type=HTMLTable;Index=2", "Row=1;Col=2"”就是点击“新建”操作的脚本!回放时,这一句脚本不能够回放成功! |
|