Re: [wtr-general] How to get the status of http

2011-05-23 Thread Qiannan Zhang
status = page_status("http://www.yourURL.com";) > > # Printing response class and status. > > puts res_class=status[:name] > puts stat=status[:code] > > > > On Sat, May 21, 2011 at 9:25 PM, Qiannan Zhang wrote: > >> Hi, all >> I need help, i do not know

[wtr-general] How to get the status of http

2011-05-21 Thread Qiannan Zhang
Hi, all I need help, i do not know how to get the status of http, is there anyone know how to do? thanks -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+u

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-30 Thread Qiannan Zhang
-1.6.5/lib/watir/element.rb:119 :in `text' from (irb):9 2010/8/27 Željko Filipin > On Fri, Aug 27, 2010 at 3:42 AM, Qiannan Zhang > wrote: > > that is my script > > Well, I said "IRB session with the fewest steps that still reproduces the > problem", not th

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-27 Thread Qiannan Zhang
I am sorry i do not what is irb session, where can i find it ? 2010/8/27 Željko Filipin > On Fri, Aug 27, 2010 at 3:42 AM, Qiannan Zhang > wrote: > > that is my script > > Well, I said "IRB session with the fewest steps that still reproduces the > problem", not

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
Right now i sended a email to you, that is my script, i do not know where are you,but i think you can run my script, but our exterenal is very slow, sometimes the script maybe wrong for other reason. Thank you very much 2010/8/27 Qiannan Zhang > require 'rubygems' > require &

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
") # end end def test_clothshop @@ie.image(:src,"http://www.gamexiu.com/images/clothshop_small.gif ").click sleep 5 #...@fram_cloth=@@ie.frame(:src," http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex";).html.body #...@font_message=@fr

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
Yes, i know, i will send my script to you tomorrow, can you give me your another email address ? 2010/8/26 Željko Filipin > On Thu, Aug 26, 2010 at 12:01 PM, Qiannan Zhang > wrote: > > I tried to your suggest, but still have that error > > If you want further help from me

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
I tried to your suggest, but still have that error It is very sad, 2010/8/26 Željko Filipin > On Thu, Aug 26, 2010 at 11:34 AM, Qiannan Zhang > wrote: > > @fram_cloth=@@ie.frame(:src," > http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex > ").h

Re: [wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
MarketPlace.rb:68:in `test_clothshop' 1 tests, 1 assertions, 0 failures, 1 errors 2010/8/26 Željko Filipin > On Thu, Aug 26, 2010 at 9:21 AM, Qiannan Zhang > wrote: > > Does anyone know how to resolve the problem "undefined method `document' > for nil:N

[wtr-general] undefined method `document' for nil:NilClass

2010-08-26 Thread Qiannan Zhang
Does anyone know how to resolve the problem "undefined method `document' for nil:NilClass", why does this error occur ? and what does that mean ? Now, i want to test website which include many iframe, and i did something to resolve "access denied" problem, then "undefined method `document' for nil

Re: [wtr-general] can uninstall software from "add or remove programs" by using watir

2010-08-04 Thread Qiannan Zhang
much 2010/8/4 Željko Filipin > On Wed, Aug 4, 2010 at 11:58 AM, Qiannan Zhang > wrote: > > i am sorry, the link you gave me is not usable > > can you give me another one ? > > I do not know what is wrong with the link. I said: > > This is Watir support group.

Re: [wtr-general] can uninstall software from "add or remove programs" by using watir

2010-08-04 Thread Qiannan Zhang
i am sorry, the link you gave me is not usable can you give me another one ? thank you so much 2010/8/4 Željko Filipin > On Wed, Aug 4, 2010 at 11:52 AM, Qiannan Zhang > wrote: > > but i did not receive any feedback > > Here it is: > > > http://groups.goo

Re: [wtr-general] can uninstall software from "add or remove programs" by using watir

2010-08-04 Thread Qiannan Zhang
but i did not receive any feedback 2010/8/4 Željko Filipin > On Wed, Aug 4, 2010 at 11:41 AM, Qiannan Zhang > wrote: > > Is anyone can tell how to use watir to uninstall software from "add or > remove programs" ? > > I have already answered in another thread. >

[wtr-general] can uninstall software from "add or remove programs" by using watir

2010-08-04 Thread Qiannan Zhang
Is anyone can tell how to use watir to uninstall software from "add or remove programs" ? need someone help me -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/gr

[wtr-general] can uninstall software from "add or remove programs" by using ruby

2010-08-04 Thread Qiannan Zhang
Is anyone can tell how to use ruby to uninstall software from "add or remove programs" ? need someone help me thank you -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.g

[wtr-general] Re: why do i have this error message by using xpath in watir

2009-11-17 Thread Qiannan Zhang
Yes, the script can go with no wrong or warning message, thank you very much 2009/11/18 jnxgn > > place following in the begin of your scripts: > > require "win32ole" > WIN32OLE.codepage = WIN32OLE::CP_UTF8 > > > pleas refer to myblog: > http://www.sdgz.cn/watirzai-zhong-wen-huan-jing-xia-shi-yo

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Qiannan Zhang
her's have done - > searching through this group for ci_reporter may also pick up a few > pointers > > Trevor > > On 28 Oct, 10:04, Qiannan Zhang wrote: > > How to display the test results from xml to html? > > \(^o^)/~ > > Thanks for reading my question. &g

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Qiannan Zhang
that this group is about Watir, not ci_reporter - if you have questions > about using watir with ci_reporter, there are those who may be able to help, > but if you just know nothing about ci_reporter and want to learn about it, > you are in the wrong place. > > > On Wed, Oct 28, 2

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Qiannan Zhang
How to display the test results from xml to html? \(^o^)/~ Thanks for reading my question. On Wed, Oct 28, 2009 at 4:57 PM, Qiannan Zhang wrote: > I already saw those web pages that google searched, but those pages are an > example or a question, none of those can resolve my question.I a

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Qiannan Zhang
Wed, Oct 28, 2009 at 9:36 AM, Qiannan Zhang > wrote: > > But i do not want that.i want some more detail > information about ci_reporter > > And we are supposed to read your mind? What would you like to know? Isn't > that already answered on one of the pa

[wtr-general] Re: About ci_reporter

2009-10-28 Thread Qiannan Zhang
so clever you are.But i do not want that.i want some more detail information about ci_reporter On Wed, Oct 28, 2009 at 4:31 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Wed, Oct 28, 2009 at 8:26 AM, Capricorn wrote: > > Does anyone can tell me what is ci_reporter > > http://ww

[wtr-general] Re: About php language and watir

2009-10-20 Thread Qiannan Zhang
thank you very much [?][?][?][?][?][?][?][?][?][?][?][?][?] On Tue, Oct 20, 2009 at 4:24 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Tue, Oct 20, 2009 at 10:18 AM, Capricorn wrote: > > I want to know if there have some link which can teach me how can i > > interact with php

[wtr-general] Re: How to verify the "Success!" or "Failed" is display?

2009-10-16 Thread Qiannan Zhang
Thank you for your help, i will read the page which you send to me. On Fri, Oct 16, 2009 at 4:18 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > On Fri, Oct 16, 2009 at 10:06 AM, Capricorn wrote: > > Hi,everyone, i want to verify the "Success!" or "Failed!" text is > > displayed a