Forum Discussion

knk907's avatar
knk907
Occasional Contributor
7 years ago

Iterating through the Windows table

Hi all,

 

We are working on .Net based windows application. When we go to a particular tab we will get the list of actions as a table or list. We have to validate whether particular action is present in the list or not.

Can anyone help us with this?? And also how to iterate through rows of the table(that appears in application) in TestComplete.

 

Thanks in advance.

5 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    What sort of component is it?  Is it a DBGrid, an embedded web table, a FlexGrid?  The type of component it is will determine the methodology to be used.

     

    Also, please post the properties list and method list from Object Spy for the table in question.

    • knk907's avatar
      knk907
      Occasional Contributor

      Hi,

       

      We are getting following properties while identifying the object.Also we are unable to identify any of the elements(including column names) in the table.When we try to identify element in that table  It's identifying only the entire frame.

       

      Name: WPFObject("sItems")
      Clrclassname :stylelist

       

      Kindly provide us the solution how to identify in a panel which has no of rows & columns.

       

      Thanks.

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        Not exactly what I meany by "property list".

         

        1) Using Object Spy or Object browser, highlight the object in question

        2) Take a screeenshot (or screenshots) of all the available properties for the object

        3) Post the screenshots here so we can see what you have to work with and we'll see what we can do to help.