RSS Feed for This PostCurrent Article

Interview Questions in QTP-I

1. This Quick Test feature allows you select the appropriate add-ins to load with your test.

Add-in Manager

2. Name the six columns of the Keyword view.

Item, Operation, Value, Documentation, Assignment, Comment

3. List the steps to change the logical name of an object named “Three Panel” into “Status Bar” in the Object Repository.

Select Tools>Object Repository. In the Action1 object repository list of objects, select an object, right click and select Rename from the pop-up menu.

4. Name the two run modes available in Quick Test Professional.

Normal and Fast

5. When Quick Test Professional is connected to Quality Center, all automated assets (e.g. tests, values) are stored in Quality Center.

True

6. What information do you need when you select the Record and Run Setting – Record and run on these applications (opened when a session begins)?

Application details (name, location, any program arguments)

7. Name and discuss the three elements that make up a recorded step.

Item – the object recorded, Operation – the action performed on the object, Value – the value selected, typed or set for the recorded object

8. There are two locations to store run results. What are these two locations and discuss each.

New run results folder – permanently stores a copy of the run results in a separate location under the automated test folder.

Temporary run results folder – Run results can be overwritten every time the test is played back.

9. True or False: The object class Quick Test uses to identify an object is a property of the object.

False

10. True or False: You can modify the list of pre-selected properties that Quick Test uses to identify an object.

True

11. True or False: A synchronization step instructs Quick Test to wait for a state of a property of an object before proceeding to the next recorded step. Synchronization steps are activated only during recording.

True

12. Manually verifying that an order number was generated by an application and displayed on the GUI is automated in Quick Test using what feature?

a Checkpoint

13. True or False: Quick Test can automate verification which are not visible on the application under test interface.

True

14. What is Checkpoint Timeout Value?.

A checkpoint timeout value specifies the time interval (in seconds) during which Quick Test attempts to perform the checkpoint successfully. Quick Test continues to perform the checkpoint until it passes or until the timeout occurs. If the checkpoint does not pass before the timeout occurs, the checkpoint fails.

15. True or False:You can modify the name of a checkpoint for better readability.

Ans: False

16. Define a regular expression for the following range of values
a. Verify that the values begin with Afx3 followed by 3 random digits
Afx3459, Afx3712, Afx3165

b. Verify that a five-digit value is included in the string
Status code 78923 approv

Afx3\d{3}
Status Code \d{5} approved

17. Write the letter of the type of parameter that best corresponds to the requirement:
a. An order number has to be retrieved from the window and saved into a file for each test run.
b. A value between 12 and 22 is entered in no particular order for every test run.
c. Every iteration of a test should select a new city from a list item.

A. Environment Parameter
B. Input Parameter
C. Component Parameter
D. Output Parameter
E. Random Parameter

D, E, B

18. This is the Data Table that contains values retrieved from the application under test. You can view the captured values after the test run, from the Test Results. What do you call this data table?.

Run-Time Data Table

19. Name and describe each of the four types of trigger events.

Ans:A pop up window appears in an opened application during the test run.
A property of an object changes its state or value.
A step in the test does not run successfully.
An open application fails during the test run.

20. Explain initial and end conditions.

Ans: Initial and end conditions refer to starting and end points of a test that allows the test to iterate from the same location, and with the same set up every time (e.g. all fields are blank, the test starts at the main menu page).

21. What record and run setting did you select so that the test iterates starting at the home page?

Ans: Record and run test on any open Web browser.

22. What Quick Test features did you use to automate step 4 in the test case? What property did you select?

Ans: Standard checkpoint on the list item Number of Tickets
Properties: items count, inner text, all items

23. Select Tools> Object Repository. In the Action1 object repository list of objects, select an object, right click and select Rename from the pop-up menu.

Ans: Input Parameter

24. What planning considerations did you have to perform in order to meet the above listed requirements?.

Ans:Register at least three new users prior to creating the automated test in order to have seed data in the database.

25. What Quick Test feature did you use to meet the requirement:
“The test should iterate at least three times using different user names and passwords”

Ans: Random parameter, range 1 to 4

26.Discuss how you automated the requirement:
“Each name used during sign-in should the be first name used when booking the ticket at the Book a Flight page.”

Ans: The username is already an input parameter. Parameterize the step ‘passFirst0’ under BookAFlight and use the parameter for username.

27.Challenge: What Quick Test feature did you use to meet the requirement:
“All passwords should be encrypted”

Ans: Challenge: From the Data table, select the cell and perform a right mouse click. A pop up window appears. Select Data > Encrypt.

Trackback URL

RSS Feed for This PostPost a Comment