Pages

Tuesday, November 13, 2012

Quick Test Professional (QTP) - Password Encoder Tool

Password Encoder Tool

This tool enables you to encode passwords so that you can use the resulting strings as method arguments or data table parameter values (enabling you to place secure values into the data table). For example, your Web site may include a form in which the user must supply a password. You may want to test how your site responds to different passwords, but you also want to ensure the integrity of the passwords.




User interface elements are described below:

Password 
The password to encrypt.

Encoded string 
The encrypted string that is generated when you click Generate.

Generate 
Encrypts the string you entered in the Password box.

Copy
Copies the encrypted password to the Clipboard. You can
then paste it as value for a method argument or insert it
as a secure value in the data table.

To access 
From the Windows menu, select Start > Programs > HP QuickTest Professional > Tools > Password Encoder.

Quick Test Professional (QTP) - Test Automation

What is Test Automation
Test Automation is the process of reducing, and when possible, removing human interventions from an existing manual testing process.

When Should Test Automation Be Used?

Below is a list of parameters which makes a manual test a good candidate for automation:
  • Test must be repeated often.
  • Test workflow and its validation evolve and change slowly over time.
  • Test validates a business process or workflow, rather than look and feel, color,table,layout, etc.
  • Test is a very repetitive and/or has a lot of steps, and its important that those steps be performed exactly the same each time, where manual tester fatigue must be avoided.
  • Test result produces results for a regulatory body that demands that those results be electronically recorded and archived as formal evidence of compliance.
  • Tests pass/fail results are reasonably easy to determine and capture with the selected automation tool.
  • Test needs to drive a significant amount of data to the application.

When Should Test Automation Be Avoided?
  • Ad-hoc testing where a subject matter experts randomly prowls through a variety of combinatorial workflows.
  • One time testing or testing repeated only a few times
  • Testing which require multiple functional areas such that the test travels through a small amount of virtually all of the the product's functionality
  • Testing where look and fell, color, table layout, etc. are validated
  • Testing where pass/fails require evaluating information from several different and unrelated systems and/or applications.

The Automated Testing Process
The various phases involved in the automated testing process


Selecting the "best fit" Automation Tool:
It is important to pick the best fit for the majority of the applications. The choice should be based on variety of factors such as cost, ease of use, application support capabilities and product support.

Proof of Concept (POC):
This actively involves crating few sample scripts that validate a few important business workflows in one or tow of your most important applications. This helps identify any major issues that might be encountered during future case development.

Requirement Analysis:
This activity involves analyzing the requirements of an application, studying the existing manual test-cases and then defining the scope of the test automation project.

Project Estimates:
Once the scope of the automation is defined, estimates can then be formulated based on various factors like number of test-cases to be automated, their level of complexity, what re-usable components need to be developed, staffing requirements etc.

Framework Design:
This activity involves creating shared object repository(s), any re-usable components, writing a best practice guideline documented completing any supplementary activities to prepare a base of supporting components that will be utilized to  develop automation test scripts.

Test script development:
Test cases are created by calling the re-usable component and adding appropriate validations to each of workflow specific scripts.

Debugging:
Completed test-cases are debugged to make sure they work as designed. 

Execution:
In this phase test-cases are finally put to work through regression testing and validating the application under test.

Result Analysis:
Process followed by the results created by each executed test after execution.

Maintenance:
This phase involves updating the scripts to fix any code related to issue found during execution. A well designed framework and a set of test ensures that maintenance cost at kept to a minimum.

Quick Test Professional (QTP) - Utility Objects

QTP provides several utility objects to enhance the power of scripting. Below is a list of all QTP utility objects.

Crypt, DataTable, Description, DTParameter, DTSheet, Environment, Extern, OptionalStep, Parameter, PathFinder, Properties(Collection), QCUtil, Random Number, Recovery, Reporter, Services, Setting, TextUtil, TSLTest, XMLUtil

Only some of the QTP objects are covered here and rest will be covered in other post.


Quick Test Professional (QTP) - RegisterUserFunc Object


This object is used to add new methods to a test object or to override existing ones. The syntax is :

RegisterUserFunc TOClass, Method, FunctionName, SetAsDefault

If we want to override the SetFunction for WebEdit test object then we need to create a new function and then assign it using the RegisterUserFunc object as follows:

'New set method for webEdit objects
Sub NewSet(Object , newValue)
  Object.Set Ucase(newValue)
End Sub

RegisterUserFunc "WebEdit", "Set", "NewSet"
Browser("Browser").Page("Page").WebEdit("Text").Set "Nikhil"

The last statement in our example now calls out NewSet function and changes the input value
to upper case and then assign the value.

If we want to use the NewSet function to handle different types of test objects, then we can use GetTOProperty function to determine which type of object has been passed to the funtion.

If we want define a new Set method for all the objects like "WebEdit", WebCheckBox", WebList", "WebRadioButton" etc, then we can create a function like one shown below:

'Generic set method for various objects
Sub GenericSet(Object, newValue)

  'Get the type of the object 
  sObjectType = Object.GetTOProperty("micclass")

  Select Case sObjectType
    Case "WebEdit", "WebCheckBox"
      WebSet Object, newValue

    Case "WebList", WebRadioButton"
      WebSelect Object.newValue
  End Select
End Sub

WebSet and WebSelect functions used in the code given above are user defined functions that are being used to do operation on specific types of object.

Quick Test Professional (QTP) - SystemUtil Object


This is used to run and close the processes. Below are few example of starting the processes.

'Run internet explorer
SystemUtil.Run "iexplore.exe"

'Run the internet explorer and pass the staring URL
SystemUitl.Run "iexplore.exe", "http://www.yahoo.com"

Below are few examples of closing a process.

'Give # of closed process
numClosed = SystemUtil.CloseProcessByName("explore.exe")

'Title with a regular expression
SystemUtil.CloseProcessByWndTitle "Microsoft Internet Explorer. *", True

'Title without regular expression
SystemUtil.CloseProcessByWndTitle "Notepad"

'Closing a process by window handle
hwnd = Browser("creationtime:=0").GetROProperty("hwnd")
SystemUtil.CloseProcessByHwnd hwnd

'Close process by the process id
SystemUtil.CloseProcessById processID

'Close all processes opened by QTP
SystemUtil.CloseDescendentProcesses

Quick Test Professional (QTP) - WebUtil Object

This provides and undocumented method to delete browser cookies:

'Delete cookies
WebUtil.DeleteCookies

NOTE: The WebUtil object is implicitly available after installing QTP Plus, and it can be explicitly instantiated using the following statement:

'Create the WebUtil object
Set WebUtil = CreateObject("Mercury.GUI_WebUtil")

'Delete cookies and destroy the object
oWebUtil.DeleteCookies
Set oWebUtil = Nothing

Quick Test Professional (QTP) - Setting Object


You can use the Setting object to control how QuickTest run tests by setting and retrieving testing options during a run session.

QuickTest testing options affect how you work with tests. For example, you can set the maximum time that QuickTest allows when loading a Web page, before determining that the URL address cannot be found.



Some options are global and others affect only the current test. After you use a Setting object to set a testing option, the setting remains in effect until it is changed again or until the end of your current QuickTest session. You can also use the Setting object to change a setting for a specific part of a specific test.


Some of the testing options that you can set using the Setting object are also available in the Options dialog box (global options) or the Test Settings dialog box (test specific settings). When you use the Setting object to set these options, the change is reflected in the relevant dialog box. Other test settings can be accessed using only one method, either the relevant dialog box or the Setting object.



This object provides the following properties and method to modify test properties at run-time:
  • Add method
  • Exists method
  • Remove method
  • Item property

The Add method:
This method is used to define user-defined settings to the object:

'Add the setting to QTP
Setting.Add "LogErrors", "Yes"
Msgbox Setting.Item("LogErrors")  'Will return "Yes"

'Since Item is the default property for Setting object, we can also use the following syntax:
Msgbox Setting ("LogErrors")  'Will return "Yes"

The Exists method:
This method is used to check if a setting is currently defined:

'Check if LogErrors setting exists or not
If Setting.Exists("LogErrors") then
  Msgbox Setting("LogErrors")  'Will return "Yes"
Else
  Setting.Add "LogErrors", "Yes"
  Msgbox Setting("LogErrors")  'Will return "Yes"
End If

The Remove method
This method is used to remove user-defined settings from the object:

'Will return False
Msgbox Setting.Exists("LogErrors")
Setting.Add "LogErrors", "Yes"

'Will return True
Msgbox Setting.Exists("LogErrors")

Setting.Remove "LogErrors", "Yes"

'Will return False
Msgbox Setting.Exists("LogErrors")

QTP also provides the following build-in Setting object values:
  • AutomaticLinkRun
  • DefaultLoadTime
  • DefaultTimeOut
  • ReplayType
  • SnapshotReportMode
  • WebTimeOut

Quick Test Professional (QTP) - RandomNumber Object

This object provides a method to get a random number between twp specified values.

'This will randomly assign a number to x between 1-200
x = RandomNumber.value(1, 200)

Since value is the default property for RandomNumber object, we can also use the 
following syntax:

'This will randomly assign a number to x between 1-200
x = RandomNumber(1, 200)


Parameter Options Dialog Box (Random Number)

This dialog box enables you to define settings for a random number parameter.
The image below shows the dialog box that opens when you select to parameterize a checkpoint expected value. The dialog boxes for parameterizing other value types such as argument values, object property values, and output storage locations provide similar options.



Quick Test Professional (QTP) - PathFinder Object


This object can be used to find the absolute path to a file. QTP allows setting folder path in the Tools->Options->Folders (Tab) as shown in the figure and in situations where we want to determine which particular folder a file reside in we can use PathFinder.Locate method. Consider the following example:




Let's say we want find the key.txt file located in the "C:\Setup" folder.
'this will assign "C:\Setup\key.txt" to x
x = PathFinder.Locate("key.txt")

Even if "C:\Support" folder has a "key.txt" file, the Locate method will still return "C:\Setup\key.txt" as the "C:\Setup"folder has higher priority than the "C:\Support" folder.

Quick Test Professional (QTP) - OptionalStep Object


This is used to make a statement optional in situations where a statement might fail. Consider the below statement:

'Click Yes on the security warning dialog box
Browser("Browser").Dialog("Security Warning").WinButton("Yes").Click

This statement could have been recorded where a security warnings were enabled, but then run on another PC who's browser does not have those warning enabled-in that scenario the statement will fail. So when a statement depends on a system state, it should be maed optional using the OptionalStep object:

'Click Yes on the security warning dialog box
'In case the step fails proceed to nect step without failing the status in the test result summary
OptionalStep.Browser("Browser").Dialog("Security Warning").WinButton("Yes").Click


How to Set Optional Steps from Keyword tab
This task describes how to set an optional step. Do one of the following:
In the Keyword View, right-click the step and select Optional Step. The Optional Step icon is added next to the selected step.




Quick Test Professional (QTP) - Crypt Object


This object encrypts strings in a format that the QTP SetSecure function understands. Encrypt is the only method provided by the object.

'Encrypt the string
myVar = Crypt.Encrypt("QTPText")

The above statement will assign myVar a value which looks something like
"456955244855c54535454f5455784456f66446s7r464a64r64kj464b6467h443g3234"

This value produced by Crypt.Encrypt is not constant because encrypting the same string again generates a different encrypting string. Now the question arises that when should this capability be used? Consider a script which is executed on a tester's PC with the results sent to others. Is the script has a step top enter a password:

'Set the text in the WebEdit
Browser("Browser").Page("Page").WebEdit("password").Set "QTP"

Then this step will appear in the result summary and will include the "QTP" value. This could compromise security, so let's replace the above statement with a new one:

'Encrypt and then set the password
sEncryptPassword = Crypt.Encrypt("QTP")
Browser("Browser").Page("Page").WebEdit("password").SetSecure sEncryptPassword

Now the password won't appear in the test result summary as we are using the secure mode of setting the password.

NOTE: We can also create an instance of the crypt object is VBScript using the following code :
Set myCrypt = CreateObject("Mercury.Encrypter")

Monday, November 12, 2012

QTP Questions and Answers - 28

Q - 541: Which HP QuickTest Professional feature can be installed as a standalone application? 
A. Run Result Viewer
B. Object Repository Manager
C. Log Tracking Manager
D. Object Sp

Q - 542: You have configured a test without checkpoints. After a successful test run with no failures, which status is displayed in the Test Results Summary?
A. Passed
B. Done
C. Successful
D. Complete

Q - 543: Which conditions cause Smart Identification to fail? (Select two.)
A. Multiple objects match the learned description.
B. No object matches the learned description.
C. No methods match the learned description.
D. Multiple methods match the learned description.
E. An element does not support Smart Identification.

Q - 544: DRAG DROP: Click the Task button. Identify the valid steps of the Smart Identification process and place them in the correct order of execution.

Answer
Q - 545: Which feature requires a connection to HP Application Lifecycle Management? 
A. Jump to Step
B. Baselining
C. System Monitor
D. Save Test with Resources

Q - 546: Which steps are required to connect to HP Application Lifecycle Management from HP QuickTest Professional? (Select three.
A. Define a project
B. Connect to the server
C. Authenticate user
D. Create a user
E. Define a domain
F. Select a project

Q - 547: Before automating a test, you decide to create a library of actions to be reused to achieve testing goals. 
Which elements are critical for recording the different combinations of actions?
A. Starting and ending parameters
B. Input and output conditions
C. Initial and end conditions
D. Visual and implied cues

Q - 548: What are the predefined Web Event Recording Configurations in HP QuickTest Professional? (Select three.)
A. Low
B. Basic
C. Medium
D. Intermediate
E. High
F. Advanced

Q - 549: Which type of visual cue is easy to test with HP QuickTest Professional and requires a large amount of time to verify manually?
A. Content of an image
B. Existence of an image
C. Grayed-out field
D. Text attachment

Q - 550: Which type of checkpoint ensures that a new record is saved correctly?
A. Text
B. Standard
C. Database
D. Bitmap

Q - 551: What are expected values in HP QuickTest Professional? 
A. The values recorded during a test run and compared with original values within test objects
B. The values contained in the "expected results" property of each test object
C. The values predefined as the expected results of an unsuccessful test run
D. The values captured during recording and used in checkpoints as reference values

Q - 552: Which HP QuickTest Professional feature acknowledges that the application is executing as expected?
A. Checkpoint
B. Parameterization
C. Validation
D. Breakpoint

Q - 553: What does the HP QuickTest Professional Missing Resources pane provide? 
A. A list of all the resources that are referenced in your test or component
B. A list of all the resources that are NOT referenced in your test or component
C. A list of the resources that are referenced in your test or component but cannot be found
D. A list of the resources that have been moved from the standard include path

Q - 554: What are characteristics of HP QuickTest Professional's Process Guidance Tool? (Select three.)
A. It can be customized to define a customer's specific test automation processes.
B. It displays information about test process coverage.
C. It displays processes independent of the required document type and Add-in.
D. It can be used to navigate through the core activities of important testing processes.
E. It can be used to learn the preferred methodology for performing processes.
F. It can be used to generate tests from requirements.

QTP Questions and Answers - 27

Q - 521: Which feature of HP QuickTest Professional displays VBScript code? 
A. Programmatic Description
B. Expert View
C. Keyword View
D. Object Editor

Q - 522: Which statement is true about a Database checkpoint? 
A. It checks the state of an object property.
B. It checks for a parameterized property value.
C. It uses a query to validate actual value.
D. It checks for a constant property value.

Q - 523: Which option can be selected in the Active Screen Options tab? 
A. Display the Active Screen
B. Save window layout
C. Display test report after test run
D. Change the capture level

Q - 524: What are the default Add-ins installed with HP QuickTest Professional? 
A. ActiveX and Web
B. OCX and XML
C. C,.NET and HTML
D. Visual Basic and Java

Q - 525: What is stored in the Default Test folder using the default HP QuickTest Professional folder structure? (Select two.)
A. Local Data Table
B. Run-time Data Table
C. Action0 folder
D. Local Action folder
E. Data folder

Q - 526: You have defined a global synchronization timeout of 30 seconds for your test. The synchronization point timeout for a button to become enabled is set to 30,000. 
During playback of the script, what is the maximum amount of time HP QuickTest Professional will wait for the button to become enabled?
A. 30 seconds
B. 33 seconds
C. 60 seconds
D. 30,030 seconds

Q - 527: Which feature of the Object Repository allows you to add a new object planned for your application?
A. Add New Test Object
B. Specify New Test Object
C. Record New Test Object
D. Define New Test Object

Q - 528: What is displayed in the HP QuickTest Professional Keyword View? 
A. The active screen during the test run
B. Keywords used in the initial and end conditions
C. Associated functions available to the action
D. The recorded steps in graphical format

Q - 529: In the test results, square brackets around a test object name indicate that the test object was dynamically created using which functions? (Select two.)
A. Child Objects method
B. Smart Identification
C. DynamicBuild method
D. Create method
E. Programmatic Description

Q - 530: Where should an output parameter be saved for reuse? 
A. Run-time data table
B. Design-time data table
C. Design-time data repository
D. Run-time data repository

Q - 531: You added parameters in your test and defined them in the Global and Local sheets. The Global sheet includes two rows, and the Local sheet includes five rows. 
If you do not change any of the default data table run settings, how many times will the test iterate?
A. 2
B. S
C. 7
D. 10

Q - 532: The global data table for a test includes 50 rows. What is the best way for you to limit this test to only run five iterations?
A. Delete all but five rows from the run-time Data Table.
B. Add custom code to Expert View to limit the iterations.
C. Disable all but five of the rows.
D. Modify the Run options to Test Settings dialog.

Q - 533: What does the Automatically Parameterizing Steps feature enable you to do? 
A. Generate random parameter values for each action in a test
B. Perform automatic parameterization of all relevant steps in any action in a test
C. Create test steps automatically in any action in a test
D. Link parameters to test requirements in any action in a test

Q - 534: What does the Watch tab enable you to do?
A. View only the variable value
B. Evaluate a VBScript expression
C. View the dimension in Byte of the selected variable
D. Erase a local variable

Q - 535: What can be added to pause a test run at a specific step? 
A. Breakpoint
B. Delay
C. Stop point
D. Sync statement

Q - 536: What is used to create a Dynamic Programmatic Description? 
A. Description object, property, and value
B. Programmatic object, description, and property
C. Programmatic object, method, and ":" in the logical name
D. Property, method, and value

Q - 537: Which type of object is best handled with a Programmatic Description? 
A. A static runtime object
B. A test object
C. An object not in the Object Repository
D. A static button

Q - 538: Which options are available for the Screen Recorder feature? (Select two.)
A. Capture a movie only for the failed steps
B. Capture a movie of all steps in the recording stage
C. Capture a movie only of selected test runs
D. Capture a movie of all steps in the run
E. Capture a movie only of selected page

Q - 539: What is available in the Executive Summary section of the Run Result pane? (Select two.)
A. A graphical representation of the results
B. The Pass/Fail test status
C. The test parameters value
D. A still image of the state of the application at a particular step
E. The total run execution time

Q - 540: Which pane in the Run Result window should you use to compare test results across different test runs?
A. Captured Data pane
B. Compare Results pane
C. Statistics pane
D. Executive Summary pane

QTP Questions and Answers - 25

Q - 481: When is it best to use a programmatic description?
A. When you work with properties and methods of an object not in the object repository
B. When you are retrieving a property from a static run-time object
C. When you are retrieving a property from a test object
D. When you need to click static buttons

Q - 482: Which operator do you use to concatenate two strings in VBScript?
A. &
B. &&
C. concat
D. ++

Q - 483: What is the purpose of the Data Table in a custom checkpoint?
A. To store output values and formulas
B. To compare headers
C. To access global values
D. To store input objects
   
Q - 484: In HP QuickTest Professional, what does the Managing Versions feature enable you to 
A. Compare different test results
B. Check out only the latest version of an asset
C. Compare only the latest two versions of an asset
D. Check in only the latest version of an asset

Q - 485: You have developed a functional test in HP QuickTest Professional and want to take advantage of version control in HP Application Lifecycle Management. 
Which menu option should you use to put your test in HP Application Lifecycle Management?
A. Save As
B. Create Version
C. Check-in
D. Save Test with Resources
    
Q - 486: What happens when you import data using the DataTable.ImportSheet function? 
A. Data is overwritten when column headers in Excel and the data table match.
B. Sheet in the Excel file is always imported.
C. Data will be appended to the data table.
D. A new column is added to the data table when column headers in Excel and the data table match.

Q - 487: HP QuickTest Professional 11 enables you record steps from which browser?
A. Chrome
B. Safari
C. Netscape
D. Firefox

Q - 488: Which Web testing capabilities have been added in HP QuickTest Professional 11? (Select three.)
A. Firefox Document Object Model access
B. Internet Explorer Developer Toolbar support
C. Event Identifiers that enable identification based on events associated to a Web object
D. Javascript code capability that enables lavascript code to be embedded in all loaded browser pages
E. Property Identifiers that enable identification based on properties associated to a Web object
F. Vbscript code capability that enables Vbscript code to run in specific browser pages

Q - 489: What is created when you select Edit > Action > Split Action? 
A. An independent action
B. A new shared object repository
C. An action fork
D. A new test

Q - 490: When inserting a call to a reusable action, which two ways can the tester handle the data resources in that action? (Select two.)
A. Have the new action refer to a read-only copy of the data in the original action.
B. Have the action get an empty set of data resources.
C. Delete the data.
D. Store an editable copy of the data in the new action.
E. Have the new action refer with write permissions to the copy of the data in the original action.

Q - 491: A HP QuickTest Professional instructor needs to take a sample test that was built in HP Application Lifecycle Management to an off-site training facility. 
What is the simplest way to convert that test into a portable format?
A. Use the Export to Portable feature to export the test with its object repository into XML format.
B. Use the Save Test with Resources feature for main test and do the same for the test that contains the called reusable actions.
C. Use the Save Test with Resources feature.
D. Use the Export to Zip feature.

Q - 492: What is configured with the Action Call Properties dialog box? 
A. Object repositories
B. Test flow settings
C. Test run properties
D. Local data sheet iterations

Q - 493: A test, EditShoppingCart, has a call to an external action, SaveCart. The owner of SaveCart needs to perform maintenance on it and has turned off its Reusable property. 
When testers open the EditShoppingCart test, how will they know that the SaveCart action is unavailable?
A. SaveCart is listed with an explanation in the Details column in the Missing Resources panel.
B. HP QuickTest Professional pops up an informational message when EditShoppingCart is opened.
C. SaveCart is grayed out in the Test Flow panel.
D. SaveCart is grayed out in the External Actions list in the Resources panel.

Q - 494: HP QuickTest Professional supports which kinds of Object Repositories? (Select two.)
A. Global
B. Shared
C. Test
D. Action
E. Local

Q - 495: Which types of conflicts does the Objects Repositories Merge Tool detect? 
A. Same name different description, similar description
B. Same name extra properties, different name same properties
C. Same name different parent, same parent different name
D. Same object different parent, similar description

Q - 496: Which menu is used to access the Object Repository Manager to modify a shared object repository?
A. Resources
B. File
C. Edit
D. Tools

Q - 497: Which access does a newly purchased HP Functional Testing license provide? 
A. Only HP QuickTest Professional
B. Only HP QuickTest Professional and its Add-ins
C. Service Test, HP QuickTest Professional and its Add-ins
D. Functional Testing License Server Console, HP QuickTest Professional and its Add-ins

Q - 498: Which statement is true about HP QuickTest Professional (QTP) software update processes? (Select two.)
A. You can manually check for updates using the Updater Tool and then optionally download and install them
B. You can manually check for updates within QTP by selecting Help > HP Update, and then optionally download and install them.
C. QTP automatically checks for updates when it is started and automatically applies them.
D. You can manually check for updates within QTP by selecting Start > Programs > HP QuickTest Professional > HP Update, and then optionally download and install them.
E. QTP automatically checks for updates once every 30 days and automatically applies them, by default.
   
Q - 499: What is one purpose of virtual objects? 
A. To point to an object name that might be located in any object repository
B. To map an area of your application to a standard class
C. To utilize an object without pre-defining the object type
D. To point to an object that will be defined later, possibly by another tester

Q - 500: How is the Low Level Recording mode initiated? 
A. By clicking Tools > Automation menu > Activate Low Level Recording
B. By clicking Record and pressing F8
C. By clicking the Record button twice
D. By clicking Record and selecting it from the Automation menu


QTP Questions and Answers - 24

Q - 461: Click Next or More to continue. Click the Task button.
 

Q - 462: Which checkpoint type should you use to validate the enabled state of a button?
A. Text
B. Standard
C. Bitmap
D. XML

Q - 463: Which term is used to define a string of special characters that define the condition of the search?
A. Constant expression
B. Placeholder
C. Regular expression
D. Parameter
  
Q - 464: You have multiple test cases that require you to test valid and invalid username and password combinations. Which parameter type should you use?
A. Output
B. Input
C. Random Number
D. Environment
  
Q - 465: Where is data for an Input parameter stored?
A. Run-time Data Table
B. Design-time Data Table
C. Run-time Data Repository
D. Design-time Data Repository
  
Q - 466: User-defined environment variables can be imported from an external file. What is the valid file type that can be imported?
A. txt
B. xml
C. csv
D. html
  
Q - 467: After playing back a test containing output values, where can the output values be viewed?
A. Global Data Table
B. Local Data Table
C. Design-time Data Table
D. Run-time Data Table
  
Q - 468: Which status is reported in the Test Results Summary if the test does not include checkpoints?
A. Fail
B. Passed 
C. Done
D. Complete
  
Q - 469: You ran a test scenario with 10 iterations. What does the Test Results Summary report if 8 iterations pass and 2 iterations fail?
A. The summary reports PASS because more iterations passed than failed.
B. The summary reports the status for each iteration.
C. The summary reports DONE.
D. The summary reports FAIL because all iterations did not pass.
  
Q - 470: A tester uses QuickTest Professional connected to Quality Center and the tests are stored in Quality Center. At an upcoming conference, this tester wants to demonstrate a new QuickTest Professional test.
The test makes calls to reusable actions from other QuickTest Professional tests stored in Quality Center.
What is the simplest way to make the test portable so it can run disconnected from Quality Center?
A. Use the QuickTest Professional Save test with resources feature.
B. Change the calls to the reusable actions, use copies of the reusable actions, and then use the QuickTest Professional Save test with resources feature.
C. Use the QuickTest Professional Save test with resources feature for main test and do the same for the test that contains the called reusable actions.
D. Use the QuickTest Professional Export to zip feature.

Q - 471: What happens when a tester performs an Insert > Call to Copy of Action?
A. The local Data Table and the run iterations settings (in action call properties) are copied over.
B. The steps, checkpoints, parameterizations, action parameters, and object repository are all copied over.
C. Only the called action, but none of its child actions (that is, actions called by it), is copied over.
D. The Use data stored with the original action is disabled.
  
Q - 472: Which feature displays all the test's actions?
A. Actions tree within the Resources panel
B. Test Flow panel
C. Flow Viewer panel
D. Test Action Manager Tool
  
Q - 473: Where are the local data sheet iterations specified?
A. Test Run Properties
B. Action Settings
C. Action Call Properties
D. Test Flow Settings
  
Q - 474: When inserting a call to a reusable action, how are the data resources in that action handled?
A. The data continues to be stored with the original action (read-only) and the new action refers to it.
B. A copy of the data is made (editable) and stored with the new action.
C. The tester must make a one-time selection to either copy the data or refer to the original data.
D. The tester always has the option to copy the data or refer to the original data.
  
Q - 475: Where do you go to modify a shared object repository?
A. Resources > Object Repository Manager
B. Resources > Object Repository
C. Tools > Object Repository Manager
D. Tools > Resources Manager > Object Repository
  
Q - 476: Which QuickTest Professional tool uses the Object Repositories Merge Tool?
A. Map Repository Parameters Tool
B. Update from Local Repository Tool
C. Object Repository Comparison Tool
D. Update from Application Tool
  
Q - 477: Which conflicts does the Objects Repositories Merge Tool detect? (Select three.)
A. Same object different parent
B. Same name different description
C. Same description different name
D. Same name extra properties
E. Similar description
  
Q - 478: Click Next or More to continue. Click the Task button.


Q - 479: Click the Exhibit button

You are creating a recovery scenario to handle the pop-up shown in the exhibit. Which recovery option should you select?
A. Keyboard or mouse operation
B. Close application process
C. Function call
D. Restart Microsoft Windows
  
Q - 480: What is the correct syntax for a programmatic description?
A. WebEdit("Name:=Author" , Index:=3)
B. WebEdit("Name:=Author" , "Index:=3")
C. WebEdit("Name:=Author";"Index=3")
D. WebEdit("Name:=Author";"Index:=3)