Search found 15 matches

by vonBrabant
Mon Jun 23, 2008 11:00 pm
Forum: Automation API
Topic: Problem nesting ElementFindChildren calls...
Replies: 1
Views: 2960

Problem nesting ElementFindChildren calls...

Hi, I use ElementFindChildren() together with ElementGetChildFieldItem() to iterate over the elements of a form. That works fine. I perform the DefaultAction for each element which opens a new window in which I again have to find certain elements. I do that with ControlGetElement() and ElementFindCh...
by vonBrabant
Mon Jun 23, 2008 1:57 pm
Forum: Automation Tools
Topic: Number of character for the element value
Replies: 4
Views: 3803

Ah, I just found out that I can select and copy the text even the part
that are initially not visible.

Okay, problem solved :-)

vonBrabant
by vonBrabant
Mon Jun 23, 2008 11:37 am
Forum: Automation Tools
Topic: Number of character for the element value
Replies: 4
Views: 3803

Hm, you fixed it in 1.3 ?
In which way? I'm using 1.4 and have the same problem.
If the control caption/text or the element value is too long, it is clipped and there is no way for me to see the complete text.

What can I do ?

Thanks
vonBrabant
by vonBrabant
Wed Jun 11, 2008 3:40 pm
Forum: Automation Tools
Topic: No Python projects with Ranorex Studio ?
Replies: 2
Views: 3209

No Python projects with Ranorex Studio ?

Hi,

I just looked at RanorexStudio and it seems that it is not possible to create Python Projects (only C# and VB.NET).
Is that correct ?
by vonBrabant
Fri May 23, 2008 5:26 pm
Forum: Automation API
Topic: Getting selected item from ListView ??
Replies: 4
Views: 5172

yeah, you are right.
Everything is find ;-)
by vonBrabant
Fri May 23, 2008 12:19 pm
Forum: Automation API
Topic: Getting selected item from ListView ??
Replies: 4
Views: 5172

Okay, that would be good enough, but it doesn't really work. The problem is that STATE_SYSTEM_SELECTED evaluates to '2', while ElementGetState returns either 2097152 (2^21) if the item is not selected and 2097154 (2^21+2) if the item is selected !! So, am I supposed to play around with bit masks for...
by vonBrabant
Thu May 22, 2008 9:52 pm
Forum: Automation API
Topic: Getting selected item from ListView ??
Replies: 4
Views: 5172

Getting selected item from ListView ??

Hi,

sorry if this is trivial, but I can't find a way to get the index (or text) of the currently selected item of a list view control :-(

I can select items with ListViewSelectItemIndex but there is no corresponding function for finding out which item is selected.

What am I overlooking ?
by vonBrabant
Tue May 20, 2008 9:03 pm
Forum: Automation API
Topic: Problems using ControlFindImageFile
Replies: 2
Views: 2836

Yes, I'm using a bmp file. I got it by making a screenshot of the control.
Would be nice if you could incorporate the function in version 1.5

vonBrabant
by vonBrabant
Mon May 19, 2008 3:30 pm
Forum: Automation API
Topic: Problems using ControlFindImageFile
Replies: 2
Views: 2836

Problems using ControlFindImageFile

I try to use ControlFindImageFile to find an image in a control. Unfortunately I get back None, although the image should be there :-( For debugging it would be very helpful if I somehow could extract (save to file) the image that is associated with a control. That means I'm looking for a function l...
by vonBrabant
Mon May 19, 2008 3:26 pm
Forum: Automation API
Topic: Minimizing a form ?
Replies: 2
Views: 3215

Okay, thanks.
I also found a way using element functions, but this is much easier.

vonBrabant
by vonBrabant
Fri May 16, 2008 10:26 pm
Forum: Automation API
Topic: Minimizing a form ?
Replies: 2
Views: 3215

Minimizing a form ?

Hi everybody,

what is the best way to minimize a form (top level window) ?
FormActivate() restores a minimized form, but there seems to be no FormMinimize() !?

Thanx
by vonBrabant
Mon Nov 19, 2007 3:41 pm
Forum: Automation Tools
Topic: Python output only for 2.5 ??
Replies: 3
Views: 3592

Okay, thanks for the reply. However, I installed now Python 2.5 and everything is now working. It is actually simpler than you describe it ! With Python2.5 one can still copy RanorexPython.dll and RanorexCore.dll in the Python25/DLLs folder and load the module with "import RanorexPython as Ranorex"....
by vonBrabant
Sat Nov 17, 2007 3:58 pm
Forum: Automation Tools
Topic: Python output only for 2.5 ??
Replies: 3
Views: 3592

Python output only for 2.5 ??

Hi,
I'm just testing the Python output of the recorder and have some problems with my Python 2.4. imp.load_dynamic isn't working, and if I replace it with import RanorexPython as Ranorex, Ranorex.FormFind doesn't work.

So I wonder if the output is Python 2.5 specific ??

Thanks

vonBrabant
by vonBrabant
Thu May 24, 2007 10:50 pm
Forum: Automation API
Topic: Selecting Items in ListView control ?
Replies: 1
Views: 5273

Selecting Items in ListView control ?

Hi,

I'm just getting started with Ranorex and I have a problem with a ListView control whose items have no name.

I can get the number of items with ListViewGetItemCount(), but how can I select an item if it has no name? ListViewSelectItem() wants a name and not an item number :-(

vonBrabant
by vonBrabant
Wed May 23, 2007 11:18 pm
Forum: Automation API
Topic: Code Intelligence with Komodo ?
Replies: 1
Views: 3705

Code Intelligence with Komodo ?

Hi everybody, I just discovered Ranorex and try to use it with Python and the Komodo IDE. Everythings works fine, except for code completion :-( How can I tell Komodo where to find the code intelligence information for Ranorex? Or is it a problem that Ranorex comes as dlls ? Many thanx, vonBrabant