Forum Discussion
AlexeyKolosov
Staff
14 years agoHi uday,
In my test it is recorded as table so how can I do the operations on the cells of the table ?
If you're working with an HTML table, its cells should be available as child objects in the objects tree (see the "Parsing HTML Tables" help topic (http://support.smartbear.com/support/viewarticle/26819/) for more information). A specific cell can be addressed as table.Cell(i, j). After the cell is retrieved, you can take the needed child object (e.g. an image) and work with it. If you need to find a child object located within a specific cell via some specific criteria, you can use the FindChild method to retrieve the child object (see the "FindChild Method" help topic (http://support.smartbear.com/support/viewarticle/28019/) for more information).
1. What is the difference between Grid and HTML table ?
An HTML table is a specific case of a grid - it's a grid implemented as a <table> tag in HTML markup.
2. How to find Grid Type from Test Complete and by Manual ?
There are various properties which can help you identify the type of your grid control. For example, .NET controls can be identified via their ClrFullClassName property, Java controls can be identified via the JavaFullClassName property, the WndClass property can be used for other desktop applications, etc.