I am working on automating a Silverlight 4 application with QTP 11 and QTPNET_00051 patch for silverlight.

The issue i am facing is that the svltable is being identified, but i am not able to get the column count and rowcount. The following error is returned by QTP:

"System.ArgumentException: Invoke Type invalid for this operation."

The RowCount and ColumnCount method was working fine till few days back, but now it is throwing the above error.

But i am still able to get the values in the slvtable using Getcelldata method from each cell. I want to capture the exact row and column count as well from the script.

Please help me in resolving the above issue.