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
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,
I need to click a button/image which is there in xamdatagrid cell. What I'm trying to do is find a value in Column A and click the corresponding button/image in Column B.
When i record this event i get activate cell and select gridrecord
Can you please tell me how to perform this action.I have already installed TestAdvantage.
-Chetan
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.
Thanks
Rathish