Re: [wtr-general] Re: Upgrading anxiety
It's still useful for people using 1.X. Perhaps create a new comparison page for 2.X? Den 31. des. 2011 kl. 10:18 skrev Jarmo Pertman : > On Dec 30, 10:54 am, Željko Filipin > wrote: >> https://github.com/jarib/watir-webdriver/wiki/Comparison-with-Watir-1.X > > This list is not up to date anymore - should we just delete the > statements which aren't true anymore so it would reflect the actual > state? This list seems to be true when compared with Watir 1.x, but > not with 2.x. > > > Jarmo Pertman > - > IT does really matter - http://itreallymatters.net > > -- > Before posting, please read http://watir.com/support. In short: search before > you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Upgrading anxiety
On Saturday, December 31, 2011, Jarmo Pertman wrote: > This list is not up to date anymore - should we just delete the > statements which aren't true anymore so it would reflect the actual > state? I think anybody can edit wiki pages at github, and I think you have the most knowledge about what needs to be fixed there. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Upgrading anxiety
On Dec 30, 10:54 am, Željko Filipin wrote: > https://github.com/jarib/watir-webdriver/wiki/Comparison-with-Watir-1.X This list is not up to date anymore - should we just delete the statements which aren't true anymore so it would reflect the actual state? This list seems to be true when compared with Watir 1.x, but not with 2.x. Jarmo Pertman - IT does really matter - http://itreallymatters.net -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Upgrading anxiety
On Dec 30, 2:57 am, Chuck van der Linden wrote: > c) Replace: browser.text_contains with browser.text.include? > d) Replace: text_field.verify_contains("dfadf") with > text_field.text.include?("dfadf') This is not enough, because it returns only false/true. You should still assert that with the testing framework like RSpec or Test::Unit: assert text_field.text.include?(...) text_field.text.should include(...) > Watir: browser.close => WW: browser.window.close WW also has browser.close Jarmo Pertman - IT does really matter - http://itreallymatters.net -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com