Qtp 简明教程
QTP - Environment SetUp
QTP 是一个商业工具,您可以直接从惠普网站下载试用版。只有当前版本 Unified Functional Testing(11.5x)可以下载。以下是下载试用版的网址。
QTP is a commercial tool and the trial version can be downloaded from HP site directly. Only the current version, which is Unified functional testing (11.5x) is available for download. Following is the URL from where the trial version can be downloaded.
下载 URL − QTP
The Download URL − QTP
Installation Procedure
Step 1 − 单击“试用版和演示版”链接,然后选择“HP Unified Functional Testing 11.50 CC English SW E-Media Evaluation”,如下所示:
Step 1 − Click the "Trials and Demos" link and select "HP Unified Functional Testing 11.50 CC English SW E-Media Evaluation" as shown below −
Step 2 − 选择“HP Unified Functional Testing 11.50”后,将打开下载向导。填写个人详细信息,然后单击“下一步”。
Step 2 − After Selecting "HP Unified Functional Testing 11.50", the download wizard opens. Fill in the Personal details and click Next.
Step 3 -阅读“使用条款”,然后点击“下一步”。
Step 3 − Read the ‘Terms of Use’ and click "NEXT".
Step 4 -下载窗口打开。现在,点击“下载”按钮。
Step 4 − The Download window opens. Now, click the "Download" button.
Step 5 -下载的文件格式为.RAR。现在,您需要解压该存档文件,文件夹内容将如下图所示,执行 Setup.exe。
Step 5 − The downloaded file will be of the format .RAR. Now you need to unzip the archive and the folder contents would be as shown below and execute the Setup.exe.
Step 6 -执行安装文件后,为了安装,从列表中选取“统一功能测试设置”,如下图所示。
Step 6 − Upon Executing the Setup File, in order to install, select "Unified Functional Testing Set up" from the list as shown below −
Step 7 -然后点击“下一步”以继续。
Step 7 − Then click Next to continue.
Step 8 -在定制设置窗口中,选取自动化所需的插件,即您应该根据测试应用程序的技术选取插件。例如,如果您的应用程序基于.NET,那么您应该确保选取.NET。
Step 8 − In the Custom Set up Window, select the plugins that are required for your automation i.e. you should select the plugins based on the technology of your application under test. For Example, if your application is based on .NET then you should ensure that you select .NET.
Step 9 -选取安装所需的插件后,点击“下一步”。安装完成后,您会看到一个“完成”按钮窗口。
Step 9 − After selecting the required plugins for installation, click Next. After the completion of installation, you will end up with a Finish button Window.
Step 10 -安装完成后,“其他安装要求”对话框框打开。除“运行许可证安装向导”外,选取列表中的所有内容,然后点击“运行”。我们无须选取“运行许可证安装向导”,因为我们安装的是试用版,它默认提供 30 天许可证。
Step 10 − Once you complete your installation, the "Additional Installation Requirements" Dialog box opens. Select everything in the list other than "Run License Installation Wizard" and click "RUN". We Need NOT select "Run License Installation Wizard" because we are installing the trial version, which, by default, gives a license for 30 days.
Step 11 -在其他安装要求完成后,会显示一个对勾标记,这说明组件已成功安装。现在,点击“关闭”。
Step 11 − After the completion of Additional Installation Requirements, a tick mark is shown, which in turn states that the components are installed successfully. Now, click Close.
Launching UFT and Add ins Page
Step 1 -安装后,可以从开始菜单启动应用程序,如下图所示。
Step 1 − After Installation, application can be launched from the Start Menu as shown in the figure.
Step 2 -许可证页面出现。我们可以点击“继续”,因为我们已经安装了试用许可证。
Step 2 − The license page appears. You can click Continue as we have installed the trial license.
Step 3 -出现加载项对话框框,供用户选取所需的加载项。
Step 3 − The Add-ins dialog box opens for the user to select the required add-ins.
Note -不要加载所有加载项,仅加载所需的加载项,然后点击“确定”。
Note − Do not load all the add-ins but just the required add-ins and click OK.
Step 4 -加载所需加载项后,UFT 11.5 工具对用户打开,UFT 的第一眼印象如下所示:
Step 4 − After loading the required add-ins, the UFT 11.5 tool opens for the user and the first glimpse of the UFT looks, as shown below −