Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

548 lines (413 sloc) 15.117 kb
CHANGELOG
=========
6.0
[Feature] Support RSpec 3
[Feature] Default to use RSpec 3 recommend expect syntax
[Feature] Drop MiniTest (and its workaround), use own assert method
[Deprecated] Drop "test_suite" and "specification", use stand RSpec's describe to group test cases.
[Deprecated]
alias try_upto try_for
alias try_up_to try_for
alias try_until try_for
[Deprecated]
try, use try_for
[Deprecated]
repeated_try, use try_for
[Update] ContainsText matcher for RSpec 3
5.3.0
[New] Lock on RSpec 2.14
[New] Support ActiveSupport 4
[New] Part support of RSpec to use :should syntax
5.2.1
[Fixes] add assertions attribute to RWebSpec::AbstractWebPage to support MiniTest 5
(for non-rwebspec projects, users need to handle themselves)
5.2
[Support] minitest 5
[Change] Support activesupport version
5.1
[Feature] Use minitest 4 for assertion
[Fixes] Handle assert_text_present in try_for{}
5.0.4
[Enhancement] click_button_with_id, click_link_with_id will focus on the element first (Selenium) to avoid unable to click when the browser window too small.
5.0.2
[Fixes] inconsistency enter_text_with_id() between Watir and Selenium
5.0.1
[New] browser.execute_script
5.0
[Change] Support Watir 5.0, watir-classic/ie no longer available
4.4
[Enhancement] add enter_text_with_id to support HTML5 elements on IE10 (which fail to identify email field as text field)
4.3.5
[Change] Add licence (MIT) into gemspec
[Fixes] check_checkbox not working when there is hidden input with same name as checkbox
4.3.4
[Fixes] check_checkbox and uncheck_checkbox handle when more than one matching element
4.3.3
[Fixes] assert_option_equals for Selenium
[Fixes] assert_option_present for Selenium
[Fixes] assert_text_present_in_table for Selenium
[Enhancement] Add more UI tests and test project can be run in TestWise
4.3.2
[Fixes] typo on attaching browser for webdriver
[Update] Change gemspec work with latest RSpec 2.14
4.3
[TODO] RWebSpec.framework = "Auto", Watir for IE, Selenium for others.
4.2.1
[Fixes] assert_not_exists for Selenium
4.1.8
[Fixes] assert
4.1.7
[Fixes] Default to browser on Mac
4.1.6
[Enhancement] Remove warning message MAX_MESSAGE_LENGTH redefined
[Fixes] loading framework not aware of watir-webdriver
4.1.4
[Enhancement] Add warning to calling close_all_browsers
4.1
[Fixed] - click_button, click_button_with_id support :index
[Refactored] - unit tests
[Feature] - Save screenshot for Selenium
[CHANGE] - open_browser(base_url, options) => open_browser(:base_url => "http://")
upgrade to watir-classic 3.4
close_others
close_all_browsers to instance methods
no set highlight color
4.0
- Merge rwebspec-webdriver with rwebspec!
3.1.4
- rename try_until to try_for (previous syntax still works)
3.1.3
- changed rows => trs, cells => tds with Watir 3
3.1 (may break existing test)
- Support RSpec 2
3.0.1
- fixed not loading watir properly - not calling windows_extensions.rb
WATIR CHANGES
[web_browser.rb]
- remove waitForIE
- select_list(...).set => select_list().select
- cell removed.
[assert.rb] assert_radio_option_checked (isSet? => set?)
[TestWise]
- can take screenshot, but not shown in report
2.2.0
[Change] Drop support for firewatir
[Enhancement] Set limit on message size sent to TestWise IDE
2.1.3
[Fix] Page object to include Utils module
2.1.2
[Change] add @browser instance to page objects
2.1.1
[Change] use Global variable for retry settings (instead of class variables)
2.1
[Change] Move try_until, fail_safe from driver.rb to utils.rb
2.0.4
[Replace] added 'average_of' and 'sum_of' in test_utils to replace Array's overidding, which might not be safe
2.0.3
[Deprecate] try() {} changed to try_until as cucumber use try constant, will remove from RWebSpec 3
2.0.2
[Fixes] select_file_upload
2.0.1
[Fixes] loading watir gem on non-windows platform
2.0
[Update] Deprecate support for FireWatir, speed up loading
[Update] Drop constant naming RWebUnit
[Refactoring] internal folder structure like extensions and plugins
1.9.3
[Enhacement] take_screenshot with to_dir arguments
1.9.2
[Update] TestWise 2 Constants
1.9.1
[Fix] test_utils sentences and paragraphs
1.9
[Upgrade] support Watir 2 syntax
[Update] alias tr row
[Update] alias a link
1.8.2
Add javascript_dialog in driver to support Watir 1.9
1.8.1
[Upgrade] new take screenshot library
[Fix] only take screenshot on failed assertions if $task_screenshot is set
[Enhancement] add close_all for firefox browser (pass by argument)
[Enhancement] refactored driver.close_all_browsers
[New] background_visit now works new http-client version
[New] element_by_id() for firefox
[New] web_page.url
[Fix] More correctly detect platform: mswin or mingw
[New] add Array.sum methods
1.7.1
[New] New version scheme, matching Watir versioning, appending minor number
[New] background_visit method, visit url in background, useful for function such as reset database
[Fix] in latest Watir, no all operations return true any more, refactor try{ }
1.6.5
[Fixes] load Firewatir first, in case new version of ActiveSupport is loaded first
1.6.4
added WebBrwoser.modal_dialog
added many watir ie methods such as :elements, :divs....
1.6.3
Add base_authentication for Celerity
should contains only return maximum 256 characters in error stack trace, for full using should include
1.6.2
add helper method: basic_authentication for IE and Firefox
1.6.1 (2010-07-08)
Update load test installer
Extend Watir to support calling JScript/VBscript in IE
1.6 (2010-04)
Include ScreenCapture
1.5.4
Add syntax click_link("Duplicate Link", :index => 2) # second link
1.5.3 (2010-01-06)
rename itest_plugin -> testwise_plugin
remove dependency on test-unit
1.5.2
add contains matcher to driver and page
in page, page_text renamed to page_specific_text
more unit tests
1.5.1
[Load Test helper
assert_text_present changed to check text view of web pages
detect ILOAD2 environment to determine to preview load test or not
1.5
[New] Supports Watir 1.6.5
[Fixes] Array@sum conflicts with ActiveSupport
[New] New database_checker
[Other] load_table define class under ITEST::Module
1.4.2
[New] average, sum for array objects, such as [1,2,3,4].average
[New] support date format with today(:us), yesterday("%d/%m/%Y")
[TODO] click security alerts
1.4.1
[New] Added LoadTestHelper
[New] add expect_page to web_browser
[Fix] nil error in random_str (test_utils.rb)
[New] Add alias methods for select_list (alias)
1.4.0.2
Fixed: reuse browser does not work
Add gem dependency (Watir/Firewatir) depends on platforms
Patch Unicode by default
More rdoc update
1.4.0
Renamed to rwebspec
1.9 compliance
TODO: support JRuby to run against Firefox and Celerity
1.3.1
[Enhancement] better absolutize the hyperlinks in dumped page source
[Fixes] logic in allowing method
1.3
add new syntax for including pages
extend RWebSpec::UsingPages
pages :login_page, :receipt_page, :page_dir => 'c:/temp'
1.2.4
Generate new rdoc
1.2.3
New - support_unicode
More alias assert_select_label_not_present assert_option_not_present
New - click_button_with_name
1.2.2
save_current_page save to ITEST2
1.2.1 (2009-04-02)
Fixes - base_url is file://
New - set_hidden_field
New - allowing
New - try { } handles boolean values as well
Doc update
1.2
REVISIT all APIs
- assertions
- assert_not (new)
- assert_text_field_value (new)
- assert_text_present_in_table (renamed)
- assert_element_present (removed, use assert div(:id, "").exists?)
- driver.rb
- wait_until (new)
- repeat_try_util (new)
- try (add more clear messages when block failed)
- add unit tests
- run unit test against the test page in Firefox Browser
- major documentation update
1.1.3
add open_existing_browser
1.1.2 (2009-03-13)
added goto_url
1.1.1
add open_browser.rb, check for firefox with jssh is running
added assert_exists, assert_not_exists
1.1
Changed dependency (Assertions) for test-unit 2.0.2, ruby 1.9.1 ready
Extract popup.rb out
Added repeat_try in driver.rb
remove should_not_allow, should_allow. Important!!! don't define methods start with should_not_, should_
1.0.4
Added: WebBrowser.html WebBrowser.text
Added: random method in test_utils
Enhancement: close_browser works even no browser started in the test
move open_browser to driver.rb
fixed include rwebspec causing stack too deep error
1.0.3
- New set of samples (real life tests)
1.0.2
- add more unit tests
Fixes cell_with_id
1.0.1
[Enhancement] Normalize windows file path before setting upload
1.0 (2008-11-25)
TODO:
Firefox: check the element is hidden or showing,
Checkfor driver.rb: ajax_call_complete_after_element_hidden
does not support outerHtml yet
Firefox: attach browser,
Unfortundately, Firewatir does not support attaching current window
Firefox Workaround: element_by_id
0.10.3
- added label_with_id, span_with_id, cell_with_id
- better fixes for enabled_popup
0.10.1 (2008-11-08)
- Upgrade to support Firewatir 1.6.2
- Work around Firefox reuse one window browser issue
- Exclude watir/contrib/enabled_popup, user can add themselves
0.9.10 (2008-10-28)
[Feature] Better support reuse IE window for testing
0.9.9.1
[Feature] Support pausing in iTest2
== 0.9.9
[Fixes] add "area" method for running tests against Firefox
[Enhancement] Pass browser type and base_utl when calling attach_browser
== 0.9.8
[New] 'assert_title' to check page title
[Fixes] Not same two same messages to iTest in a row
== 0.9.7
[TODO] support should.contains?(JAMEs)
[WORKING] maybe yield to suport
- add prepare_to_click_button_in_popup() in driver.rb
- refactor web_tester.rb to use dynamicly create test cases
- rename web_tester.rb to web_browser.rb
- add alias visit (goto_page)
- WebBrowser.attach_browser return rWebUnit WebBrowser instance instead of Watir or Firefox
- expect_page(Class, argument) added to support one more additional argument
== 0.9.6
- using global variable instead of environment variable passing between rwebspec and iTest
- add debug()
== 0.9.5
- Add support for iTest to trace execution
== 0.9.4 (2008-08-20)
- change test_context => context, avoid confusing Ruby test
- refactored driver.rb
== 0.9.3
- add method failsafe {}
== 0.9.2
- sleep 0.5 seconds after clicking popup window
- save current page
- (0.9.1.1) support rspec 1.1.4: at exit hook
== 0.9.1 (2008-05-26)
- support storing page source during execution
== 0.9 (2008-05-21)
- support new syntax
spec "" do
scenario "1" do
end
story "2" do
end
end
== 0.8.9
- support Watir 1.5.4 zippy mode, set it as default
== 0.8.8
- support iTest hiding browse option
== 0.8.7
- support delay between operations (must be click_... type operation) for iTest2
== 0.8.6
- Add dependency on activesupport 2.0.x, xml_simple to support 1.days.ago
- RSpec Helper, overwrite rspec patch
== 0.8.5
- click button with image
- better handling new pop up window
- fixes links_with_text
== 0.8.4
- better support for iTest
- for firefox support, don't do slow typing, just set text in textfield
== 0.8.2
- fixed assert_link_not_present has .Text
== 0.8.1
- fixed attach_browser issue
== 0.8 (2008-01-18)
- change click_link to click_link_with_text, to for id click, use click_link_with_id
- change click_button to click_button_with_text, to for id click, use click_button_with_id
== 0.7.2 (2007-12-31)
- Change dependency from Watir => Watir or FireWatir
Now can run on Mac or Linux
- Fixes: shall_not_allow syntax error
== 0.7.1 (2007-12-24)
- Fixes error when firefox is not available
== 0.7 (2007-12-18)
- support Firefox using FireWatir
== 0.6.9
- add shall_not_allow
- more watir wrapper methods
== 0.6.4 (2007-11-30)
- updated rwebspec 0.6.4
- support javascript window
- support watir td, tr...
== 0.6.0 (2007-11-18)
- support watir convenient methods
== 0.5.4 (2007-11-12)
- fixed element_by_id
== 0.5.3 (2007-11-07)
- fixed ajax_wait_element with web_tester changes
- added wait_for_element
== 0.5.2 (2007-09-27)
- added element_text
== 0.5.1 (2007-09-21)
- add wrap of Watir methods, such as buttons, button(...)
- expose Watir low level methods to test/spec through Driver.rb
- removed old way using array and comparison to access individual control
- renamed html_title to page_title
- add method contains_text
- make faster checkbox operations
- make faster radio operations
- added radio operation in driver.rb
- renamed ajax_wait_for_element
- added some comments
== 0.5.0
- Support Watir 1.5.2
== 0.4.5
- support checkboxes with same name
== 0.4.2
New Features
- Drop support for java syntax methods
- remove assert helper methods in web_tester
- improve support for RSpecs
== 0.4.0 (2007-05-29)
New features
- Support RSpec
== 0.3.1 (2007-04-18)
Bug fix reelase
== 0.3.0 (2007-02-16)
New features
- Deprecated Java like method name, use ruby naming convention instead, beginAt => begin_at
- More ajax related calls: ajax_wait_for_element_show, ajax_wait_for_element_hide, assert_position_in_list
== 0.2.0 (2006-11-28)
New features:
- wait_ajax_udpate(elem_id, seconds) - use indicator image id to determine whether the ajax request is completed or not
- browser_opened?
A number of general fixes and code improvements.
== 0.1.1
New jWebUnit API methods implemented:
assertOptionEquals(selectName, optionLabel)
assertOptionValueEquals(selectName, optionValue)
assertCheckboxNotSelected(checkBoxName)
assertCheckboxSelected(checkBoxName)
assertLinkPresentWithExactText(linkText)
assertLinkNotPresentWithExactText(linkText)
assertRadioOptionNotPresent(radioGroup, radioOption)
assertRadioOptionPresent(radioGroup, radioOption)
assertRadioOptionSelected(radioGroup, radioOption)
assertRadioOptionNotSelected(radioGroup, radioOption)
assertTextInTable(tableId, text)
assertTextNotInTable(tableId, text)
API methods modified:
assertLinkPresentWithText(linkText):
assertLinkNotPresentWithText(linkText):
New rWebUnit API :
clickRadioOption(radioGroup, radioOption): this method is protected in jWebUnit
== 0.1.0
* Initial release.
* Most common web actions and assertions implemented.
Jump to Line
Something went wrong with that request. Please try again.