Search found 8 matches

by grahama
Mon Jun 25, 2007 2:19 am
Forum: Automation API
Topic: RanorexSpy shows different Size than RanorexNet
Replies: 1
Views: 3167

RanorexSpy shows different Size than RanorexNet

I have found a situation where RanorexSpy shows the correct element size for a window, but RanorexNet Element.Size gives the wrong value. The window is a child window in a MDI app. To find a the Titlebar in RanorexNet, I first location the child window using the window title, and then find the eleme...
by grahama
Mon Jun 25, 2007 2:05 am
Forum: Automation API
Topic: Cannot read items in a listbox
Replies: 5
Views: 4194

Unfortunately, we do not know the vendor who created the control - we are testing a 3rd party application without access to source. I suspect that their design of the control has "hidden" this information. But no worries - we found a workaround that makes it unnecessary to retrieive this information...
by grahama
Fri Jun 15, 2007 8:22 pm
Forum: Automation API
Topic: Cannot read items in a listbox
Replies: 5
Views: 4194

To clarify - the control is actually a custom ListView, not ListBox (my mistake). But the original post still applies - I cannot see any items or subitems. I tried out RanorexSpy, and it canNOT see any of the rows in the listview (or even the column headers) as seperate elements. It always gives the...
by grahama
Thu Jun 14, 2007 7:07 pm
Forum: Automation API
Topic: Cannot read items in a listbox
Replies: 5
Views: 4194

Cannot read items in a listbox

I am unable to read the entries in a listbox. The app being tested uses what I believe are 3rd-party controls. In particular, a list box control uses the class name "ClaList_X" (where X is some hex value). I can find the control using Control c = parent.FindControlId(id); where id was found using Ra...
by grahama
Fri May 11, 2007 5:45 pm
Forum: Bug Reports
Topic: Element.Select(TakeFocus) not working
Replies: 1
Views: 4833

Element.Select(TakeFocus) not working

I have a login dialog with edit boxes for a username and password. The element information from RanorexSpy is Role:Client, Name:"User name:" Role:Client, Name:"Password:" My code is as follows: Element win = ... the login dialog ... Element user = win.FindChild(Role.Client, "User name:"); Element pa...
by grahama
Fri Apr 27, 2007 7:06 pm
Forum: Automation API
Topic: Form.Location cannot be set
Replies: 1
Views: 5090

Form.Location cannot be set

[Using RanorexPro 1.1.0.0 in C# with .NET 2.0] If I have a form, the following code works: Form form = ... some form .... int x = form.Location.X; But if I try to set the location, i.e.: form.Location.X = 5; The compiler gives the error: Cannot modify the return value of 'Ranorex.Control.Location' b...
by grahama
Wed Apr 25, 2007 2:32 am
Forum: Bug Reports
Topic: 'Ranorex.Application.Active' definition NOT found
Replies: 1
Views: 3309

'Ranorex.Application.Active' definition NOT found

[ Using Ranorex 1.1.0.0 with .NET 2.0 free download ] I am trying to compile a short C# app in VS 2005. But my attempt to use Application.Active fails - the compiler gives the error: 'Ranorex.Application' does not contain a definition for Active. Other methods of Application work fine (e.g. Start, S...
by grahama
Tue Apr 24, 2007 9:24 pm
Forum: Bug Reports
Topic: Documentation errors (Ranorex 1.1.0)
Replies: 1
Views: 3475

Documentation errors (Ranorex 1.1.0)

[ Using Ranorex 1.1.0.0 for .NET 2.0 free download ] In the page for Application.FindForm Method, selecting "SearchMatchMode" results in a "This page cannot be displayed" error. Also, most (all?) of the prototypes are missing the method/property name and the parameter names do not match those listed...