- 3
- 0
- 约3.76千字
- 约 22页
- 2017-12-01 发布于福建
- 举报
Recovery Scenarios Objectives After completing this chapter, you will be able to: Define a test exception. Create a recovery scenario. Associate a recovery scenario with a test. Exceptional Events Unexpected or unpredicted events that occur during a test run that may cause invalid test results or suspension of the test run before completion. - An exception can occur in the AUT or can come from an external source. For example, the window “You have mail” or “Printer Out Of Paper” or notification of secure and non-secure messages due to different setups on browsers. - Examples of errors that are not exceptions: an expected error message window when a bad password is entered, a prompt to save changes, a prompt to fill in an empty edit field. Recovery Scenario The Recovery Scenario Manager allows the tester to create and manage recovery scenarios to identify and take appropriate action when an exception occurs. Use a recovery scenario for exceptional or unpredictable events. Handle expected errors and predictable events directly in the test. Recovery Manager Figure 1 Recovery Manager Wizard Recovery Manager To access the Recovery Manager, choose TOOLS?RECOVERY SCENARIO MANAGER. Identify the trigger. Define the recovery operation. Define the post recovery operation. Associate the recovery scenario with a test. Recovery Wizard Steps Recovery Wizard These are the steps to create a new recovery scenario file as opposed to adding an existing recovery scenario to a test: Click on the NEW ORDER icon. Identify the potential error. Set a trigger to detect whether the error has occurred. Take pre-determined steps to recover from the error. Set post-recovery steps. Recovery Wizard Steps The Event Trigger Figure 3 trigger Event-Pop-Up The first component of the recovery process is to identify the event that interrupts your test run. Examples: - A pop-up window - An unacceptable object state - A test step that did not complete successfully - An application crash The Event
您可能关注的文档
最近下载
- SY-T 6629-2005 陆上钻井作业环境保护推荐做法.pdf VIP
- SY_T 7295-2016 陆上石油天然气修井作业环境保护推荐作法.docx VIP
- 汉责文化打屁股.pptx VIP
- SY∕T 5557-2016 石油天然气钻采设备 固井成套装备.docx VIP
- SY∕T 7425-2018 石油天然气钻采设备 制氮注氮设备.docx VIP
- SY∕T 5067-2018 石油天然气钻采设备 钻修井用安全接头.pdf VIP
- SY-T6113-2023石油天然气钻采设备 修井用动力卡盘.pdf VIP
- 《弘传序》原文及译文.docx
- SY_T 5106-2019 石油天然气钻采设备 封隔器规范.docx VIP
- T_CPI 11037-2024 石油天然气钻采设备水力振荡器技术与应用规范.docx VIP
原创力文档

文档评论(0)