Hi, Wiston,
Your script won't work, it just open the choose file dialog and then hang.
Would you please retest the script again?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You received this message because you are
Hi, Apple,
Thanks very much, I will try your comment later in my machine.
In Chinese operation system, we can only upload the attachment by the method
of autoit?
Thanks.
Wesley
Man should be hard to himself, but tolerant to others.
--~--~-~--~~~---~--~~
You receive
wesley,
the chinese support for upload file, you need modify the input_element.rb in
system() line, like below.
class FileField < InputElement
INPUT_TYPES = ["file"]
# set the file location in the Choose file dialog in a new process
# will raise a Watir Exception if AutoIt is not