The application under test is trowing an exception "Can't access selection start unless the Editor is in edit mode."when QTP is executing the line to set value in the cell which is in Band 1SwfTable("dgUltraDisbursementInfo").SetCellData "0;1,0","Amount","1000" I have tried using ActivateRow, ActivateCell etc still it doesnt helpIf I use DoubleClickCell the cell was going into edit mode but the SetCelldata was not working and it did not throw any error or rep0rted any detailsThe control is of type UltraWinGrid ( Product Version: 7.3.20073.1043) and the version of the test advantage is TestAdvantage for Windows Forms (HP) 2007 Vol. 3 CLR 2.0
The issue does not happen if we excecute the test case mannually
My thought is that possibly that the error is stemming from your application. The reason I say this SetCellData only sets the value, and then fires the events OnCellChange, and OnCellListChange in the case of a drop down. It actually doesn't effect the selection directly at all.
If your application actively responds to the typing of characters being entered into a cell, then I would suggest using SetInvalidDataCell, as it makes the assumption that the Cell uses a Text based editor, and clicks in the cell, clears the current value and sends the keys individually into the editor.
Let me know if this helps,