Hi Pankaj,
Unfortunately the grid shows ChildCount as 0 so I guess this method would not work. I will try to get a sample app with this grid and
send it to tech support; maybe they know other ways of looking into cells of a grid, individually.
I tried using the event routine yesterday for the Unexpected exception window, but it did not work. When the exception was thrown, the script stopped (failed) with the error "Object does not exist", since the script was looking for the next object as recorded, and couldn't access it due to exception. The Exception was not captured nor was it closed.
Here is the code sample how test complete created the event; I was following yours and help topic's instructions:
This code was inserted after the script code...
// Event for unexpected window
function ExceptionHandler(Sender, Window, LogParams)
{
if (! Regions.Compare(Window, "KnownError"))
Log.Picture(Sys.Desktop.Picture(), "Image of the whole screen", "", pmHigher);
}
Thank you very much for your time and help!!