Hi,
I am trying to run code module using 'Run Code' button. I have included Console.WriteLine in my code to print the messages. But these messages are not getting printed in the Output tab located at the bottom.
Please let me know if any configuration needs to be added.
Thanks,
Ramana.
Console output is not printed
-
- Posts: 28
- Joined: Wed Feb 26, 2020 6:51 am
Console output is not printed
- Attachments
-
- code_module.JPG (103.91 KiB) Viewed 225 times
Re: Console output is not printed
Hi,
Console.WriteLine sends output to console window, not to Ouptut tab. You must use System.Diagnostic.Debug.WriteLine instead. Please check this post...
https://www.ranorex.com/forum/how-to-ru ... tml#p49513
Console.WriteLine sends output to console window, not to Ouptut tab. You must use System.Diagnostic.Debug.WriteLine instead. Please check this post...
https://www.ranorex.com/forum/how-to-ru ... tml#p49513
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration