Hi,
I’m trying to extract a table from a web page using the Data Scraping wizard.
The web page displays 50 items per page.
When I had multiple pages (more than 50 items) with “Next Page” link, the data scraping activity “Extract Structured Data 1” worked:
-
Selector:
webctrl css-selector=‘body>div>div>table>tbody>tr>td>table>tbody>tr>td>table>tbody>tr>td>table’ idx=‘2’ parentid=‘acWrContents’ tableRow=‘10’ tag=‘TABLE’ / -
Next Link Selector:
webctrl aaname=‘Next Page’ idx=‘1’ parentid=‘acWrContents’ tag=‘A’ /
However, the “Extract Structured Data 1” didn’t work, when I had less than 50 items with no “Next Page” link. When I started the workflow, uipath opened a web page but didn’t go to For Each loop. It ended the workflow without any errors.
I created another data scraping activity “Extract Structured Data 2”, and it worked when the web page had no “Next Page” link.
- Selector:
webctrl css-selector=‘body>div>div>table>tbody>tr>td>table>tbody>tr>td>table>tbody>tr>td>table’ idx=‘2’ parentid=‘acWrContents’ tableRow=‘9’ tag=‘TABLE’ /
Can anyone please check this workflow and help me out?
Thanks