How to print array of string in uipath

uiautomation
activities

#1

How to print array of string in uipath


#2

Hi @tgopalas,
You have to give the array variable in for each loop and print that value
refer this test.xaml (8.2 KB)


#3

Hi @tgopalas,

using for each activity inside the body content use log message to print the value in the output screen.

Regards,
Arivu


#4

@tgopalas
you can print the array of string in a line by seperating it with a delimeter like (comma etc)
use log message
Inside log try this
string.Join(",",List_Variable)

If you want to print each element in different line then use this
string.Join(System.Environment.NewLine,List_Variable)

Regards,
Mahesh


#5

Thank you @Ajithkumar_P


#6

Thank you @MAHESH1


#7

Thank you @arivu96