我有this page以下特點文件:Selenium:地址複選框的標籤?
@checkbox
Feature: Check the checkbox
Webdriver should be able to check the checkbox lists
Scenario: Check the checkbox
Given I am in checkbox task page
Then I can check the hobbies from the checkbox
Scenario Outline: Title of your scenario outline
Given I am in "http://suvian.in/selenium/1.6checkbox.html"
Then I can check the <id> from the checkbox
Examples:
| id |
| 1 |
| 2 |
| 3 |
| 4 |
的問題是,我已經參與thecnical細節,如id
在我的方案大綱。我想改變它作爲
Examples:
| hobby |
| dancing |
| sporting |
| singing |
| PC Gaming |
但我不知道,如何解決元素:
<input style="width:20px;height:20px;" type="checkbox" id="2">
在我的硒的webdriver?
這是一個更好的解決方案。 – Sameer