I am using the Extract DataTable activity in UiPath Studio. In my scenario, I click on a link, and a new tab opens.
I closed the previous tab of chrome and did some required clicks on the new tabs it’s working fine. But when I want to scrape the table in the new tab it returns the length 0 which means it’s not extracting the table.
The strange thing is when I use test extraction at that time it’s working 100% (Always) but when I run the script it’s not extracting/
Fallow the steps below. If I helped you, please mark it as solved.
This issue may be related to the page loading or the lack of focus on the correct tab during runtime.
Step 1
Check for Full Page Load: Use the Element Exists or On Element Appear activity to ensure that the table or a specific element on the page is fully loaded before attempting to extract.
Step 2
Activate the Correct Tab: Before using Extract DataTable, use the Activate activity in the new browser tab to ensure that the focus is on the correct tab.
Step 3
Use Delay if Necessary: If the issue persists, add a Delay to ensure that everything is properly loaded.
Step 4
Adjust Selection: Sometimes the selection in Extract DataTable can be ambiguous. Make sure the selector is specific to the new tab.
You can try by adding some delay before extract activity
Than check the other setting where page load is set to compete
Also
While extracting you can see preview of data @Muhammad_Anas_Baloch is it showing value in preview table ?
Also while extracting try changing ui framework and see in the preview how each framework is reading data .
Also keep the UiPath ui activity package to second or third latest version !
Sometime the most latest version have issue… hence better to use previous versions
Try to keep the same version for system activities and ui activity
Is it possible to use modern use application activity ?
Is there sufficient delay between two steps in this ?
Also if u can share property of extract data table