Forum Discussion

thaidy's avatar
thaidy
Occasional Contributor
3 years ago

TestComplete dynamic objects

Hello,    I have started to use TestComplete a couple of weeks and I am developing tests to check if everything is okay in my device/application. My question is how I can check and count dynamic ob...
  • AlexKaras's avatar
    3 years ago

    Hi,

     

    Without having any idea about your tested application:

    -- Screenshot presents something that looks like a table;

    -- You need to investigate this table in the Object Browser and figure out how to identify it (i.e. what set of stable and unique identifiers it provides that can be used as a parameters for one of the FindXXX methods);

    -- Then you need to do the same for rows and columns (i.e. how to stably and reliably identify entities that look like rows and columns - depending on your tested application they may be implemented in a lot of different ways);

    -- After the above is done, the easy part is left: search for all rows for this table, iterate through the found list and check the value for the cell of the Health column.