天行健,君子以自强不息;地势坤,君子当厚德载物!

(转)QTP SP考试试题

上一篇 / 下一篇  2007-09-18 09:55:08 / 个人分类:测试工具

QTP SP考试试题
a)        In the correct order,list the steps to configure the Keyword View columns so that only the following four columns are displayed:Operation,Value and Documentation (4 points)

A.From the Visible Columns field, select a column that should not be displayed.
B.Select Tools->Keyword View Options
C.Click the arrows to move the columns in or out of the Visible Columns field.
D.Click Ok to apply the new column settings.

A: B -> A -> C -> D

b)        What file in a typical test directory contains the DataTable information for a test?(2 points)

        A: Default.xls

c)        From a list of captured objects in the Object Repository, what QuickTest feature allows you to blink an object in the application under test? (2 points).

        A:

d)        Which of the following synchronization does not apply to a single specific object?(2 points)

a.Object Synchronization timeout
b.A Synchronization point during recording
c.A checkpoint timeout value
d.None of the above.A TO C are all object-specific synchronizations

A:

e)        Select the three standard add-ins included in a QuickTest Professional installation(3 points)

a.ActiveX
b.Flash
c.Windows
d.Web
e.Visual Basic
f.Multimedia
g.Terminal

A: a.ActiveX, d.Web, e.Visual Basic

f)        Emulator You need to identify the values of the following system variables: OSVersion,Product – Dir, and TestDir. What is the tab in QuickTest that contains this information,and where is the tab located?(2 points).

        A: Enviroment. It is in Test Settings (File -> Settings)

g)        What feature from Microsoft has to be installed in order to add a breakpoint?(2 points)

a.MS Outlook
b.Internet Explorer
c.MS Debugger
d.Internet
e.Explorer 6 Service Pack 2

A: c.MS Debugger

h)        How would you write a regular expression for a ten-digit number that begins with 45 and the ninth value is a character whose value would only be from A through F,mixed caps?(2 points)

a.45[\d+7][AF]
b.45[0-9] [0-9] [0-9] [0-9] [0-9] [0-9] [A-f] [0-9]
c.45.+[A-F,a-f] [0-9]
d.45\d{6}[A-F,a-f]\d

A: d.45\d{6}[A-F,a-f]\d

i)        Listed below are four screens that represent application events.Which of the following trgger events would you not consider for a recovery scenario?(2 points)

a.An application failure
b.A pop up window with an error message
c.An optional step in a business process
d.A run error

A: c.An optional step in a business process

j)        You are asked to create an automated test on the Windows Flight application.The test requires you to open an order, then delete the opened order.The test plays back with several iterations. According to best practices,what should be the Record and Run Setting you will select for the test?(2 points)

a.Record and run test on any open Windows-based application
b.Record and run on these applications(opened on session start)
c.Record and run test on any open application

A:

k)        What happens after the synchronization timeout expires during play back?There are tow answers.(2 points)

A.The test always continues running
b.The test always stops with an error message
c.The test always issues a warning
d.The test always uses Smart Identification automatically

A: c.The test always issues a warning; d.The test always uses Smart Identification automatically

l)        Two months ago,you created a test on a Windows application that contains ActiveX and Visual Basic Components.Yesterday,When you ran your test on a new build of the application,you discovered that the Visual Basic objects are no longer part of the application. When you open your test,the following message appears WITHOUT using the add-in Manger during start-up,what test settings can you use to update the test so this warning screen no longer appears when you open the test?(2 points)

a. add-in license
b. Modify Associated Add-ins
c. Update ActiveScreen
d. Associated Library Files
e. Expert View
f. Popup Message Box
g. Generate scrīpt

A: b. Modify Associated Add-ins (reopening QTP needed)

m)        After creating and executing a basic test, you will see the results illustrated in figure 1. Explain why the status of Passed, Failed and Warnings occur zero times. There are two correct answsers.(2 points)

        A:

 

转来的试题,欢迎补充答案:)


TAG: 测试工具

 

评分:0

我来说两句

Open Toolbar