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,
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
CLR2 just states that it is for the .NET runtime version 2. To determine the version number you would have to locate one of the installed TestAdvantage DLL's get the properties of the dll, and verify it's full version number. Something like:8.3.20083.1009 or8.3.20083.2010
If you never downloaded a service release, which is what we call our hotfixes or patches, likely you are using 8.3.20083.1009. Which since the problem you are experiencing is verified to exist in the installed version and is fixed in the latest, I will assume that is the version you have.
You should be able to go to our mainsite to download the patch via My IG-->My Keys & Downloads. If you are still having problems with it I would recommend opening a case with developer support.
Thank You Mike. The version shows as 8.3.20083.1000
Do I have to download the patch mentioned above?
Rathish,
Yes - 8.3.20083.1000 is an earlier build and you will need to download the service release.
Thanks Alan. I went to My IG- My Keys and downloads .. but am unable to find the service release. Could you please help me to find it.
I have looked at your profile and there aren't any keys registered to it and this is why you don't see the downloads. You will need to register your TestAdvantage 2008 Volume 3 key to have access to the service release downloads for that volume.
To register your license key, please go to the Product Registration page.Once your license key is registered, it should appear in the My Keys and Downloads page, thus allowing you to download service releases for that version of NetAdvantage.If you are unable to register your license key for some reason, such as that it is already registered to another user, please contact our Registrations department at the following email address: registrations@infragistics.com
Let me know if you have any questions with this matter.
Hello,
This issue has been resolved as of the latest Service Release for TestAdvantage 2009 Volume 2 for QTP. You can download the Service Release by click the Account link at the top of the page and selecting Keys & Downloads from the left side of the page that loads. Select the TestAdvantage tab and then select TestAdvantage for Windows Forms 2009 Volume 2. You'll see the Service Releases listed on the Service Releases tab that appears at the bottom of the page.
Yes, I tried without quotes, but I got the below error message
IG : [GetCellProperty] : Unable to cast object of type 'System.Int16' to type 'System.String'.
Does it work if you remove the quotes from around the 3? For example:
MsgBox SwfWindow("Window").SwfTable("Table").GetCellProperty("1",3,"x")
Hi Alan,
I am trying to get the cell property values with "MsgBox SwfWindow("Window").SwfTable("Table").GetCellProperty("1","3","x")", but I am getting an error message as "IG : UltraGridColumn argument is not in the correct format of [N;Name]".
I am using TestAdvantage 2009-V2.
Please help me in this regards,
Thanks.