QTP测试脚本的维护 - 使用Update运行模式和Maintenance运行模式

光声成像信号链建模与KLM等效电路优化 生物医学成像技术中的信号链建模是提升系统性能的关键。压电换能器作为核心部件,其声电转换特性直接影响成像质量。KLM等效电路模型通过将声学与电学特性统一建模,为系统优化提供理论基础。在光声成像(PAI)应用中,端到端信号链建模能有效解决传统设计中换能器与电子线路的耦合问题。通过分析电缆长度、接收器阻抗等关键参数,可显著提升系统灵敏度和信噪比(SNR)。该技术特别适用于需要高分辨率与深度穿透的医学影像场景,如肿瘤早期检测和血管成像。 阅读详情

Why Tests Fail 为什么脚本运行会失败?

Tests fail when QuickTest encounters a step it cannot perform or the results of a step indicate failure. In many cases this is due to the application being tested not functioning properly. QuickTest then provides you with test results that assist you in understanding how to fix your application.

Sometimes a test fails because the application being tested has changed from when the test was created and the QuickTest test needs to be updated to reflect those changes. Your object repository may also be missing some of the objects it needs to run the test. QuickTest provides tools that help identify and resolve some of these issues.

·   Object Changes

·   Checkpoint Changes

通常是对象发生改变或者是检查点发生了改变。这就带来了测试脚本维护的问题。在QTP中,可以使用Maintenance运行模式和Update运行模式来进行脚本的自动化更新和维护。

 

Running Tests with the Maintenance Run Wizard

The Maintenance Run Wizard helps you to maintain your test when it encounters the following problems and provides the following solutions:

 

Problem

Solution

The step failed because the object in your test cannot be identified in the application.

The Maintenance Run Wizard helps you identify the object in the application that you want your test to use.

If you point to an object in the application being tested, the Maintenance Run wizard will compare that object to the objects in the associated object repositories.

Depending on how the property values of the object to which you point compare to the property values of the objects in the associated repositories, the Maintenance Run wizard will suggest one of a several options for updating your test to reflect the changes in the application.

You can also choose to add a comment to your test before the failed step.

The step failed because the object in your test is missing from your associated object repositories.

The Maintenance Run Wizard helps you add the missing object to the repository.

You can also choose to add a comment to your test before the failed step.

The object in your step exists in the application, but can be identified only through Smart Identification.

Identifying objects using Smart Identification may cause tests to run slower. (For more information see, Configuring Smart Identification.) The Maintenance Run Wizard helps you modify the description of the object, so that Smart Identification is not needed.

 

Maintenance运行模式主要解决对象识别导致的脚本失败的问题。

关于Maintenance运行模式可以观看QTP10附带的视频(Help->Product Feature Movies->Maintenance Run Mode)。

 

 

Updating a Test Using the Update Run Mode Option

When you run a test in Update Run Mode, QuickTest runs the test to update the test object descriptions, the Active Screen images and values, and/or the expected checkpoint values. After you save the test, the updated data is used for subsequent runs.

You can specify one or more of the following information types to update:

Update test object descriptions. QuickTest updates the set of properties for each object class in your associated object repositories according to the properties currently defined in the Object Identification dialog box. You can use this option to modify the set of properties used to identify an object of a certain type.

Update checkpoint properties and output property values. QuickTest updates the expected values of your checkpoints to reflect any changes that may have occurred in your application since you created the test and updates the list of items that can be retrieved in your output value steps.

Update Active Screen images and values. QuickTest updates images and property values in the Active Screen to reflect any changes that may have occurred in your application since you recorded the test or if the Active Screen does not appear as it should. For example, suppose a dialog box in your application has changed since you recorded your test. You can update the test to update the dialog box appearance and its properties in the Active Screen.

 

使用Update运行模式可以在回放脚本过程中更新测试对象描述、检查点属性和输出属性值、更新Active Screen。

 

 

 

UFT录制与脚本编辑 UFT录制与脚本编辑 一、创建测试脚本 1、启动UFT,选择需要的插件 2、录制和测试运行设置 3、记录业务流程 二、录制模式的切换 1、正常录制模式 2、模拟录制模式 3、低级录制模式 4、图像识别录制模式 三、测试脚本的回放 四、保存测试脚本 五、导出与导入测试脚本 六、维护测试步骤 七、结果分析 阅读详情

相关推荐

介绍如何进行QTP数据驱动测试

介绍如何进行数据驱动测试 测试脚本的开发和维护是自动化测试的重要环节,适当地调整和增强测试脚本,能提高测试脚本的灵活性,增加测试覆盖面,以及提高应对测试对象变更的能力。数据驱动方式的测试脚本开发是解决这类问题的重要手段。 本章介绍如何在自动化测试过程中使用数据驱动的测试脚本开发方式,对测试脚本进行参数化,包括如何使用QTP的Data Table参数化、Action参数化、环境变量参数化等脚本参数化的方法。 数据驱动的测试方法要解决的核心问题是把数据从测试脚本中分离出来,从而实现测试脚本的参数化。

QTP几种信息提示方法

1.     Reporter对象的ReportEvent方法描述在testresult中报告测试结果。 语法 Reporter.ReportEvent EventStatus, ReportStepName, Details [, in]Argument Type Descrīption EventSta

freemantsk的专栏 1633

反激变压器设计学习笔记

反激变压器匝比感量设计

m0_55419117的博客 5262

QTP9.5新特性 – 维护运行模式(Maintenance Run Mode)

 当被测试程序发生的改变,例如界面调整,则需要进行对象库的维护和脚本的调整,否则测试脚本将运行不通过。维护运行模式(Maintenance Run Mode)可以有效帮助解决很多脚本维护和调整方面的问题。 在维护运行模式下,QTP会检查对象库的对象与应用程序的对象之间的差异,测试工程师可以根据这些差异决定如何更新和维护测试对象、测试脚本,可以有3个选择:1、更新对象库中的对象并更新

软件质量优化 4076

Axure RP 10表单数据提交制作

本文介绍了如何使用Axure RP 10实现表单数据提交。

Peppaaa的博客 990

当AI学会自我验证:Chain-of-Verification如何杜绝错误决策?

2025年,大模型"幻觉"问题已成为企业落地AI的最大障碍之一——金融风控中1.2%的误判率可能导致千万级损失,医疗诊断中3%的错误可能危及生命,法律文书中5%的事实偏差可能引发合规风险。MetaAI与Google联合提出的**Chain-of-Verification(CoVe,验证链)**技术,让AI具备"自我审视"能力,通过结构化验证流程将幻觉率降低68%+,在复杂决策场景准确率提升至95%+。本文系统拆解CoVe的技术原理、实施路径与行业实战,为企业提供AI决策可靠性保障的完整方案。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 1080

当应用程序发生更改时如何维护QTP测试脚本

整个应用程序创建一个大测试的主要原因之一。当应用程序发生更改时,可以重新录制部分测试。如果更改不重要,可以手动编辑测试将其更新。  还可以使用QuickTest 的操作功能设计更多模块和有效测试。进行录制时,可以基于功能将测试划分为多个操作。当应用程序发生更改时,可以重新录制特定操作,而无需更改其余测试。尽可能插入对可重用操作的调用,而不是在几个测试中创建相同的脚本。这样,对原始可重用操作的更改就...

weixin_41895527的博客 328

有关SPSS中Fisher精确检验无法进行的解决方法(由于无法打开临时文件,因此无法进行计算)

最近在帮一个四年生完成她的毕业论文,在用SPSS进行R×C表检验的时候,发现Fisher精确检验的结果无法显示,提示为“由于无法打开临时文件,因此无法进行计算”,大概像下图一样。 (这图是从网上找的) 然...

chuyang37的博客 3万+

QTP 小技巧不断积累更新

本帖子为本人原创,转载请注明作者:Cheers . Lee以及网络来源     另外一篇别人写的关于QTP25个技巧写的也相当不错,文章地址: http://www.diybl.com/course/3_program/rg/2008629/129265.html     以下内容为本人总结。   1.在脚本运行过程中屏蔽鼠标键盘输入    SystemUtil

黄沙百战穿金甲,不破楼兰终不还。 2199

高德地图+Three.js实战:手把手教你打造数字农场3D可视化大屏(附完整源码)

本文详细介绍了如何利用高德地图JS API与Three.js技术栈,构建一个功能强大的数字农场3D可视化大屏。文章从技术选型、架构设计出发,深入讲解了坐标对齐、图层管理、性能优化等核心工程实践,并提供了完整的模块化代码示例,旨在为智慧农业及类似场景的3D地理可视化项目提供一套可复用的解决方案。

k8s6orchestrator的博客 889

基于MATLAB/Simulink与WSL2的ROS2实时联合仿真实践

本文详细介绍了基于MATLAB/Simulink与WSL2的ROS2实时联合仿真实践。通过环境配置、PX4仿真环境搭建、自定义消息生成、Simulink通信实现及实时优化等步骤,提供了完整的无人机位置控制案例,帮助开发者实现高精度的实时联合仿真。

red88的博客 202

HP推出UFT新版本UFT12 5以及LeanFT

HP推出UFT新版本UFT12 5以及LeanFT

gdhjgfr的博客 2271

【CQUT】从零开始龙芯杯-开始前的准备

不同级别的Cpu对于vivado综合的时间有较大影响,其中Cpu的单核、多核性能以及cache性能影响权重较高。因此,为了保证学习进度和效率,我们建议在Cpu不低于I5 12400的环境下进行学习。Vivado2023.2安装包约100GB,为了保证成功安装建议留出300GB硬盘空间。龙芯杯的许多资料被托管在gitee,你需要git指令将资料克隆到本地。指定用书:CPU设计实战 Loongarch版 作者:汪文祥、邢金璋。Cpu性能对比网站:https://www.cpu114.com/

weixin_73689971的博客 906

OGG维护优化脚本(一)-需求分析篇

这套维护优化脚本,是我在业余时间编写的,专门用于针对goldengate数据同步工具的脚本主要原因还是本人有点懒不喜欢繁琐的手动操作。所以借助shell脚本来减低自己的工作量部分参考了一些网络大牛的shell脚本设计因为离职的缘故估计以后职业生涯中可能不会用到,因此将该脚本的设计方案以及具体内容共享出来给各位网友学习和参考因为能力问题部分功能可能写的比较粗糙,希望各位别见怪。...

weixin_34032792的博客 363

MicroPython学习:在STM32上进行移植

本文将介绍如何在STM32上移植MicroPython,并提供相应的源代码。通过以上步骤,你已经成功地将MicroPython移植到STM32上,并可以使用MicroPython语言编写和运行代码。你可以进一步探索MicroPython的功能和API,以利用STM32的各种外设和功能。使用STM32CubeProgrammer或其他适当的烧录工具,将编译生成的MicroPython固件烧录到STM32微控制器中。打开该文件,并根据你的STM32微控制器类型进行必要的配置更改。模块来控制STM32的LED。

JeeVue的博客 1237

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

2-UFT简介

UFT工具界面简介

henujyj的专栏 6016

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

QTP添加新的运行时设置

要添加新的运行时设置,请使用以下语法: Setting.Add "testing_option", "value" 例如,您可以创建一个设置,该设置指示当前测试者的姓名,并在消息框中显示该姓名。 Setting.Add "Tester Name", "Mark Train" MsgBox Setting("Tester Name") 要修改已被初始化的运行时设置,可以使用用于设

测试者家园 989

QTP的基本功能介绍

• QTP的基本功能介绍 HP QuickTest Professional 支持功能测试和回归测试自动化,用于每个主要软件应用程序和环境。此解决方案使用关键字驱动的测试概念,简化了测试创建和维护过程。它使测试人员能够使用专业的捕获技术直接从应用程序屏幕中捕获流程来构建测试案例。测试专家还可通过集成的脚本和调试环境完全访问内在测试和对象属性 • QTP框架结构 以Test为测试运行单位,每个

1万+

QTP脚本维护的难度

开始qtp自动化已经快一年来,这其中发现维护起来有几个不容易的地方,暂做总结一下: 1.集成产品的pasm账号信息、权限等不稳定,经常更换 2.脚本中很多使用描述性编程,多个需用到class属性才能识别,但新版本往往会发生变化,需要挨个脚本修改 3.对象层级的改变,如果对象只是名称或属性发生改变,编辑共享对象时,所有脚本关联的对象都会随之更改,但是层级的改变不知如何解决。需要新增对象,再挨个

llbacyal的专栏 828

pytest自动化之脚本实现和优化

【记录自己的实现过程,和结果无关】 初始实现: # coding:utf-8 """ author:@zhouxuan file:conftest.py """ from selenium import webdriver import pytest from selenium.webdriver.support.wait import WebDriverWait import time f...

zhouxuan623的专栏 678

编写测试计划的目的

To prescribe the scope, approach, resources, and schedule of the testing activities. To identify the items being tested, the features to be tested, the testing tasks to be performed, the personnel res

软件质量优化 1万+

WEB前端优化

找到一篇非常不错的关于WEB前端优化的文章:http://www.smashingmagazine.com/2010/01/06/page-performance-what-to-know-and-what-you-can-do/  性能对于网站而言是非常重要的。Website performance is a hugely important topic, so much s

软件质量优化 9160
上一篇: HP发布QTP的新补丁支持FireFox3.5
下一篇: 《QTP自动化测试实践》再次加印2000册!
TIB
TIB
博客等级 码龄19年 2879粉丝 957原创
评论 6
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值