[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

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

2010-08-26 Thread Željko Filipin
2010/8/25 Ethan notet...@gmail.com I think it's a good time for jssh to die +1 Željko -- 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/group/watir-general To

Re: [wtr-general] Re: More than one condition

2010-08-26 Thread Željko Filipin
On Wed, Aug 25, 2010 at 7:10 PM, Chuck van der Linden sqa...@gmail.com wrote: Watir presumes valid html I think this is not true. Watir does not care if HTML is valid or not. It will just pick the first element that has the attribute you have provided. Željko -- Before posting, please read

Re: [wtr-general] Re: clicking a certain radio button with a specific value

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 2:31 AM, orde ohil...@gmail.com wrote: This page lists the supported attributes for each HTML element: http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir And there is also a page on radio buttons: http://wiki.openqa.org/display/WTR/Radio+Buttons Željko

Re: [wtr-general] watir which version of ruby is the best one

2010-08-26 Thread Željko Filipin
2010/8/26 Rajiv Nanduani rajivkumarnandv...@gmail.com but with this version( Ruby 1.8.6-26) gem install libxml gives error. And I am supposed to guess the error message? :) Please provide it. Also, you should update rubygems with gem update --system Željko -- Before posting, please read

Re: [wtr-general] in `gem_original_require': no such file to load -- win32screenshot (MissingSourceFile)

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 7:50 AM, Rajiv Nanduani rajivkumarnandv...@gmail.com wrote: i try to install the oci8 by using this steps but it did not work Again, how is this related to Watir? If this is general Ruby question, you will get better replies at a Ruby list/forum/group. I do not know

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

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 9:21 AM, Qiannan Zhang qian...@ecitysky.com wrote: Does anyone know how to resolve the problem undefined method `document' for nil:NilClass Please provide the code that causes the error. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com -

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

2010-08-26 Thread Qiannan Zhang
@fram_cloth=@@ie.frame(:src, http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex;).html.body @font_messa...@fram_cloth.div(:class,shop_title\sw500).text puts @font_message 1) Error: test_clothshop(MarketPlace): NoMethodError: undefined method `document' for

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

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 11:34 AM, Qiannan Zhang qian...@ecitysky.com wrote: @fram_cloth=@@ie.frame(:src, http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex;).html.body @font_messa...@fram_cloth.div(:class,shop_title\sw500).text puts @font_message Try this: puts

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 zeljko.fili...@wa-research.ch On Thu, Aug 26, 2010 at 11:34 AM, Qiannan Zhang qian...@ecitysky.com wrote: @fram_cloth=@@ie.frame(:src,

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

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 12:01 PM, Qiannan Zhang qian...@ecitysky.com wrote: I tried to your suggest, but still have that error If you want further help from me, you will have to paste IRB* session with the fewest steps that still reproduces the problem. Željko -- *

Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir

2010-08-26 Thread Željko Filipin
I am glad to see new questions posted to Stack Overflow almost every day: http://stackoverflow.com/questions/3573272/undefined-method-document-for-nilnilclass http://stackoverflow.com/questions/3570359/automating-a-form-post-in-firefox Željko -- Before posting, please read

Re: [wtr-general] PopUp

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 12:29 PM, sivam sivamma...@gmail.com wrote: I am getting problem while handling security alert. Is there any way to handle this pop ups using ruby watir. Yes: http://wiki.openqa.org/display/WTR/Pop+Ups Željko -- watir.com - community manager watirpodcast.com - host

[wtr-general] Re: PopUp

2010-08-26 Thread sivam
Give me some code samples to solve this problem. I have tried most of the things. But nothing is working fine for 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

Re: [wtr-general] Re: PopUp

2010-08-26 Thread Željko Filipin
On Thu, Aug 26, 2010 at 12:45 PM, sivam sivamma...@gmail.com wrote: Give me some code samples to solve this problem. I have never worked with pop ups. I have tried most of the things. But nothing is working fine for me. Not working does not tell my anything. You will have to provide your

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

2010-08-26 Thread Angrez Singh
I think it's a good time for jssh to die +1 I'll try other alternatives. -- 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/group/watir-general To post:

[wtr-general] Watir Podcast #36: Jarmo Pertman

2010-08-26 Thread Željko Filipin
http://watirpodcast.com/36-jarmo-pertman/ Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support.

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

2010-08-26 Thread Charley Baker
+1, this is exactly why we ended up getting involved in the webdriver project. It's a chore to compile the extension for all available platforms. In checking the alternatives, some of which Ethan mentioned, webdriver seemed the most reasonable approach. On Thu, Aug 26, 2010 at 6:23 AM, Angrez

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 zeljko.fili...@wa-research.ch On Thu, Aug 26, 2010 at 12:01 PM, Qiannan Zhang qian...@ecitysky.com wrote: I tried to your suggest, but still have that error If you

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

2010-08-26 Thread Željko Filipin
2010/8/26 Qiannan Zhang qian...@ecitysky.com can you give me your another email address ? Why? Post you script here. If it can not be public I can not help you. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this

[wtr-general] Re: clicking a certain radio button with a specific value

2010-08-26 Thread lawcab
Thank you everyone. They all helped! Cheers, Law On Aug 26, 1:51 am, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Aug 26, 2010 at 2:31 AM, orde ohil...@gmail.com wrote: This page lists the supported attributes for each HTML element:

Re: [wtr-general] Re: More than one condition

2010-08-26 Thread Ethan
True. In fact I believe watir even has unit tests to make sure it works with multiple identical IDs despite that being quite invalid html. On Thu, Aug 26, 2010 at 04:50, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Aug 25, 2010 at 7:10 PM, Chuck van der Linden sqa...@gmail.com

[wtr-general] Re: More than one condition

2010-08-26 Thread Chuck van der Linden
On Aug 25, 1:44 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote: I will give you exact examples: I want to click on this html tag: a href=/c2p/imperativeMain.do?navTrailRequired=falseamp;id=1 class=linkList onmouseover=TagToTip('ID_SPAN_CONTEXT_NOTE__1', WIDTH, -240, SHADOW, true,

[wtr-general] scheduling tasks for watir suite

2010-08-26 Thread nix
Hello I've read many discussions on scheduling a task for watir suite but Iam not able to find the exact solution. If any one can help me understanding of how to create a schedule task for my watir suite. Thanks... Nix -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Regression in watir

2010-08-26 Thread amrit kaur
Hi thanks for your responses. I'v read sections Test ::Unit and Rspec and I managed to run my tests in a sequence by creating a test suite. But Iam not able to create a batch file for these suites. Also, I've read all the topics on watir-general but it has not resolved my problem. If any one can

[wtr-general] JIRA tickets for Watir

2010-08-26 Thread Charley Baker
Hi all, I'm taking a quick swipe through the JIRA tickets on Watir, Please feel free to take this time to update, add or vote up tickets. This is my first quick pass through a lot of tickets, I'll be refining as I go along. Here's our JIRA instance for bugs and features, please sign up for an

Re: [wtr-general] JIRA tickets for Watir

2010-08-26 Thread Basim Baassiri
If you are creating a ticket, please see http://wiki.openqa.org/display/WTR/Create+Jira+Ticket http://wiki.openqa.org/display/WTR/Create+Jira+TicketBasim 2010/8/26 Charley Baker charley.ba...@gmail.com Hi all, I'm taking a quick swipe through the JIRA tickets on Watir, Please feel free to

Re: [wtr-general] scheduling tasks for watir suite

2010-08-26 Thread Felipe Knorr Kuhn
If you are using Windows, you could use Task Scheduler. If you are using Linux, you could use crontab. If you want to use just Ruby, check http://rufus.rubyforge.org/rufus-scheduler/ out FK On Thu, Aug 26, 2010 at 3:26 PM, nix amritd...@gmail.com wrote: Hello I've read many discussions on

Re: [wtr-general] scheduling tasks for watir suite

2010-08-26 Thread Charley Baker
You might want to look into continuous integration, google for that and cc.rb, run your own server, steal an unused box and run it on there :). That's the simple answer. -c On Thu, Aug 26, 2010 at 12:26 PM, nix amritd...@gmail.com wrote: Hello I've read many discussions on scheduling a task

Re: [wtr-general] JIRA tickets for Watir

2010-08-26 Thread Charley Baker
True, thanks for the link. :) Cheers Charley Baker Lead Developer, Watir, http://watir.com 2010/8/26 Basim Baassiri ba...@baassiri.ca If you are creating a ticket, please see http://wiki.openqa.org/display/WTR/Create+Jira+Ticket http://wiki.openqa.org/display/WTR/Create+Jira+TicketBasim

[wtr-general] Re: in `gem_original_require': no such file to load -- win32screenshot (MissingSourceFile)

2010-08-26 Thread Jarmo Pertman
Despite of the fact that this is not a Watir's question obviously and you haven't shown us your source, you need to require 'win32/ screenshot' instead of 'win32screenshot'. Jarmo Pertman - IT does really matter - http://www.itreallymatters.net On Aug 26, 11:56 am, Željko Filipin

Re: [wtr-general] scheduling tasks for watir suite

2010-08-26 Thread Felipe Knorr Kuhn
That's a good option as well :) Since you touched that topic, I would also recommend Hudson [1] and the Ruby Plugin [2] which allows you to run ruby code as task. [1] http://www.hudson-ci.org/ [2] http://wiki.hudson-ci.org/display/HUDSON/Ruby+Plugin FK On Thu, Aug 26, 2010 at 4:58 PM, Charley

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

2010-08-26 Thread Super Kevy
OK assuming JSSH getting depreciated. I'll need to review webdriver can you link me to that information. I assume the site will have some simple examples for launching each browser Yes when JSSH fails its kind of a pain or just plain computer magic to get it working again. -- Before posting,

Re: [wtr-general] Regression in watir

2010-08-26 Thread Charley Baker
I don't know what you want from your batch file or what run your tests in sequence means. Maybe you can back up a bit say what you're trying to do - in detail. Also curious what you got from reading Test::Unit and Rspec, total curiosity. Charley Baker Lead Developer, Watir, http://watir.com

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 qian...@ecitysky.com require 'rubygems' require