⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions content/en/steps/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ You can create your own original test scenarios by combining these steps.
* $num = The row number of the cell where "`column number`" column text equals "`text`" in the "`table`" table
* $text = The text of the cell in "`column number`" column and "`row number`" row in the "`table`" table
* $text = The text of the cell in "`column number`" column and "`row number`" row in the header of the "`table`" table
* $text = The "`attribute`" attribute of the cell in "`column number`" column and "`row number`" row in the header of the "`table`" table""
* $text = The "`attribute`" attribute of the cell in "`column number`" column and "`row number`" row in the "`table`" table
* $sum = Sum of the “`column number to sum`” column which “`column number to search`” column is “`text`” in the “`table`” table

--------
Expand Down
54 changes: 54 additions & 0 deletions content/steps/GetTableCellAttribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
date: 2015-07-02T16:08:08+09:00
description: null
slug: null
tags: []
title: $テキスト = 「テーブル名」テーブルの「行番号」行目「列番号」列目の「属性」属性
---

表の中から指定された行番号と列番号のセルの属性値を取得します。

## パラメータ

パラメータ名 | 説明
------|---------
`テーブル名` | CSS3セレクタが利用可能。
`行番号` | 正の整数が利用可能。
`列番号` | 正の整数が利用可能。
`属性名` | チェック対象の属性名、文字列が利用可能。

## 実際の属性値と、期待している属性値と一致するか確認する例

```
「http://docs.shouldbee.at/steps/GetTableCellAttribute/」に移動する
$ボブと表示されているセルのid属性の期待値 = 定数「bob」
$実際の属性値 = 「#persons」テーブルの「2」行目「2」列目の「id」属性
{$ボブと表示されているセルのid属性の期待値}と{$実際の属性値}が一致すること
```

<blockquote>
<table id="persons">
<thead>
<tr>
<td>氏名</td>
<td>年齢</td>
</tr>
</thead>
<tbody>
<tr>
<td id="alice">アリス</td>
<td>22</td>
</tr>
<tr>
<td id="bob">ボブ</td>
<td>23</td>
</tr>
</tbody>
</table>
</blockquote>

## 別の表記

* 「`テーブル名`」テーブルの「`列番号`」列目「`行番号`」行目の「`属性`」属性
* 「`テーブル名`」表の「`行番号`」行目「`列番号`」列目の「`属性`」属性
* 「`テーブル名`」表の「`列番号`」列目「`行番号`」行目の「`属性`」属性
54 changes: 54 additions & 0 deletions content/steps/GetTableHeaderCellAttribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
date: 2015-07-02T17:11:31+09:00
description: null
slug: null
tags: []
title: $テキスト = 「`テーブル名`」テーブルのヘッダーの「`行番号`」行目「`列番号`」列目の「`属性`」属性
---

表のヘッダーの中から指定された行番号と列番号のセルの属性値を取得します。

## パラメータ

パラメータ名 | 説明
------|---------
`テーブル名` | CSS3セレクタが利用可能。
`行番号` | 正の整数が利用可能。
`列番号` | 正の整数が利用可能。
`属性名` | チェック対象の属性名、文字列が利用可能。

## 実際の属性値と、期待している属性値と一致するか確認する例

```
「http://docs.shouldbee.at/steps/GetTableHeaderCellAttribute/」に移動する
$氏名と表示されているセルのid属性の期待値 = 定数「name」
$実際の属性値 = 「#persons」テーブルのヘッダーの「1」行目「1」列目の「id」属性
{$氏名と表示されているセルのid属性の期待値}と{$実際の属性値}が一致すること
```

<blockquote>
<table id="persons">
<thead>
<tr>
<td id="name">氏名</td>
<td>年齢</td>
</tr>
</thead>
<tbody>
<tr>
<td id="alice">アリス</td>
<td>22</td>
</tr>
<tr>
<td id="bob">ボブ</td>
<td>23</td>
</tr>
</tbody>
</table>
</blockquote>

## 別の表記

* 「`テーブル名`」テーブルのヘッダーの「`列番号`」列目「`行番号`」行目の「`属性`」属性
* 「`テーブル名`」表のヘッダーの「`行番号`」行目「`列番号`」列目の「`属性`」属性
* 「`テーブル名`」表のヘッダーの「`列番号`」列目「`行番号`」行目の「`属性`」属性
4 changes: 3 additions & 1 deletion content/steps/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ title: ステップ一覧

* [$行番号 =「`テーブル名`」テーブルの「`列番号`」列目のテキストが「`テキスト`」の行番号](/steps/GetRowNumberByColumnText/)
* [$テキスト =「`テーブル名`」テーブルの「`行番号`」行目「`列番号`」列目のテキスト](/steps/GetTableCellText/)
* [$合計 = 「`テーブル名`」テーブルの「`検索する列番号`」列目が「`条件`」の「`合計する列番号`」列目を合計する](/steps/SumFilteredRows/)
* [$テキスト =「`テーブル名`」テーブルのヘッダーの「`行番号`」行目「`列番号`」列目の「`属性`」属性](/steps/GetTableHeaderCellAttribute/)
* [$テキスト =「`テーブル名`」テーブルの「`行番号`」行目「`列番号`」列目の「`属性`」属性](/steps/GetTableCellAttribute/)
* [$合計 =「`テーブル名`」テーブルの「`検索する列番号`」列目が「`条件`」の「`合計する列番号`」列目を合計する](/steps/SumFilteredRows/)

## ウィンドウ

Expand Down