<img src="//trc.taboola.com/1222697/log/3/unip?en=page_view" width="0" height="0" style="display:none">


The Knowledgebase articles are deprecated. Please visit the new Guides and Resources here: https://www.uipath.com/developers/guides-and-resources.

Knowledge Base

Scrape Java Table Using Find All Children Activity


To be able to run this example you need to install UiPath.Excel.Activities. See more details on how to install packages here.


Extract FirstName and Sport columns from a table inside a Java App.


  1. Create a datatable to store the results, using "Build DataTable".
  2. Find all children for the FirstName column in datatable. Set the Filter property.                          Filter="<java role='label' tableCol='0' />"
  3. Add a "ForEachChild" activity. Inside of it add a new row in our datatable and the corresponding data scraped.
  4. Find all children for the Sport colum in the datatable.                                                                        Filter="<java role='label' tableCol='2' />"
  5. Add a "ForEachChild" activity. Write in our datatable the scraped data.
  6. Output the results in a csv.