Sha256: 6ce9a71cdefd134b0466bedbe1e13aa61ca8b146209e70171bb9e8b29498ede5

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

When /^I retrieve a check box element$/ do
  @element = @page.cb_id_checkbox
end

When /^I retrieve a link element$/ do
  @element = @page.google_search_id_link
end

When /^I retrieve a radio button$/ do
  @element = @page.milk_id_radio_button
end

When /^I retrieve a select list$/ do
  @element = @page.sel_list_id_select_list
end

When /^I retrieve a text field$/ do
  @element = @page.text_field_id_text_field
end

When /^I retrieve the div element$/ do
  @element = @page.div_id_div
end

When /^I retrieve a table element$/ do
  @element = @page.table_id_table
end

When /^I retrieve a button element$/ do
  @element = @page.button_id_button
end

When /^I retrieve table cell$/ do
  @element = @page.cell_id_cell
end
  


Then /^I should know it exists$/ do
  @element.should exist
end

Then /^I should know it is visible$/ do
  @element.should be_visible
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.0.2 features/step_definitions/element_steps.rb