UiPath Code snippets
Split by line:
out_val.Split(CChar(vblf))
before text:
Single text
Client ID: RU90268
Account Number: 634796
Account Amount: 88917 USD
After text
array of 3 elements
1.Client ID: RU90268
2.Account Number: 634796
3. Account Amount: 88917 USD
------
Get Secure String for Password:
New System.Net.NetworkCredential(String.Empty, <--password variable-->).Password
------------------------------------------------------------------------------
Dynamic Selectors--> UiExplore the page & then check for parent attributes to find the aaname ...
<html title='*IBM Cognos Viewer' />
<webctrl tableRow='1' tag='TR' aaname='*Account Code/Desc*' />
<nav up='1'>
<webctrl id='PRMT_SV_N*_NS_' tag='SELECT' />
<nav up='3'> if the parent is 3 steps above the child
Add values to list using Assign activity
New List(Of Integer)(new integer(){1,3,6,8})
or
new List(of string)(new string(){“value1”,“value2”})
Systems.Collections.Generic.List<int32orString>
out_val.Split(CChar(vblf))
before text:
Single text
Client ID: RU90268
Account Number: 634796
Account Amount: 88917 USD
After text
array of 3 elements
1.Client ID: RU90268
2.Account Number: 634796
3. Account Amount: 88917 USD
------
Get Secure String for Password:
New System.Net.NetworkCredential(String.Empty, <--password variable-->).Password
------------------------------------------------------------------------------
Dynamic Selectors--> UiExplore the page & then check for parent attributes to find the aaname ...
<html title='*IBM Cognos Viewer' />
<webctrl tableRow='1' tag='TR' aaname='*Account Code/Desc*' />
<nav up='1'>
<webctrl id='PRMT_SV_N*_NS_' tag='SELECT' />
<nav up='3'> if the parent is 3 steps above the child
Add values to list using Assign activity
New List(Of Integer)(new integer(){1,3,6,8})
or
new List(of string)(new string(){“value1”,“value2”})
Systems.Collections.Generic.List<int32orString>
Top 50 Records from a DataTable
use Assign Activity
Dt2 = Dt1.Clone
Dt2=Dt1.AsEnumerable().Take(50).CopyToDataTable()
https://forum.uipath.com/t/top-50-records-from-a-datatable/8568/1
This information is really awesome thanks for sharing most valuable information.
ReplyDeleteWe are giving all Programming Courses such as
Register for a free Demo Sessions
RPA Ui Path Online Training
Best Python Online Training
Online AWS Training
Online Data Science Training
Very interesting blog.Thanks for sharing.
ReplyDeleteVisit us: ui path online training
Visit us: uipath training in hyderabad
Visit us: ui path course in bangalore