@fram_cloth=@@ie.frame(:src,"
http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex").html.body
@font_messa...@fram_cloth.div(:class,"shop_title\sw500").text
puts @font_message
1) Error:
test_clothshop(MarketPlace):
NoMethodError: undefined method `document' for nil:NilClass
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/frame.rb:52:in
`document'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/page-container.rb:31:in
`page'
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/page-container.rb:37:in
`html'
MarketPlace.rb:68:in `test_clothshop'
1 tests, 1 assertions, 0 failures, 1 errors
2010/8/26 Željko Filipin <[email protected]>
> On Thu, Aug 26, 2010 at 9:21 AM, Qiannan Zhang <[email protected]>
> wrote:
> > Does anyone know how to resolve the problem "undefined method `document'
> for nil:NilClass"
>
> Please provide the code that causes the error.
>
> Željko
> --
> watir.com - community manager
> watirpodcast.com - host
> testingpodcast.com - audio podcasts on software testing. all of them
> vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> You received this message because you are subscribed to
> http://groups.google.com/group/watir-general
> To post: [email protected]
> To unsubscribe:
> [email protected]<watir-general%[email protected]>
>
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]