Posts

How To Use Rethrow In UiPath

Image
  Exception handling is one of the most important aspects of any programming, and it is something that will help us control any unseen issues during the executions. UiPath also provides us the same feature to implement robust bots, by using Try Catch activity. It has got two exception activities namely  “Throw”  and  “ReThrow”. In this article, we will try to learn about ReThrow activity… Why ReThrow Activity? “ Rethrow ” activity in UiPath takes an existing exception that has been encountered and regenerates it. ReThrow Activity Example Implementation using UiPath : For the purpose of this example, we will implement a robot, which will ask the user for the input. And we will display him the data back by removing any spaces in it at the beginning or the end. Note: If he doesn’t provide any data, we will log it down first and then try to throw an exception. This activity always comes in the catch block of Try Catch activity Step 1: Drag “Input Dialogue” activity...

How to delete duplicate column in excel using UiPath

Step1: Read the excel with 'AddHeaders' unchecked. Step2: Transpose the Resulting DataTable using 'Invoke Code' Activity. Step3: Use  'Programming --> DataTable-->Remove Duplicate Rows' Activity to remove

How to Bring a window in the Background to the Foreground in UiPath.

Solutions 1. Use " Activate " Activity 2. Use " Show Window " Activity . 3. Use " Minimize Window " Activity then " Maximize Window " Activity. 4. Use " Attach Window " Activity then Use " Activate  " or " Show Window " Activity. 5. If None of the above solution works(least likely scenario),then as a last resort automate - Selection of desired window from taskbar. Note: Also check for any missing .Net or Windows Update.