Wednesday, 15 July 2015

QTP CERTIFICATION IMP QUESTIONS



1. The toolbar enables you to view the details of an individual action or the entire test flow is

1. Testing toolbar
2. None of the above
3. Action toolbar
4. Test Pane

ANSWER: 3

2. The key that is used to Start/End analog recording mode ?

1. F3
2. SHIFT+ALT+F3
3. CTRL+SHIFT+F3
4. F10

ANSWER: 2

3. QuickTest supports virtual object for analog or low-level recording.

1. False
2. True

ANSWER: 1

4. To use a specific property to identify your object, but that property is not listed in the properties list. Then how do you identify that object?

1. Add the specific property to the list
2. Use the Default property
3. Use some other property to identify your object

ANSWER: 1

5. The checkpoint used to check the alt attribute exists for all relevant objects (such as images) is

1. DataBase CheckPoint
2. Accessibility checkpoint
3. Bitmap checkpoint
4. Standard checkpoint

ANSWER: 2

6. Bitmap checkpoint is supported in VB environment.

1. True
2. False

ANSWER: 1

7. Can we parameterize the checkpoints properties?

1. No
2. Yes

ANSWER: 2

8. What is the shortcut key that is used for a Standard Checkpoint ?

1. F12
2. F2
3. F10
4. F7

ANSWER: 1

9. Can we change name of checkpoint ?

1. No
2. Yes

ANSWER: 1

10. To compares the values of the specified property during a run session with the values stored for the same test object property within the test.

1. Checkpoint
2. All the above
3. Output Value
4. Compare the object property

ANSWER: 1
More Testing JOBS & FAQ @ http://www.TestingKen.com
11. You will use the recording mode for an object not recognized by QuickTest.

1. Low-Level Recording Mode
2. Normal recording Mode
3. Analog Mode

ANSWER: 1

12. The statement that calls the recorded analog file is

1. RunAnalog
2. CallAnalog
3. ExecuteAnalog

ANSWER: 1

13. An action can be called by other tests or actions is

1. Call Action
2. Split Action
3. Reusable Action

ANSWER: 3

14. You can replace the page in your Active Screen tab

1. False
2. True

ANSWER: 2

15. QuickTest adds a checkpoint statement in the Expert View as

1. Check Checkpoint
2. Checkpoint

ANSWER: 1

16. A Checkpoint checks that a text string is displayed within a defined area in a Windows application is

1. Accessibility
2. Text Area
3. Standard
4. Text

ANSWER: 2

17. In ActiveX environment an Accessibility checkpoint is supported.

1. No
2. Yes

ANSWER: 1

18. Can we get the execution time for an action in a Test.

1. Yes
2. No

ANSWER: 1

19. Can we add external library files in QTP ?

1. No
2. Yes

ANSWER: 2

20. The method used to get data from HTML Table is

1. GetData(Row,Col)
2. GetRowValue(Rowid,Colname)
3. GetCellData (Row,Col)

ANSWER: 3
More Testing JOBS & FAQ @ http://www.TestingKen.com
21.The Command used to insert the transactions in test is,

1. StartTransaction("Name"), EndTransaction("Name")
2. Services.StartTransaction "Name", Services.EndTransaction "Name"
3. StartTransaction.services "Name", EndTransaction.services "Name"

ANSWER: 2

22. A step in which one or more values are captured at a specific point in your test and stored for the duration of the run session is

1. Output Value
2. Checkpoints
3. Active Screen

ANSWER: 1

23. QuickTest can detects an application crash and activate a defined recovery scenario to continue the run session.

1. True
2. false

ANSWER: 1

24. In Batch Test process, the test list are saved in file format as,

1. *.mtb
2. *.mts
3. *.mbt
4. *.mtr

ANSWER: 1

25.The command used to invoke other application from QTP,

1. InvokeApplication
2. SystemUtil.Run
3. Run
4. Both b & c
5. Both a & b

ANSWER: 5

26.The command used to retrieve data from excel sheet is

1. Set ab = Connection("srcfilepath ") , Set ws = ab.getdata(sheetid)
2. Set ab = CreateObject("srcfilepath ") , Set ws = ab.getsheet(sheetid)
3. Set ab = GetObject("srcfilepath") , Set ws = ab.worksheets(sheetid)

ANSWER: 2

27. The method that explicitly activates the recovery scenario mechanism is,

1. recovery.activate
2. enable
3. recovery.enable
4. activate

ANSWER: 1

28. The method used for sending information to the test results.

1. Reporter.log()
2. Reporter.reportevent()
3. Reporter.msgbox()
4. Reporter.report()

ANSWER: 2

29.To terminate an application that is not responding we use,

1. SystemUtil.terminate
2. SystemUtil.Stop
3. SystemUtil.CloseProcessByName

ANSWER: 3

30. The recovery mechanism does not handle triggers that occur in the last step of a test

1. false
2. True

ANSWER: 2
More Testing JOBS & FAQ @ http://www.TestingKen.com
31. We can add Test object methods, function calls into the Test using

1. Function generator
2. Step generator
3. Object repository

ANSWER: 1

32. The method that adds to the test while implementing Synchronization is

1. Synchronize
2. Wait
3. WaitProperty
4. Pause

ANSWER: 3

33. The mechanism used to identify objects during run session is

1. Recovery scenario
2. Smart identification
3. Handling object

ANSWER: 2

34. Post-recovery test run options specifies

1. how to continue the run session after QTP identify the event
2. errors while running
3. recovery scenario during a run session

ANSWER: 1

35. The action that can be called multiple times by the test as well as by other tests is called

1. non-reusable action
2. Reusable action
3. External action

ANSWER: 2

36. The command used to connect with Database is

1. Createobject(connectivity name)
2. dbconnect(connectivity name)
3. open(connectivity name)
4. None of the above

ANSWER: 1

37. The method used to retrieve the folders is

1. FileSystemObject.Getfolder()
2. FileSystemObject.selectfolder()
3. FileSystemObject.retrievefolder()

ANSWER: 1

38. The method used to compare 2 XML files is:

1. XMLfile1.compare(XMLfile2)
2. XMLcompare(file1,file2)
3. compare(XMLfile1,XMLfile2)

ANSWER: 3

39. The QTP script files are stored in the extension of

1. *.mts
2. *.usr
3. *.mtr
4. *.vbs

ANSWER: 1

40. The method used to register the user-defined function with test object is

1. setFunc()
2. RegisterUserFunc()
3. RegisterFunc()

ANSWER: 2
More Testing JOBS & FAQ @ http://www.TestingKen.com
41. The method used to open the specified URL in a browser is

1. openURL()
2. navigateURL()
3. navigate()

ANSWER: 3

42. The 3 Parameter types available in data driver is

1. DataTable,Environment,Random number
2. DataTable,random number,unique
3. environment,string,numeric

ANSWER: 1

43. The method added to the test while parameterizing is

1. get Data (variable, dtGlobalSheet)
2. get DataTable(variable, dtGlobalSheet)
3. Set Data(variable, dtGlobalSheet)
4. Set DataTable(variable, dtGlobalSheet)

ANSWER: 4

44. The length of the array can be get by the method

1. length(array)
2. ubound(array)
3. count(array)

ANSWER: 2

45. The method used to get the count value of list box or combo box os

1. GetItemsCount
2. GetCount
3. GetItemCount

ANSWER: 1

46. To retrieve the current property value of the objects in your application during the run session.

1. GetVisibleText
2. GetROProperty
3. SetROProperty
4. GetTOProperty

ANSWER: 2

47. In data base check point we can not set the expected value from the test ?

1. True
2. False

ANSWER: 2

48. The list of test objects and their properties and values are stored in the

1. Object Repository
2. Object Identification

ANSWER: 1

49. The method used to continue the test execution after getting run-time error is

1. On Error Resume Next
2. On Error Raise Next
3. On Error Next

ANSWER: 1


All these were asked in various interviews.
********************************
More Testing JOBS & FAQ @ http://www.TestingKen.com
1. How to capture data from images in QTP and produce them in Excel sheet ?

2. What is Terminal Emulator add-in installation and configuration procedure ?

3. Tell me how do u define action and transaction in QTP ?

4. Is QTP case sensitive ?

5. Problem with XML checkpoint ?

6. When was QTP 8.2 and Loadrunner 8.0 officially released to the market ?

7. Can we record on netscape browser does it require any special settings ?

8. How do I add new object to the object repository to any particular frame ?

9. Do we have rapid test scrpit wizard in QTP ? How to learn all the windows and objects in QTP 

10. How to open Exceel sheet using QTP script ?
More Testing JOBS & FAQ @ http://www.TestingKen.com
11. Is it necessary to learn VB script to work with QTP or we can manage with keword driven ?

12. What is descriptive programming in QTP ?

13. How to invoke the QTP from dos prompt and run a test without any interaction with human ?

14. What is the meaning of Context sensitive ?

15. How to retrive the property values from "Resource.mtr" after recording the script with "Standard checkpoints" ?

16. Where should we use accessbility checkpoints. Can u explain me with the example ?

17. How do we add object repository dynamically ? (During runtime)

18. How to record right click of a context menu and click on the selection ?

19. How to connect oracle database to QTP ?

20. How will you load few objects in Active Screen ?
More Testing JOBS & FAQ @ http://www.TestingKen.com
21. Can I compare two DataBases using QTP ?

22. If the the two object have same class then how QTP will find the object ?

23. Can I change the runtime properties of an object ? How can I check if a parameter exists in database ?

24. What is the script for database check point, bitmapchek point, regular expression ?

25. What is QTP environmental variable ?

No comments:

Post a Comment