Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Unable to identify grids
posted

Hi,

I have mutliple grids in the same window of my application. I want to perform some action  on these grids. And I am using descriptive programming for this.

As all the grids has the same name called 'ultragrid', I am not able to idenitfy these objects and perform the actions.

My automation is stuck due to this problem. Anybody who can give me some workaround will be highly appreciated.

Kind Regards,

Tinu

Parents
No Data
Reply
  • 20872
    Offline posted

    Hello Tinu,

    I have been looking into this forum post and if you are using TestAdvantage for WinForms HP QTP and this application is using corresponding version of the NetAdvantage controls than even when the UltraGrids have the same visual name(most probably the caption is the same) then the UltraGrids still remain with different identifiers, because the TestAdvantage will identify them by their creation names which are always unique so I am not sure what exactly is the issue here.

    I have tested the same scenario with three UltraGrids with the captions - "UltraGrid" and the when you are performing any actions over them, the actions gets in the script like the following:

    ...SwfTable("UltraGrid1")....
    ...SwfTable("UltraGrid2")....
    ...SwfTable("UltraGrid3")....

    If you have any other questions with this matter please feel free to let us know.

Children
No Data