Class library usage, coding and language questions.
-
omayer
- Posts: 458
- Joined: Thu Oct 28, 2010 6:14 pm
Post
by omayer » Fri May 11, 2012 5:15 am
How to hide these lines
Console.jpg
Here is the code i am using -
Code: Select all
void ITestModule.Run()
{
Mouse.DefaultMoveTime = 300;
Keyboard.DefaultKeyPressTime = 100;
Delay.SpeedFactor = 1.0;
Console.BackgroundColor = ConsoleColor.Green;
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine("Type Run Id then Enter:");
string input = Console.ReadLine(); // Read string from console
Console.ResetColor();
runControl.ReadRnControl(input);
You do not have the required permissions to view the files attached to this post.
Tipu
-
Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
-
Contact:
Post
by Support Team » Mon May 14, 2012 1:45 pm
Hi,
the only way how you can change the output in the debug window is to set the
Report.CurrentReportLevel to a higher value like "Error" because then the info messages won't be shown.
Regards,
Bernhard
Ranorex Support Team
-
omayer
- Posts: 458
- Joined: Thu Oct 28, 2010 6:14 pm
Post
by omayer » Wed May 16, 2012 5:02 pm
Thank you Bernhard, i did that but same result, finally created console apps that did the trick
Beginner
Tipu