Get Visible Text Write Range

How would I write the range for a get visible text if the get visible text only outputs a string and not a datatable?

have you some pictures or an example?

1 Like

How do I convert a text to a datatable so I can put it into a write range

Hi

i have read this before but did not follow it up. have a look here to see if this helps you

1 Like

Hi @Pranav_KomandurPK ,

You can use GenerateDataTable activity to convert string value to data table.

Can you show me how input string looks in your case?

1 Like



image

How would I split a string that I used regex on the get visible text

This how your string is converting into Data Table from GenerateDataTable Activity.

Is this you want ?

1 Like

Yes, can you send me your code for that

Main.xaml (5.5 KB)

PFA.

1 Like

If you look at the screenshot I need to split a regex so its an ienumerable how would I do that. You just hard coded the numbers into an assign

I think that you not even mentioned in the problem, can you please share the what type of Enumerable it is?

Share the screenshot for that also so that i will convert that enumerable value to string and you can pass that string here where i have done hardcoded

1 Like

I attached the screenshots above I used a matches

The place where you are iterating in loop you can append each value of item to string variable and pass it to GenerateDataTable.

Is that work for you ?

1 Like

How would I append each value of the item to a string variable?

image

Also Mentioned Environment.NewLine, i just forgot to mention on above screenshot.
image

1 Like

Hi @Pranav_KomandurPK ,

Is it worked ?

1 Like