[wtr-general] Re: My blog about Watir and RSpec

2010-02-16 Thread Rob
Plesae keep them coming. I tend to load up a bunch of pages in my browser and then refresh at a regular interval. Every day for example when I come home from the office. I only tend to keep very active things on RSS feeds, like usenet lists etc. Great Blog, please keep at it. I've learnt quite a b

[wtr-general] Re: element_by_xpath return value

2009-02-13 Thread rob
I am also curious about this. Thanks. On Jan 12, 8:42 pm, Bret Pettichord wrote: > I'm sure there's a way for Watir to do this just like FireWatir. It just > hasn't been done yet, as far as i am aware. > > Angrez is the author of both Watir's xpath support as well as FireWatir, > so that is pro

[wtr-general] Re: Need to pick number from the text

2009-01-28 Thread rob
What about trying to use regex? Use some regex to find 'Ref ID: ', then grab only the digits that follow. I'll try to give you a code example but don't have the time at the moment. Hope this helps get you started at least. On Jan 28, 9:42 pm, vasu wrote: > Ref ID will be changing randomly ple

[wtr-general] Re: Best Way for Checking Name Fields?

2009-01-14 Thread rob
ssert can be upgraded to return the name fields it finds by adding #{name_field_with_space} to the message output. Hope this helps anyone that might need something similar. On Jan 13, 12:53 pm, rob wrote: > Thanks for your suggestion.  I work in a Mac environment and the > script worked.

[wtr-general] Re: Best Way for Checking Name Fields?

2009-01-13 Thread rob
Thanks for your suggestion. I work in a Mac environment and the script worked. However, I solved my problem using the .scan method, regex, and an assert. If anyone is curious how I did it, just ask. On Jan 12, 4:59 pm, gem dandy wrote: > Here ya go

[wtr-general] Best Way for Checking Name Fields?

2009-01-11 Thread rob
I have several forms that have name='whatever ' within the tag. Notice the trailing [space] after the word whatever. What would be the best way to check every tag on the page that has name='whatever ' to ensure there is no trailing space. If there is a space, I will throw an error message. An

[wtr-general] Re: Positioning of a Checkbox before a Submit button

2009-01-09 Thread rob
detail to get you going, post the HTML, and I'll give you more > specific help. > > Richard > -- > Richard Lawrence > Certified Scrum Coach > Founder and Principal Consultant, Humanizing Work, LLC > 303-895-7688 > rich...@humanizingwork.comwww.humanizingwork.comwww.ri

[wtr-general] Positioning of a Checkbox before a Submit button

2009-01-09 Thread rob
Hi. I have several forms that have a checkbox below a submit button. The change being made is putting the checkbox ABOVE the submit button now. What would be the best way to check positioning of the checkbox BEFORE/ ABOVE the submit button? I've been trying several things, but no luck. I could

[wtr-general] Help with JavaScript Alert Popup using FireWatir

2008-12-05 Thread rob
It's been asked before, but no answer helped me out. I use FireWatir in a Mac OSX environment. I have tried... browser.click_jspopup_button("OK") and browser.startClicker("OK") but nothing seems to work. Ive read lots of documentation already but many deal with Windows. Can anyone help me o