Hi all ,

hoe can i paas my var value as property in below step. Basically i am getting property name from excel sheet in a variable which is dynamically change ( I know i can handle this with case statement but i want is any other way to use like eval the variable)

d="src"
ie.image(:d, /y2009\/bpjerseys_header\.png/).click

this should be work like this

ie.image(:src, /y2009\/bpjerseys_header\.png/).click

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

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: [email protected]
To unsubscribe: [email protected]

To unsubscribe from this group, send email to watir-general+unsubscribegooglegroups.com 
or reply to this email with the words "REMOVE ME" as the subject.

Reply via email to