How to scrap data from web

Hi everyone,

Would like to get opinion and solutions from others for my issue.

Situation

  1. Previously, I am using TeraTerm( terminal emulator program) to get the output from the log.

  2. Due to some changes, company already replace the TeraTerm with web based application(kindly refer to below attachment)

Issue
Some of the commands will take some time to proceed, so, when I am using TeraTerm, in order to proceed with the next command, I will use get full text to scrap the data and wait for a symbol to come out.

However, using this web based application, I am unable to scrap the data.
I have tried few options as below but no luck.

  1. get full text, get value, get visible text: the output will become null.
  2. Screen scraping: able to extract the data but the output is not stable.
  3. Delay: Add delay to make sure the symbol to come out. However this is not the best solutions since the delay time will change

Please refer to below picture

If you have any idea to solve this issue kindly share with me.
Please let me know if you need other information in order to investigate the issue

Hi @hairulazizan

Can u use ctrl c ctrl v or

Thanks
Ashwin.S

Hi @hairulazizan ,

First i want to know what issue you are facing in screenscrapping ? What is that mean output is not stable?

You can also try Ctr + A then use copy selected text activity to get output in string where further you can check whether symbol is present or not.

Hi @AshwinS2 , thank you for your reply. Unfortunately, the web based program is different from TeraTerm since it cannot do any of ctrl+a, ctrl+c, ctrl+v. If you want to copy the data, just use mouse to select the range and the selected range will automatically will copy the data and you can paste the data into notepad. The problem is, I believe currently there is no way for UiPath to select range with mouse.

Hi @ermanoj3101, thank you for your reply. Sorry for not explaining in details, the output data have some wording in Japanese, so when it try to output, I could say on 70% of the data is correct. And I just want to get the last string as “:” but unable to get the character with screenscapping.

Sorry forgot to mentiopned the web based program is different from TeraTerm since it cannot do any of ctrl+a, ctrl+c, ctrl+v. If you want to copy the data, just use mouse to select the range and the selected range will automatically will copy the data and you can paste the data into notepad. The problem is, I believe currently there is no way for UiPath to select range with mouse.

1 Like