为了很多网民能够迅速对QTP的掌握,我挑选出一些QTP测试的常用教程来做讲解
第一节、QTP录制脚本及分析
选择工具栏处Record
在弹出的对话框中,选择windows applications
在此页面中选择record and run only on
选择applications specified below
在application details处选择+
在弹出的对话框中输入可运行的程序路径
好,确定开始录制,系统会根据你所设置的路径启动程序,接下来的操作就是做你的功能测试,
等到你做完所有的功能测试后,选择QTP工具栏的stop便会停止录制。
在工具栏选择run,进行回放
各位是不是觉得很简单呢,当然这里只是入门第一课,如果想要更深层次的学习,请继续看下去
相关介绍:
record and run test on any open windows-based application 录制所有在windows系统中出现的应用程序
record and run only on 录制和运行所针对的应用程序
applications opened by Quick test 紧录制和运行QTP调用的程序
applications opened via the Desktop(by the windows shell) 录制通过开始菜单启动或桌面创建快捷方式双击打开、或windows文件浏览器中双击可执行文件启动的应用程序
applications specfiled below 可指定添加到列表中的应用程序