UIpath习题总结篇 - Lesson 12 - Debugging and Exception Handling

Lesson 12 – Debugging and Exception Handling

activity

Try/Catch activity

Single choice

(128)  The Finally block of a Try/Catch activity is executed when:

            The activities in the Catch block are executed and had errors.

            The activities in the Try block are executed and had errors.

            Every time, regardless if an exception occurred or not.(√)

      The activities in the Try block are executed with no error.

Single choice

(129)  What can you use to make sure that the execution continues even if an activity fails?

            DelayAfter property    Throw activity    Try/Catch activity (√) TimeoutMS property

Single choice

(130)  How many Catches can you have in a Try/Catch block?

            1

            2

            There is no limit on the number of catches. (√)

            5

Click activity

Single choice

(131)  What is the most effective way to handle the click on a UI Element that is not always available?

          By using an Element Exists activity and then a Click activity.

          By placing the Click activity inside a Try/Catch block. (√)

          By setting the ContinueOnError property of the Click activity to True.

Single choice

(132)  What happens if you put a Breakpoint on a Click activity and start the workflow in Debug mode?

            The workflow will be paused until you click the Continue button. (√)

            The workflow will throw an error when it reaches that activity.

            The workflow will be paused for 5 seconds when it reaches that activity.

            You can only put a Breakpoint on a Break activity.

Wait Element Vanish

Single choice

(133)  If you need to stop the workflow until a UI Element has disappeared from the screen, what activity should you use?

            Element Exists        Find Relative Element      Wait Element Vanish (√) Find Element

Element Exists

Single choice

(134)  If you need to know if a UI Element is available on the screen or not, what activity should you use?

      Find Element          Element Exists (√)    Wait Element Vanish

workflow

Multiple Choice

(135)  When running a workflow how can you see the steps the workflow is executing?

          Using Debug and inspecting the Output panel (√)

          Using Debug with Highlight Activities option (√)

          Using Run and inspecting the Properties panel

Single choice

(136)  What does the Locals panel display when you are working in Debug mode?

            All the activities inside the workflow.

            There is no Locals panel.

            The current values of your variables. (√)

            The logs of the workflow.

    原文作者:柳树繁星
    原文地址: https://www.jianshu.com/p/aea413cd6465
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞