51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 3657|回复: 5
打印 上一主题 下一主题

[原创] QTP SP 试题

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-9-18 03:44:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
发现这套 QTP SP 考题, 我看挺好的, 答了一些, 其它不会.  烦请高人补上并讨论答案. 谢谢!


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 Script

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:
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2007-9-18 09:24:24 | 只看该作者
我外语不行啊sdlkfj9
回复 支持 反对

使用道具 举报

该用户从未签到

3#
发表于 2007-9-18 09:45:16 | 只看该作者
SP的考题也不简单啊!
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2007-9-18 10:58:49 | 只看该作者
稍微补充了下,不对的地方请指出~
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: Highlight in Application

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: d.None of the above.A TO C are all object-specific synchronizations

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(Built-in). 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: a.Record and run test on any open Windows-based application

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: a.The test always continues running; c.The test always issues a warning

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 Script

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: 1. The test doesn’t exist CheckPoint, and no Synchronization timeout occurs; 2.Reporter.Filter=3
回复 支持 反对

使用道具 举报

  • TA的每日心情
    奋斗
    2015-7-10 11:30
  • 签到天数: 1 天

    连续签到: 1 天

    [LV.1]测试小兵

    5#
    发表于 2007-9-18 11:04:32 | 只看该作者
    就这几道吗?LZ有没有完整的,PMsdlkfj3 ,一起研究
    回复 支持 反对

    使用道具 举报

    该用户从未签到

    6#
    发表于 2007-9-18 11:34:44 | 只看该作者
    有完整的试题最好了,据说考试费用8k,想考没资料
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-27 17:53 , Processed in 0.069365 second(s), 28 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表