Hi,
I am having problem with setting cell data inside a grid.
Code generated:
SwfWindow("Window").SwfWindow("Window").SwfTable("Grid").SetCellData "0","HOUSE_NUMBER","D12345"
During payback, the application crashes. Anyone has faced this problem before? Any help is really appreciated
Thanks,
Srini
Hi Srini,
From just looking at those two lines of code it's impossible to tell why your application may have crashed. Can you eloborate a bit more on your setup and the error in question.
What version of NetAdvantage is the application using, including CLR?
What version of TestAdvantage are you using with QuickTest Professional, including CLR?
What version of QuickTest Professional are you using?
What if any exception is thrown when your application crashes?
If you break on replay before the SetCellData, and type in the value listed does it crash?
If possible, can you attach a Visual Studio process to the application in question before it crashes, run it, and capture a stack trace of the exception?
These questions will greatly assist me in helping you with this behavior.
Hi Michael,
I am using following versions
QTP – 9.2 with .Net Add-in 9.2
NetAdvantage 2007 Vol 1, CLR 2.0 v 7.1.20071.1048
TestAdvantage 2007 Vol 1, CLR 2 v 7.1.20071.10
If I break on replay before the SetCellData, and type in the value listed application does NOT Crash
Following exception is thrown when application crashes
at Infragistics.QTPServer.WinGrid.WinGridRecordReplayServer.fnSetCellData(Object row, Object column, Object strValueobj)
And, I am not sure how to capture the Visual Studio process