我要更新配置文件工作,教育,基本信息,联系方式信息(accounts.google.com)点击“编辑”按钮,使用硒黄瓜红宝石
我的文件“Testcases.feature”
方案:用户可以为工作
更新信息,因为现有的网站许多“编辑”按钮,当我运行
Given I launch "https://accounts.google.com" page
When I fill in "Email" with "[email protected]"
And I fill in "Passwd" with "[email protected]"
And I click on "signIn" button
And I click on "Edit profile" link
And I click on "Edit" button
Then I should see text "abc..."
我无法点击“编辑”按钮CMD:cucumber -r features features\Testcases.feature
- >下面出现错误:
我点击 “编辑” 按钮#特性/ step_ 定义/ lib_web.rb:9 无法找到按钮 “编辑”(水豚:: ElementNotFound) ./features/step_definitions/lib_web.rb:10:in
/^I click on "(.*)" button$/ ' features\Testcases.feature:65:in
我点击“编辑”按钮”
请告诉我你使用选择的编辑按钮的代码? – bcar 2014-11-03 04:47:32