Instead of if (("agree"|"accept")=~ /WMGetText($id)/), how about if (WMGetText($id) =~ /^(agree|accept)$/). See perlre for more details.
--MidLifeXis
In reply to Re^5: Gui Automation using guitest
by MidLifeXis
in thread Gui Automation using guitest
by shayak
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |