[wtr-general] Re: How to upload a file in Chinese operation system?

2008-10-28 Thread wesley chen
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

[wtr-general] Re: How to upload a file in Chinese operation system?

2008-10-27 Thread wesley chen
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

[wtr-general] Re: How to upload a file in Chinese operation system?

2008-10-27 Thread bugs apple
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