Skip to main content
Cadet | Tier 2
April 25, 2023
Question

During LogToFile incorrect error text is written

  • April 25, 2023
  • 2 replies
  • 74 views

I’m attempting to write either a data table or a logged file, which is then attached to an email. The data is being incorrectly overwritten with this strange text. 

Code: 

Both result in this: 

 

Can anyone provide some guidance on the issue or resolution here? 

2 replies

Zaid Chougle
Navigator | Tier 3
Navigator | Tier 3
April 26, 2023

Hi @p1094 ,

Have you checked with changing the encoding?

 

Lets Automate !
Tamil Arasu10
Most Valuable Pathfinder
Most Valuable Pathfinder
April 26, 2023

Hi @p1094 ,

Can you please try with changing the encoding type and log the file format txt as well.

_Tamil_