[Wtr-general] Calling a method with a regular expression as argument

2005-08-01 Thread Tuyet Cong-Ton-Nu
1) In my script A, I have these commands that call a do_click method: w = RptFunctions.new icon = "/icon_customize.gif/" w.do_click(icon)   2) In the do_click method, I have this statement which clicks on an icon (there are 5 possible icons it can click on) ie.frame("main").frame("bod

Re: [Wtr-general] Calling a method with a regular expression as argument

2005-08-01 Thread Shao Kang Tat
I don't think you need the quotes: icon = "/icon_customize.gif/" try changing it to icon = /icon_customize.gif/ ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general