Hi,
I am having problem getting x, y coordinates for a cell in UltraWinGrid. I need these to perform Drag and Drop operation between two grids.
If anyone has come across this type of problem please help me out
Thanks,
Srini
Can some one help me on this?
Thanks
Rathish
Hi Mike,
We are using TesAdvantage 2008 Vol3, but still getCellProperty is not returning the X and Y coordinates.
x = SwfWindow("windowName").SwfTable("tableName").getCellProperty("row","column","x")
But it returns the "width" and "height" values.
width = SwfWindow("windowName").SwfTable("tableName").getCellProperty("row","column","width")
Please help us on this.
Hi Srini,
This was an unknown limitation of the TestAdvantage UltraGridProxy that was resolved in the service release of TestAdvantage 2008 Volume 1 forward and in the release build of TestAdvantage 2010 Volume forward. In the stated releases you can now use : GetCellProperty(objRow, objColumn, strPropertyName)
using the following new properties :
"X" - X coordinate of the UltraGridCell UIElement "Y" - Y coordinate of the UltraGridCell UIElement "width" - width of the UltraGridCell UIElement "height" - height of the UltraGridCell UIElement
It should be stated that in the process of retrieving the property values it will bring the cell into view.
I hope this answers your question,