Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
90
Problem using setcelldata on UltraGrid
posted

When trying to use setcelldata on ultragrid i get a message "The supplied UltraGridRow argument [0] is not one of the expected type(s) : String or Int16" - i saw a similar problem in this thread
https://es.infragistics.com/community/forums/f/test-automation-for-micro-focus-uft-windows-forms/22461/how-i-get-value-as-text-with-getcelldata-in-swftable#82082

but cstr did not help

record brought the following code:

SwfWindow("win1,").SwfTable("SwfTable_2").ActivateCell "0","psv_msr"
SwfWindow("win1,").SwfTable("SwfTable_2").DoubleClickCell "0","psv_msr"
SwfWindow("win1,").SwfTable("SwfTable_2").SetCellData "0","psv_msr","100"

replay double clicked the cell but did not fill it, I noticed you had an old bug that might be relevant

https://es.infragistics.com/community/forums/f/retired-products-and-controls/22550/get-a-selected-value-of-a-cell-in-a-ultragridweb

 

any help would be appreciated

Amitai

(using QTP 11 with TA version free (10.3)

Parents Reply Children