The software that I'm testing has a log window with a text field (System.Windows.Forms.RichTextBox) and I want to extract it and save it together with the test report.
When I use the following code, it only adds 4k of text, not the entire text field.
TextWriter tw = File.CreateText( pathToLogFile ); tw.Write( repo.MachineConfigurator.LoggingOutput.Text.SelectionText ); tw.close();How can I get the remaining part of the text?
Kind regards,
Okke