I am trying to get the no of rows from the webtable Report Name using the below code, but it is not giving me the correct value. Can you tell me under what unusual circumstances it will not give me the correct no of rows. I have used the object spy to make sure the object is a web table only, added this object to the OR and etc etc. but still getting incorrect results.
Can you guess the reason why it might be doing so and a possible work around it.