 			
 			if (newRowIndex >= view.length)
 			{
-				trace ("Invalid Row Index : " + String(rowIndex) + " - Total Row Count : " 
-					+ String (grid1.maxVerticalScrollPosition + view.length));
+				var message:String = "Invalid Row Index : " + String(rowIndex) + " - Total Row Count : " 
+					+ String (grid1.maxVerticalScrollPosition + view.length);
+				Automation.automationDebugTracer.traceMessage("AdvancedDataGridAutomationImpl","isGroupeditem()",message);
 			}
 			else
 			{

			// check whether the requried row Index is visible
			if (newRowIndex >= grid1.rowCount)
			{
				trace( "Invalid Row Index : " + String(rowIndex) + " - Total Row Count : " 
					+ String (grid1.maxVerticalScrollPosition + grid1.rowCount));
				
			}
			else

			
			if (newRowIndex >= view.length)
			{
				var message:String = "Invalid Row Index : " + String(rowIndex) + " - Total Row Count : " 
					+ String (grid1.maxVerticalScrollPosition + view.length);
				Automation.automationDebugTracer.traceMessage("AdvancedDataGridAutomationImpl","getGroupedItemChildrenCount()",message);
			}
			else
			{
