I'm unable to access the data within the following Farpoint grid I would like to access the check boxes within the grid and make selections based on various modules and user combinations.I can record and playback using the Ranorex Studio, however that is purely based on co-ordinates.
I can get some data from the AccessibleDescription field using my C# code , however that only gives the selected value and which would be the first row to the top left. So even though I can read the values using the property, it would require me to manually select the cell. My requirement is to make the selections based on the given data. So I tried clicking after using the following code, but didnt give me the expected results
Code: Select all
Ranorex.Unknown grid = form.FindSingle<Ranorex.Unknown>("/form[@controlname='LicenceAssignmentForm']/element[@controlname='fpSpreadLicence']", dur); grid.Element.SetAttributeValue("AccessibleDescription", "fpSpreadLicence, Sheet1, Row 0, Column 8, True"); grid.Click();
I read in another post regarding issues with Farpoint access stating"spy-finds-no-entry-in-the-table" . So seems like no luck trying to access a Farpoint grid control.
I would be interested to know if we have any other ways than the complicated one mentioned in about "enabling-automation-by-adding-accessibility-to-windows-forms-controls"
Any more ideas?