Help help!
1.While performing a code review, it was discovered that a developer failed to use best practices and wrote the following expression in the Condition Field of an If actvity:
Convert.ToBoolean(ExampleInteger) = False
What is the result of the expression referenced above if “ExampleInteger” = 0 and how should the expression in the Condition Field be written based on best practices?
A. Expression Result: True -
Condition: Convert.ToBoolean(ExampleInteger)
B. Expression Result: True -
Condition: Convert.ToBoolean(ExampleInteger) = True
C. Expression Result: False -
Condition: Convert.ToBoolean(ExampleInteger)
D. Expression Result: False -
Condition: Convert.ToBoolean(ExampleInteger) = True
2.A developer indicated a UI element for a Type Into activity. The automatically-generated selector is shown below.
Based on best practices, which selector attribute is unreliable because the order of the elements in the application may change over time?
A. idx
B. app
C. tag
D. title
3.A developer created a robot to do the following:
Launch Internet Explorer
Scrape the data
Store the data in Microsoft Excel
Close Internet Explorer
If there is an exception in Step 2 or Step 3, the process should still perform Step 4. Which block of the Try Catch activity allows Step 4 to execute whether or not there is an exception in Step 2 or Step 3?
A. Application Exception Catch Block
B. Business Exception Catch Block
C. Finally Block
D. Try Block
5.A developer wants a process to display a Message Box every 30 seconds to remind a Call Center representative when a customer is on “hold”. Which activity can be used?
A. Do While
B. Delay
C. Comment
D. Break
6.What is the maximum scope a variable can have in an automation project?
A. Outermost container in the current xaml project file
B. Within the activity in which it is defined
C. Within the surrounding “Do” or “Body” sequence
D. Entire automation project which includes all project files
What is the maximum scope a variable can have in an automation project?
A. Outermost container in the current xaml project file
B. Within the activity in which it is defined
C. Within the surrounding “Do” or “Body” sequence
D. Entire automation project which includes all project files
If you open any xaml and click on the scope the maximum you can see is the number outer most container only and not the whole project… say axaml has a outer sequence then that is the maximum…between xamls we use arguments …and any variable declared can go only till that xaml max
A developer wants a process to display a Message Box every 30 seconds to remind a Call Center representative when a customer is on “hold”. Which activity can be used?
The “Delay” activity allows you to introduce a pause in the workflow for a specified amount of time. In this case, the developer can set the delay to 30 seconds, and then place the Message Box activity after the delay. This will ensure that the Message Box is displayed every 30 seconds to remind the Call Center representative when a customer is on hold.
@Latifa
Its simple, Loop can iterate only. suppose its running infinite time.
Message box is inside and its running continuously. Only the delay is the technique which will put loop on hold till 30 second.
in loop condition we can’t put delay.
Do while is open option(open option means you will use it but its role is different and can each from other activities like while loop)
5.A developer wants a process to display a Message Box every 30 seconds to remind a Call Center representative when a customer is on “hold”. Which activity can be used?
A. Do While
B. Delay
C. Comment
D. Break
The Delay activity in UiPath is used to introduce a delay or wait for a specific amount of time in a workflow. It pauses the execution of the workflow for a specified duration before proceeding to the next activity.