Sha256: 2a18c9ad67674bd09005fbe027b0b2de0e0dd3dd930fa1a1e917ab743bac91fd

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 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

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.1 features/step_definitions/element_steps.rb