8. UiPAth - Error and Exception Handling - Giri

8. UiPAth - Error and Exception Handling - Giri

Assessment

Quiz

others

Hard

Created by

Gene Yates

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • 1 pt

What are Exception Handling Activities?

Evaluate responses using AI:

OFF

Answer explanation

exception handling activities (Try Catch, Retry Scope and Global Exception Handler) and a property that many activities share and can be very valuable - Continue on Error.

2.

OPEN ENDED QUESTION

30 sec • 1 pt

Define Errors?

Evaluate responses using AI:

OFF

Answer explanation

Errors are events that a particular program can't normally deal with. There are different types of errors, based on what's causing them - for example: Syntax errors, where the compiler/interpreter cannot parse the written code into meaningful computer instructions; User errors, where the software determines that the user's input is not acceptable for some reason; Programming errors, where the program contains no syntax errors, but does not produce the expected results. This are often called bugs.

3.

OPEN ENDED QUESTION

30 sec • 1 pt

Define Exceptions?

Evaluate responses using AI:

OFF

Answer explanation

Exceptions are events that are recognized (caught) by the program, categorized and handled. More specifically, there is a routine configured by the developer that is activated when an exception is caught. Sometimes, the handling mechanism can be simply stopping the execution. Some of the exceptions are linked to the systems used, while others are linked to the logic of the business process.

4.

OPEN ENDED QUESTION

30 sec • 1 pt

What is System.Exception?

Evaluate responses using AI:

OFF

Answer explanation

all exceptions are types derived from System.Exception, so using this generic type in a Try Catch, for example, will catch all types of errors.

5.

OPEN ENDED QUESTION

30 sec • 1 pt

What are Different types of Exceptions?

Evaluate responses using AI:

OFF

Answer explanation

NullReferenceException - This error usually occurs when using a variable with no set value (not initialized). IndexOutOfRangeException - Occurs when the index of an object is out of the limits of the collection. ArgumentException - Is thrown when a method is invoked and at least one of the passed arguments does not meet the parameter specification of the called method. SelectorNotFoundException - Is thrown when the robot is unable to find the designated selector for an activity in the target app within the TimeOut period. ImageOperationException - Occurs when an image is not found within the TimeOut period. TextNotFoundException - Occurs when the indicated text is not found within the TimeOut period. ApplicationException - describes an error rooted in a technical issue, such as an application that is not responding.

6.

OPEN ENDED QUESTION

30 sec • 1 pt

Define Business Rule Exceptions?

Evaluate responses using AI:

OFF

Answer explanation

Business Rule Exceptions are separate from all the System Exceptions listed above. These describe errors rooted in the fact that certain data which the automation project depends on is incomplete, missing, outside of set boundaries (like trying to extract more from the ATM than the daily limit) or does not pass other data validation criteria (like an invoice amount containing letters). The Business Rule Exceptions will not be thrown by using the generic System.Exception in a Try Catch activity.

7.

OPEN ENDED QUESTION

30 sec • 1 pt

Define Try Catch Activity?

Evaluate responses using AI:

OFF

Answer explanation

Try Catch This activity catches a specified exception type in a sequence or activity, and either displays an error notification or dismisses it and continues the execution. As a mechanism, Try Catch runs the activities in the Try block and, if an error takes place, executes the activities in the Catch block. The Finally block is only executed when no exceptions are thrown or when an exception is caught and handled in the Catch block (without being re-thrown).

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?