QTP10的Tips.txt文件

Linux Perf性能分析常用手段(火焰图,gprof,kernelshark,bts) perf record 采集数据,还可以在采集时记录堆栈,然后在后期分析时根据堆栈进行聚合。perf report 分析数据给用户展示perf script 对数据进行脚本化处理、加工/分析。perf annotate 用来展示原始明细,可以看到指令、及其采用数、比例等,可以寻找热点。 阅读详情

在QTP10的安装目录无意中发现一个Tips.txt文件(C:/Program Files/HP/QuickTest Professional/dat),里面列出了一下QTP的使用小技巧。

与QTP9.5对比了一下,发现没有差异,证明这个文件在QTP10版本没有更新。

 


Tips.txt:

You can create multiple application areas to suit different components.
NEW!! Business components associated with an application area  use only the resources and settings that are defined in the application area. In previous versions of QuickTest Professional, business components could have custom settings.
The RegisterUserFunc statement now has an optional argument that you can use to set a function as the default operation for a test object.
You can use the new Function Definition Generator to easily generate user-defined functions (Insert > Function Definition Generator).
Iterations for a business component are defined in Quality Center.
The Operation item appears in the Keyword View only when functions are defined in function library files associated with the component抯 application area.
NEW!! You can manage the availability of keywords used to create keyword-driven components using the new Keywords pane in the application area of QuickTest Professional.
The Function Definition Generator enables you to add documentation that specifies exactly what a step using your function does. This description is shown in the Documentation column of the Keyword View for steps that use the function.
NEW!! You can associate a function library with the open test by opening the function library and choosing File > Associate Library 'library_name' with 'test_name'.
NEW!! You can check syntax errors by clicking CTRL + F7. If your script contains errors you can view them in the new Information pane.
When adding a new step using the Keyword View or Step Generator, you can select a new object from your application and it is automatically added to your object repository.
You can specify which columns you want to display in the Keyword View. Choose Tools > View Options or right-click any column header in the Keyword View.
You can specify the order in which columns are displayed in the Keyword View. Choose Tools > View Options or drag a column header to a new location in the Keyword View.
You can print the contents of the Keyword View to your Windows default printer, or preview it on screen before printing. Click the Print button or choose File > Print.
You can copy and paste or drag and drop steps in order to move them to a different location within the Keyword View.
You can enter a comment about a step in the Keyword View by clicking in the Comment cell. You can also enter a comment on a new line below the currently selected step by choosing Insert > Comment.
You can view the Documentation column in the Keyword View to read a summary of what the step does, in an easy-to-understand sentence.
NEW!! You can copy the content of the Documentation column to the Clipboard by right-clicking any column header in the Keyword View and choosing Copy Documentation to Clipboard.
The Select Object for Step dialog box enables you to select a new object from your application. If you select an object in your application that is not in the object repository, the object is added to the object repository when you insert the new step.
If you are connected to Quality Center, you can view the current Quality Center connection by pointing to the Quality Center icon in the status bar. To open the Quality Center Connection dialog box, double-click the Quality Center icon.
If a Quality Center test or shared file (such as a shared object repository or Data Table file) is open when you disconnect from Quality Center, then QuickTest closes it.
To access QuickTest tests or components from Quality Center, select the 'Allow other Mercury products to run tests and components' check box (Tools > Options) and install the QuickTest Add-in for Quality Center (from the QuickTest Professional CD-ROM).
NEW!! If a business component is currently open, clicking the New toolbar button creates a new business component document (and not a new test document). This also applies if an application area or function library is open.
NEW!! You can open a recently used business component, application area, or function library by selecting it from the Recent Files list in the File menu.
You can specify test, action, or component parameters to pass values to and from your test or business component, and between actions in your test.
You can define test or action parameter variables using the Parameter object and its methods in the Expert View.
You can create test, action, or component parameter output values that retrieve values during the run session and store them for use at another point in the run session. You can then use these output values to parameterize a step in your test or business component.
NEW!! You can create object repository parameters. When associating an object repository to a test asset, you map this parameter to a constant or a test asset parameter (test, action, or business component).
You can select an object in the object repository and locate it quickly in your application using the Highlight button in the ORM or ORE.
NEW!! You can locate an object in the object repository by pointing to an object in your application. If the object exists in the object repository, it is highlighted.
NEW!! You can now add new objects to the object repository using filtering capabilities. For example, you can choose to add only a selected type of object residing in a window or a web page/frame.
NEW!! You can now associate multiple object repositories with an action or application area. In previous versions of QuickTest Professional, you could associate only a single object repository with a test asset.
NEW!! You can export object repository content to an XML file and import a new object repository from an XML file.
The list of Utility objects available when you open the Step Generator from the Keyword View is a sub-group of the list available when you open the Step Generator from the Expert View.
Open XML format used for report information now enables you to easily customize run reports and integrate result information with other applications. Refer to the QuickTest online documentation for a detailed description of the report's XML elements.
You can export test results to an HTML file to easily view the test results when you are not working in a QuickTest environment.
You can write automation scripts to control virtually every QuickTest feature and capability using the objects, methods, and properties included in the QuickTest Professional automation object model.
Test object and method names are not case sensitive.
When you type VBScript keywords in the Expert View, the relevant VBScript syntax or blocks are added to the test script.
You can now locate specified text strings in the Expert View, and replace them with text strings that you specify. You can search for literal text or use advanced options to fine-tune your search.
NEW!! You can select a block in the Expert View and press CTRL + M to comment this block. Press SHFT + CTRL + M to uncomment the block.
NEW!! You can select a block in the Expert View and indent or outdent it by clicking the Indent or Outdent toolbar buttons.
NEW!! You can control the layout of the QuickTest Professional Window by dragging and dropping panes to a dockable, floating, and tabbed mode.
NEW!! To move a dockable pane without snapping it into place, press CTRL while dragging it to the required location.
NEW!! To auto-hide all the tabbed panes, select the title bar of the active tabbed pane, right-click and choose Auto Hide.
NEW!! When you rename a test object, you can choose whether to automatically update all occurrences of the test object, or manually change the names in steps that use the renamed test objects.
NEW!! You can copy objects from a shared object repository to the local object repository in order to modify them.
NEW!! You can use the Object Repository Merge Tool to merge objects from two shared object repositories into a single object repository.
NEW!! You can associate shared object repositories with multiple actions simultaneously, using the Associate Repositories dialog box.
NEW!! You can resolve  missing resources (such as missing object repositories and actions), using the new Missing Resources pane.
You can print a single action or business component from the Keyword View (in table format) or the from the Expert View (in statement format).
In addition to Data Table output values, you can output values to environment variables or store a retrieved value in a test, action, or component parameter.
You can use the Advanced Windows Applications Options dialog box to modify how QuickTest records and runs tests on Windows applications. Choose Tools > Options > Windows Applications tab > Advanced.
You can save the resulting data from the run-time Data Table to a file by inserting a DataTable.Export statement to the end of your test.
To instruct QuickTest to wait for an object to open or appear during test run, use an Exist or Wait statement.
To stop an analog step in the middle of a test run, click Ctrl + Esc, then click the Stop toolbar button.
If you want to create a bitmap checkpoint of multiple objects, select the object in the Object Selection dialog box that includes all the objects you want your bitmap checkpoint to contain.
If you need to recover Active Screen files after you save a test without Active Screen files, re-record the necessary steps or use the Update Run option to recapture screens for all steps in your test.
You can use a PathFinder.Locate statement in your test to retrieve the complete path that QuickTest uses for a specified relative path based on the folders specified in the Folders tab.
To maximize performance, load only the add-ins you need.
You can define a recovery scenario to handle unexpected behavior during your run session.
You can add new objects to the Object Repository from the Active Screen or using the Add Objects option in the Object Repository dialog box and pointing to the object in your application.
To record keyboard input, mouse clicks, and the exact path the mouse travels, switch to Analog Recording mode or Low Level Recording mode.
If it takes time for an object you are checking to load all of its data, you can increase the checkpoint timeout.
You can insert XML output values to your script.
You can verify that your XML is structured according to a specific schema.
You can specify a relative path when calling actions, functions, and other external files associated with or referenced by a test or business component.
NEW!! You can create library files (containing VBScript functions, subroutines, classes, modules, and so forth) in QuickTest Professional and associate them with your test or application area.  You can then call these functions (or other elements) from within your test assets.
NEW!! You can debug functions, subroutines and classes defined in a function library file in QuickTest Professional.
You can create a user-defined function and register it as a test object method in order to overwrite or add to existing test object functionality.
You can use the Data Driver Wizard to automatically parameterize constants in your action or business component.
You can use the Reporter object to disable or enable messages to the Test Results.
You can record a test on one version of Microsoft Internet Explorer and then run it on other browsers or versions.
To transfer control to the application while spying or inserting checkpoints on objects, press the CTRL key.
You can check the content of an image in a Web page when you create an image checkpoint using the Compare Image Content option.
You can use the Data Table to run the test several times, each time using different data.
By default, in order to conserve disk space, QuickTest does not save screen captures with your test results for steps that pass. You can change the default setting in the Tools > Options > Run tab.
The Active Screen loads faster if you clear the Load Images check box in the Web Page Appearance dialog box (Tools > Options > Active Screen tab > Advanced button).
You can create a custom report message from the Keyword View by choosing Insert > Report.
You can teach QuickTest to recognize any area of your application as an object by defining it as a virtual object.
From QuickTest, you can run WinRunner tests and call TSL functions in compiled modules. The results of the WinRunner test or function are integrated into the QuickTest test results.
To modify the text used for a text checkpoint, click the Configure button in the Text Checkpoint Properties dialog box.
You can configure an action for repeated use in your test and in other tests. Select the Reusable Action check box in the Action Properties dialog box (Edit > Action > Action Properties).
You can use the ExitAction statement to terminate an action before it finishes running, based on conditions you specify in your test.
You can run QuickTest tests from a Quality Center project and pass parameter values to the test.
You can set breakpoints in your test, and then use the Debug Viewer pane to view, set, or modify the current value of objects or variables.
You can call methods and retrieve and set COM object properties from the Expert View using the .Object property.
You can configure how QuickTest records events in Web applications. Choose Tools > Web Event Recording Configuration.
You can define custom environment variables for use in your test.   
You can add logic to a checkpoint by using a Data Table formula.
You can set a parameter to use a random numeric value.
You can use the Window Script Host and the VBScript Runtime Library to further extend your test. For more information choose Help > QuickTest Professional Help > VBScript Reference.
You can use the Object Identification dialog box to configure the way QuickTest learns and recognizes objects.
You can run your test in Update mode to update values in your test or business component. You can choose to update checkpoint data, Active Screen images, and/or the descriptions of the objects in the object repository. Choose Automation > Update Run Mode.
You can choose a Web server accessible via a Local Area Network (LAN) or a Wide Area Network (WAN) when connecting to Quality Center. Click the Quality Center Connection button or choose File > Quality Center Connection.
The Open Test from Quality Center Project dialog box displays icons that indicate the version control status of each test in your project.
If you want to add the same comment to every action that you create, you can add the comment to an action template.

 

使用Afl-fuzz (American Fuzzy Lop) 进行fuzzing测试(二)——详细使用说明(README.txt) http://lcamtuf.coredump.cx/afl/README.txt AFL算法1) 把用户提供的初始测试用例加载到队列(queue)中; 2) 从队列中获取下一个测试输入文件; 3) 在保持程序行为的前提下,尝试修剪(trim)测试用例到最小; 4) 使用传统的模糊测试策略中的各种已有的研究方法,重复变异文件; 5) 如果生成的变异结果能够驱动新的状态转换 阅读详情

相关推荐

tips.txt为python数据分析案例数据

python数据分析案例数据 主要用于本人博客的部分文章案例数据使用。 单变量的样本分布检验(python3) 探索变量间关系 ....... 等文章的案例数据

CTF实验吧 这就是一个坑wp (明文攻击)

这就是一个坑wp 我们打开压缩包的tips.txt,里面提示:密码是十位大小写字母、数字、特殊符号组成的,你爆破的开么?! 这个tip告诉我们爆破是基本不可能了 然后我们发现falg.zip里面也有个tips.txt,然后我猜想flag.zip里面的tips.txt和另外一个tip

ADreamClusive的博客 1万+

带你一分钟了解电感与磁珠的区别

在电路设计中会经常使用到电感和磁珠,虽然在电路中的作用有所不同,但它们都属于磁性电子元器件,本文简单介绍下电感和磁珠的区别电感和磁珠电感和磁珠的结构主要由磁性材料金属线圈和外壳组成,具体结构如下图所示:电感磁珠结构图电感其实是金属线圈缠绕在磁芯上,而磁珠是在内部折叠后外围包裹着铁氧体磁性材料。电感器(Inductor)又称扼流器、电抗器、动态电抗器是储能器件,能够把电能转化为磁能而存储起来的元件。磁珠则是能量转换(消耗)器件,将流过他的高频信号以热能的形式消耗掉。

攻城狮鹏哥 1409

安装perf后,执行perf命令报错。

系统版本: deepin 下安装perf 按道理来说,咱们通过apt install 安装好之后是可以直接运行perf 命令了,但是。。。。 deepin 安装perf 后,执行perf命令报错: 此时执行,却莫名奇妙的报错。。。。 好吧,lz 是捣鼓了好一阵子才发现问题。。。 仔细一看其实我们下载的linux-perf 是4.9版本的, 系统是4.19.0版本的,报错也是提示linux-p...

其实我是C先生--的博客 4380

Cocos Creator3.5.2使用Spine切换皮肤

3、然后获取当前spine中是否有皮肤数据,如果spine连皮肤数据都没有,接着写可能会error,这里的 skins[skin],是判断皮肤列表中是否有需要更换的皮肤。2、因为spine往往意味着异步加载,换肤时也经常出现频繁异步的情况,所以下一步我们要可以判断当前spine组件里是否已经加载好了spine文件。换肤前隐藏好需要换肤的节点,避免穿帮;官网文档的换肤流程太简化,对于实际使用来说会有各种各样的问题。1、首先获取对应的spine组件。这里的skin自然是外部传入的需要换肤的皮肤名。

tc654321的博客 1817

应广单片机 按键点灯 PMS171B GPIO LED

我也是第一次使用这款单片机,参考网友的资料,写个最近简单的demo 测试用例 #include "extern.h" /*端口定义*/ BIT KEY : PA.0; BIT SW : PA.4; /*相应于main函数*/ void FPPA0 (void) { /*单片机内部RC震动时钟为 IHRC默认为16M,因此,IHRC/2=8M,系统时钟为8M*/ .ADJUST_IC...

大江的专栏 1000

Cannot load tips.txt file, please install perf!

经过处理,从kernel下拷贝tips.txt,存放到 /usr/share/doc/perf-tip 即可。使用perf工具时,产生错误信息。

Elta学习 719

maya中的几个热盒(空格、shift、w键)

maya中许多功能打包放进了不同的热盒中,让我们使用起来更加的便捷,熟练掌握后可以大大提升了建模速度。按下不同按键后鼠标不需要精确点到某个图标,往某个方向滑滑滑就打开了相应功能,非常的炫酷和迅猛。

m0_71983242的博客 1756

perf 安装到分析

https://yq.aliyun.com/articles/65255 https://yq.aliyun.com/articles/65257?spm=5176.100239.blogcont65255.56.be3BEk

weixin_33897722的博客 361

【软考高项】【计算专题】- 3 - 进度类 - 双代号网络图

共需压缩 20 天。在双代号网络图中,工作一般使用箭线表示,任意一条箭线都需要占用时间、消耗资源,工作名称写在箭线的上方,而消耗的时间则写在箭线的下方或者工作后面。反映的是前后工作的交接点,节点中的编号可以任意编写,但应保证后续工作的节点比前面节点的编号大,即上图图中的1⃣️4⃣️ 即表示 B 活动和 D 活动间有依赖关系,D 活动的开始,依赖 B 活动的结束。B活动完成了一半, 各计划的实际支出为A活动6500元, B活动1000元, C活动280元, D。

欢迎来到我的博客,一起探索代码里的世界! 4561

深度解析:C# Modbus TCP协议解析与异常处理(工控上位机必备)

协议解析要精准:掌握MBAP头和PDU的结构,尤其是常用功能码的请求/响应格式,避免因字节处理错误导致通信失败;异常处理要全面:覆盖通信层、协议层、数据层的所有异常类型,针对工业场景制定重试、重连、滤波等策略;资源管理要规范:使用释放资源,采用连接池复用连接,避免端口泄露;工业场景要适配:结合工控现场的特点(网络波动、电磁干扰、设备忙),优化通信效率和数据处理逻辑。通过以上解析和策略,可确保C#上位机与工业设备的Modbus TCP通信具备高稳定性、高可靠性、高容错性,满足工控领域的严苛要求。

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 997

QTP 加载函数库,实现调用与定义分离

QTP加载函数库总的来说,有两种方式,静态加载函数库和动态加载函数库,其中动态加载函数库又有两种方式:ExecuteFile(动态调用VBS文件)和LoadFunctionLibrary(动态调用函数,QTP11最新加入的新函数)。下面介绍一下三种方式。 ExecuteFile: ExecuteFile "F:\iquicktest.vbs"  LoadFunctionLibrary

一格子休的专栏 1686

Python量化- Black-Litterman 模型

​​​​​​​Black-Litterman 模型由 Fischer Black 和 Robert Litterman 于 1992 年开发,采用贝叶斯方法进行资产配置。该模型通过结合先前的回报估计(可以从多个来源得出)并结合投资者对未来回报的独特预期来优化分配权重。

探索人工智能领域 1030

Jmeter接口性能测试

1.jmeter简介 Apache JMeter是Apache组织开发的基于Java的压力测试工具。用于对软件做压力测试,它最初被设计用于Web应用测试,但后来扩展到其他测试领域。JMeter 可以用于对服务器、网络或对象模拟巨大的负载,来自不同压力类别下测试它们的强度和分析整体性能。另外,JMeter能够对应用程序做回归测试,通过创建带有断言的脚本来验证你的程序返回了你期望的结果。开源,免费且具有了LoadRunner95%以上的功能,性价比极高。 2.jmeter特点 支持对多种服务类型进行测试;

guo_qingxia的博客 5072

Windows 11 安装 Miniconda + Mamba,配置国内源

本文详细介绍了在 Windows 11 系统下安装 Miniconda 并配置 Mamba 的完整流程,包括选择精简版 Miniconda 的理由、安装过程中的关键选项设置、配置清华大学镜像源以加速包下载,以及在 base 环境中设置 pip 国内源。同时说明了 Mamba 相较 Conda 的性能优势,并指导用户完成 Mamba 安装与 Shell 集成,最终通过命令验证环境管理功能,帮助用户构建高效、轻量的 Python 开发环境。

寒水馨 · 轻量级技术文档 · hanshuixin.org 3344

假人有限元模型

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

linux tracers使用介绍

一、tracers简介 在linux的kernel/trace目录下,有一些用于调试内核的工具,也就是tracers,包括: tracepoint,或者也叫做event trace。tracepoint需要手动在代码中增加,默认情况下功能类似于printk,就是用于打印信息。但在trace框架中,你可以通过操作/sys/kernel/debug/tracing下的对应文件来控制打印的开关、过滤(例如只打印特点值时的信息),也可以配perf、ebpf进行使用。 ftrace/function tracer。

cocoti的博客 5831

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

ubuntu 18.04 perf 新安装遇到问题解决

目标:新建Ubuntu 虚拟机(18.04),安装perf 命令调试,安装出现报错,问题解决总结如下,希望对大家有所帮助。 1.perf 安装提示 WARNING: perf not found for kernel 5.4.0-42 You may need to install the following packages for this specific kernel: linux-tools-5.4.0-42-generic linux-cloud-tools-5.4...

行者无疆 8870

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

perf在Ubuntu上的安装

perf是一个强大的性能分析和优化工具,高于2.6.31的内核都支持。 安装perf,首先安装内核源码:sudo apt-get install linux-source。 完成之后,可以再/usr/src下找到src,解压,进入tools/perf,然后make&&make install即可。 参考:http://www.brendangregg.com/perf.htm

yejing's utopia 1万+

perf命令使用

perf Examples

zgl07的专栏 1万+

CI框架Unable to locate the specified class

CI框架Unable to locate the specified class 发现加载任何类都会报这个错误。 错误原因:控制器名称与类名同名导致的。 建议:类名都加个后缀lib,如Test_lib.php 之前有过又忘了这个问题。...

webnoties的专栏 2917

重装系统后开机黑屏显示cannot load file怎么办

有的用户在使用u盘装ghost系统后,遇见电脑一开机就出现黑屏并提示:“Error:cannot load file (code:5555h)”,该提示是说ghost系统中缺少引导文件,所以才导致无法进入系统。那么该如何解决这个问题呢?好系统U盘启动来给大家支招! 1、使用启动u盘进入winpe系统下再次重装系统,在pe系统下进行重装系统的过程中切勿使用其他硬盘工具。 2、更换其他版本的系...

isoftpark的博客 3128

技术小问题解决tips笔记

1、解决 webpack-dev-server 不能使用 IP 访问 (如mac下虚拟中通过ip访问, 通过host可以访问mac下ip, 但webpack启动到dev server的ip, windows访问不到) 解决: 第一种方法: webpack.dev.conf.js const HOST = '192.168.x.xx:8080 第二种方法: package.json “dev”: ...

Jonathan的博客 2862

提高AFL的fuzz速度

参考/docs/perf_tips.txt1.测试集不要过大尽量保证测试集的大小在1KB以内,大的测试集处理起来需要花费很多时间以及内存。在/testcases/文件夹中,以及提供了很多不同类型的测试用例,可以试着去使用它们。或者在测试之前,用afl-cmin对你的测试集进行精简。2.使用简单的目标进行测试考虑在fuzzing过程中使用一个简单的目标二进制程序。3.使用LLVM插桩当目标fuzzin

前方gail的博客 3708

支持对Windows二进制程序的afl fuzz工具 Pe-afl

pe-afl是一款基于了PE二进制和WinAFL上的静态二进制检测的工具,可以用于fuzzWindows应用程序和内核模式驱动程序,而无需源代码或完整符号或硬件支持。 我用这个工具发现了office,gdiplus,jet,lnk,clfs,cng上的bug。 PE上的仪表部分可以被多种用途重用: 如果你觉得测试速度很慢,你可以在ubuntu上运行这个脚本; 该工具基于microsoft二...

TENCENTSYS的博客 1519
上一篇: QTP自动化测试培训大纲
下一篇: QTP的101宗罪
TIB
TIB
博客等级 码龄19年 2879粉丝 957原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值