Stingray grid method GetRowCount, called by vbscript, sometimes is not found
Hi all
I am testing a desktop c++ application which contains a stingray Grid.
As suggested by SmartBear, I built stingray dll with debug information and therefore I can select, using the Object Spy, the grid, map into namemapping and therefore make it available using and Alias.
In the Object Spy I can see all the object methods and among them, the GetRowCount().
If I want to access to this grid method from vbscript I sometimes get that this is not available (I get a "searching for GetRowCount" message) and then I get a timeout stop. Most of the times it works.
I thought it could be due to the grid not "available" or "well loaded yet", so I inserted some delays before accessing the method, a grid.Click call, a check on Grid.Visible attributes, but still randomically I get that issue.
The grid is there, having so many rows and all I want is to know their number!!!
Somebody can help me on finding a way to make it 100% working?
Thank you in advance
Silvio