Search found 5 matches

by Japise
Wed Feb 05, 2014 9:01 am
Forum: Automation Tools
Topic: Get property values from controls
Replies: 5
Views: 4856

Re: Get property values from controls

Thanks for the quick response! I tried the code and it seems that there's only the size property available in the class, since running: Cell.Element.GetAttributeValue("width") returns null, while Cell.Element.Size.Width returns the value. I would guess that there is no support for accessing sub-prop...
by Japise
Tue Feb 04, 2014 4:53 pm
Forum: Automation Tools
Topic: Get property values from controls
Replies: 5
Views: 4856

Re: Get property values from controls

I'm trying to fetch the value from a column header (Thirdparty grid called flexgrid). The value I'm interested in is the Size property found in the detail tab. Getting null when trying to reference it in the GetValue method Assumed it was a control based on the properties in the detail section.

/J
by Japise
Tue Feb 04, 2014 2:50 pm
Forum: Automation Tools
Topic: Get property values from controls
Replies: 5
Views: 4856

Get property values from controls

Hi,

Been trying to get the 'Widht'-property from a object inheriting from a System.Windows.Forms.Control using the GetValue action in the recorder, but it just returns null?

Can this be achieved or do we need to write user methods for retrieving such properties? Examples?

/Best reards
Jari
by Japise
Tue Feb 04, 2014 2:44 pm
Forum: Automation Tools
Topic: Image recognition does not work on remote machine
Replies: 4
Views: 3704

Re: Image recognition does not work on remote machine

You may try to turn of the ClearType setting in windows if the image you are capturing is containing text, caused some issues for me.
by Japise
Wed Jan 15, 2014 4:28 pm
Forum: Automation API
Topic: Automatic inhertiance for test modules
Replies: 1
Views: 1986

Automatic inhertiance for test modules

Hi, New to ranorex and have bumped into a annoying issue. My plan is to have a baseclass where I put common test scripts that should be reusable and accessible when creating a usermethod action. Now I have to manually edit the scripts to make the test module inherit the baseclass. Is there any way t...