1:UFT 录制成功以后,回放完,在 result Viewer中No data is associated with this element是什么原因
答:那里是显示回放操作时截图,没有数据只因为你没有在option里允许所有情况下都截图。
在Tools—> Options—>GUI Testing—>Screen Capture里的Save still image captures to results中选择Always。
2:录制注意事项
操作前先tools–options–restorelayout
** automation–record and run setting—windows application 点“+”加号添加路径**
3:录制完后增加点击 ”“help“步骤
选中agent name
insert step–step generator
4:将按钮属性添加对象库
resources–object repository
然后object --add objects to local
5:action之间的关联
首先在resources --object repository --file—export loca object
然后在 resource—associate repositories
6:处理不可预计的错误事件
resources–recovery scenario manager
7:虚拟对象
qtp虚拟对象技术,就是对那些通常不能被识别的对象进行录制和运行