Re: [wtr-general] 你好,4月26号至5月4号,我不在办公室,无法及时查阅邮件,有事电话联系。

2014-05-07 Thread Yuping Zhong
translate: I am out of office from Apr 26 to May 4, contact me in phone if any issue. 15380841518 On Wed, May 7, 2014 at 3:25 PM, Željko Filipin wrote: > Google translate says this is out of office notification. I have enabled > moderation for this e-mail address. > > Željko > -- > https://lean

Re: [wtr-general] Re: Getting errro in Chrome. Please suggest answer.

2011-08-30 Thread Yuping Zhong
Hi Amit, You need to download the chrome driver and put it on your PATH. On Tue, Aug 30, 2011 at 5:15 PM, Amit Bobade wrote: > Thank you very much for your reply, Alister. > > I am using watir-webdriver, so still do I need to download Chrome driver? I > think, watir -webdriver support Chrome, F

Re: [wtr-general] Re: How to change select_list box value ?

2011-08-13 Thread Yuping Zhong
Please try to use index! On Thu, Aug 11, 2011 at 8:36 PM, Dmitri Karusar wrote: > No luck with: > > $ie.frame(:name,"mainFrame").select_list(:name,"defaultLicensingPeriod").set("2 > months") > > The thing is All select_menus on my page have same span class: > > > -- > Before posting, please read

Re: [wtr-general] Urgently needed: QA tester with WATIR experience, California

2011-07-20 Thread Yuping Zhong
What about the part-time ? On Wed, Jul 20, 2011 at 3:06 AM, Avtar Singh wrote: > Hi, > > Im currently looking for a QA tester with watir experience in San > Francisco, CA. > It a very long term project > Client is open to hire full time as well > > > whoever is interested can reach me at avt...@v

Re: [wtr-general] ruby1.9.2

2010-12-23 Thread Yuping Zhong
You have better run it on ruby1.8.6 On Fri, Dec 24, 2010 at 11:47 AM, 深谷 芳和 wrote: > is it possible to use watir with ruby1.9.2? > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.co

Re: [wtr-general] Re: How can i know an element is disabled?

2010-09-25 Thread Yuping Zhong
You can use following: assert !(@browser.button(:id,"button_id").enabled?) On Sat, Sep 25, 2010 at 4:24 PM, sss gu wrote: > I also meet the problem,the solution is use these code: > ie.button(:id, "id name").enabled? > & > ie.button(:id, "id name").disabled? > > > On Sep 25, 3:36 pm, Ekin Han

Re: [wtr-general] Jssh for Firefox 4.0 beta3

2010-08-24 Thread Yuping Zhong
Cool,good luck. On Tue, Aug 24, 2010 at 9:54 PM, Angrez Singh wrote: > I'll be working on it. It will take some time may be couple of days. > > Thanks, > Angrez > > 2010/8/24 Željko Filipin > > On Tue, Aug 17, 2010 at 10:19 AM, al3kc wrote: >> > Does any one has jssh for FF4.0? >> >> Not yet,

Re: [wtr-general] What Ruby version do you all recommend using with Watir?

2010-07-30 Thread Yuping Zhong
recommend 1.8.6 On Sat, Jul 31, 2010 at 6:26 AM, John Fitisoff wrote: > 1.8.6-25 > > > > - Original Message > From: Melissa > To: Watir General > Sent: Fri, July 30, 2010 2:15:58 PM > Subject: [wtr-general] What Ruby version do you all recommend using with > Watir? > > My test team i

Re: [wtr-general] Re: How to get value from textField

2010-06-23 Thread Yuping Zhong
Agree,pls share the html code or attach the web site. On Wed, Jun 23, 2010 at 3:43 PM, Charley Baker wrote: > I can't really tell without seeing your site, but if you do search for that > error, you'll find it a few times: > http://www.mail-archive.com/wtr-gene...@rubyforge.org/msg07505.html, > t

Re: [wtr-general] Re: Filling Textarea - Rapidweaver

2010-05-27 Thread Yuping Zhong
$browser.text_field(:name,"form[element3]").set("Ruby") It works in IE. But when I use the same command in Safari and FF,get the same error as rsb. Anyone knows how to resolve this in SafariWatir and FireWatir??? On Thu, May 27, 2010 at 5:26 AM, George wrote: > It seems to work for me (I'm us

Re: [wtr-general] click the nodes in Rad Tree view

2010-05-27 Thread Yuping Zhong
Please try to use the index. On Thu, May 27, 2010 at 3:01 PM, khaja shaik wrote: > Hi All, > > Can anybody have any idea to click the nodes in a Rad Tree view. Rad tree > view have the 10 nodes and i have to click 1st node, 2nd node and 3rd node > and so on. > > Thanks, > Khajs Shariff > > > > -

Re: [wtr-general] how to click on the element with the id = "logoutLink"

2010-05-25 Thread Yuping Zhong
For click the Mail,pls use: $browser.frame(:id,"frameMain").link(:text,"Mail").click or $browser.frame(:id,"frameMain").link(:id,"settingsMailLink").click On Tue, May 25, 2010 at 4:55 PM, Yuping Zhong wrote: > This also work: > > $browser.

Re: [wtr-general] how to click on the element with the id = "logoutLink"

2010-05-25 Thread Yuping Zhong
This also work: $browser.frame(:id,"frameMain").link(:text,"Logout").click $browser.frame(:id,"frameMain").link(:id,"navSignout").click On Tue, May 25, 2010 at 12:10 PM, kiran yajamanyam < kiranyajaman...@gmail.com> wrote: > Hey Friend, > > Got the solution. > > Use "browser.frame(:index,2).li

Re: [wtr-general] Test the PDF through Ruby/Watiir

2010-04-09 Thread Yuping Zhong
I agree with Željko,@browser.title should work. Can you give us the URL so that we can help you? On Fri, Apr 9, 2010 at 7:56 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Apr 9, 2010 at 1:51 PM, arihan sinha > wrote: > > I tried with $ie.title but its not working > > That

Re: [wtr-general] Re: How to use the Firewatir in Mac

2010-04-07 Thread Yuping Zhong
John, Do you try the /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh? Does it work? On Thu, Apr 8, 2010 at 11:27 AM, Yuping Zhong wrote: > I have another issue. > After I type the /Applications/Firefox.app/Contents/MacOS/firefox-bin > -jssh,then I can use the irb to

Re: [wtr-general] Re: How to use the Firewatir in Mac

2010-04-07 Thread Yuping Zhong
ning. Do I need Mac OS X 10.6 > in order to open Firefox with arguments? > > Any suggestions? > Cheers, > John > > > On Apr 6, 10:05 pm, Moises Siles wrote: > > cool, someone else help me in the same way days ago! thank you to this > group > > :) > > > &g

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
pr 6, 2010 at 9:47 PM, Eric Mathiesen wrote: > >> Your system administrator should, it's specific to the environment. >> >> >> On Tue, Apr 6, 2010 at 8:35 PM, Yuping Zhong wrote: >> >>> Can you tell me what is the correct network settings??? >>> &g

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Can you tell me what is the correct network settings??? On Wed, Apr 7, 2010 at 11:31 AM, Eric Mathiesen wrote: > That's a connection error on your local loopback. Check your network > settings. > > > On Tue, Apr 6, 2010 at 8:28 PM, Yuping Zhong wrote: > >> &

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
7, 2010 at 11:23 AM, Yuping Zhong wrote: > Thank Angrez's reply.But I still get the following issue: > > irb(main):001:0> require "rubygems" > => true > irb(main):002:0> require "firewatir" > => true > irb(main):003:0> ff=FireWatir::Fir

Re: [wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
2.3) Gecko/20100401 Firefox/3.6.3 Anyone who uses the firewatir in Mac OS 10.6 can give a help? Thanks in advance! On Tue, Apr 6, 2010 at 7:16 PM, Angrez Singh wrote: > Please follow the instructions here for using FireWatir: > http://wiki.openqa.org/display/WTR/FireWatir#FireWatir-Insta

[wtr-general] How to use the Firewatir in Mac

2010-04-06 Thread Yuping Zhong
Dear All, I already install the firewatir and jssh-3.6-OSX. But it is fail to use the firefox in Mac.It display the strange error: RuntimeError: Firefox is running without -jssh But I already install the jssh. Here the steps: irb(main):001:0> require "rubygems" => true irb(main):002:0> re

Re: [wtr-general] safariwatir also did not work on a mac

2010-03-26 Thread Yuping Zhong
Željko is right. You have to require "rubygems" first. On Fri, Mar 26, 2010 at 5:55 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Thu, Mar 25, 2010 at 7:36 PM, chatur vidur wrote: > > irb(main):001:0> safariwatir > > irb(main):002:0> require safariwatir > > This should not work

Re: [wtr-general] How to subscribe the following E-googlegroup?

2010-03-12 Thread Yuping Zhong
Do I need the Google Group Account? 2010/3/12 Yuping Zhong > I try to open the URL and get the "Fail to open",but it is fine for me to > open the wtr-development. > > What do you mean to login with Google Account? How to do that? > > On Fri, Mar 12, 201

Re: [wtr-general] How to subscribe the following E-googlegroup?

2010-03-12 Thread Yuping Zhong
I try to open the URL and get the "Fail to open",but it is fine for me to open the wtr-development. What do you mean to login with Google Account? How to do that? On Fri, Mar 12, 2010 at 6:07 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Mar 12, 2010

Re: [wtr-general] How to subscribe the following E-googlegroup?

2010-03-12 Thread Yuping Zhong
It is fail to open these following two URL,what is up? http://groups.google.com/group/webdriver/subscribe <http://groups.google.com/group/webdriver/subscribe> http://groups.google.com/group/selenium-developers/subscribe On Mon, Mar 8, 2010 at 6:49 PM, Yuping Zhong wrote: > Co

Re: [wtr-general] how to execute javascript in safariwatir

2010-03-11 Thread Yuping Zhong
Hi, Right now,the Safariwatir is not perfect yet,some codes that can run in IE don't work in Mac. If your code cannot be executed in Safariwatir,I recommend you feedback this to the developer. Thanks! -Zhong On Fri, Mar 12, 2010 at 1:52 AM, JonathanKohl wrote: > I use this with IE, and I was w

Re: [wtr-general] How to subscribe the following E-googlegroup?

2010-03-08 Thread Yuping Zhong
Cool,thanks! On Mon, Mar 8, 2010 at 6:39 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Sun, Mar 7, 2010 at 4:56 AM, Yuping Zhong > wrote: > > Anyone knows how to subscribe the following googlegroup??? > > wtr-developm...@rubyforge.org > >

[wtr-general] How to subscribe the following E-googlegroup?

2010-03-06 Thread Yuping Zhong
Hi, Anyone knows how to subscribe the following googlegroup??? E-group: wtr-developm...@rubyforge.org webdri...@googlegroups.com selenium-develop...@googlegroups.com Right now,I only subscribe the watir-googlegroup. Thanks! -Zhong -- You received this message becau

Re: [wtr-general] My work on watir-webdriver (especially safari driver)

2010-03-06 Thread Yuping Zhong
Hi, How to subscribe the following googlegroup??? E-groups: wtr-developm...@rubyforge.org webdri...@googlegroups.com selenium-develop...@googlegroups.com Right now,I only subscribe the googlegroup. Thanks! -Zhong On Mon, Mar 1, 2010 at 5:23 PM, Željko Filipin < zel

Re: [wtr-general] Re: Need help on dialog access

2010-02-26 Thread Yuping Zhong
Hi Suresh, Can you provide the link for us ??? As we want to know what kinds of dialog you meet. Thanks! -Zhong On Thu, Feb 25, 2010 at 5:57 AM, Suresh wrote: > Found the solution to the problem. (Needed to do a lot of searching to > get this right - solution was quite scattered around). > >

Re: [wtr-general] Re: Question about execute the scripts in background

2010-02-26 Thread Yuping Zhong
Hi, -b only works in Windows,but doesn't for Mac. On Tue, Feb 23, 2010 at 6:45 AM, Moises Siles wrote: > Tiffany, I ran the script using the -b parameter but I saw the browser > any idea? > > > On Mon, Feb 22, 2010 at 3:59 PM, Moises Siles wrote: > >> Thanks Tiffany, I will try. One more que

Re: [wtr-general] error running watir in mac

2010-02-11 Thread Yuping Zhong
>> require "rubygems" => false Looks like you don't have rubygems. On Thu, Feb 11, 2010 at 5:54 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Thu, Feb 11, 2010 at 6:17 AM, Moises Siles > wrote: > > LoadError: no such file to load -- appscript > > It looks to me that you do not

Re: [wtr-general] Re: Firewatir cannot find an element on the page

2010-02-05 Thread Yuping Zhong
Hi, Can you give more info that how to go to the folder page? Right now,I don't know how to flow to that page. Thanks! -Zhong On Fri, Feb 5, 2010 at 11:35 PM, QAguy wrote: > Yes. www.motionbox.com > > Modals are on the folder pages. > > > > On Feb 5, 3:08 am, Angrez Singh wrote: > > Is it s

[wtr-general] Do Send_Keys works in Mac???

2010-02-02 Thread Yuping Zhong
Dear, I try to use the Send_Keys in Mac,just as in windows,but looks like it doesn't work. Do Safariwatir or Firewatir support this function in Mac?If so,how to do that? Thanks in advance. -Zhong -- You received this message because you are subscribed to the Google Groups "Watir General" gro

Re: [wtr-general] Re: How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
handle non breaking space ( ) > differently, so you might want to use a regex to specify the text: > > @browser.link(:text, /Demand.*Curves/).click > > If this doesn't work, can you please give us the error message you get > to help with troubleshooting? > > Hope this help

Re: [wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
:text works in IE, it should work in FF. Yet you could give >> the above a try. >> >> -Prajakta >> >> >> >> On Tue, Feb 2, 2010 at 11:49 AM, Yuping Zhong >> wrote: >> >>> Dear All, >>> >>> I want to use the Watir to click

[wtr-general] How to click this strange link in Firewatir and Safariwatir?

2010-02-01 Thread Yuping Zhong
Dear All, I want to use the Watir to click a link that looks like a button. Give the following detail: Demand Curves I use the following methods,but doesn't works: @browser.link(:text,"Demand Curves").click @browser.link(:text,"Demand Curves").click - By the way, @browser.link(:text

Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-01 Thread Yuping Zhong
* Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 > Snow Leopard). > > Hi, > > In the command you pasted, the gem name is missing the "b" in webdriver: > > "$ sudo gem install selenium-wedriver" > > So maybe the error was due to the typo...

[wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow Leopard).

2010-02-01 Thread Yuping Zhong
Dear, I try to install the watir-webdriver on Mac 10.6 Snow Leopard and get the following: --- $ sudo gem install selenium-wedriver ERROR: could not find gem selenium-wedriver locally or in a repository Any idea of this? or should I do any other things before installing the watir

[wtr-general] Can Watir verify the color?

2010-02-01 Thread Yuping Zhong
Hi, I want to use the watir to verify the color for some cells that are in the table. Do watir have this function.If so,how to do that? Many thanks! -Zhong -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to

Re: [wtr-general] Issue with clicking submit in a site modal window

2010-01-29 Thread Yuping Zhong
I think it is a bug for SafariWatir. On Wed, Jan 27, 2010 at 1:01 AM, QAguy wrote: > The site I am testing has a page where I if I click on a specific > element I can modify its properties by opening a modal window. In the > modal window I enter in the needed data then click submit using: > > br

Re: [wtr-general] Re: How to turn to another newline when input the info in the textarea?

2010-01-21 Thread Yuping Zhong
Hi,thanks Angrez, Should be :@browser.text_field,(ld"...").set("Hello,\nHappy new year") On Fri, Jan 22, 2010 at 1:03 PM, Yuping Zhong wrote: > > > On Thu, Oct 29, 2009 at 7:35 PM, Angrez Singh wrote: > >> try this: >> >> @browser

Re: [wtr-general] Re: How to turn to another newline when input the info in the textarea?

2010-01-21 Thread Yuping Zhong
On Thu, Oct 29, 2009 at 7:35 PM, Angrez Singh wrote: > try this: > > @browser.text_field,(ld"...").set("Hello,\\nHappy new year") > > - Angrez > > On Thu, Oct 29, 2009 at 2:47 PM, yuping zhong wrote: > >> >> Hi, >> >> Fi

Re: [wtr-general] Re: Save dynamic image

2009-12-21 Thread Yuping Zhong
I agree with P.Raveendran. Can give the example and post the answer? Many thanks! -Zhong On Wed, Dec 16, 2009 at 3:26 PM, Raveendran P wrote: > Hi , > > Please post the *answer* here. That may help to others, who are facing the > same issue. > > Thanks > > > On Tue, Dec 15, 2009 at 7:35 PM, b

Re: [wtr-general] Firefox JJSH for 64-bit Windows 7?

2009-12-20 Thread Yuping Zhong
achine > let me know I can provide the links for the same. > > - Angrez > > On Sun, Dec 20, 2009 at 7:56 AM, Yuping Zhong wrote: > >> Hi, >> >> Looks like Mac OS X 10.6.1 is also 64-bits, is JSSH missed for Snow >> Leopard??? >> >> Anyone can run the

Re: [wtr-general] Firefox JJSH for 64-bit Windows 7?

2009-12-19 Thread Yuping Zhong
Hi, Looks like Mac OS X 10.6.1 is also 64-bits, is JSSH missed for Snow Leopard??? Anyone can run the FireWatir in Snow Leopard? If so,how to do that? Many Thanks. -Zhong On Sun, Dec 20, 2009 at 8:47 AM, George wrote: > Hello there, > > I noticed that a JIRA ticket was opened for Linux m

Re: [wtr-general] Can Watir copy the info in Div?

2009-12-16 Thread Yuping Zhong
Chen. > For life, the easier, the better. > > > > On Wed, Dec 16, 2009 at 2:48 PM, LiShu wrote: > >> >> $ie.div(:id,"AA").Text >> >> On Wed, Dec 16, 2009 at 2:17 PM, Yuping Zhong >> wrote: >> >>> Hi, >>> >>>

[wtr-general] Can Watir copy the info in Div?

2009-12-15 Thread Yuping Zhong
Hi, I want to fetch the info in the Div and then print it out,is possible to to do that? If so,can someone tell me how to do? Such as, Watir is a good tool. How to copy "Watir is a good tool" and then puts out? Thanks! -Zhong -- You received this message because you are subscribed to the

[wtr-general] Re: About the Firewatir in Mac

2009-12-03 Thread yuping zhong
Sure,can you tell me how to create a ticket and report this bug? On Dec 3, 5:19 pm, Željko Filipin wrote: > On Thu, Dec 3, 2009 at 9:33 AM, yuping zhong > wrote: > > > irb(main):003:0> ff=Watir::Firefox.new > > It should be: > > browser = FireWatir::Firefox.new

[wtr-general] About the Firewatir in Mac

2009-12-03 Thread yuping zhong
Dear All, I run the firewatir step by step as following and get the error: $irb irb(main):001:0> require "rubygems" => true irb(main):002:0> require "firewatir" => true irb(main):003:0> ff=Watir::Firefox.new NameError: uninitialized constant Watir::Firefox from /usr/local/lib/ruby/gems/1.

[wtr-general] Can Watir fetch the system time?

2009-11-08 Thread yuping zhong
Dear All, I want to know if Watir can get the system time. If true,how to do that? Thanks! -Zhong --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-ge

[wtr-general] How to turn to another newline when input the info in the textarea?

2009-10-29 Thread yuping zhong
Hi, Fill some info in the textarea,I use "\n" to turn to a newline. But it doesn't work. Such as: @browser.text_field,(ld"...").set("Hello,\nHappy new year") But it still fill as: Hello,Happy new year I want to be: Hello, Happy new year Any idea of that? Thanks. -Zhong --~--~-~-

[wtr-general] Re: "!assert" doesn't work in in Unit Test.

2009-10-26 Thread yuping zhong
Awesome!Thanks for Frédéric's reply. On Oct 27, 2:26 pm, de Villamil Frédéric wrote: > Le 27 oct. 2009 à 07:24, yuping zhong a écrit : > > > > > Dear All, > > > As it is known to all that,"assert" can be use in the unit test But > > when I try t

[wtr-general] "!assert" doesn't work in in Unit Test.

2009-10-26 Thread yuping zhong
Dear All, As it is known to all that,"assert" can be use in the unit test But when I try to use the "!assert" ,it always fails,any idea of this? Thanks in advance. -Zhong --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[wtr-general] Re: Watir + test unit + windows strange behavior

2009-10-21 Thread yuping zhong
The unit test is running according to the name of the def. So you should make the definition for the name as following: def test_a .. end def test_b end def test_c . end and so on. It will running on order,hope that help. -Zhong On Oct 22, 7:25 am, Tiffany Fodor wrote: >

[wtr-general] How to use the watir inputs the special character?

2009-10-12 Thread yuping zhong
Deal All, I try to use the watir to input some special character in the text_field,but failure. Such as, I want to fill "Bjørvik" in the text_field. In window: the "?" will instead "ø". In Mac: I use the SafariWatir, the application will stop when input the "Bj",and get the following error: i

[wtr-general] Re: Watir -Ajax Application working in IE6 but not in IE7

2009-10-12 Thread yuping zhong
> We r using Watir 1.5 and Ruby 1.3 Can you update in the newest version and have a try? On Oct 12, 3:06 pm, Amudha Priya wrote: > Actually, the application is automated in Watir .. Since it has multiple > frames, Watir recognises all the frames only in IE 6, but says "Cannot > recognise the fr

[wtr-general] The 'enabled' doesn't work in SafariWatir

2009-10-08 Thread yuping zhong
Hi, It is known to all that 'enabled' is work very well in Windows. Such as, @browser.button(:value,"Save").enabled? When use this in SafariWatir,I get the following: irb(main):008:0> sf.button(:value,"Save").enabled? NoMethodError: undefined method `enabled?' for # from (irb):8

[wtr-general] Re: Cannot use the index in SafariWatir

2009-10-08 Thread yuping zhong
That's great. It works fine. Thanks Željko. On Oct 4, 9:23 pm, Željko Filipin wrote: > On Sat, Oct 3, 2009 at 4:37 AM, yuping zhong > wrote: > > > Doesn't work. > > My mistake. 1 should not be quoted. Try this: > > sf.button(:value=>"Enter&quo

[wtr-general] Re: Does anyone have examples of using rspec with safariwatir

2009-10-08 Thread yuping zhong
Where can we get the video? On Oct 8, 1:08 pm, Bret Pettichord wrote: > Dave Hoover made a video of usingsafariwatirwith cucumber. > > On Oct 7, 3:36 pm, QAguy wrote: > > > > > Or can point out a wiki that would have information on it. My searches > > via google have not bared much fruit. > > >

[wtr-general] Re: Cannot use the index in SafariWatir

2009-10-02 Thread yuping zhong
from /usr/local/lib/ruby/gems/1.8/gems/safariwatir-0.3.3/./ safariwatir.rb:47:in `click' from (irb):16 from :0 On Sep 30, 4:10 pm, Željko Filipin wrote: > On Wed, Sep 30, 2009 at 4:45 AM, yuping zhong > wrote: > > > irb(main):013:0> sf.button(:index=&g

[wtr-general] Re: Cannot use the index in SafariWatir

2009-09-29 Thread yuping zhong
m :0 On Sep 29, 6:42 pm, Željko Filipin wrote: > On Tue, Sep 29, 2009 at 12:39 PM, yuping zhong > wrote: > > > irb(main):049:0> sf.button(:value=>"Enter",index=>"1").click > > You have forgot `:` in front of `index`: > > sf.butto

[wtr-general] Cannot use the index in SafariWatir

2009-09-29 Thread yuping zhong
Dear All, I use the watir to test in Safari. When I use the index method to the button and radio,it doesn't work. Here is the error: irb(main):049:0> sf.button(:value=>"Enter",index=>"1").click NameError: undefined local variable or method `index' for main:Object from (irb):49 f

[wtr-general] Re: Get the error when try to run the watir code in Mac

2009-09-28 Thread yuping zhong
rminal: > mv /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib > /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib.orig > * > * > *cp /usr/lib/libsqlite3.dylib > /Applications/Firefox.app/Contents/MacOS/libsqlite3.dylib* > * > * > ***Worked for me.

[wtr-general] Get the error when try to run the watir code in Mac

2009-09-25 Thread yuping zhong
Dear All, I try to run the watir code in my Mac and get the error. I already install the firewatir,update the system gem and JSSH FireFox Extension successfully. Here is the code: === require "rubygems" require "firewatir" $browser=Watir::Browser.new $browser.goto "www.goog

[wtr-general] Re: How to click the graybutton?

2009-08-27 Thread yuping zhong
";).click > > indicates a link. Its not a button. > > -Prajakta > > On Thu, Aug 27, 2009 at 3:42 PM, yuping zhong wrote: > > > > > Dear All, > > I am an new user of Watir. > > Right now, I meet a issue that how to click the graybutton. Please see

[wtr-general] How to click the graybutton?

2009-08-27 Thread yuping zhong
Dear All, I am an new user of Watir. Right now, I meet a issue that how to click the graybutton. Please see the attach,I support more info in the screenshot. Looks like this button is not a common button. I try the following following method,but it doesn't work. @browser.button(:value,"Signup Now!"

[wtr-general] Re: How to judge the button or link exists in the page?

2009-08-10 Thread yuping zhong
Yet,It works fine,thanks for all of your guys! On Aug 8, 10:14 am, Marlon Mojares wrote: > I hope this helps > > *if link:* > begin >     assert(ie.link(:name,"Signout").exists?) >     puts "login successfully" > rescue => e >      puts "login failed" + e.message + "\n" + e.backtrace.join("\n")

[wtr-general] How to judge the button or link exists in the page?

2009-08-07 Thread yuping zhong
Dear all, Right now, I want to use the watir to check the button or link if exists in the page. Who can help me? Such as, I write the watir code to login the gmail. In order to make sure I login successfully, I try to check whether the "Sign Out" link is exists in the page. If the "Sign Out" link

[wtr-general] Re: Verify does not work while checking the links.

2009-08-06 Thread yuping zhong
Hi Guys, I type the following method in the command line,but get the error,what is the problem?? verify((ie.link(:text, "1").exists?), message="Link not active.") Then the command line will displays: NoMethodError: undefind method 'verify' for main:Object Many thanks! On Aug 6, 5:30 pm, Wes