QTP Tutorial
QTP Useful Resources
Selected Reading
- QTP - Designing a Framework
- QTP - Frameworks
- QTP - Automation Object Model
- QTP - Descriptive Programming
- QTP - Working with XML
- QTP - Accessing Databases
- QTP - Virtual Objects
- QTP - GUI Objects
- QTP - Test Results
- QTP - Library Files
- QTP - Environment Variables
- QTP - Recovery Scenarios
- QTP - Error Handling
- QTP - Debugging
- QTP - Smart Identification
- QTP - Synchronization
- QTP - Checkpoints
- QTP - DataTables
- QTP - Actions
- QTP - Object Repository
- QTP - Record and Play Back
- QTP - Environment Setup
- QTP - Test Automation
- QTP - Introduction
- QTP - Home
QTP Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
QTP - Checkpoints
QTP - CheckPoints
如名称所示,核对点是指将特定财产或物体现状的现值与预期价值进行比较的验证点,可在文字的任何时间插入。
Types of Checkpoints
Sr.No. | Type & Description |
---|---|
1 | 验证所有附加环境所试验和支持的物体的财产价值。 |
2 | 鉴定你申请的一个领域,作为衡量标准 |
3 | 在动态生成或存取的文档中,如txt,pdf |
4 | 在一个表中核实信息。 并非所有环境都得到支持。 |
5 | 根据具体标准,核实在视窗应用中某个特定领域展示的案文。 |
6 | 如果根据具体标准在视窗应用中确定的一个区域内展示文字,则予以验证。 |
7 | 核实网页并报告可能不符合万维网联合会(W3C)网站内容无障碍准则的网址领域 |
8 | 核实网页的特征。 它还可以检查破碎的链接。 |
9 | 核实通过测试申请获得的数据库内容。 |
10 | 将xml文件或xml文件的内容列入网页和框架。 |
Inserting CheckPoint
当用户想要插入检查站时,必须确保大多数检查站只在录音期间得到支持。 一旦用户停止记录,检查站就没有能力。
下面是检查站的菜单,用户是NOT,以记录方式使用。
下面是检查站菜单,当用户在记录时。
Example
添加检查站,供在试验中应用:“http://easycalculation.com/”。
1. Inserted Standard Checkpoint Status = Browser("Math Calculator").Page("Math Calculator").Link("Numbers").Check CheckPoint("Numbers") If Status Then print "Checkpoint Passed" Else Print "Checkpoint Failed" End if 2. Inserted BitMap Checkpoint imgchkpoint = Browser("Math Calculator").Page("Math Calculator").Image("French").Check CheckPoint("French") If imgchkpoint Then print "Checkpoint Passed" Else Print "Checkpoint Failed" End if
Viewing Checkpoint Properties
在插入试师想要改变价值的情况下,我们可以通过正确点击文字的中词检查站,并去“查点财产”——如下所示——来这样做。
如下文所示,你也可在物体存放处找到同样的检查站。 它确切地表明使用了哪类检查站,什么是预期的价值观,什么是过时的价值观。
Advertisements