Interview questions and answers for RPA - UiPath (Set 8)
UiPath Interview Questions and Answers |
Q- What does the parallel activity do?
It executes the child activities asynchronously in parallel.
Q- What do you understand by static and dynamic delays?
- Static Delay : Static delay pauses the automation for a given time period.
- Dynamic Delay : automation waits to get the target element selector loaded, for a given amount of time before throwing an exception.
Q- What are the various ways to achieve dynamic delays in UiPath?
There are multiple activities available as given below:
- Element Exists
- Image Exists
- Wait Element Vanish
- Wait Image Vanish
- On Element Appear
- On Element Vanish
Q- How to use Invoke Method activity in UiPath?
The Invoke Method calls a public method of a specified object or type.
E.g. – Merging of two DataTable together.
Let dataDT1 and dataDT2 be two DataTable of same structure.
Set the properties in Invoke Method activity as shown below:
UiPath Invoke Method |
UiPath Invoke Method Parameters |
Data would be merged and updated to the dataDT1 variable as set in TargetObject property.
Invoke Method activity properties:
- TargetObject : When we want to invoke non-static methods, we need first to create an object that contains the method to execute.
- TargetType : When we want to invoke static methods, we specify the type that contains the static method to execute.
- MethodName : Assign the method name to this property.
- Parameters : The parameter collection of the method to be invoked.
- GenericTypeArguments : When we want to invoke a generic method, we specify generic types in this collection.
- Result : The return value of the method execution.
Q- How to wait until file download completed?
During downloading, the extension of the file is different until the file got downloaded fully. After completion of downloading, the extension of file would be the correct one as required.
We would check the existence of file (using Path Exists activity) in loop, keeping small delay between each iteration. When the file got downloaded fully, the file Path Exists would be true and we would break the loop.
Note: Fresher candidates can skip REFramework and/or Orchestrator based questions.
Comments
Post a Comment