REVISION 38
change made by Flanagan
- SOR-13 Corrected an
omission of require statements.
REVISION 37
change made by Flanagan
- Undone an unwanted commit of modified Rakefile.
REVISION 36
change made by Flanagan
- SOR-13 Added
(experimental) support for user-extensions.js.
REVISION 35
all changes made by Jonas
- SOR-12 removed all
support for selenium gem
- Selenium Core 0.8.2 is now bundled with Selenium on Rails. If you want to
use other version set the ‘selenium_path’ in config.yml
- Updated installation instructions for Windows
REVISION 34
all changes made by Flanagan
- SOR-11 Fixed related
assertions for store_checked to use only locator parameter
Warning: Users must change tests that pass two parameters (locator,
pattern) to verify_checked, verify_not_checked,
assert_checked, assert_not_checked,
wait_for_checked, or wait_for_not_checked.
Test scripts that continue to use two parameters will be broken, only one
parameter, the locator, should be passed.
For example, |verify_checked|my_checkbox|true| will be interpreted
as |verify_checked|my_checkboxtrue|| so change the test to
|verify_checked|my_checkbox||
- SOR-9 Added Mac OS X
browsers to config.yml.example
- SOR-10 Added support for
baseUrl to acceptance_test_runner.rb as added to selenium-core 0.8.2
- Added ‘webrick’ to SERVER_COMMAND in acceptance_test_runner.rb
as parameters do not work with lighttpd
- Reversed expected query string in test/renderer_testrb to make tests pass
Note: On Mac OS X, at least, clear_tables comes before fixtures in the
query string; this may be an environment-specific issue if the test now
fails on other OSes.
- Added this CHANGELOG file and amended the rake rdoc task to include it
- Added support in rselenese for a long list of actions and accessors that
are included in selenium-core (0.8.2 and possibly earlier) but were
previously missing in selenium-on-rails.
Here are the newly supported actions:
Useful for debugging:
- brake (alias for selenium-core‘s break, a reserved word in
Ruby)
- echo, :string
- highlight, :locator
Keyboard events:
- alt_key_down
- alt_key_up
- control_key_down
- control_key_up
- meta_key_down
- meta_key_up
- shift_key_down
- shift_key_up
- type_keys, :locator, :string
Mouse events:
- click_at, :locator, :coord_string
- double_click, :locator
- double_click_at, :locator, :coord_string
- drag_and_drop, :locator, :movements_string
- drag_and_drop_to_object, :locator, :locator
- mouse_down_at, :locator, :coord_string
- mouse_move, :locator
- mouse_move_at, :locator, :coord_string
- mouse_out, :locator
- mouse_up, :locator
- mouse_up_at, :locator, :coord_string
- set_mouse_speed, :integer
Other actions:
- create_cookie, :name_value_pair, :options_string
- delete_cookie, :string, :string
- open_window, :url, :integer
- pause, :timeout
- remove_all_selections, :locator
- select_frame, :locator
- set_cursor_position, :locator, :integer
- store, :script, :variable
- window_focus, :window_name
- window_maximize, :window_name
Here are the newly supported accessors:
The following store_* accessors and their associated assert, verify and
wait_for brethren are fully supported:
- store_selected_id, :locator, :variable
- store_selected_ids, :locator, :variable
- store_selected_index, :locator, :variable
- store_selected_indexes, :locator, :variable
- store_selected_label, :locator, :variable
- store_selected_labels, :locator, :variable
- store_selected_value, :locator, :variable
- store_selected_values, :locator, :variable
- store_something_selected, :locator, :variable
- store_all_window_ids, :variable
- store_all_window_names, :variable
- store_all_window_titles, :variable
- store_cookie, :variable
- store_log_messages, :variable
- store_mouse_speed, :variable
- store_cursor_position, :locator, :variable
- store_attribute_from_all_windows, :attribute_name, :variable
- store_element_height, :locator, :variable
- store_element_index, :locator, :variable
- store_element_width, :locator, :variable
- store_element_position_left, :locator, :variable
- store_element_position_top, :locator, :variable
Only the associated assert, verify and wait_for brethren of the following
store_* accessors are supported by the selenium-core, so these store_*
accessors create exceptions in SOR:
- store_ordered, :locator, :locator, :variable
- store_error_on_next, :string
- store_failure_on_next, :string
- store_whether_this_frame_match_frame_expression, :string, :string,
:variable
- store_whether_this_window_match_window_expression, :string, :string,
:variable