Re: [wtr-general] how to use one default and one customize attribute syntax

2012-02-14 Thread Ċ½eljko Filipin
On Mon, Feb 13, 2012 at 11:06 AM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > $browser.div(:class, "searchres").div(:class => 'data a' , @target = 'aaa-ldap').span(:class => "r", :text => /aaa-ldap/).flash I do not see where you defined @target variable. Make sure it is symbol

[wtr-general] how to use one default and one customize attribute syntax

2012-02-13 Thread Cristina Dumitrescu
Hi all, I do not know how to use default and customized attributes. The following code is working - using the "target" attribute because I did some updated to the element_locator.rb ... puts $browser.div(:class, "searchres").div(:class => "data a", :index => 0).attribute_value("target") #that