ImageVerifierCode 换一换
格式:DOCX , 页数:9 ,大小:26.65KB ,
资源ID:15786337      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/15786337.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(QTPLearnshare文档格式.docx)为本站会员(b****3)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

QTPLearnshare文档格式.docx

1、1.5 QTP Functions:2 A simple example to use QTP to record and run test on one windows-based application 52.1 Steps 52.2 Add none-standard GUI object to local object Repositories in your action 62.3 Export Local Object to files for using by other action 62.4 Create a self-definition function 63 : Deb

2、ug the test codes and running settings 73.1 Debug 73.2 Run the test cases with Batch size 74 QC and QTP 74.1 QC 74.2 QTP and QC together to realize automatic test structure 74.3 Install QC and QTP then link to each other 84.4 QTP Connects to QC 85 Add different kinds of Check pionts in the test step

3、s 86 Data-driven testing way 96.1 Steps of Data-driven testing 96.2 A sample of how to use data-driven to test windows application 97 Key-words driven 97.1 What is key-words driven 97.2 A sample of how to use Key-works driven to write test case 98 QTP descriptive developing 98.1 Why we need descript

4、ive developing in QTP 98.2 How to use the way of descriptive developing 99 使用QTP测试标准的windows对象 109.1 How to use the desktop objects 109.2 SytemUtil object 109.3 How to use the properties and sub-functions of the standardized widgets 109.4 How to test the standardized widgets, 1010 QTP测试脚本的开发 1011 使用

5、QTP测试Active 对象 1012 使用QTP测试VB 对象 1013 使用QTP测试标准Web 对象 1014 QTP插件技术 1015 使用QTP.net 1016 Store the test report to QC 1017 Change history 10 1 Automatic testing scheme and QTPAutomatic testing is an activity which needs plan and design. a. Before the development of new test code, you should know what k

6、inds of testing scheme and also what kinds of automatic testing scripts you want to choose.b. You should take care of the ”time”, ”workload of maintenance”, ”complexity”, ”resource”,” degree of coverage”,” the degree of stability for the codes and requirement of the product”,” the influence to the p

7、roject”-venturec. The ways of how to build the automatic testing codes1. linear2. structuring3. share4. date-driven5. key-words drivenThe background of QTP?d. QTP是HP公司花费45亿收购的美科利(Mercury Interactive)产品套件(suite)之一e. QTP是继WR(win Runner)产品之后推出的以VBS(vb scripts)为内嵌语言的工具f. QTP是一款用于功能测试的自动化测试工具g. QTP可以和HP的

8、QC产品协作进行自动化测试开发(Business process Testing)h. QTP是一款容易掌握但价格很高的测试自动化工具QTP Theorya. 基于GUI层面的测试和界面元素打交道,随着.NET3.0和Vista的发布,微软提供了一套崭新的Windows 界面框架,名为“UI Automation”,能在所有支持Windows Presentation Foundation(WPF)的操作系统中使用。QTP可以使用AutomationElement 来访问控件属性。QTP提供Object Spy功能把某个界面的基本属性列举出来。针对不同的平台和语言编写的控件,QTP采用不同对象

9、识别方法,他提供“Object Identification”功能提供一个可供测试员调整的对象识别配置器。b. QTP is called Advanced Key word-Driven Testing(also called Table Driven testing),他把测试脚本的编程工作分离出去,让那些没有编程技巧的人也能开发自动化测试脚本。c. The structure of Key word-Driven testing,实现关键字驱动主要依赖自动化框架,通过自动化框架,仅需要测试人员develop “table” and “key word”.框架通过解释表格数据和关键字来执行

10、测试脚本,驱动被测试的应用程序。在关键字驱别测试中,被测试应用程序的功能被文档化为表格,用一步步的指令性语句来指导框架执行每个测试步骤。这种方法可以让测试的创建和测试的维护阶段更加有效,并且保持结构的清晰,让测试脚本的可读性更强。只需要熟练使用关键字视图的使用方法。What is QTP?d. QTP: Quick Test professionale. 自带插件(Plug-in)ActiveX, Database, StdWindows, TEA, VisualBasic, Web, XML :a link of vbscript introducef. 额外购买插件(pay to buy)

11、Java, DotNet, PeopleSoft, VisualAge, Siebel, Oracle,QTP Functions:创建测试 ,( to examine)检验数据 ,增强(enhancement)测试 ,运行测试 ,分析结果 ,维护测试 。支持windows 2000,xp ,server 2003,Vista;支持虚拟机vmware, Critrix metaframe presentation server;默认对以下应用程序进行测试:(standardized)标准windows 应用程序,包括基于win32 API和MFC的应用程序Web页面ActiveX 控件Visu

12、al Basic 应用程序在有插件的情况下支持的应用程序有:JAVA,Oracle,SAP,.NET控件(.NET Windows Form,.NET Web Form, WPF),Siebel,PeopleSoft, Web服务,终端仿真程序(Terminal Emulators)2 A simple example to use QTP to record and run test on one windows-based applicationStepsa. Open QTP, and then create a new action. After that , click the “r

13、ecord” tool menu. The “Record and running setting GUI” pops up.b. Choose the “windows applications ”tab - choose the “record and run only on” radio button and add an application with the “+” button. You could use the default example provided by HP QTP in the X:Program FilesHPQuickTest Professionalsa

14、mplesflightappflight3a.exe installation directory.c. Finally, you could do operations in the flight3a GUI and you could also see the process by using Keyword View and Expert view.d. You can output some test information to test report by choosing “insert Step | report” , and you could also insert “Ch

15、eckpoint” by “insert standard checkpoint” or a new step by “insert step | step generator” in the keyword view. Add none-standard GUI object to local object Repositories in your actiona. Click the “Object Repository” Tool menu or use hot-key “Ctrl + R”b. When the “Object Repository-All object Repository” GUI comes up. Then click “Object- add t

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1