@Joel - thanks for your interest, But I managed it as below:



driver.find_elements(:name,"btnAddRequest").each{ |elem|

if elem.attribute(:value) == 'Add Bizz2' then

#print elem.attribute(:value)
elem.click
break

end

}

-- 
Posted via http://www.ruby-forum.com/.