On Thursday, February 19, 2015 at 10:50:18 PM UTC-8, Ping-0t wrote:
>
> Hello Guys,
>
> Again I am having trouble about my testing? I got this warnings in the 
> inspect element console when I try to execute my codes [below].
>
> Use of getPreventDefault() is deprecated.  Use defaultPrevented instead. 
> jquery.min.js:3
> Use of getAttributeNode() is deprecated. Use getAttribute() instead.
> Security wrapper denied access to property length on privileged Javascript 
> object. Support for exposing privileged objects to untrusted content via 
> __exposedProps__ is being gradually removed - use WebIDL bindings or 
> Components.utils.cloneInto instead. Note that only the first denied 
> property access from a given global object will be reported.
>
> My codes:
>

Those sort of things appearing in the developer tools console are usually 
coming from javascript code within the web pages of your site.  You should 
report them to your developers, but you need to be sure what page you were 
on, or what actions resulted in seeing the errors.

Warnings I would generally just ask someone if they know or care about 
them.  often they already know

Any actual errors there should be reported, they usually represent a 
problem with their code, or how they are using a standard library like 
jquery 


> Then after the execution I got this kind of output: 
>
> E
> User1@DOCUMENTATIONS /c/testing
> $ ruby revised_login.rb
> Warning: you should require 'minitest/autorun' instead.
> Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
> From:
>   c:/Ruby193/lib/ruby/1.9.1/minitest/autorun.rb:14:in `<top (required)>'
>   revised_login.rb:2:in `<main>'
> MiniTest::Unit.autorun is now Minitest.autorun. From 
> c:/Ruby193/lib/ruby/1.9.1/m
> initest/autorun.rb:18:in `<top (required)>'
> MiniTest::Unit::TestCase is now Minitest::Test. From
> ...


The first bit of that is  telling you that they way to require minitest has 
changed and you need to update your code.  there is likely something about 
it on the main site (often a github page) for minitest.   I don't use 
minitest so I can't give you more details than that.  

But likely you are basing what you have for minitest on some blog or site 
that is now out of date due to changes in minitest.  

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to