List Info

Thread: ie.frame("xyz") syntax broken in svn trunk




ie.frame("xyz") syntax broken in svn trunk
user name
2006-06-15 14:06:41
Hi,
Before svn up following worked fine.

$ie.frame("topbarFrame").link(:text, "DHCP
Configuration").click

After I did svn up, I get following exception & I have
to specify the 
attribute type as well.

$ie.frame(:name, "topbarFrame").link(:text,
"DHCP Configuration").click
works fine.


E:/Me/Work/Watir/watir/watir.rb:2532:in `locate': Argument
topbarFrame 
not supported (ArgumentError)
    from E:/Me/Work/Watir/watir/watir.rb:2512:in `locate'
    from E:/Me/Work/Watir/watir/watir.rb:2546:in
`initialize'
    from (eval):3:in `frame'
    from 
E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.
rb:167:in 
`parseDHCPSettingsAndConfigureDHCP'
    from c:/ruby/lib/ruby/1.8/yaml.rb:217:in
`each_document'
    from c:/ruby/lib/ruby/1.8/yaml.rb:232:in
`load_documents'
    from 
E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.
rb:161:in 
`parseDHCPSettingsAndConfigureDHCP'
    from
E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.
rb:216

Regards,
Manish

_______________________________________________
Wtr-general mailing list
Wtr-generalrubyforge.org
htt
p://rubyforge.org/mailman/listinfo/wtr-general
ie.frame("xyz") syntax broken in svn trunk
user name
2006-06-20 21:55:20
This bug is now fixed in trunk. Thanks for the report.

Bret

On 6/15/06, Manish Sapariya <reconnex.net">manishsreconnex.net > wrote:
Hi,
Before svn up following worked fine.

$ie.frame(&quot;topbarFrame").link(:text, "DHCP Configuration").click

After I did svn up, I get following exception & I have to specify the
attribute type as well.

$ie.frame(:name, "topbarFrame&quot;).link(:text, "DHCP Configuration").click
works fine.


E:/Me/Work/Watir/watir/watir.rb:2532:in `locate': Argument topbarFrame
not supported (ArgumentError)
 ; &nbsp; from E:/Me/Work/Watir/watir/watir.rb:2512:in `locate'
&nbsp;   ;from E:/Me/Work/Watir/watir/watir.rb:2546:in `initialize'
 &nbsp;  from (eval):3:in `frame'
&nbsp; &nbsp; from
E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.rb:167:in
`parseDHCPSettingsAndConfigureDHCP'
 &nbsp; &nbsp;from c:/ruby/lib/ruby/1.8/yaml.rb:217:in `each_document'
&nbsp; &nbsp; from c:/ruby/lib/ruby/1.8/yaml.rb:232:in `load_documents'
&nbsp; &nbsp; from
E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.rb:161:in
`parseDHCPSettingsAndConfigureDHCP'
&nbsp;   ;from E:/Me/Work/Reconnex/ReconnexWatir/iGuard/2.2.1/riCreateDHCP.rb:216

Regards,
Manish

_______________________________________________
Wtr-general mailing list
rubyforge.org">Wtr-generalrubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )