Search found 9 matches

by Enjoy
Wed May 19, 2010 12:49 pm
Forum: General Questions
Topic: How create a timeout Thread on Program.cs
Replies: 1
Views: 2232

Re: How create a timeout Thread on Program.cs

Ok i have already solve the problem doing that: public static int Main(string[] args) { Keyboard.AbortKey = System.Windows.Forms.Keys.Pause; int error = 0; string searchName = "xx"; string logFileName = args[1]; Report.Setup(ReportLevel.Info, logFileName, true); string timeout = args[2]; //int timet...
by Enjoy
Wed May 19, 2010 11:03 am
Forum: General Questions
Topic: How create a timeout Thread on Program.cs
Replies: 1
Views: 2232

How create a timeout Thread on Program.cs

Hello! I need some help, i need to receive by argument a timeout on Program.cs create a thread call a method and start the time. When the timeout ends i need to do this Report.Error("timeout"); and Report.End(); my code is : public static int Main(string[] args) { string logFileName = args[1]; //rec...
by Enjoy
Thu May 13, 2010 9:36 am
Forum: General Questions
Topic: Receive path of Report location by arguments cmd
Replies: 7
Views: 3135

Re: Receive path of Report location by arguments cmd

Thanks to Ciege and all the Support Team, that works ;)
by Enjoy
Wed May 12, 2010 5:20 pm
Forum: General Questions
Topic: Receive path of Report location by arguments cmd
Replies: 7
Views: 3135

Re: Receive path of Report location by arguments cmd

At this moment i'm using that code on testcase/UserCode : if (args.Length > 0) { System.Console.WriteLine("Number of command line parameters = {0}", args.Length); foreach (string arguments in args) { System.Console.WriteLine(arguments); } and when i run the test only receive 1 argument and i'm using...
by Enjoy
Tue May 11, 2010 6:26 pm
Forum: General Questions
Topic: Receive path of Report location by arguments cmd
Replies: 7
Views: 3135

Receive path of Report location by arguments cmd

Hello ppl i have my test cases able to run from the command line receveiving 1 argument( txt file with the path of the application to be tested) and i need to receive one more argument, a path like : d:\folder1\fold2\ and i need to receive that and change the Program.cs file to generate the report o...
by Enjoy
Thu Apr 22, 2010 3:05 pm
Forum: General Questions
Topic: Compare values of DataList with Oracle Select
Replies: 1
Views: 2183

Compare values of DataList with Oracle Select

Hi!! Scripts: i´m trying to compare values of this select: cmd.CommandText = "SELECT distinct var_xx FROM xxxWHERE upper(var_name) = 'REPORTED OWNER' AND (facility is null or facility in ('201')) ORDER BY 1 ASC"; With the script below i can read the elements of the select which are olnly 1 column wi...
by Enjoy
Fri Apr 16, 2010 12:21 pm
Forum: General Questions
Topic: Manage Log Reports
Replies: 1
Views: 1789

Manage Log Reports

hi again, i would like to know how can i make a if condition to verify if all the Ranorex.Validate.. points were passed or failure to output a message ate the end of the report with the a message like "Test Passed" or "Test Failed" instead of the default Message Success Replay completed with no erro...
by Enjoy
Fri Apr 16, 2010 11:28 am
Forum: General Questions
Topic: Can't see Ranorex Screencasts
Replies: 1
Views: 1827

Can't see Ranorex Screencasts

Good morning, i noticed that the screencasts on http://www.ranorex.com/support/screencasts.html didn't open.

Can you send me those videos to my email : [email protected] ?

Thank you
by Enjoy
Wed Apr 14, 2010 4:27 pm
Forum: General Questions
Topic: Images Comparison on 2.1.1.6334 version
Replies: 1
Views: 2069

Images Comparison on 2.1.1.6334 version

Hello! At this moment i need to automate some tests cases to my company, and i have the Ranorex 2.1.1.6334 version. I need to compare 2 images of a graphic but that version don't have the hotkeys or the Image Based Validation. So i need some help. I tried the latest version 2.2 demo which features w...