Re: [vapir] Re: call function

3 views
Skip to first unread message
Message has been deleted
Message has been deleted

Ethan

unread,
Sep 11, 2010, 5:11:04 PM9/11/10
to va...@googlegroups.com
This doesn't seem to be a vapir issue - I can't really tell what's going on here because you're not including a full backtrace, and the error doesn't seem to correspond to the given script (it's either erroring on requiring main or setup, but neither file requires either of those). I can't really provide general ruby support here, just support for the vapir library. 

On Sat, Sep 11, 2010 at 01:51, Quang <quan...@gmail.com> wrote:
Sorry, this error
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- setup.rb (LoadError)
       from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb: 31:in `require'

On Sep 11, 12:49 pm, Quang <quang...@gmail.com> wrote:
> Hi Ethan,
> I have a prolem
> -------------
> setup.rb
> -------------
> def google
>     $ff.text_field(:name,'q').value = "năng động mỗi ngày"
>     $ff.link(:text,"Giải pháp Kinh doanh").click
> end
>
> ------------
> main.rb
> ------------
> require 'watir-vapir'
> require 'main1.rb'
> $ff = Vapir::Firefox.start("google.com")
> google
>
> -------------
> This error
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- main.rb (LoadError)
>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
> 31:in `require'
>
> Help me plz!!

Reply all
Reply to author
Forward
0 new messages