Search found 9 matches

by mvn
Thu Nov 13, 2008 8:27 am
Forum: General Questions
Topic: Ranorex 2.0 support for 1.x code
Replies: 3
Views: 2956

Hi, You can run tests based on different Ranorex versions within your test projects side by side. The core of the new version is totally different to the core from Ranorex V1.x. Therefore, we currently don't support any interoperability interface to compile Ranorex V1.x code with the new Ranorex V2...
by mvn
Thu Nov 13, 2008 8:23 am
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

Managed to work this out but there might be a better way of doing this. DataGrid grdParms = form.FindDataGrid("grdParms"); grdParms.Focus(); Element param = grdParms.Element.FindChildValue("ChildValue", SearchMatchMode.MatchExact); Mouse.ClickElement(param); param.Select(Selection.TakeFocus); Elemen...
by mvn
Wed Nov 12, 2008 8:34 am
Forum: General Questions
Topic: Ranorex 2.0 support for 1.x code
Replies: 3
Views: 2956

Ranorex 2.0 support for 1.x code

Will the release of Ranorex 2.0 still allow the methods used in 1.x to be used? I want to avoid breaking existing code and would in some instances require new code to be built using the 1.x way. While 2.0 offers some great new features sometimes increasing complexity can make simple operations more ...
by mvn
Wed Nov 12, 2008 8:28 am
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

Normally you can read the column and row info from the Name property of the cell. If it’s not possible, then you have to write a workaround, you can use the FindChildren() method and read all the cells into a collection. Jenö Ranorex Team Thanks, would this allow the actual value content of the cel...
by mvn
Thu Nov 06, 2008 3:28 pm
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

You can also automate the grid with the Element class, check the Roles and Names with RanorexSpy. Please try the following code with a cell: Element cell = gridControl.Element.FindChild(Role.Cell, "Name of the cell"); if (cell != null) Mouse.MoveToElement(cell); Does this work? Jenö Ranorex Team Al...
by mvn
Wed Nov 05, 2008 11:18 am
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

Update, added additional code to check if method returns true or false. Summary of what each method returns follows the code. DataGrid dataGrid = form.FindDataGrid("grdParms"); int datagrdColumnCount = dataGrid.ColumnCount; if (dataGrid.ClickColumn("Parameter Name(s)")) { DataManager.LibSendPassResu...
by mvn
Tue Nov 04, 2008 4:28 pm
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

Thanks for the reply, [quote="Support Team"]I successfully tested the DataGrid class using a .NET DataGridView control. What type is your DataGrid of? By type what do you mean? Its a Windows.Form.DataGrid, the element is Table'DataGrid'. [quote="Support Team"]Be sure to take the right index paramete...
by mvn
Fri Oct 31, 2008 3:23 pm
Forum: Automation API
Topic: DataGrid unable to return item text
Replies: 8
Views: 4462

DataGrid unable to return item text

I am trying to return and modify items in a data grid using the methods defined for DataGrid class. But I am having problems getting or setting the item values after the data grid control has been found. I am Using Ranorex Pro 1.5 (.NET 2.0) DLL, the component according to the Spy is System.Windows....
by mvn
Mon Sep 15, 2008 2:22 pm
Forum: Automation API
Topic: Select Static Text Element from Combo Box
Replies: 1
Views: 2938

Select Static Text Element from Combo Box

Hi, How can I select a static text element from a combo box that contains a long list of static text elements. I can select those that are shown when the combo box drop down list is displayed but not those that are hidden? I want to avoid multiple clicks on the combo box push button as the list can ...