Uipath Guide PDF
Uipath Guide PDF
Uipath Guide PDF
Ans:- System.Diagnostics.Process.GetProcessesByName("Chrome")
Type and Status are columns of DT and it returns the output in form of an array not DT.
dt.Select("[Blood Group] = 'B-ve' AND [Age] > 50 AND ([City] ='Hyderabad' OR [City] ='Pune' )
").CopyToDataTable
4). When you publish your package, you need to update it in Process section in Orchestrator. Only then
its available for use in all robots.
5). Default type into- Just types it like a human being by opening a window
Simulate Type into - It just removes formatting from text and types everything in one line
Windowed
6). How to find #Common and #Uncommon values between two #Lists?
#Common
foreach(int r in one.Intersect(second))
#Uncommon
foreach(int r in one.Except(second))
or
foreach(int r in second.Except(one))
Ans:- "[senderemailaddress][email protected]"
"[FROM]=‘Miller"
Output_String.Replace("Outlook","").Length) / "Outlook".Length
Output_String.Length = 12
Output_String.Replace("aa","").Length = 8
subtraction = 4
9). How to get data from a list when select one is not working
Ans:- 1) Use Get Attribute Activity and get the "items" attribute of the dropdown list.
3) Just search the Array, if array item contains "Corporation - 157075" then use that in select
item Activity
Ans:- eg Convert.ToByte("A"c)
o/p = 65
Ans:- Directory.GetFiles(“address”)
Ans:- a. To get actual row index of the cells to be colored :- Assign StrIndex =
(dtTable1.Rows.IndexOf(row)+2).ToString
Range - "A"+strIndex+":C"+strIndex
15). UiPath robot save execution files here. Same is when we execute process via orchestrator.
Ans:- 'C:\Users\ibindra\.nuget\packages'
Ans:- row.Item(3).ToString.Equals("")
Ans:- Convert the entire data rows (of both excel) to HASH (By joining the itemArr via String.Join
function and apply the Hash activity.) and compare hashes
DirectCast(var, String) is used to up-cast an object into a string. If you know that an object variable
is, in fact, a string, use this. This is the same as (string)var in C#
27). To create a new folder path - use this. This is helpful, because you don’t need to worry about the
ending slash mark. Secondly, use either Now or Today as your current DateTime so simplify things a bit
Ans:- C:\Users\ibindra\.nuget\packages\newtonsoft.json
Ans:- 1. For each row, addd row to a custom data table using - Invoke method and invoking -
'ImportRow' method
2. Use this to upload DT as object (place this in item information property of AddQueueItem activity)
Newtonsoft.Json.JsonConvert.SerializeObject(SingleRowDT)
3. Then get the queue item and use Deserialize JSON activity with DataTable setup.
Ans:- MasterCOllection.Intersect(DupCollection).Any()
Ans:- String.Format("C:\Users\{0}\AppData\Local\Programs\Python\Python36-32",uname)
return json.dumps(dict_output)
2. Type - "CurrentDirectory" in it
Ans:- System.Text.RegularExpressions.Regex.Replace((dict_LineDetails(item)(0).toString.Trim),
"\s+","").ToString