Fine let’s go steps by step
—once after getting the datatable from data scrapping pass that variable as input to write line activity and mention like this Datatablevariable.Rows.Count.ToString
If that shows any record number then we are good, data is scrapped
If not we need to check with the selector if the data scrapping activity and re do the scrapping process
Or
If that has rows in it means then we need to check whether the variable passed has global scope in e variable panel and the right variable is passed to the excel file
Mostly this part of validation will be fine already
I hope we would be probably concentrating on the first validation
Hi, data scraping can go wrong because of many reasons , could be because of selector , or corrupted metadata or missing mapping of the datatable variable
At extract data activity , Please set continue on error to false
And run again, this will give you error , because of what reason you are getting the error
If there is no error thrown and unable to write the data in the excel file
Now go to extract metadata property and check whether any idx attributes have generated
If that doesn’t work , now use output datatable activity
To write the extracted Datatable data into string and use writeline to see the data
Have you use write range to pass the data?
If not use write range activity from the workbook and pass the output datatable GEMAtable.And dont forget to enable the add headers
Hi , @vinay_reddy… I have did all the above mentioned things, Set ContinueonError to False, Checked idx in metadata and i have edited it.And my selector is also in green and shown validated. Yet, iam not able to extract the data. It is showing empty data table.
Hi, I am also facing the same issue. Any guidance is available to troubleshoot? No errors. But DataTable is empty. During “Design Time” scrapping is working. Found a dyanmic ID of an element and fine tuned it. A random 13 digit number is replaced with “???”. Validation is successful. But the DataTable is still empty.