[wtr-general] Re: How Watir Works

2009-07-11 Thread marekj

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/watirloo/




2009/7/10 Ravinder Singroha ravindersingr...@gmail.com:
 Hi All


 Is there any document or website which explains how watir works? How watir 
 finds an element using the physical attributes?

 how watir waits for browser to reach a sync state? is that information 
 available freely somewhere?







 Thanks  regards
 Ravinder Singroha
 +91-9717196269

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: FireWatir Read Only Exception

2009-07-11 Thread kiran yajamanyam
Even I faced this issue, but it is not 100% reproducible, is there any work
around for this?

Regards,
Kinnu

On Sat, Jul 11, 2009 at 3:41 AM, jtk jeff.kr...@gmail.com wrote:


 I'm trying to automate a script that will read the FireFox
 about:config page. To do this I want to put text into the filter
 textbox, search for it then search the page for a specific string if
 it's there put a pass if not put a fail and run it to a spread sheet.
 The problem I am having is I'm being told that the textbox is read
 only. I can manually type in the textbox and search for values I just
 can't seem to do it using Firewatir. Has anyone else had any
 experience with this?

 Here is my code so far.

 require 'firewatir'
 include FireWatir
 ff=Firefox.new
 ff.goto('about:config')
 ff.text_field(:id, 'textbox').set 'browser.chrome.favicons'

 The error returned for me is

 `assert_not_readonly': Textfield id and textbox is read only.
 (Watir::Exception::ObjectReadOnlyException)
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---