Forum Discussion

Alaguraja's avatar
Alaguraja
Occasional Contributor
8 years ago

Unable to Fetch the Rowcount

Hi All,

 

While running the test, One table grid  exists but it's Rowcount show as zero. When I try to pass and continue the execution then its fetching the row count.

 

Is there anyone out there who has faced the similar experiences before?

 

Tool: Test complete 11.31

Script: Vb script

 

Regards,

Alaguraja V

5 Replies

  • What language is the application written in?

     

    And what type of table is it? There are many different types in many different languages.

    • Alaguraja's avatar
      Alaguraja
      Occasional Contributor

      Hi Colin McCrae,

       

       

      I am using Vbscript and table name is ExchangeTasksGrid. PFA

       

       

      Regards,

      Alaguraja V

      • Colin_McCrae's avatar
        Colin_McCrae
        Community Hero

        OK.

         

        That wasn't really what I was asking. But the screen shot helped.

         

        First up, this seems to be a webpage. But you've posted this is Desktop Testing? So it's in the wrong place.

         

        Second, your spy capture shows a row count. So it is obviously working. But it's not retrieving it during a run? It appears to be a table, within a table, within a table. So tables nested 3 deep. How are you identifying and finding your way through all this? If this is badly mapped, there are endless ways you could be querying the wrong object.

         

        It could also be a timing issue.

         

        If you assign the table you're after to an object in your code and put a break point just after that, is the object correct?