cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
efleitasalva
Frequent Visitor

Extract tabular data from website with UI Flow

Hello,


I'm new on this tool, and I'm wondering, is it there a way to extract tabular data from the web with selenium ide and UI Flow?. I know that there are some examples which collect data from the internet and store in a JSON file. However, because I'm collecting data from people's responses, I got some JSON format errors that stop the flow. Especially when people use spaces and some special characters. There any way to extract data without using Json or skip this JSON format errors and add the extracted data into a row in an excel sheet?.

 

Thanks in advance for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @efleitasalva,

 

You can use the storeText command for this purpose. The syntax is as follows:

command: storeText
Target: locator
value: variable_name

Extract tabular data could use Xpath as the locator. In the above command, variable_name refers to the variable that will store the text which is fetched using the command.

To select a single row of the table, you need to know how to write Xpath for the required row.

 

However, this part "specially when people use spaces and some special characters. There any way to extract data without using Json or skip this JSON format errors and add the extracted data into a row in an excel sheet", I am afraid it is impossible, cause some special characters will invalid when writing them into Excel via Flow.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
ChristianAbata
Super User
Super User

hi @efleitasalva  I'm shure this video could help you

https://www.youtube.com/watch?v=EqMRt6BtnGY



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-litu-msft
Community Support
Community Support

Hi @efleitasalva,

 

You can use the storeText command for this purpose. The syntax is as follows:

command: storeText
Target: locator
value: variable_name

Extract tabular data could use Xpath as the locator. In the above command, variable_name refers to the variable that will store the text which is fetched using the command.

To select a single row of the table, you need to know how to write Xpath for the required row.

 

However, this part "specially when people use spaces and some special characters. There any way to extract data without using Json or skip this JSON format errors and add the extracted data into a row in an excel sheet", I am afraid it is impossible, cause some special characters will invalid when writing them into Excel via Flow.

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,988)