in reply to Re^4: Gui Automation using guitest
in thread Gui Automation using guitest

Instead of if (("agree"|"accept")=~ /WMGetText($id)/), how about if (WMGetText($id) =~ /^(agree|accept)$/). See perlre for more details.

--MidLifeXis

Replies are listed 'Best First'.
Re^6: Gui Automation using guitest
by shayak (Acolyte) on Feb 17, 2011 at 12:26 UTC
    Thanks a lot for ur help. It really helped..