Search found 11 matches

by jtruppia
Mon Nov 07, 2011 4:41 pm
Forum: General Questions
Topic: sooo what's the story with IronPython?
Replies: 5
Views: 5413

Re: sooo what's the story with IronPython?

I agree on this, official word is needed about the IronPython support status
by jtruppia
Mon Nov 07, 2011 4:40 pm
Forum: Automation API
Topic: Using Ranorex with Python
Replies: 3
Views: 4592

Re: Using Ranorex with Python

Thanks, it's a shame cause Python is such a good language to do scripting, really useful for testing. For anyone who ends up here, it might be useful to know that I'm currently using Ranorex 3.0.5 and IronPython 2.7.1 with success. However, I don't use Ranorex Studio, only the Spy and its generated ...
by jtruppia
Fri Nov 04, 2011 3:41 pm
Forum: Automation API
Topic: Using Ranorex with Python
Replies: 3
Views: 4592

Using Ranorex with Python

I've seen some old posts about this, but nothing newer than 2008.
Is it still possible to use Ranorex with Python? Using IronPython maybe? That should work, cause it uses the CLI, right? Any code examples available?
by jtruppia
Fri Nov 04, 2011 3:19 pm
Forum: Automation API
Topic: Get ElementInfo from Adapter
Replies: 2
Views: 2259

Re: Get ElementInfo from Adapter

Thanks Marcus.
You should really consider adding a small tutorial on this, and also implementing a search box in the API doc on the website, it is really cumbersome to search for classes and methods (I don't use Ranorex Studio, just the Spy and VS)
by jtruppia
Thu Nov 03, 2011 9:16 pm
Forum: Automation API
Topic: Get ElementInfo from Adapter
Replies: 2
Views: 2259

Get ElementInfo from Adapter

How can I get the ElementInfo if I already have the Adapter?

Also, besides the code examples of using the Automation API, is there any tutorial or article or whatsoever exploring the usage of the API?
by jtruppia
Wed Nov 02, 2011 8:00 pm
Forum: General Questions
Topic: DateTimePicker
Replies: 4
Views: 3806

Re: DateTimePicker

Thanks, saved my day!

Here is my code, maybe someone will find it useful

Code: Select all

 Ranorex.DateTime dateTimePicker = ranorexRepo.DateChooser.DateTimePicker;
 var control = new Ranorex.Control(dateTimePicker);
 control.SetPropertyValue("Value",System.DateTime.Parse(time).ToShortTimeString());
by jtruppia
Wed Nov 02, 2011 8:00 pm
Forum: General Questions
Topic: Select item on dataTimePickerFrom
Replies: 5
Views: 3348

Re: Select item on dataTimePickerFrom

This hasn't been useful to me, Value property has no setter.
I had to resort to the method here http://www.ranorex.com/forum/datetimepicker-t1141.html
by jtruppia
Sat Oct 29, 2011 12:14 am
Forum: Automation API
Topic: Dynamic identification of component types
Replies: 1
Views: 2930

Dynamic identification of component types

I have the following problem. I've got a dictionary, where the keys corresponds to labels in my UI, and the values correspond to the value I must set in each control associated with that label. The problem is that I don't know at compile time what type will the component have (it can be a textbox, c...
by jtruppia
Wed Oct 26, 2011 12:33 am
Forum: General Questions
Topic: With CodedUI in VS2010 where is Ranorex heading?
Replies: 7
Views: 2380

With CodedUI in VS2010 where is Ranorex heading?

Now that MSFT is including tools for doing automated UI testing in VS (currently only in VS2010 Premium and Ultimate) is Ranorex considering leaving Ranorex Studio behind and integrating Spy and Recorder into VS as plugins? Cause of the many available plugins for VS and the huge array of functionali...
by jtruppia
Sat Oct 22, 2011 1:09 am
Forum: Bug Reports
Topic: Ranorex Studio needlessly modifies XML files (UTF-8 BOM)
Replies: 9
Views: 3183

Re: Ranorex Studio needlessly modifies XML files (UTF-8 BOM)

Ok, I got it. It seems that this fails if you have the file open in VS, cause it keeps using the old encoding (I had ANSI).
The workaround is to close the file in Visual Studio, replace it with the generated file, and reopen it (it is not necessary to remove it from the project, just close the tab)
by jtruppia
Sat Oct 22, 2011 12:55 am
Forum: Bug Reports
Topic: Ranorex Studio needlessly modifies XML files (UTF-8 BOM)
Replies: 9
Views: 3183

Re: Ranorex Studio needlessly modifies XML files (UTF-8 BOM)

Code generated from the Spy and the Recorder is always preceded by , I'm in Ranorex 3.0.5 on Windows XP.
Might this be related to the encoding of the resultant .cs file?
This is really annoying cause I have to remove it manually each time I generate it
Any workaround?