and spent hours studying it you may
miss why Ruby is AWESOME for browser testing
marekj
http://rubytester.com
On Tue, Nov 16, 2010 at 9:25 AM, Charley Baker charley.ba...@gmail.com wrote:
Taza has generators for each of it's objects, and a clean model for
Sites, Pages and Elements. Filters
fancy that stuff.
http://rubytester.com/blog/2009/07/27/watir-run-error-checks-callback-in-wait-method.html
hth
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http://pledgie.com/campaigns/2982
On Wed, Mar 3, 2010 at 10:01 AM, yoggy
When you run those lines what happens?
begin
browser.add_checker PageCheckers::NAVIGATION_CHECKER
browser.goto(http://www.somecrazynonexistantthing.com/reallynonexistant;)
resuce= e
put e
end
what is the value of e?
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com
meaning
i = i + 1
in watir example:
@browser ||= Watir::Browser.new
means
@browser = @browser || Watir::Browser.new
a narrative could be: let the @browser be @browser if true
else start new browser and initialize @browser value from constructor.
HTH
marekj
Watirloo: Semantic Page Objects
can be used in rspec, so exists? can e
queried with element.should exist (Bret has fixed that)
and include? will be should include('some value')
more about predicates in rspec here
http://rspec.rubyforge.org/rspec/1.3.0/classes/Spec/Matchers.html
marekj
Watirloo: Semantic Page Objects in UseCases
On Tue, Feb 9, 2010 at 9:50 AM, Alan Baird aba...@bairdsnet.net wrote:
Marekj-
You are using windows right? What I understood about this is that window
commandline already had readline in it so putting it in irb was doing it
twice which is what was messing up the commandline in windows.
Hi
true or false
you can make a matcher
object.should blink
or
object.should_not blink
I did mention in my earlier post that element.should exist was a fix
to rspec contributed by Bret a while back (too lazy to find the
relevant code)
marekj
Watirloo: Semantic Page Objects in UseCases
http
and see if there are any unexpected consequences.
any ideas about that?
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http://pledgie.com/campaigns/2982
On Fri, Feb 5, 2010 at 1:02 PM, Alan Baird alan.ba...@riskmetrics.com wrote:
Here
so I see that TABTAB and CTRL+R don't work without readline.
and conf.io is now StdioInputMethod instead of ReadlineInputMethod
So far I don't know what other implications may be for --noreadline option
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support
the new rdoc parser, namely all html elements inline need to
be wrapped in tt tag
all the rdoc is coming from my rdocfix branch of watir
http://github.com/marekj/watir/rdocfix
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http
That link is fixed in new rdoc
http://wtr.rubyforge.org/rdoc/1.6.5/
and I'll turn it into a nice text link rather than url.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http://pledgie.com/campaigns/2982
On Tue, Feb 2, 2010 at 3:09
without index files so it will generate
raw dir structure or I can make a nice index.html to poin to both old
and new rdoc files as well as to now yardoc depending on how others
like to read their docs.
feedback is appreciated.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com
is there are reason you need to use the cygwin ruby? or can you
uninstall it. Then install the ruby one click installer and you can
still use cygwin prompt to run all ruby stuff anyway
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http://pledgie.com/campaigns/2982
On Thu, Jan 28, 2010 at 12:05 PM, QAguy qablogm...@gmail.com wrote:
I saw this thread:
http://groups.google.com/group/watir-general/browse_thread/thread
TaggedElementLocator
while the text_field uses InputElementLocator
and they both use diff def match? implementations.
Can you provide the html you test against? (well, a relevant snippet)
and if indeed this syntax should be the way to access textfield then
please open an issue
marekj
Watirloo: Semantic Page
.
On Jan 13, 6:02 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jan 13, 2010 at 5:42 AM, marekj marekj@gmail.com wrote:
$ gem install cheat
Mac (and probably Linux) users, do not forget you need sudo or `cheat watir`
will not work (at least it did not work for me until I
http://cheat.errtheblog.com/s/watir
or from your terminal window type
$ gem install cheat #= this will install a cheat gem (if you are
behind firewall set your HTTP_PROXY=http://host:port)
$ cheat watir #= this will display the cheat sheet in your terminal
marekj
Watirloo: Semantic Page
There is also a pledgie setup.
http://pledgie.com/campaigns/2982
I just donated $10
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
Support Watir Project http://pledgie.com/campaigns/2982
On Mon, Jan 11, 2010 at 6:45 PM, Alan Ark ar...@compli.com wrote
if this is the method def
def login(ie)
login script
text_field.set(adunme)
text_field.set(adpwd)
end
then can you explain the line by line intention of this code?
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Thu, Jul 30, 2009 at 10:29 PM, Rohan
Watir is open source.
Source here
http://github.com/bret/watir/tree/master
Element class has some inner workings
http://github.com/bret/watir/blob/90186971e94afb675bbebdff8183c00e2bc7302f/watir/lib/watir/element.rb
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj
And then covert ci_reporter to use rspec instead of testunit,
should be painless but takes time
I have about 6 hours of tests (all the slow ones included)
about 20 jobs.
And few jobs that are triggers
I juse buildWithParameters options so I can pass some ENV variables into Hudson
that's about it
marekj
I use Watir IE with threads but at 25 browsers it's about max on a 2
gig memory machine.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Wed, Jul 8, 2009 at 9:01 AM, Maumitamaumita.majum...@gmail.com wrote:
Hi,
I am new in watir. I want to know
Suggestion: get Hudson CI. put all the code in Hudson, make rake tasks
that you define and allow others to trigger test jobs from Hudson web
interface. Hookup ci_reporter to collect test pass/fail messages.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo
(/, '\\') : loc
end
Sorry, it's not on github yet and it's not part of Watir becasue I
don't have all the tests loaded. It was hacked for specifi purpose of
dealing with inbrowser PDF loading where I need to bring_to_front and
save PDF locally using AutoIt.
hope this helps someone.
marekj
Watirloo
bdd language
ie.div(:id, 'Info').text.should include(First line...etc..)
instead of .include?.should == true
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Sun, Jul 5, 2009 at 7:17 PM, Peacepeaceofmind1...@gmail.com wrote:
Hi everyone,
I have
see core Ruby String class and its methods
http://www.ruby-doc.org/core/classes/String.html
run examples, you will like it.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Sun, Jul 5, 2009 at 3:54 PM, Cadencdnwins...@gmail.com wrote:
Hello,
I
I've noticed that in my tests that parent returns a String in firefox.
Some tests here
http://github.com/marekj/watirloo/blob/7c5e757c0b2efce76f8254198ca62bb1c6d533b8/test/label_test.rb
I've never needed to use parent so I didn't persue it but now might be
a time to take a look at it again
of id then
ie.text_fields.select {|tf| tf.id == aaa}[1].click #will blow up if
there is no second one.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Thu, May 28, 2009 at 1:05 PM, Parvinder Ghotra
parvinder.gho...@gmail.com wrote:
Did watir ever provide
Thanks a lot. That was fun.
I would like to do a that again in this fun format and actually
discuss some technical issues.
Fun and Learning podcast and I will promise to sing more 'texas songs'
about 'watir'
marekj
On Thu, May 28, 2009 at 2:35 AM, Željko Filipin
zeljko.fili...@wa-research.ch
result report
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Thu, May 21, 2009 at 6:32 PM, Lisa Crispin lisa.cris...@gmail.com wrote:
Is anyone using Hudson to run their Watir suites? Is there a Hudson plugin
for Watir?
We've always run our suites from
SPANA title=Add, edit, and delete folders. href=/Tele-Works/Folders/
ManageFolders.aspxManage Folders/A/SPAN
I see your span element includes anchor.
I would think you want to send the click to that anchor instead of span
browser.link(:text, Manage Folders).click
marekj
Watirloo: Semantic
explanation but an important distinction I think.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Fri, Apr 24, 2009 at 6:26 AM, Jarmo Pertman jarm...@gmail.com wrote:
Oh, you're right! I forgot to think anything about sessions and
cookies
I never needed to solve this problem but if I may nudge you towards this:
1. get the base div.html
2. and pump it to Hpricot for processing
and maybe use 'children_of_type div call to get to divs you need.
a wild suggestion since purely theoretical.
marekj
Watirloo: Semantic Page Objects
Had the same issue on Windows XP test machine here when upgrading
framework to use watir 1.6.2 and Ruby 1.8.6-26
We had windows-pr-0.9.6.gem installed with watir 1.6.2
I upgraded to following gems and it's fine
windows-pr-1.0.2
windows-api-0.3.0.gem
win32-api-1.4.0-x86-mswin32-60.gem
fyi: We
here sharing some thoughts.
Good weekend to all and don't forget the Rspec as a 'pattern' . it is
worth studying especially the matchers as a way of expressing
behavioral expectations and the sequential execution.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo
http://hostname/path/to/file?key=valukey2=value42jsessionid=AbraCadA43BraSalthUnd42Pepper
Do more homework here
http://www.ruby-doc.org/core/classes/URI/HTTP.html
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Tue, Mar 31, 2009 at 12:03 AM, vasu
Yeah! Goldmine of knowledge there in those links
Thanks Alan
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Wed, Mar 25, 2009 at 9:08 AM, Alan Baird alan.ba...@riskmetrics.comwrote:
You can also look at:
http://wiki.openqa.org/display/WTR/Right
on
read on css and currentStyle
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Mon, Mar 23, 2009 at 11:39 PM, aditi aditi_...@yahoo.com wrote:
Hi,
How can I get Horizontal,Top Position of an element in Watir.
Please help
be a hidden frame (frameset). Just a wild guess
since I've seen it happen in a couple of apps I worked with.
Also I noticed that the HTML generated by IEDeveloperToolbar is not really
the HTML that's on the page. The IEDevToolbar adds its own head info for
meta doctype and styles.
marekj
Watirloo
but Watirloo is still not intuitive enough to recommend it but I
am working on it)
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Tue, Mar 17, 2009 at 3:39 PM, Mark Lehky mark.le...@aclaro.com wrote:
For anyone following this thread:
Yes, you can
how about?
browser.link(:id, 'dtrSeriesRightsWindowAncho').attribute_value(title)
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Mon, Mar 16, 2009 at 7:55 AM, aidy lewis aidy.le...@googlemail.comwrote:
Chuck.
This was a non-standard HTML
decide to knock the walls between two
apartments and make it one. Therefore you no longer have to go next door, it
is now part of your apartment.
(disclaimer: I am hoping to write about Metaphors We Ruby By. how am I
doing?)
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com
In Watirloo there is class CheckboxGroup for that
http://github.com/marekj/watirloo/blob/7c5e757c0b2efce76f8254198ca62bb1c6d533b8/lib/watirloo/watir_ducktape.rb
or you can roll your own solution easy. Each checkbox has to have the same
'name' to belown in a group, id is irrelevant at this point
or manually going through an application of
asking questions in a meeting with a developer to uncover my and his bias
towards the problem space and proposes solutions.
I think the days of QA Tester are over, (I mean in the sense of Quality
Assurance school of testing)
marekj
Watirloo: Semantic Page
ie.element.document.currentStyle returns styles
for example
ie.element.document.currentStyle.fontSize
ie.element.document.currentStyle.fontWeight.
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Wed, Mar 11, 2009 at 5:10 PM, Federico Zuppa fzu
sorry, but Hoe, http://seattlerb.rubyforge.org/hoe/
would not be the best way to execute scripts
Use Rake, SpecTask or good old TestUnit runner.
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance Testing
http://github.com/marekj/watirloo/
On Thu
want methods defined only as instances of that object.
useful.
Wirble uses it for irb inspection
http://pablotron.org/software/wirble/
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance Testing
http://github.com/marekj/watirloo/
Thanks
you had'.
You end up with tests that express intent of business entities and actions
and you wire it up to talk to DOM later.
This way you build human readable test case library and you end up having it
executable at some point.
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable
to ditch
dependency but you will have to resolve them manually (warning: not fun)
HTH
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Mon, Mar 9, 2009 at 3:24 PM, MatchBook jeffrey.fl...@gmail.com wrote:
I played with using the --local option
Charley,
Will there be any Annual Boiled Watir Award winners announced soon?
marekj
Watirloo: Semantic Page Objects in UseCases
http://github.com/marekj/watirloo/
On Sat, Mar 7, 2009 at 4:17 PM, Charley Baker charley.ba...@gmail.comwrote:
That's awesome, an automated way to handle
.
and thanks for the write up on the these obscure dependencies.
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance Testing
http://github.com/marekj/watirloo/
On Sat, Feb 21, 2009 at 12:00 PM, Charley Baker charley.ba...@gmail.com wrote:
Hey Jeff
Paul,
Would you be willing to just put this on github (well, the parts you
can open source) anb let others take a look at it
Thank you kindly.
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance Testing
http://github.com/marekj/watirloo/
On Fri
-mswin32]
marekj
Watirloo: Semantic Page Objects in UseCases
Human Readable Machine Executable Acceptance Testing
http://github.com/marekj/watirloo/
On Fri, Feb 6, 2009 at 12:55 AM, Bret Pettichord bpettich...@gmail.com wrote:
See Daniel's advice below. He is the developer of the gems in question
not a well-captured one.
thanks
marekj | Semantic Page Objects Automation
Watirloo: Browser Page Helper Framework
http://github.com/marekj/watirloo/
for IE, Firefox and others?
On Wed, Jan 21, 2009 at 9:21 AM, Charley Baker charley.ba...@gmail.comwrote:
Lisa,
I'm more than happy to support
Thanks Charley for mentioning watirloo
I've now moved it to github and integrated hoe and newgem
see: http://github.com/marekj/watirloo
download and run:
rake -T
for all hoe tasks including gem installation
This is very skeletal work but time permitting I will keep expanding.
Thanks
marekj
://www.bitbucket.org/marekj/watirloo/src/tip/lib/firewatir_ducktape.rb
and I'll move watirloo to git this week and make it a gem too (given some
extra free time)
marekj | Semantic Page Objects Automation
Watirloo: Browser Page Helper Framework
http://www.bitbucket.org/marekj/watirloo/
for IE, Firefox
Is this what you mean by object man?
A wrapper accessor method to a DOM control?
http://www.bitbucket.org/marekj/watirloo/src/tip/test/select_list_as_face_test.rb
marekj | Semantic Page Objects Automation
Watirloo: Browser Page Helper Framework
http://www.bitbucket.org/marekj/watirloo/
for IE
On Fri, Dec 12, 2008 at 12:09 PM, Bret Pettichord b...@pettichord.comwrote:
/Signed in as (.*)/.match(browser.ul(:id, 'ulInfoLinks').li(:index,
1).text)[1]
nice usage of MatchData captures
woot!
bret +1
best,
marekj
Natasha wrote:
Hi All,
I want to access the value of the LI
watir_browser = firefox'
marekj
Also for the time being I am doing to just change the default browser
from the script itself (which works fine).
Thank you
Margam
On Dec 11, 9:46 am, John Fitisoff jfitis...@yahoo.com wrote:
I think the problem is that you are requiring watir rather than
watir
://wiki.seleniumhq.org/display/WTR/Running+Unit+Tests+in+Development
and in release notes
marekj | Semantic Page Objects Automation
Watirloo: Browser Page Helper Framework
http://www.bitbucket.org/marekj/watirloo/
for IE, Firefox and others?
On Mon, Dec 1, 2008 at 10:30 AM, Jason [EMAIL
://www.bitbucket.org/marekj/watirloo/src/tip/lib/firewatir_ducktape.rb
I am now using Firefox.new :attach = true
option call to just attach to the previously started FF with jssh option in
it.
This is a hack and has to be understood before using it.
currently all watirloo tests will run on IE and Firefox (though
When you click 'login' button what happens? is there another window, popup
or something first?
marekj | Semantic Page Objects Automation
Watir Framework
http://www.bitbucket.org/marekj/watirloo/
On Wed, Nov 26, 2008 at 10:00 AM, Jarod Zhu [EMAIL PROTECTED]wrote:
Hi All,
I am using
Here is a list of examples and frameworks for Watir
http://wiki.seleniumhq.org/display/WTR/Examples
marekj | Semantic Page Objects Automation
Watir Framework
http://www.bitbucket.org/marekj/watirloo/
On Tue, Nov 18, 2008 at 12:05 PM, Natasha [EMAIL PROTECTED] wrote:
Hi All,
I am
shell telnet session)
but all flows through Watir and its elegant human comprehensible API
but if you feel a need for raw sushi like experience you can always telnet
localhost 9997 to talk to ChromeWindow or XULElmenent
cheers.
marekj | Semantic Page Objects Automation
Watir Framework
http
to the main browser.
ideas?
marekj | Semantic Page Objects Automation
Watir Framework
http://www.bitbucket.org/marekj/watirloo/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post
do from watir/ruby side... This is
unfortunate for international users.
FYI. this issue is identified on Wiki as limits of JSSH.
http://wiki.openqa.org/display/WTR/Firewatir+Compatibility
--
marekj
www.testr.us | semantic test objects modeling in watir
66 matches
Mail list logo