获取数据库连接串 在本地新建一个.txt文件,修改扩展名名*.udl:双击*.udl文件,打开数据库链接属性,定位到"提供程序"选显卡,选中如sqlserver的连接 Microsoft for OLE DB Provider for sql server,点击下一步:输入数据源,数据库用户名以及密码,选择数据库,点击测试连接,测试成功后,点击"确定".如图所示 然后用UE或记事本打开*.udl文件,sqlserver的连接串已经生成了,如下: Provider…
使用vbs脚本启动QTP并运行测试,startQTP.vbs '************************************************************************************************************************ 'Description: ' 'This example opens a test, configures run options and settings, 'runs the test,…
一.什么是同步点 同步点是指在一个测试过程中,指示QuickTest等待应用程序中某个特定过程运行完成以后再运行下一步操作.Waits until the specified object property achieves the specified value or exceeds the specified timeout before continuing to the next step. 测试过程中,如果需要指定QuickTest暂停运行一个测试或组件,直到特定的对象属性存在后才开始…