阅读下列说明,回答问题1至问题2,将解答填入对应栏内。[说明]场景法是黑盒测试中重要的测试用例设计方法。目前多数软件系统都是用事件触发来控制业务流程,事件触发时的情景便形成了场景,场景的不同触发顺序构成用例。场景法通过场景描述业务流程(包括基本流(基本流程)和备选流(分支流程)),设计用例遍历软件系统功能,验证其正确性。图1-1描述了简化的中心层、省市层、地区层三级的“公文流转”业务流程,表1-1描述了省市层(图1-1阴影部分)业务的基本流和备选流。公文的状态包括:已下发、未下发、已接收、未接收。
5.1、用表1-1中表述的基本流和备选流,使用场景法设计测试场景。基本流和备选流用表1-1中对应的字母编号表示。5.2、下表给出了测试用例名称,请将表中的输入条件和预期输出补充完整。
正确答案及解析
正确答案
解析
5.1(5分)
本题共包括5个场景:1.A2.B3.B、C 4.B、C、D(C和D可以互换)5.B、C、E
5.2(10分)
5.1、本题考查功能测试用例的设计方法:场景法。(场景顺序可以任意)场景法是黑盒测试中重要的测试用例设计方法。目前多数软件系统都是用事件触发来控制业务流程,事件触发时的情景便形成了场景,场景的不同触发顺序构成用例。场景法通过场景描述业务流程(包括基本流(基本流程)和备选流(分支流程)),设计用例遍历软件系统功能,验证其正确性。本题共包括5个场景:1.A2.B3.B、E4.B、C、D(C和D可以互换)5.B、C、E
5.2、本题考查测试用例中输入条件与预期输出内容。注意步骤的衔接,以及测试数据的设置。
你可能感兴趣的试题
Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.
-
- A.Artificial Intelligence
- B.Cloud Computing
- C.Internet of Things
- D.Big Data
- 查看答案
In project human resource management , ( )is not a source of power for the project manager.
-
- A.referent power
- B.expert power
- C.reward power
- D.audit power
- 查看答案
At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.
-
- A.detail feasibility analysis
- B.opportunity analysis
- C.economic feasibility analysis
- D.risk analysis
- 查看答案
( )is a grid that shows the project resources assigned to each work package.
-
- A.Stakeholder engagement assessment matrix
- B.Requirements traceability matrix
- C.Probability and impact matrix
- D.Responsibility assignment matrix
- 查看答案
Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.
-
- A.digital
- B.networking
- C.intelligentize
- D.informatization
- 查看答案