[wtr-general] Re: How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-19 Thread jnxgn
Thanks a lot, I had tried before but it did not work. On 1月19日, 上午10时45分, Wesley Chen cjq@gmail.com wrote: Try: $ie.text_field(:name, keyword).value = 你好 I have not replaced anything. Thanks. Wesley Chen. For life, the easier, the better. On Tue, Jan 19, 2010 at 12:11 AM, jnxgn s

[wtr-general] Re: How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-19 Thread jnxgn
netbeans editor, it works. If you use different editor, please make sure the character set is right in the editor settings. Thanks. Wesley Chen. For life, the easier, the better. On Tue, Jan 19, 2010 at 7:32 PM, jnxgn s...@jnxgn.cn wrote: Thanks a lot, I had tried before but it did not work

[wtr-general] How to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5

2010-01-18 Thread jnxgn
I cannot figure out how to enter the Chinese characters into the textfield of a webpage by firewatir 1.6.5, I tried to change the encoding of the .rb file and the encoding of the firefox browser, but failed. require ‘rubygems’ require ‘firewatir’ ff = FireWatir::Firefox.new ff.goto

[wtr-general] Re: Pop-up blocking script

2010-01-18 Thread jnxgn
Did you double check it is not a pup but a login form? On 18 Jan., 12:45, Chandu80 chandu.she...@gmail.com wrote: I have a login function written in ruby  as follows def login(link,login,password,g)     #href_status = href.empty?     #puts #{href_status}     dialogue_text ='Connect to ' +

[wtr-general] Re: happy belated birthday watir.

2009-11-19 Thread jnxgn
Happy Birthday! On Nov 19, 2:53 am, Paul Rogers paul.rog...@shaw.ca wrote: If Im correct, watirs first public appearance was 5 years ago ( plus a few days as I forgot to send the email). Bret was teaching a class on test automation at StarWest, and I helped out. This was the first

[wtr-general] Re: Does watir/ruby support different lang characters (other than ASCII) verification?

2009-11-11 Thread jnxgn
It supports. I am a chinese who use watir for fun. On 11月11日, 下午3时26分, basu bas.go...@gmail.com wrote: Hi, Does watir/ruby support different lang characters (other than ASCII) verification? Ex: i want to check 完全重新设计的界面,包括专辑画面 text displayed in the application. Thanks -Basu

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-11 Thread jnxgn
is wrong within watir 1.6.5 On 11月11日, 上午11时46分, Bret Pettichord b...@pettichord.com wrote: Could you open up a ticket on Jira for this? You can attach images there.http://jira.openqa.org/browse/WTR jnxgn wrote: I installed the 1.6.5 after the release, chinese input and output still

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread jnxgn
to release today. -c 2009/11/5 jnxgn s...@jnxgn.cn mailto:s...@jnxgn.cn In IE, maybe it is not the problem of watir itself, but something else. On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com mailto:charley.ba...@gmail.com wrote: Are you still

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-10 Thread jnxgn
off or not. Let me know, I was hoping to release today. -c 2009/11/5 jnxgn s...@jnxgn.cn In IE, maybe it is not the problem of watir itself, but something else. On 11月6日, 上午1时59分, Charley Baker charley.ba...@gmail.com wrote: Are you still seeing this problem? Is that happening

[wtr-general] can not click a button

2009-11-04 Thread jnxgn
I cannot click the button with the id of PostButton with the code: ie.button(:id,PostButton).click Any help is highly appreciated. div style=margin-bottom:4px; input type=hidden name=draftid id=draftid value=0 / input type=hidden name=articleid id=articleid value=0 /

[wtr-general] Re: can not click a button

2009-11-04 Thread jnxgn
ie.button(:id,PostButton).fire_event('onMouseDown') # case of this probably matters Paul On Wed, Nov 4, 2009 at 11:57 AM, jnxgn s...@jnxgn.cn wrote: I cannot click the button with the id of PostButton with the code: ie.button(:id,PostButton).click Any help is highly appreciated

[wtr-general] Re: can not click a button

2009-11-04 Thread jnxgn
of this probably matters Paul On Wed, Nov 4, 2009 at 11:57 AM, jnxgn s...@jnxgn.cn wrote: I cannot click the button with the id of PostButton with the code: ie.button(:id,PostButton).click Any help is highly appreciated. div style=margin-bottom:4px; input type=hidden name=draftid

[wtr-general] Re: Watir 1.6.5.rc2 - release candidate available for testing

2009-11-02 Thread jnxgn
After I installed the gems according to the instructions, the Chinese characters getting from and posting to web pages are messed up. On Oct 23, 5:14 am, Charley Baker charley.ba...@gmail.com wrote: Hi all,  We have a new version of Watir for testing, 1.6.5.rc2. the release is here with

[wtr-general] Re: Windows Vista task scheduler can not start test.rb

2009-04-16 Thread jnxgn
I encoutered a solution for this when I almost went to install windows xp on my computer, just Disable User Access Control on the Control Panel of Vista, and everything is ok. On 4月8日, 下午10时30分, jnxgn s...@jnxgn.cn wrote: I am facing a weird problem. I can start a test job test.rb

[wtr-general] Windows Vista task scheduler can not start test.rb

2009-04-08 Thread jnxgn
I am facing a weird problem. I can start a test job test.rb by WindowsXP task scheduler, but can not initiate the test job by Windows Vista task scheduler, the test.rb can be run by double click on Windows Vista Explorer. Any help will be highly appreciated.

[wtr-general] Re: How to save a cookie and reload it?

2008-11-12 Thread jnxgn
to pass the cookie or the browser instance between Watir and Mechanize? Many thanks. On 11月12日, 上午7时28分, jnxgn [EMAIL PROTECTED] wrote: Tony, Thank you very much for your suggestion. On 11月12日, 上午2时35分, Tony [EMAIL PROTECTED] wrote: Like Alex had said, its not that simple to add a cookie

[wtr-general] Re: How to save a cookie and reload it?

2008-11-11 Thread jnxgn
.document.cookie = tmpcookie puts this is IE cookie puts ie77.document.cookie # nothing is displayed, really nothing there On 11月9日, 下午7时50分, jnxgn [EMAIL PROTECTED] wrote: Alex, Thank you so much, I will try it. On 11月9日, 下午4时56分, alex.ikhelis [EMAIL PROTECTED] wrote: Try to output cookies

[wtr-general] Re: How to save a cookie and reload it?

2008-11-09 Thread jnxgn
test or something. Alex. jnxgn: Thanks a lot, acturelly I searched and read all the posts related to cookies in this group, but could not find some hints. what I need is to autopost in a forum by different users, I tried but failed the codes below: login with user_name_1 tmpcookie

[wtr-general] Re: How to save a cookie and reload it?

2008-11-08 Thread jnxgn
Thanks a lot, acturelly I searched and read all the posts related to cookies in this group, but could not find some hints. what I need is to autopost in a forum by different users, I tried but failed the codes below: login with user_name_1 tmpcookie = ie.document.cookie posting with user_name_1

[wtr-general] firewatir 1.6.2 does not support chinese characters?

2008-11-08 Thread jnxgn
It seemed that firewatir 1.6.2 does not support chinese charaters well, the following codes work at watir but failed at firewatir: # initialize the contents conts = [] File.open('contents.txt') do |f| f.each_line{|l| conts l} end . . ie77.text_field(:name,

[wtr-general] Re: How can I get the text in the frame text field?

2008-11-03 Thread jnxgn
for your reference,clear the text in the textarea of a frame with an id contained Editor: ie77.frame(:id, /Editor/).document.body.innertext = “” wesley chen wrote: Please see the picture attached I can input text into the frame by the following code:

[wtr-general] Can firewatir locate a link by url and index together?

2008-11-03 Thread jnxgn
In watir I can locate a link by url and index together using the following code: ie.link(:url = /msglist/, :index = 7).click But the code faild for firewatir: ff.link(:url = /msglist/, :index = 7).click Help is needed, thanks a lot. --~--~-~--~~~---~--~~ You