Try :
row = checkbox_id.match(/\d\d/).to_i
On Sat, Jan 17, 2009 at 1:43 AM, aidy lewis wrote:
>
> Hi,
>
> Has anyone had problems using a variable in the cell array?
>
>checkbox_id =
> ingest.find_enabled_checkbox("Search_ItemDetail_SpoolGrid").id
>row = checkbox_id.match(/\d\d/)
>bro
2009/1/17 wesley chen :
> Try :
> row = checkbox_id.match(/\d\d/).to_i
row = checkbox_id.match(/\d\d/).to_s.to_i
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, se