[wtr-general] Re: Sai

2009-09-28 Thread Paul Rogers
You're a good writer, documentation is always in need of improvemnet.

Paul

On Mon, Sep 28, 2009 at 6:14 PM, Lisa Crispin wrote:

> I'm in awe of anyone who contributes to open source tools. To me, the more
> recognition they get, the better. I am a guilty user of all these
> contributions.
>
> On Mon, Sep 28, 2009 at 6:22 PM, Željko Filipin <
> zeljko.fili...@wa-research.ch> wrote:
>
>> On Mon, Sep 28, 2009 at 5:26 PM, Bret Pettichord 
>> wrote:
>> > I think we could also recognize a community team. Maybe we add Sai to
>> this group as
>> > well?
>>
>> I was planning to suggest more people for the core team after I see the
>> response for Sai.
>>
>> Jari Bakken of Celerity (http://celerity.rubyforge.org/) and Dave Hoover
>> of SafariWatir (http://safariwatir.rubyforge.org/).
>>
>> Looks like Jari belongs even to Watir core developers. I guess I did not
>> monitor github close enough.
>>
>> Sai and Dave did not contribute any code to Watir, so they do not belong
>> to core developers, but they created support for a browser that Watir did
>> not support, and I think their effort should be recognized by adding them to
>> the community team.
>>
>> Anyway, that is just my opinion. I this community does not think the same,
>> I will accept it.
>>
>> Željko
>>
>>
>>
>>
>
>
> --
> Lisa Crispin
> Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
> and Agile Teams_ (Addison-Wesley 2009)
> http://lisacrispin.com
>
>
> >
>

--~--~-~--~~~---~--~~
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: Sai

2009-09-28 Thread Lisa Crispin
I'm in awe of anyone who contributes to open source tools. To me, the more
recognition they get, the better. I am a guilty user of all these
contributions.

On Mon, Sep 28, 2009 at 6:22 PM, Željko Filipin <
zeljko.fili...@wa-research.ch> wrote:

> On Mon, Sep 28, 2009 at 5:26 PM, Bret Pettichord 
> wrote:
> > I think we could also recognize a community team. Maybe we add Sai to
> this group as
> > well?
>
> I was planning to suggest more people for the core team after I see the
> response for Sai.
>
> Jari Bakken of Celerity (http://celerity.rubyforge.org/) and Dave Hoover
> of SafariWatir (http://safariwatir.rubyforge.org/).
>
> Looks like Jari belongs even to Watir core developers. I guess I did not
> monitor github close enough.
>
> Sai and Dave did not contribute any code to Watir, so they do not belong to
> core developers, but they created support for a browser that Watir did not
> support, and I think their effort should be recognized by adding them to the
> community team.
>
> Anyway, that is just my opinion. I this community does not think the same,
> I will accept it.
>
> Željko
>
>
> >
>


-- 
Lisa Crispin
Co-author with Janet Gregory, _Agile Testing: A Practical Guide for Testers
and Agile Teams_ (Addison-Wesley 2009)
http://lisacrispin.com

--~--~-~--~~~---~--~~
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: Watir cannot connect to IE running under non-Admin account on ‘default’ desktop.

2009-09-28 Thread Shane

Ah, well, it wasn't quite a problem of user rights in the end.

It turns out that the method that Watir uses to enumerate IE windows
(i.e. Shell.Application) does not work across user spaces.  So I had
to write an intermediate application to retrieve the IWebBrowser2 COM
pointer for the IE window, and modify the 'eval_in_spawned_process'
Watir function to use this handle for 'pc = Watir::IE.bind
(iWebBrowserPtr)'.

This now works fine. :)

On Sep 28, 12:34 pm, Bret Pettichord  wrote:
> Shane,
>
> Thanks for the excellent description of the problems that occur when
> your tests run in an account that doesn't have the rights Watir needs.
>
> Bret
>
> On Sep 25, 11:54 am, Shane  wrote:
>
> > Some Background on architecture of the app is needed:
>
> > Windows 2003/Apache-v2.2/IE7/Watir-v1.6.2/Ruby-v1.8.5
>
> >    1. Apache running under 'localsystem' account.
> >    2. Request to run a Watir script comes in.
> >    3. Apache CGI kicks off IE7 under a particular user, e.g. 'tester',
> > and attaches the IE7 window to the "default" desktop environment. This
> > allows us to VNC into the machine and see all IE7 windows from all the
> > accounts running.
> >    4. IE7 has ruby embedded into the process through plugin and
> > executes the ruby script in a thread.
>
> > For clicking on links/buttons in IE, Watir supplies a synchronous
> > 'click' method and async 'click_no_wait' method. 'click_no_wait'
> > spawns a completely new ruby process to connect back to the IE7 window
> > to click the link/button.
>
> > This is what is failing for me. Since click_no_wait is spawning a new
> > process. It cannot seem to see the IE7 window to connect to it and
> > click on the link/button. I have to use 'click_no_wait' due to a
> > dialog box that IE pops up on a certain page, so that another ruby
> > thread can close it.
>
> > I've tried a few things:
> > - using fire_event('OnClick') instead of click_no_wait hangs script
> > like 'click' would.
> > - Modifying 'click' by commenting out '@container.wait', but the
> > 'click!' itself is the API that hangs waiting for the dialog box to
> > close.
> > - Make 'click_no_wait' spawn a new thread instead of a process', but
> > other threads appear to be suspended while the 'click!' call executes
> > in that thread. Which is strange.
> > - Executing the 'click_no_wait' process using the exact same code that
> > is used to spawn the IE7 process, but it still can't find any IE7
> > windows.
>
> > By 'default' desktop described above, the code that spawns IE
> > basically does a series of C++ calls to attach the IE7 window to the
> > 'winsta0' desktop:
>
> > - LogonUser() // log in as tester account
> > - OpenWindowStation("winsta0") // to get default desktop
> > - SetProcessWindowStation()
> > - // add the user to interactive window station using
> > (GetUserObjectSecurity, GetSecurityDescriptorDacl, GetAclInformation,
> > AddAce, SetSecurityDescriptorDacl, SetUserObjectSecurity)
> > - // add user to "default" desktop using APIs listed above.
> > - CreateEnvironmentBlock
> > - ImpersonateLoggedOnUser
> > - CreateProcessAsUser('iexplore.exe')
> > - // cleanup
>
> > Running the following Watir script under the particular user IE7 is
> > running under yields:
>
> > $IE = Watir::IE.attach(:title, /Google/)
> > $IE.button(:name, 'btnG').click!
>
> >     c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> > 246:in `method_missing': Windows (WIN32OLERuntimeError) OLE error code:
> > 80040154 in HRESULT error code:0x80020009 Exception occurred. from c:/
> > ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246:in
> > "each"
>
> > Which contains:
>
> > c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246
> > shell = WIN32OLE.new("Shell.Application")
> > windows = shell.Windows   ## Fails here
>
> > Let me know if I can supply more details or disambiguation! :)
>
> > Thanks, Shane.
--~--~-~--~~~---~--~~
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: Sai

2009-09-28 Thread Željko Filipin
On Mon, Sep 28, 2009 at 5:26 PM, Bret Pettichord 
wrote:
> I think we could also recognize a community team. Maybe we add Sai to this
group as
> well?

I was planning to suggest more people for the core team after I see the
response for Sai.

Jari Bakken of Celerity (http://celerity.rubyforge.org/) and Dave Hoover of
SafariWatir (http://safariwatir.rubyforge.org/).

Looks like Jari belongs even to Watir core developers. I guess I did not
monitor github close enough.

Sai and Dave did not contribute any code to Watir, so they do not belong to
core developers, but they created support for a browser that Watir did not
support, and I think their effort should be recognized by adding them to the
community team.

Anyway, that is just my opinion. I this community does not think the same, I
will accept it.

Željko

--~--~-~--~~~---~--~~
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: adding utf-8 character to text fields

2009-09-28 Thread Loft_Tester

This link will give more information about the character including
"Scripting-language string"
http://www.isthisthingon.org/unicode/clipboard.php?add=25911

On Sep 28, 4:01 pm, Loft_Tester  wrote:
> I am trying to enter a japanese(UTF8) character into one of the fields
> on our web page and I keep having ç ¾ posted instead of 攷.  I believe
> I have to let watir know that I am using UTF-8 but how.  I had the
> same problem going to the google.com home page.  I can copy and paste
> the character above and it works fine.  Here is the code I have been
> working with.
>
> --- 
> ---
>
> require 'watir'
> $KCODE='u'
> require 'win32ole'
> WIN32OLE.codepage = WIN32OLE::CP_ACP #UTF8
>
> ###
> $Browser = nil
>
> ENV["watir_browser"]="ie"
>
> $Browser = Watir::Browser.new
> $Browser.goto "www.google.com"
> $Browser.text_field(:name,'q').set("攷")
>
> #
>
> This should be simple enough to do but I am not sure how.  Thanks for
> your help
--~--~-~--~~~---~--~~
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] adding utf-8 character to text fields

2009-09-28 Thread Loft_Tester

I am trying to enter a japanese(UTF8) character into one of the fields
on our web page and I keep having ç ¾ posted instead of 攷.  I believe
I have to let watir know that I am using UTF-8 but how.  I had the
same problem going to the google.com home page.  I can copy and paste
the character above and it works fine.  Here is the code I have been
working with.

--

require 'watir'
$KCODE='u'
require 'win32ole'
WIN32OLE.codepage = WIN32OLE::CP_ACP #UTF8

###
$Browser = nil

ENV["watir_browser"]="ie"

$Browser = Watir::Browser.new
$Browser.goto "www.google.com"
$Browser.text_field(:name,'q').set("攷")

#

This should be simple enough to do but I am not sure how.  Thanks for
your help

--~--~-~--~~~---~--~~
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: Watir cannot connect to IE running under non-Admin account on ‘default’ desktop.

2009-09-28 Thread Bret Pettichord

Shane,

Thanks for the excellent description of the problems that occur when
your tests run in an account that doesn't have the rights Watir needs.

Bret

On Sep 25, 11:54 am, Shane  wrote:
> Some Background on architecture of the app is needed:
>
> Windows 2003/Apache-v2.2/IE7/Watir-v1.6.2/Ruby-v1.8.5
>
>    1. Apache running under 'localsystem' account.
>    2. Request to run a Watir script comes in.
>    3. Apache CGI kicks off IE7 under a particular user, e.g. 'tester',
> and attaches the IE7 window to the "default" desktop environment. This
> allows us to VNC into the machine and see all IE7 windows from all the
> accounts running.
>    4. IE7 has ruby embedded into the process through plugin and
> executes the ruby script in a thread.
>
> For clicking on links/buttons in IE, Watir supplies a synchronous
> 'click' method and async 'click_no_wait' method. 'click_no_wait'
> spawns a completely new ruby process to connect back to the IE7 window
> to click the link/button.
>
> This is what is failing for me. Since click_no_wait is spawning a new
> process. It cannot seem to see the IE7 window to connect to it and
> click on the link/button. I have to use 'click_no_wait' due to a
> dialog box that IE pops up on a certain page, so that another ruby
> thread can close it.
>
> I've tried a few things:
> - using fire_event('OnClick') instead of click_no_wait hangs script
> like 'click' would.
> - Modifying 'click' by commenting out '@container.wait', but the
> 'click!' itself is the API that hangs waiting for the dialog box to
> close.
> - Make 'click_no_wait' spawn a new thread instead of a process', but
> other threads appear to be suspended while the 'click!' call executes
> in that thread. Which is strange.
> - Executing the 'click_no_wait' process using the exact same code that
> is used to spawn the IE7 process, but it still can't find any IE7
> windows.
>
> By 'default' desktop described above, the code that spawns IE
> basically does a series of C++ calls to attach the IE7 window to the
> 'winsta0' desktop:
>
> - LogonUser() // log in as tester account
> - OpenWindowStation("winsta0") // to get default desktop
> - SetProcessWindowStation()
> - // add the user to interactive window station using
> (GetUserObjectSecurity, GetSecurityDescriptorDacl, GetAclInformation,
> AddAce, SetSecurityDescriptorDacl, SetUserObjectSecurity)
> - // add user to "default" desktop using APIs listed above.
> - CreateEnvironmentBlock
> - ImpersonateLoggedOnUser
> - CreateProcessAsUser('iexplore.exe')
> - // cleanup
>
> Running the following Watir script under the particular user IE7 is
> running under yields:
>
> $IE = Watir::IE.attach(:title, /Google/)
> $IE.button(:name, 'btnG').click!
>
>     c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
> 246:in `method_missing': Windows (WIN32OLERuntimeError) OLE error code:
> 80040154 in HRESULT error code:0x80020009 Exception occurred. from c:/
> ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246:in
> "each"
>
> Which contains:
>
> c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:246
> shell = WIN32OLE.new("Shell.Application")
> windows = shell.Windows   ## Fails here
>
> Let me know if I can supply more details or disambiguation! :)
>
> Thanks, Shane.
--~--~-~--~~~---~--~~
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: Mac FireWatir PopUp

2009-09-28 Thread Brad

Surly I'm not the only person who has this problem :-)

On Sep 25, 7:49 am, Brad  wrote:
> Hi Angrez,
>
> What I'm seeing is the pop dialog, which is a download dialog is not
> clicked on i.e. it is not dismisses.
>
> If I understand the code correctly you say what you want to happen to
> the dialog first and then click on the link which popups the dialog
> and then your first action happens, correct?
>
> I different I see is in the example the JavaScript dialog box come
> down out of the browser and the popup handler works.  My dialog is
> free floating modal dialog.
>
> Any suggestions?
>
> Thanks.
>
> Brad
>
> On Sep 25, 1:24 am, Angrez Singh  wrote:
>
> > What behaviour are you seeing? As per the pop up handling in Firewatir. Pop
> > up will not show but whatever action you have written for OK or CANCEL
> > button will happen.
>
> > Thanks,
> > Angrez
>
> > On Thu, Sep 24, 2009 at 8:48 PM, Brad  wrote:
>
> > > I saw another thread about handling popups in FireWatir, but I didn't
> > > see a resolution.
>
> > > Please see the dialog box I'm trying to handle
> > >http://sites.google.com/site/watirattachments/
>
> > > because if this is suppose to work...it isn't
>
> > > @browser.startClicker("Cancel")
> > > @browser.button(:caption, "Agree and Download").click
>
> > > I looked at the unittests and see that it works for the second image
> > > on this page
> > >http://sites.google.com/site/watirattachments/
>
> > > Thanks for any help.
>
> > > Brad
--~--~-~--~~~---~--~~
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: Elements supported by Watir

2009-09-28 Thread Bret Pettichord

On Sep 28, 4:54 am, Željko Filipin 
wrote:
> Do we have a place where all elements (link, image, button...) supported by
> Watir are listed?
>
> Is this list complete?
>
> http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element

I've been trying to keep it up to date

> Is there a simple way I could take a look in the code and find which
> elements Watir supports?
> I see we have Element class and I suppose all elements inherit it. I have
> searched Watir code for `< Element` and found a lot of places where it
> appears. Is there a central location where all elements are collected?



>> def is_element_subclass? klass
>> while klass = klass.superclass
>> return true if klass == Watir::Element
>> end
>> end

>> ObjectSpace.each_object(Class){|c| puts c if is_element_subclass?(c)}
Watir::HTMLElement
Watir::Link
Watir::Image
Watir::TableCell
Watir::TableRow
Watir::TableBody
Watir::TableBodies
Watir::Table
Watir::CheckBox
Watir::Radio
Watir::RadioCheckCommon
Watir::FileField
Watir::Hidden
Watir::TextField
Watir::Button
Watir::SelectList
Watir::InputElement
Watir::Em
Watir::Strong
Watir::Dd
Watir::Dt
Watir::Dl
Watir::H6
Watir::H5
Watir::H4
Watir::H3
Watir::H2
Watir::H1
Watir::Ul
Watir::Li
Watir::Label
Watir::Area
Watir::Map
Watir::Span
Watir::Div
Watir::P
Watir::Pre
Watir::NonControlElement
Watir::Form


> Željko
> --http://watirpodcast.com/
--~--~-~--~~~---~--~~
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: Sai

2009-09-28 Thread Bret Pettichord

As we work to release Watir 1.7, I would like to compile a list of
credits for this release. These are the developers who have
contributed to the release. It seems to me that we might divide this
group into two groups. The first is the lead (or core) developers who
have merged in others' contributions and done a significant amount of
development themselves. Off hand, I think this list would include Jari
Baaken, Angrez Singh, Charley Baker, and myself. Perhaps others: I
haven't always been watching as closely as I would like. The second
group would be all the other people who have contributed code, one way
or another, for the release. As far as I am aware, Sai does not fit
into either category.

I think that Sai has done some great work, and would love to have help
more closely with the Watir project.

I think we could also recognize a community team, which would include
both Zeljko Filipin and Alister Scott, although I know Zeljko has also
made some code contributions to 1.7. Maybe we add Sai to this group as
well?

Bret

On Sep 27, 2:43 pm, Željko Filipin 
wrote:
> I have just realized that Sai Venkatakrishnan 
> (http://developer-in-test.blogspot.com,http://twitter.com/sai_venkat,https://github.com/saivenkat),
>  creator of ChromeWatir (http://code.google.com/p/chrome-watir), but not just 
> that, is not in Watir
> Core team (http://watir.com/community/).
>
> I do not know if we have official way of introducing new people to the core
> team (if we do, please point me there), but I suggest that we add Sai to the
> core team.
>
> Thoughts?
>
> Željko
> --http://watirpodcast.com/
--~--~-~--~~~---~--~~
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: Get the error when try to run the watir code in Mac

2009-09-28 Thread Željko Filipin
On Mon, Sep 28, 2009 at 12:46 PM, yuping zhong 
wrote:
> BWT,I use the 64 bit 10.6 Snow Leopard,does the JSSH support 64 bit
> system???

I think all xpi files on
http://wiki.openqa.org/display/WTR/FireWatir+Installation are for 32 bit
systems. You will probably have to compile 64 version yourself (and please
upload it to the page after you compile it, so other people can use it).

To compile:

http://www.daveliebreich.com/blog/?page_id=6
https://developer.mozilla.org/en/Build_Documentation

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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: Get the error when try to run the watir code in Mac

2009-09-28 Thread yuping zhong

Thank for Rafael Fonseca's reply.

But when I run code,get the following error:

/usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
firefox.rb:271:in `set_defaults': Unable to connect to machine :
127.0.0.1 on port 9997. Make sure that JSSh is properly installed and
Firefox is running with '-jssh' option
(Watir::Exception::UnableToStartJSShException)
from /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/
firefox.rb:161:in `initialize'
from /usr/local/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `new'
from /usr/local/lib/ruby/gems/1.8/gems/commonwatir-1.6.2/lib/watir/
browser.rb:65:in `new'
from test_firefox_mac.rb:4

BWT,I use the 64 bit 10.6 Snow Leopard,does the JSSH support 64 bit
system???




On Sep 26, 6:22 am, Rafael Fonseca  wrote:
> Try running this on Terminal:
> mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib
> /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig
> *
> *
> *cp /usr/lib/libsqlite3.dylib
> /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib*
> *
> *
> ***Worked for me.
> *--
> Rafael Fonsecawww.nunca.com.br
>
> 2009/9/25 yuping zhong 
>
>
>
> > libsqlite3.dylib
--~--~-~--~~~---~--~~
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] Elements supported by Watir

2009-09-28 Thread Željko Filipin
Do we have a place where all elements (link, image, button...) supported by
Watir are listed?

Is this list complete?

http://wiki.openqa.org/display/WTR/Methods+Supported+by+Element

Is there a simple way I could take a look in the code and find which
elements Watir supports?

I see we have Element class and I suppose all elements inherit it. I have
searched Watir code for `< Element` and found a lot of places where it
appears. Is there a central location where all elements are collected?

Željko
--
http://watirpodcast.com/

--~--~-~--~~~---~--~~
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: xpath

2009-09-28 Thread Željko Filipin
On Sat, Sep 26, 2009 at 6:51 AM, Wesley Chen  wrote:
> How to flash or click after element_by_xpath method?

Flash would not work, but the documentation said this should work:

browser.element_by_xpath("//h...@id='header']").click

I did not have the time to try it out.

Željko

--~--~-~--~~~---~--~~
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: Need help checking a box in a table in an iframe

2009-09-28 Thread Željko Filipin
On Fri, Sep 25, 2009 at 7:40 PM, rollo  wrote:
> I'll revisit the
> xpath option, though it didn't work when i tried initially and I don't
> believe its supported for frames/iframes, which is where this table
> lives.

You can not select a frame using xpath, something like this:

browser.frame(:path, "xpath)

but you can select element in a frame using xpath, something like this:

browser:frame(:id, "id").link(:xpath, "xpath)

Željko

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---