forked from python-openxml/python-docx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tbl-item-access.feature
24 lines (20 loc) · 944 Bytes
/
tbl-item-access.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Feature: Access table rows and columns
In order to query and modify individual table items
As a developer using python-docx
I need the ability to access table rows and columns
Scenario: Access table row collection
Given a table having two rows
Then I can access the row collection of the table
And the length of the row collection is 2
Scenario: Access row in row collection
Given a row collection having two rows
Then I can iterate over the row collection
And I can access a collection row by index
Scenario: Access table column collection
Given a table having two columns
Then I can access the column collection of the table
And the length of the column collection is 2
Scenario: Access column in column collection
Given a column collection having two columns
Then I can iterate over the column collection
And I can access a collection column by index