Você está na página 1de 6

1. What method is used to send run-time Data sheet to an excel sheet?

A. Send
B. Export
C. Sendsheet.
D. ExportSheet.

2. What does the source property of a database checkpoint object represent?


A. The SQL Query
B. The Identification number of the database.
C. The number of rows returned from the query.
D. The connectionstring used to connect to the database.

3. Where do you set the action iterations for a specified action?


A. Action Settings
B. Action Properties.
C. Action Run Settings.
D. Action Call Properties.

.4. How do you know if Smart Identification has been used in a test?
A. The Smart Identification icon appears in the test results.
B. The test results will show a run error, causing a test failure.
C. The Properties used by the object repository will be changed.
D. The object repository will show the Smart Identification Icon

.5. What looping statments are available in Quick Test?


A. Whileend, Doloop, Ifthen
B. Switchcase,ifthen, Fortext
C. Fortext, Whileend, Doloop.
D. Fortext, Doloop, Switchcase.

6. Where do you turn Smart Identification IN?


A. The Object Repository.
B. The Test Settings dialog.
C. The General Options dialog.
D. The object Identification dialog.

7. What is the function of Object Repository Manager?


A. Assign Variable names to the test objects
B. View/make/modify a Local Object Repository
C. View/make/modify a Shared Object Repository
D. Define new test objects using programmatic descriptions.

8. Which method for that Data utility object will allow you to retrieve information from the Data
Table during a test run?
A. Value
B. Import
C. GetCell
D. GetValue

9. What is the keyword used to define how the counter variable in a or next loop increments?
A. ++
B. Next
C. Skip
D.Step
10. What options are available to filter objects in the Target Object Repository pane when
mergind object
repositories?
A. Show all objects or show only objects with conflicting object types
B. Show all objects or show only objects with conflicting descriptions.
C. Show only objects with conflicting logical names or show only objects with conflicting
object types.
D. Show only objects with conflicting logical names or show only objects with conflicting
descriptions.

11. What does a break point do?


A. Stops test execution at the specified step, after executing that step
B. Stops test execution at the specified step, before executing that step.
C. Pauses test execution at the specified step, after executing that step
D. Pauses test execution at the specified step, before executing that step.

12. In which command can you associate a function library to a test?


A. Run options
B. Test Settings
C. View Options
D. Function Definition Generator

13. To use low-level recording, what must you do first?


A. Start a new test
B. Be in the keyword view
C. Be recording in Normal Mode
D. Click Low Level recording under the Automation Menu

14. What is the correct set of add-ins installed automatically with Quick Test 9.2?
A. .NET, Web, Java
B. Web, SAP, VB
C. Active X, VB, Web
D. Active X, TE, Web Services

15. How do you close the database session after examining the results of an SQL query?
A. Call the AOD close function
B. Use the close method for the RecordSet object
C. Set the RecordSet and Connection objects equal to nothing
D. Use the close method for the RecordSet and Connection objects

16. . To bypass the object repository you can?


A. Turn the object repository off
B. Use a programmatic description
C. Delete all objects in all respositories
D. Add the object to the object repository manager.

17. What object is used to send information to test results at the completion of the test run?
A. Result
B. Reporter.
C. ReportEvent
D. Resultreport

18. After running a test that contains both input and output parameters, where can the results of
an output parameter be found/
A. Local DataSheet
B. Global DataSheet
C. Run-time Data Table
D. Design-time Data Table

19. Which statement is used to associate a procedure with a test object class?
A. RegisterFunction
B. RegisterUserProc
C. RegisterUserFunc
D. RegisterProcedure

20. How do you declate a constant


A. Dim Statement
\ B. Con Statement
C. Const Statement
D. Option Explicit Statement

21. What is created, by default with each new action?


A. Local Data Sheet, Global data sheet, Folder
B. Local Object Repository, Local Data Sheet, Folder
C. Global Data Sheet, Local Object Repository, Folder
D. Local Data Sheet, Global Data Sheet, Local Object Repository
22. In the Object Identification diablog box, which properties can be viewed?
A. The base filter and option properties
B. The mandatory and option properties
C. The filter and assistive properties
D. The mandatory and assistive properties

23. If you are typing in Expert view and you type an object followed by a dot, what does Quick
Test display?
A. Nothing
b. The arguments for that object
C. The methods and properties for that object
D. The child objects and methods for that object
24. What are bitmap checkpoints sensitive to?
A. Image size and object type
B. Object type and image type
C. Screen resolution and object type
D. Screen resolution and image size
25. What must you do before a shared object repository can be edited?
A. Enable Editing
B. Add a new object
C. Open the object repository
D. OPen an action that used that shared object repository

26. What is the difference between a subroutine and a function?


A. Subroutine can call itself, a function cannot
B. A function returns a value; a subroutine cannot
C. A function can accept arguments; a subroutine cannot
D. A subroutine can call other procedures; a function cannot

27. What does the GetTOProperty method do?


A. Retrieves the value of a property from the test object.
B. Retrieves the available properties from a test object.
C. Retrieves the value of a property from a run time object.
D. Retrieves the available properties from a run time object
28. The list of test objects and their properties and values are stored in the

a. Object Repository
b. Object Identification
c. Object Class

29. Which two options are available under Record and Run settings for window Application

Answer: 1. Open and Run only on:

2. Record and Run test on an open windows based application

30. Which three option are available in custom option of Active Screen tab

Answer: we have 4 option available:

Complete

Partial

Minimum

None

31. Global data sheet contains 10 rows local data sheey conatins 5 rows action iterations 1 to 4. how
many times it will excute

a.)20

b.)50

c.)14

d) 40

32. How can you say if Test is Running in Normal Run Mode

a) Minimize active secreen

b) displays execution marker

c) doesn’t display execution marker

d)

33. Which parameter is system generated

a) Input
b) Output

c) Environment

d) XML structure

e) Random number

34. Key for Standard Checkpoint

Answer: F12

35. From where to Inser Synchronization point

Answer: Insert Menu

36. The related to regular expression .

a.)To set Value in O.R

b.)To update value in O.R

c.)Maximum range of values.

37.)format of saving compresssed folder

Ans).Zip

38.)To mak the statement in single line

a);

b):

c)-(hypen)

d)_(underscore)

39.)in update mode what are updated

Ans) please seee all the options in update mode in Qtp

Test object description


Active screen images and values

Checkpoint values

40.)intellisense statment completion feature including with quick test.

plse serch Tools->view options->general

plese refer the screen shot intellisense screen shot

41)how QTP differentiatie the objects.

ans)class & logical names and properties

42)If you are typing in Expert View and you type an object followed by a dot, what does QuickTest

display? Choose three options

anws)methods and propeties and registred functions

Most of the questions you will find in the form of choose two and three options

e.g which condiotional statement are there. Choose 3

If Else

For Next

Do Loop

While Wend

Swich