qtp 9.2& 10.0 questions

合集下载

QTP9.2操作指南

QTP9.2操作指南

QuickTest Professional 9.2(QTP)操作指南
1 、安装好QTP后,打开,会看到如下界面
2、录制新脚本时,先点击,弹出配置窗口,输入你要录制的网址。

点击“确定”,开始录制。

(录制的过程就是你实际操作的过程)
3、录制完,点击,停止录制。

正常录制完,你可以运行一下,确保脚本没有问题。

4、修改脚本。

点击脚本中的Value列中,要修改的单元格,在弹出的窗口中选择Parameter,然后选择相应的数据列。

点击“ok”。

把脚本中要修改成动态数据的字段都按照这个方法更改过来。

5、运行脚本,系统就会自动的把表单中的数据按照录制的操作机械式的填充进去,执行完查看结果,。

qtp验证小飞机登陆错误代码

qtp验证小飞机登陆错误代码
End If
'关闭警告窗口及,登陆窗口
Dialog("Login").Dialog("Flight Reservations").WinButton("确定").Click
Dialog("Login").Close

'输入其他账号并进行其他警告窗口的测试
' else if Agent = "...." then
'定义变量
Dim Agent, Password, warnmes
'让变量从datatable表格中取值
Agent = datatable("Agent_Name", dtGlobalSheet)
Password = datatable("Password", dtGlobalSheet)
'对比实际得到的warnnmes和预期值
If strcomp (warnmes, "Please enter agent name") = 0 then
reporter.ReportEvent micPass, "不输入账号,查看警告信息", "警告信息正确"
else
reporter.ReportEvent micFail, "不输入账号,查看警告信息", "警告信息不正确"
End if
SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open"

测试培训QuickTestPro功能测试

测试培训QuickTestPro功能测试

录制详细步骤(二)
3、单击“应用”,单击“确定”,关闭 “录制和运行设置”对话框并开始录制测 试。
4、当完成会话录制时,请单击“停止”按 钮,或者选择“测试” > “停止”。
5、保存测试,请单击“保存”按钮,或者 选择“文件” > “保存”。在“保存 QuickTest 测试”对话框中,为该测试分 配一个名称。
➤ 只有当 QuickTest 的正常录制模式不能准确录制您的操 作时,才应使用“模拟录制”或“低级录制”。
➤ “模拟录制”和“低级录制”要求比正常录制模式更多 的磁盘空间。
➤ 对于特定的步骤,您可以在录制会话期间切换到“模拟 录制”或“低级录制”。在以“模拟录制”或“低级录 制”模式录制了必要的步骤之后,就可以返回到正常录 制模式来完成录制会话的其余部分。
性。 ➤ 更改 QuickTest 标识对象的方式。 ➤ 确定希望如何组织对象库文件。 ➤ 考虑使用操作来简化测试过程。 ➤ 链接到 WinRunner 测试并从 QuickTest 测试中调用
WinRunner TSL 函数。
录制测试
• 默认情况下, QuickTest 以正常录制模式进行录制。 如果无法以标准录制模式对给定环境中的对象进行录制, 或者如果要用精确的 x 坐标和 y 坐标录制鼠标单击和 键盘输入,可能需要使用模拟录制或低级录制对这些对 象进行录制。
更改,以便使 QuickTest录制该步骤。
录制详细步骤(一)
1、打开测试。 ➤ 要新建测试,请单击“New”按钮,或者选择“File” > “New” > “Test”。 ➤ 要打开现有的测试,请单击“Open”按钮,或者选择“File” >“打 开”。
2、单击“Record”按钮。如果要录制新测试且尚未在“录制和运行设 置”对话框中设置录制和运行设置,将打开“录制和运行设置”对 话框。

第一讲(QTP简介与安装)(1)

第一讲(QTP简介与安装)(1)
Object Parameterization ODBC/SQL Integration Import from Outside Data Sources Data Table API Built-in Loop, EOF Controls

• • • • •
Detailed Error Log
Elapsed Time & Transaction Time High-Level Dashboard Summary Sarbanes-Oxley Compliant (Data, Element, Test Case) Documentation Format
本节课内容
QTP简介 QTP是什么 ?(what 自动化?) QTP发展史 版本及功能 QTP安装 安装需求(硬件及软件) 安装步骤和注意事项 QTP工作原理
QTP9.2功能
– 标准windows应用程序,基于Win32 API和MFC的应用程序 – Web页面和ActiveX控件 – Visual Basic应用程序
Data Driven Testing
• • Local and Global Data Collections Excel-compatible Data Sheet
Reporting
• • TestFusion Reports Auto-Screenshot Capture

• • • • •
Point-and-Click Data Driving
自动化测试框架
课程目标
QuickTestProfessional基本使用方法 QuickTest录制与编辑脚本 测试对象的管理、Action的维护 关键字视图 检查点 参数化 关键字驱动测试&数据驱动测试 Recovery Scenarios的定义与恢复 描述性编程 运行和调试测试脚本 QuickTest在Utility、web、Windows中的使用 QuickTest自动化测试框架

[计算机软件及应用]QTP知识总结

[计算机软件及应用]QTP知识总结

第一部分基础知识1.QTP安装●主程序:进入下面目录运行:QTP90\QuickTest\setup.exe在没有Licence的情况下选择安装演示版,完成安装之后再破解,其它按照默认设置完成安装,可暂不重启;中途需要下载Microsoft Script Debugger(脚本调试器),如果下载失败,可以安装结束之后另行下载安装:..\..\ADD-INS\脚本调试器.exe●安装中文插件(可选):进入下面这个目录运行:QTP90CHS\QuickTestPro_CHS\ QuickTestPro_CHS.exe按照默认设置完成安装,可暂不重启;●关联QC插件(Mercury Quality Center Add-in):进入下面目录运行:QTP90\TDPlugin\ TDPluginsetup.exe按照默认设置完成安装,以上安装完成之后必须重新启动QTP才可以进行许可证的安装。

●安装插件许可证:1、使用并发许可证这需要有正版Lic的机器做服务器,在运行QTP的时候点击“修改插件许可证”,选择安装并发许可证,再入如服务器地址,如:192.168.168.892、使用单机许可证把mgn-mqt82.exe文件放到X:\Program Files\Mercury Interactive\QuickTest Professional下面,然后运行,退出重新运行QTP即可。

在已经安装并发许可证而又想修改许可证为单机许可证的话,可能上面的方法行不通,这种情况下可以试着先使用记事本或者相关的程序打开C:\Program Files\Common Files\Mercury Interactive\License Manager\lservrc文件,在打开的文件中,复制形如下面的一段字符串:D6BUM D6BUM D6BUM D6BUM D6BUM D6BUM D6BUM D6BUM 8QARH#,记得一定带上“#”号,在首次运行QTP的时候点击“修改插件许可证”,选择安装单机许可证,再将这段字符粘贴到里面重启QTP就行了。

QuickTest_Pro9.2安装帮助

QuickTest_Pro9.2安装帮助

QTP9.2的安装要求:
安装QTP 9.2需要首先满足一定的硬件要求, 如下所示:
CPU:奔腾3以上处理器,推荐使用奔腾4以上的处理器。 内存:最少512 MB,推荐使用荐使用8 MB以上的显卡。
QTP 9.2支持的环境和程序 :
QTP 9.2支持以下测试环境:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP9.2的安装步骤:
QTP及其插件的安装仅支持英文路径,也就是说不能再包含中文命名 的文件夹目录中安装QTP或QTP的插件 。
如果本机没有安装过.net Framewowrk1.1,在第一次安装QTP时,会提示 安装。如果已经安装过,则可跳过此步骤。
安装QTP9.2文件 安装序列号:0123-2820602186 安装后重启电脑,将mgn-mqt82.exe复制到安装目录,运行 进行破解。
QTP9.2的安装步骤:
在获取到QTP 9.2的安装包后,就可以运行安装包进行安装,如图所示:
操作系统:支持Windows 2000、Windows XP、Windows Server 2003、Windows Vista、Windows Server 2008。 支持在虚拟机VMWare 5.5、Citrix MetaFrame Presentation Server 4.0中运行。 浏览器:支持IE 6.0 SP1、IE 7.0、IE8.0 Beta2,Mozilla FireFox1.5、2.0、3.0,Netscape 8.x。
Java应用程序。

QTP的运用(大黄蜂软件测试)

QTP的运用(大黄蜂软件测试)
' Module Name=apir parameter("ReturnStr")="0" '初始化窗口 If InitScreen("菜单") Then ' 进入 apir PEInput "apir"+"[ctrl]" Else Reporter.ReportEvent micFail ,"异常错误","系统初始化错误。" exittest end if '输入查询条件:机构号,卡类,申请编号 ' 输入机构号 PEFieldInput parameter("organID"),5,15 ' 输入卡类 PEFieldInput parameter("type"),5,30 ' 输入申请编号 PEFieldInput parameter("applicationID"),5,50 PEInput "[Ctrl]" '反向案例 If PECheckpage(parameter("CZNR")) Then parameter("ReturnStr")="1" Reporter.ReportEvent micPass ,"查找成功","需要查找的内容【"&parameter("CZNR")&"】 已经找到" exittes End If
自动化测试-QTP常用功能-窗口
优点 对程序的回归测试更方便 可以执行一些手工测试困难或不太可能进行的测试 测试的复用性 测试结果准确 缺点 不能完全取代手工测试 手工测试比自动测试发现的缺陷更多 自动化测试发现的缺陷大部分是已经发现的缺陷 自动化测试技术难度更大

QTP基本讲解PPT

QTP基本讲解PPT
01
02
测试用例设计
设计针对用户名和密码输入、验证码 验证等环节的测试用例,确保登录功 能正常工作。
03
测试环境搭建
设置模拟用户名和密码,以及模拟的 验证码图片,为测试提供必要的环境。
测试结果分析
根据测试结果,判断登录功能是否存 在问题,并给出相应的改进建议。
05
04
测试执行
通过QTP录制和回放功能,自动执行 登录操作,检查是否能够成功登录系 统。
总结词
在QTP(Quick Test Professional)测试过程中,有时会遇到无法识别对象的问题,导致测试无法正常进 行。
详细描述
无法识别对象的原因可能包括:对象名称错误、对象在运行时动态改变、对象在测试运行期间不可见 等。解决方案包括:确保对象名称正确、使用相对路径和属性来定位对象、确保对象在测试运行期间 可见等。
安装插件
根据需要安装QTP插件,如.NET插 件、Java插件等,以扩展QTP的功 能。
创建测试脚本
打开QTP
启动QTP应用程序。
新建测试脚本
选择“File”菜单中的“New”选项 ,选择测试脚本类型,如VBScript或 JavaScript。
录制测试
在录制模式下,执行测试场景或操作, QTP会自动生成测试脚本代码。
QTP基本讲解
目录
• QTP简介 • QTP基本功能 • QTP使用方法 • QTP常见问题与解决方案 • QTP案例分享
01
QTP简介
QTP的含义
QTP是Quick Test Professional 的缩写,意为快速测试专业版,
是一种自动化测试工具。
它通过模拟用户操作,对应用程 序进行功能测试和回归测试,以 验证应用程序的功能是否正常。
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Q. 1: You can manage the test actions and the test or function library steps using the _________ menu commandsA. FileB. EditC. AutomationD. ToolsQ. 2: To expand all the steps in the keyword view which option you would use from the View menu.A. ExpandB. Expand AllC. Expand ItemsD. Expand RowsQ. 3: What is the shortcut key to open a Step Generator?A. F2B. F5C. F6D. F7Q. 4: Function Definition Generator in found in which menu option.A. FileB. ToolsC. InsertD. ViewQ. 5: The shortcut keys for Record, Stop and Run respectively areA. F3, F4, F5B. F4, F3, F5C. F4, F5, F3D. F3, F5, F4Q. 6: What is the shortcut key for opening an Object Repository?A. Alt+RB. Shift+RC. Ctrl+RD. Shift+O+RQ. 7: Shortcut key to Insert/Remove a breakpoint isA. F9B. F8C. Ctrl+bD. Shift+bQ. 8: The __________ runs only the current line of the script. If the current line calls a method, the method is displayed in the view but is not performed.A. Step overB. Step outC. Step intoD. Step TillQ. 9: The ________ runs only the current line of the script. When the current line calls a method, the method is performed in its entirety, but is not displayed in the view.A. Step OverB. Step OutC. Step IntoD. Step TillQ. 10: What is the shortcut key to clear all Breakpoints?A. Ctrl+Shift+F9B. Shift+Ctrl+F9C. Alt+Shift+F9D. Alt+Ctrl+F9Q. 11: Using the Object Spy, you can viewA. The run-time or test object properties and methods of any object in an open application.B. The run-time or test object properties of any object in an open application.C. The test object properties and methods of any object in an open application.D. The run-time object properties and methods of any object in an open application.Q. 12: There are ________ object type filters in Object spy dialog box.A. TwoB. ThreeC. FourD. FiveQ. 13: In the Object Spy window, in the Properties TabA. Copying of Properties and its values is possible with CTRL+CB. Copying of Properties and its values is possible by right clicking on it and choosing copy.C. Copying of Properties and its values is possible with both A. and B. methodsD. Copying of Properties and its values is possible is not possibleQ. 14: In the Object Spy window, in the methods TabA. Copying of Methods is possible with CTRL+CB. Copying of Methods is possible by right clicking on it and choosing copy.C. Copying of Methods is possible with both A. and B. methodsD. Copying of Methods is possible is not possibleQ. 15: Object Spy dialog boxA. Can be resizedB. Cannot be resizedQ. 16: The ___________ are the highest level of the test hierarchy in the Keyword view.A. TestsB. StepsC. Call to ActionsD. ActionsQ. 17: You can copy and paste or drag and drop actions to move them to a different location within a testA. TrueB. FalseQ. 18: You can print the contents of the Keyword View to your Windows default printer (and even preview the contents prior to printing.A. TrueB. FalseQ. 19: In the Keyword View, you can also view properties for items such as checkpoints.A. TrueB. FalseQ. 20: In the step Browser > Page > Edit > Set "Genius", identify container object(s)A. BrowserB. EditC. PageD. Both Browser & PageQ. 21: Object Spy can be found in __________ menu.A. ToolB. ToolsC. TaskD. TasksQ. 22: The ________________ displays the open documents side-by-side.A. Tile VerticallyB. Tile HorizontallyC. CascadeD. Tile CascadeQ. 23: For opening the Quick Test Professional Help we can use _________A. F3B. F5C. F1D. F2Q. 24: If QTP cannot find any object that matches the description, or if it finds more than one object that matches, QuickTest may use the ___________________ mechanism to identify the object.A. Ordinal IdentifierB. Index IdentifierC. Smart IdentificationD. Assistive IdentificationQ. 25: You can configure the _________ and ___________.properties that QuickTest uses to record descriptions of the objects in your applicationA. Mandatory, assistive, and ordinal identifierB. Mandatory, required, and ordinal identifierC. Smart, assistive, and ordinal identifierD. Index, assistive, and ordinal identifierQ. 26: The ___________ property set for each test object is created and maintained by QuickTest.A. Run-Time ObjectB. Test ObjectC. Smart Identification ObjectD. Assistive ObjectQ. 27: You can access and perform ______________ methods using the Object property.A. Run-Time ObjectB. Test ObjectC. Smart Identification ObjectD. Assistive ObjectQ. 28: You can view or modify the test object property values that are stored with your test in the _______________A. Information PaneB. Data TableC. Information Pane & Data Table BothD. Object Properties & Object Repository dialog box.Q. 29: You can retrieve or modify property values of the test object during the run session by adding _______________ statements in the Keyword View or Expert View.A. GetROProperty & SetROPropertyB. GetTOProperty & SetTOPropertyC. GetTOProperty & SetROPropertyD. GetROProperty & SetTOPropertyQ. 30: If the available test object methods or properties for an object do not provide the functionality you need, you can access______________ of any run-time object using the Object property.A. The internal methods and propertiesB. The mandatory methods and propertiesC. The selective methods and propertiesD. The assistive methods and propertiesQ. 31: The Information pane provides a list of _________ in the test:A. Semantic errorsB. Syntax errorsC. Common errorsD. Logic errorsQ. 32: When we switch from Expert view to the Keyword view, QTP automatically checks for syntax errors in the test and shows them in the information pane.A. TrueB. FalseQ.33: If the information pane is not open, QTP automatically opens it in case a syntax error is detected.A. TrueB. FalseQ. 34: The __________ provides a list of the resources that are specified in your test but cannot be found.A. Missing paneB. Missing Resources paneC. Resources paneD. Missing Items paneQ. 35: Whenever you open a test or a function library, QTP automatically checks for the availability of specified resources.A. TrueB. FalseQ. 36: The Data Table does not assist you in parameterize your test.A. TrueB. FalseQ. 37: Tabs in the Debug Viewer pane are:A. Watch, Variables, DebugB. Watch, Data, CommandC. Watch, Variables, CommandD. View, Variables, CommandQ. 38: The ________ tab enables you to view the current value of any variable or VBScript expression.A. WatchB. ViewC. LocateD. CurrentQ. 39: The _________ tab displays the current value of all variables that have been recognized up to the last step performed in the run session.A. ViewB. VariablesC. LocateD. CurrentQ. 40: The___________ tab enables you to run a line of script to set or modify the current value of a variable or VBScript object in your test or function library.A. ViewB. VariablesC. CommandD. CurrentQ. 41: QuickTest processes comments when it runs a test.A. TrueB. FalseQ. 42: Press __________ to add a new step below the currently selected step.A. F8B. Shift + AC. F0D. Shift + A + QQ. 43: While working with the Keyword View, you can _________ steps to move them to a different location in a test or in an actionA. Copy and PasteB. Cut and PasteC. Drag and dropD. Both A. and C.Q. 44: You can specify the order in which the columns are displayed in the Keyword view.A. TrueB. FalseQ. 45: You can view _________ while working with keyword view.A. Object propertiesB. Action propertiesC. Action call propertiesD. Checkpoint propertiesE. Output value propertiesF. None of the aboveG. All of aboveQ. 46: You cannot manage some aspects of a local object repository using the QuickTest Object Repository automation object model.A. TrueB. FalseQ. 47: For each action, you can use a combination of objects from your local and shared object repositories.A. TrueB. FalseQ. 48: QuickTest adds all new objects to the local object repository even if one or more shared object repositories are already associated with the action assuming that an object with the same description does not already exist in one of the associated shared object repositories.A. TrueB. FalseQ. 49: If a child object is added to a local object repository, and its parents are in a shared object repository, then you have to manually drag and drop its parent objects from shared object repository to local object repository.A. TrueB. FalseQ. 50: The ________ is not accessible as a separate fileA. Local object repositoryB. Shared object repositoryC. BothD. NoneQ. 51: You can use the Keyword View to add a step ___________ in your test.A. At the endB. Below the currently selected stepC. At the beginningD. At any pointQ. 52: The Documentation cell is ___________.A. Read-onlyB. Write-onlyC. Read and WriteD. Read write & executeQ. 53: An Item column can be any of the following:A. A test objectB. A statement like DimC. A step generated by step generatorD. All of aboveQ. 54: The Operation cell in the keyword view specifies the operation to be performed on the item listed in the ___________ Column.A. OperationB. DocumentationC. ItemD. ValueQ. 55: Even if the Item column in the Keyword View is displayed to the right of the Operation column, you must still first select an item to view the list of available operations in the Operation column.A. TrueB. FalseQ. 56: The Value cell in the keyword view can contain ___________ ValueA. ConstantB. ParameterC. Both A. & B.D. None of theseQ. 57: The ______________ enables you to encode your passwords and place secure values into the Data Table.A. Password EncoderB. Password DecoderC. Password EncodeD. Password DecodeQ. 58: You can also encrypt strings in Data Table cells using the _____________ option in the Data Table menu.A. DecryptB. EncryptC. Encrypt CodeD. Decrypt CodeQ. 59: In addition to adding standard statement steps to your test using the Keyword View, you can also insertA. Checkpoint stepB. Output value stepC. Comment stepD. All of aboveQ. 60: The correct syntax of the conditional statement starting with Do is ________A. Do WhileB. Do UntilC. Do NextD. Both A. and B.Q. 61: In the Object Repository window.A. Local objects are editable (black)B. Shared objects are in read-only format (gray)C. Local objects are in read-only format (gray)D. Shared objects are editable (black)Q. 62: Mark the true statementA. You can delete objects from a shared object repository using the Object Repository window.B. You can delete objects from the local object repository using the Object Repository ManagerC. You can delete objects from the local object repository using the Object Repository windowD. You can delete objects from a shared object repository using the Object Repository ManagerQ. 63: You can modify an object stored in a shared object repository.A. Using the Object Repository ManagerB. Using the Object Repository windowC. You can copy it to the local object repository and then modify its propertiesD. You cannot modify properties of objects stored in Shared object repositoryQ. 64: If an object is contained in both local and shared repositories then, during a run session.A. QuickTest will use the object in the local object repositoryB. QuickTest will use the object in the Shared object repositoryC. There will be a conflictD. QuickTest will use Descriptive ProgrammingQ. 65: When you copy an object to the local object repositoryA. Its parent objects are also copied to the local object repositoryB. Its parent objects are not copied to the local object repositoryC. You have to manually copy its parent objects are also copied to the local object repositoryD. You have to manually drag and drop its parent objectsQ. 66: For tests, you can also view test object properties and property values for objects in the Active Screen, regardless of whether the objects are stored in the object repository.A. TrueB. FalseQ. 67: Object Properties window differs for objects stored in Shared and Local object repository.A. TrueB. FalseQ. 68: You can rename objects in the shared object repository using the Object Repository ManagerA. TrueB. False, you cannot rename objects in shared object repositoryQ. 69: When you modify the name of an object in the local object repository, the name is automatically updated in ___________ for all occurrences of the object.A. in the Keyword ViewB. in the Expert ViewC. Both Keyword and Expert ViewD. Changing name of an object doest not effect keyword or expert viewQ. 70: When you modify the name of an object in a shared repository, the name is automatically updated in all tests open on the same computer that use the object repository as soon as you make the change, even if you have not yet saved the object repository with your changes.A. TrueB. FalseQ. 71: 'Browser navigation timeout' is in which tab of Test Settings (File->Settings) window.A. PropertiesB. ResourcesC. WebD. Web SettingsQ. 72: How many tabs are there in Test Settings (File->Settings) window? 11.0为9个A. 7B. 6C. 5D. 8Q. 73: Identify the tabs in the Test Settings (File->Settings) windowA. Properties, Run, Resources, Parameters, Environment, Web, RecoveryB. Properties, Run, Resources, Parameters, Environment, Web Settings, RecoveryC. Properties, Run Options, Resources, Parameters, Environment, Web, RecoveryD. Properties, Run, Resources, Input Parameters, Environment, Web, RecoveryQ. 74: 'Generate Script' is in which tab of Test Settings (File->Settings) windowA. PropertiesB. WebC. ResourcesD. RecoveryQ. 75: The following are the four main columns in the Keyword viewA. Item, Operation, Value, CommentsB. Item, Operation, Value, DocumentationC. Item, Operation, Property, DocumentationD. Number, Operation, Value, DocumentationQ. 76: For each object and method in an Expert View statement, a corresponding row exists in the Keyword View.A. TrueB. FalseC. There is a problem with the statement.D. None of aboveQ. 77: You can work on one or several function libraries at the same time.A. TrueB. FalseQ. 78: You can insert additional steps on the test objects captured in the Active screen after the recording session.A. TrueB. FalseQ. 79: The Active Screen enables you to parameterize object values and insert checkpointsA. TrueB. FalseQ. 80: A QTP user can increase or decrease the active screen information saved with the test.A. TrueB. FalseQ. 81: An __________ assigns a numerical value to a test object that indicates its order or location relative to other objects with an otherwise identical descriptionA. Index identifier.B. Ordinal identifier.C. SMART ID identifier.D. Original identifier.Q. 82: You can add an object to the local object repository only if that object does not already exist in a shared object repository that is associated with the action. If an object already exists in an associated shared object repository, you can add it to the local object repository using the ______________ option.A. Copy from Shared RepositoryB. Copy from Shared Object RepositoryC. Copy to LocalD. Copy to Local repositoryQ. 83: You can copy, paste, and move objects in the local object repository using the Object Repository window, and copy, paste, and move objects both within a shared object repository and between shared object repositories using the Object Repository Manager. But you cannot copy objects from a shared object repository to the local object repository to modify them locallyA. TrueB. FalseQ. 84: At the time of copying, pasting and moving objects, you cannot move an object to any of its descendants.A. TrueB. FalseQ. 85: When you remove a step from your test, its corresponding object is also removed from the object repositoryA. TrueB. FalseQ. 86: You can use the Find and Replace dialog box to replace property or object names.A. TrueB. FalseQ. 87: The Object Repository window is __________ during record and run sessionsA. Read-onlyB. Rad-write onlyC. Read-write and enableD. None of aboveQ. 88: In the Associated Repositories tab of the Action Properties dialog box, the __________ object repository is always listed first and cannot be moved down the priority list or deleted.A. LocalB. SharedC. BothD. NoneQ. 89: In the Associated Repositories tab of the Action Properties dialog box, although we can order the object repositories according to our choice except the fact that Shared Repository remains the first one and cannot be removed.A. TrueB. FalseQ. 90: If your object repositories are stored in the file system and you want other users or Mercury products to be able to run this action on other computers, you should set the file path as a ______________.A. Absolute pathB. Relative pathC. BothD. None of aboveQ. 91: Panes in QTP can have one of the following states—docked or floatin g.A. TrueB. FalseQ. 92: Which of the following statement is True:A. Quick Test enables you to open and work on one test at a timeB. Quick Test enables you to open and work on two tests at a timeC. Quick Test enables you to open and work on predefined number of tests at a timeD. Quick Test enables you to open and work on nine test at a timeQ. 93: Which of the following statement is true?A. You can open and work on two function libraries simultaneouslyB. You can open and work on multiple function libraries simultaneouslyC. You can open and work on nine function libraries simultaneouslyD. You can open and work on one function library at a timeQ. 94: You can open any function library, regardless of whether it is associated with the currently open test.A. TrueB. FalseQ. 95: You can work with multiple documents (test, component, or application area, function libraries: using the ______ dialog boxA. PanesB. DisplayC. ShowD. WindowsQ. 96: Quick Test has ______ Built-in toolbars.A. 5B. 6C. 7D. 8Q. 97: The ________ toolbar contains buttons for recording and running your test.A. StandardB. ToolsC. AutomationD. EditQ. 98: Shortcut Key for opening a new Function Library is:A. Shift+Alt+NB. Ctrl+Alt+NC. Shift+ND. CRTL+NQ. 99: Shortcut Key for closing all open Function Libraries in one go.A. Ctrl+Alt+CB. Shift+A+CB. Shift+ND. None of theseQ. 100: Shortcut Key for Commenting out the current row, or selected rowsA. Shift+MB. Ctrl+CC. Ctrl+MD. Shift+CQ. 101: By default, new actions areA. ShortB. ExternalC. ReusableD. Non-reusableQ. 102: You can display or hide the Action toolbar in the Keyword View by choosing View > Toolbars > Action.A. View > Toolbars > ActionB. View > Toolbars > ActionsC. View > Toolbar > ActionD. Views > Toolbars > ActionQ. 103: The ___________ enables you to view either the entire test flow (the calls to the actions in the test) or you can view the steps for a selected reusable or external action.A. Action FlowB. Action fileC. Action ListD. Action RepositoryQ. 104: In the _________ the Action List is always visible and the Expert View always displays the script for the selected action.A. Keyword ViewB. Expert ViewC. Action FlowD. Action ViewQ. 105: The __________ method - imports a sheet of a specified file to a specified sheet in the run-time Data Table.A. SheetImportB. ImportSheetC. ImportDataTableD. ImportTableQ. 106: The column headings in the sheet you import must match the Data Table parameter names in the action for which the sheet is being imported. Otherwise, your test or component may fail. A. TrueB. FalseQ. 107: The sheet you import automatically takes the name of the sheet it replaces. A. TrueB. FalseQ. 108: The use of complex and / or nested formulas in the Data Table is supported.A. TrueB. FalseQ. 109: The data your test uses is stored in the __________ Data Table, which is displayed in the Data Table pane at the bottom of the screen while you insert and edit steps. A. Design-timeB. Run-timeC. CurrentD. NoneQ. 110: During the run session, QuickTest creates a ___________ Data Table live version of the Data Table associated with your test.A. TrueB. FalseQ.111: By default, the bottom right part of the Test Results window displays information on the selected checkpoint only if it has the status Failed.A. TrueB. FalseQ.112: You can also use the ___________ to check specific property values.A. CheckProperty methodB. CheckItemProperty methodC. ItemProperty methodD. Property methodQ.113: If you want to retrieve the return value of a checkpoint (a Boolean value that indicates whether the checkpoint passed or failed), you must add ______________ the checkpoint argument in the statement in the Expert View.A. Parentheses aroundB. Properties withC. Arguments withD. Values alongwithQ.114: You can use a formula in a checkpoint to confirm that an object created on-the-fly (dynamically generated) or another variable object in your Web page or application contains the value it should for a given context.A. TrueB. FalseQ.115: You cannot modify the settings of existing checkpoints.A. TrueB. FalseQ. 116: You can edit information in the Data Table by typing directly into the table cells.A. TrueB. FalseQ. 117: Each row in the table represents the set of values that QuickTest submits for the _______________ arguments during a single iteration of the test or action.A. ParameterizedB. Non-parameterizedC. DistributedD. None of aboveQ. 118: For every action called in your test, QuickTest creates a corresponding __________ in the Data Table so that you can enter Data Table parameters that are specific to that action only.A. Action sheetB. Excel sheetC. Both A & BD. NoneQ. 119: When you create a test, it includes _____________ action.A. SingleB. UnlimitedC. ThreeD. MultipleQ. 120: There are three kinds of actions.A. Non-reuse action, reuse action, external actionB. Call to internal action, Call to reusable action, external actionC. Non-reusable action, reusable action, external actionD. Call to non-reusable action, reusable action, external actionQ. 121: Unlike the Exist method, the _________ method enables you to synchronize the test run based on a specific object property.A. WaitPropertyB. WaitC. SyncD. ExitQ. 122: The __________ statement - Initiates a pause during a run session.A. WaitPropertyB. WaitC. SyncD. ExitQ. 123: The _________ property - the maximum time (in milliseconds) that QuickTest waits for a Web page to load before running a step.A. BrowserTimeoutB. Browser_Navigation_TimeoutC. BrowserNavigationTimeoutD. Browser_TimeoutQ. 124: The ___________ checks a variety of objects such as buttons, radio buttons, combo boxes, lists, and so forth.A. Image checkpointB. Standard checkpointC. Bitmap checkpointD. Accessibility checkpointQ. 125: You create an image checkpoint by inserting a _________ on an image object.A. Image checkpointB. Standard checkpointC. Bitmap checkpointD. Accessibility checkpointQ. 126: The __________ are also supported for some list view objects, such as WinListView and VbListView, as well as other list view objects in external add-in environments.A. Table checkpointsB. Standard checkpointsC. Accessibility checkpointsD. XML checkpointsQ. 127: The_________identifies areas of your Web site that may not conform to the World Wide Web Consortium (W3C) Web Content Accessibility Guidelines.A. Accessibility CheckpointB. Standard checkpointsC. Database checkpointsD. Accessible CheckpointQ. 128: The ___________ specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully.A. Check timeoutB. Checkpoint interval timeoutC. Checkpoint timeoutD. Quicktest timeoutQ. 129: The ______________ specifies when to perform the checkpoint in the test.A. Insert statement.B. Check statement.C. Timeout statement.D. Checkpoint statement.Q. 130:You can view the results of the checkpoint in the _____________.A. Test Results windowB. Checkpoint windowC. Information PaneD. Checklist windowQ. 131: The ___________parameters are available for subsequent steps and for nested actions. They are defined in the action containing the steps or in the action that calls the nested action.A. ActionB. Environment VariableC. TestD. Parent actionQ. 132: When specifying the name for data table parameter, the first character of the parameter name must be a _________.A. LetterB. UnderscoreC. NumberD. Both A & BQ. 133: By outputting values to the global Data Table sheet from one action and using them as input parameters in another action, you can easily pass values from one action to another.A. TrueB. FalseQ. 134: The ___________ parameters are especially useful for localization testing, when you want to test an application where the user interface strings change, depending on the selected language.A. ActionB. EnvironmentC. TestD. Parent actionQ. 135: You can also store environment variable files in Quality Center.A. TrueB. FalseQ. 136: The ___________built-in environment variable that tells version of the OS on which you are working.A. OSB. OS_VerC. OSVERD. OSVersionQ. 137: Random number parameters are appropriate for non-numeric values, such as text or hypertext links.A. TrueB. FalseQ. 138: Regular expressions enable QuickTest to identify objects and text strings with undependable values.A. TrueB. FalseQ. 139:You can use regular expressions only for values of type string and number.A. TrueB. FalseQ. 140: If you expect the value of a property to change in an unpredictable way during each run session, you can use regular expressions.A. TrueB. FalseQ. 141: If it is important for you to save the resulting data from the run-time Data Table, you can insert a _____________ statement to the end of your test to export the run-time Data Table to a file.A. Export.DatatableB. DataTable_ExportC. DataTable.ExportD. Both A & BQ. 142: When you parameterize a step in a test using the Data Table, you must decide whether you want to make it a global Data Table parameter or an action Data Table parameter. A. TrueB. FalseQ. 143: After running a parameterized test, you can view the actual values taken from the Data Table in the Test Results Run-Time Data Table.A. TrueB. FalseQ. 144: The _________ property - returns the design-time Data Table, which enables you to modify the data that is used for the Data Table parameters in your test or business component. A. DataTableB. DesignTableC. Design_TableD. NoneQ. 145: The Data Table assists you in parameterizing your test.A. TrueB. FalseQ. 146: You can parameterize values ___________ in your test.A. In StepsB. In CheckpointsC. Of Action ParametersD. Both A & BE: All of aboveQ. 147: You can parameterize values in steps and checkpoints while _________ your test.A. RecordingB. EditingC. Both A & BQ. 148: There are four types of parameters: Test/Action, Random number, Environment Variable, Regular Expression.A. TrueB. False。

相关文档
最新文档