Scraping in a UI page

Hi Team,

i have a application where i need to scrape alomost 30 fields, while doing so sometimes few fields are totally not present ex: current Status is a filed with Active or Inactive, for some ID’s the Current Status field would totally not available/missing, so there might be some other fields that are totally disappeared/Absent

how would i gracefully handle each field while i dont want skip that total Record due to absence of one field… similarly i am not interested in handling each GetText activity with try/catch block… how can i gracefully handle 30 field scraping activities, in case of one or the filed is missed

@devasaiprasad_K,

How you are scrapping the fields?

If using Get Text activity or any other activities to get each field one by one, you can enable Continue on error property.

This will ensure that even any field unavailable your code will not throw any exception and you don’t need to use try catch also.

Thanks,
Ashok :slightly_smiling_face:

is Continue on Error is the only way… just trying to understand the possibilities

@devasaiprasad_K,

Ok, I feel this the best option. For speed, you can put these get text activities in parallel activity.

@devasaiprasad_K

continue of error should be your way ideally…on top of it reduce the timeout so that it waits less

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.