Sha256: 328a4856b18ebab3d4ea8c93749d46302ff70936f82980ff4fbcee8e80e376dc
Contents?: true
Size: 625 Bytes
Versions: 5
Compression:
Stored size: 625 Bytes
Contents
When /^I search for the table row by "([^\"]*)"$/ do |how| @row_data = @page.send "tr_#{how}" end When /^I retrieve a table row element by "([^"]*)" and "([^"]*)"$/ do |param1, param2| @row_data = @page.send "tr_#{param1}_#{param2}" end When /^I retrieve a table row element while the script is executing$/ do @row_data = @page.row_element(:id => 'tr_id').text end Then /^I should see that the row exists$/ do @page.tr_id?.should == true end When /^I retrieve the data from the table row/ do @row_data = @page.tr_id end Then /^the row data should be '([^"]*)'$/ do |expected| @row_data.should == expected end
Version data entries
5 entries across 5 versions & 2 rubygems