How we can get text from webpage and send it to your mail with same format?

Hi All,

I want to capture text with format from webpage and send the same data to mail without changing it’s format.
How can we achieve this?

hey,
you can use get text
and store in a string variable and pass through send outlook mail message or SMTP.
Thanks,
Rounak

you can also use get attribute and select aaname or inner text to retrieve the data from from particular ui element

then attach with your email body

I tried with the same but the format of text like spaces between the lines, paragraph will remove in mail.

Hey! Welcome to community!

We can’t get the format, but we can get the data…

Regards,
NaNi

Hey!

If we want the text as it is use Get Full Text with OCR or Screen Scraping

we can get the text as it is…

Regards,
NaNi

Hi @THIRU_NANI ,
Thank you for you response!
After using Screen scrapping space between two lines will remove. So it is also not feasible solution.

Hey!

What method you choosed to get the text in screen scraping?

Choose Method as - FullText

Reference:

Regards,
NaNi

@vidya.sanjay.patil

Use Native screen scrapping method as it extract the position of the text also.
Have a look on the below thread->

In tis case this won’t work…

Reference:

Regards,
NaNi

@THIRU_NANI

you can also use some other output methods.

Hey!

Given the solution…

Regards,
NaNi