2
votes

I need to get the cell type or value property in a Webtable by specifying the row and column. GetROproperty can give the value but row/column cannot be specified.

1
Welcome to SO. Please be sure to provide enough context and samples with your questions. Feel free to check out stackoverflow.com/help/how-to-ask to help improve your question and increase the likelihood of a good answer. - foxtrotuniform6969

1 Answers

1
votes

When working with a WebTable there are two ways to get into the cell:

  • ChildItem: Allows you to specify a row and column of the cell and an object type so you can get an (for example) Link that is in the specified cell. Then with that Link object in hand you can do whatever you want, including GetROProperty
  • Cell: Given a row and column, this returns the WebElement of the TD element that represents the cell which you can then use as a regular WebElement