Extract Content From an HTML Table

HTML tables can be irregular in both content and structure. Design Studio has been designed to deal with such irregularities as described in this topic.

Note The techniques described in this topic are not limited to table content and structure irregularities. You can also use this technique to handle other tag irregularities.
  1. Insert a Loop Rows step in your robot.
  2. Configure the Loop Rows step with a For Each Tag action that loops through the <tr>-tags in the <tbody>-tag of a <table>-tag.
  3. Add steps to extract content from a cell (column-wise) in a table row.

    Example


    Extracting content from an HTML table example

    Note If the table content is perfectly regular in both content and structure, you can extract the content as described in How to Extract Content from HTML.