# Fieldset class problem

**URL:** <https://www.ruby-forum.com/t/fieldset-class-problem/189888>\
**Category:** Rails\
**Created:** [June 9, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/fieldset-class-problem/189888 "2010-06-09T14:50:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@amit](https://www.ruby-forum.com/u/amit)\
**Post date:** [June 9, 2010, 2:50pm UTC](https://www.ruby-forum.com/t/fieldset-class-problem/189888/1 "2010-06-09T14:50:40Z")

</div>

Hello,  
I am using cucumber(0.8.0), cucumber-rails (0.3.0) and capybara.  
(0.3.8)  
There is a scenario where i need to click a button but it does not  
have a link ,id but it has a image under it.  
The html code is as follows:

How to proceed with this:

I had tried with the following code:  
page.has\_xpath?(’/images/bt.signup.png’) do  
click\_link(’/images/bt.signup.png’)  
end

After running it does not show me error but i am not sure whether it  
is clicking or not.I am sure whether what i have done is correct or  
not.  
Also when we click on this then user is supposed to be created but  
while searching for the user i am getting nil.  
Please suggest.
