Suppose this is what your Excel sheet looks like:
1 | First name | Last name |
2 | Bart | Kleijngeld |
3 | Christian | Bos |
Then I would like to do something like:
Read from cell by column name 2 Last name # returns 'Bos'
or:
Read from cell (2, Last name) # returns 'Bos'
These are just examples. How to implement this exactly is a matter of discussion:
- Start the row numbering with the first data row or the header row (since the latter is skipped, it might make sense not to count it)?
- Should this be a separate keyword, or should it be added as a locator strategy to
Read from cell? This seems preferable, but might also be tempting in a bad way, where one so obsessively cramps everything into a single keyword that it becomes hard to maintain, read or even use.
Any ideas?
Suppose this is what your Excel sheet looks like:
Then I would like to do something like:
or:
These are just examples. How to implement this exactly is a matter of discussion:
Read from cell? This seems preferable, but might also be tempting in a bad way, where one so obsessively cramps everything into a single keyword that it becomes hard to maintain, read or even use.Any ideas?