0

testing Online Quiz - 166

Description: testing Online Quiz - 166
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

To Ensure that the Quality Center can Run Tests in QTP, what setting must be set first in QTP?

  1. Allow QC to run tests remotely

  2. Enable QC Integration

  3. Allow other Products to control QTP

  4. Allow other Products to run tests remotely


Correct Option: A

If you see a “Winobject” in your script, what does this mean?

  1. QTP is couldn’t see your application

  2. QTP could see the objects but unable to recognize the class details

  3. QTP cannot see the Object

  4. None of the above


Correct Option: B

How can the Object Repository be made more flexible for objects with dynamic Properties

  1. Regular Expressions

  2. Parameterization

  3. Descriptive Programming

  4. All the Above


Correct Option: C

AI Explanation

To answer this question, you need to understand how the Object Repository can be made more flexible for objects with dynamic properties. Let's go through each option to understand why it is correct or incorrect:

Option A) Regular Expressions - This option is incorrect because regular expressions are used for pattern matching, but they do not make the Object Repository more flexible for objects with dynamic properties.

Option B) Parameterization - This option is incorrect because parameterization is a technique used to pass values as parameters in a script or test case. While it can make the test script more flexible, it does not specifically address dynamic properties in the Object Repository.

Option C) Descriptive Programming - This option is correct because Descriptive Programming allows you to directly describe objects and their properties in the test script, rather than relying on the Object Repository. This approach is useful for objects with dynamic properties because it allows you to dynamically identify and interact with objects at runtime.

Option D) All the Above - This option is incorrect because not all of the options (regular expressions and parameterization) are valid ways to make the Object Repository more flexible for objects with dynamic properties. Only Descriptive Programming is the correct approach for this.

The correct answer is C) Descriptive Programming. This option is correct because it allows you to directly describe objects and their properties in the test script, making the Object Repository more flexible for objects with dynamic properties.

What type of the files can be managed using the Object Repository manager

  1. Local Object Repositories

  2. All Repository Types

  3. Shared Object Repositories

  4. All the Above


Correct Option: A,C

Which looping statement is guaranteed to execute at least once

  1. For…NEXT

  2. While…Wend

  3. Loop

  4. Do…While


Correct Option: D

How can you ensure that all the variables must be declared thin a script?

  1. You Can’t

  2. OptionDeclare

  3. Declare Explicit

  4. Option Explicit


Correct Option: D

What Checkpoint type is used to check the values of Properties of the object?

  1. Low Level

  2. Active Screen

  3. JPEG Sample

  4. Standard


Correct Option: D

To change the currently loaded Add-ins in QTP you must…

  1. Close QTP & Restart it, then select Add-ins from the Add-in Manager

  2. From the Help Menu choose “About QTP” then check the Add-ins required

  3. Open the Add-in Manager from the QTP main menu & change the Add-ins as required

  4. All of the Above


Correct Option: D

When inserting an Output value in your script, which DataTable sheet can you choose to output to?

  1. Local Data Sheet

  2. Global Data Sheet

  3. Both 1 & 2

  4. Either 1 Or 2


Correct Option: D

Which of these can be parameterized?

  1. Checkpoints

  2. Test Objects in the Repository

  3. Database Checkpoints

  4. All of the Above


Correct Option: D

With the following statement, how long will QTP check for the existence of the Button?Window (“Flight Reservation”).WinButton (“OK”).Exist (3)

  1. 3 Seconds

  2. 20 Seconds

  3. Whatever the default time is Set to plus 3 Seconds

  4. Whatever the default time Set to


Correct Option: C

Which utility is used to investigate Object Properties?

  1. GUI Spy

  2. Object Repository

  3. Object Repository manager

  4. Object SPY


Correct Option: D

What does the “ChildObjects” method return?

  1. A Collection of Objects

  2. A count of the number of Objects on the page

  3. All the Web pages displayed in the browser

  4. None of the above


Correct Option: A

Using the following DataTable value Property, what does the number indicate? X= Datatable.value (“Column1”,1)

  1. That you want the data from the first row in the table

  2. That you want the data from the first column in the table

  3. To get the data from the data sheet

  4. To access the data from the data sheet with the index Value ‘1’


Correct Option: D

The Object Properties (Mandatory & Assistive) for the “Test Object Classes” can be defined using one of the following

  1. Object Spy

  2. Object Repository Manager

  3. Object Identification

  4. All the above


Correct Option: C

In which tab of Test Setting, do you find the associated add-ins

  1. Run

  2. Resources

  3. Properties

  4. Parameters


Correct Option: C

What is the default Browser navigation timeout in QTP

  1. 30000 ms

  2. 60000 ms

  3. 90000 ms

  4. 40000 ms


Correct Option: C

What is the shortcut key to Run from Step

  1. CTRL + F10

  2. CTRL + F5

  3. CTRL + F12

  4. CTRL + F2


Correct Option: B

Under which menu option, Recovery Scenario Manager is available

  1. File

  2. Insert

  3. Automation

  4. Resources


Correct Option: D

The type of descriptive programming in which you add a collection of properties and values to a Description object, and then enter the Description object name in the statement is

  1. Static

  2. Scripting

  3. Dynamic

  4. Framework


Correct Option: C
- Hide questions