Skip to main content
Solved

Writing exception message in CSV file

  • Jan 31, 2023 1:41 PM UTC
  • 4 replies
  • 169 views

Hi, I am trying to write the exception message into a CSV file using Log To File command. While doing that, the exception message is getting inserted into two cells, rather than in a single cell itself.

 

 So can someone please let me know on how to get the exception message in single cell?

Best answer by rbkadiyam

@swethaparthasarathy  have you selected this ?
 

 

View original

4 replies

rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+6
  • Premier Pathfinder | Tier 7
  • Answer
  • Jan 31, 2023 5:05 PM UTC

@swethaparthasarathy  have you selected this ?
 

 


Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+8
  • Most Valuable Pathfinder
  • Feb 1, 2023 1:20 PM UTC

Hi @swethaparthasarathy ,

what about this one?

 

 


Marc Mueller
Most Valuable Pathfinder
Forum|alt.badge.img+8
  • Most Valuable Pathfinder
  • Feb 3, 2023 1:11 PM UTC

@swethaparthasarathy does my solution worked for you?


Raul Jaimes
Forum|alt.badge.img
  • Navigator | Tier 3
  • Feb 3, 2023 8:36 PM UTC

@swethaparthasarathy ,

Use comma (“,”) to separate every message when you create your log file and every data column between  double quotes.

HTH

Regards