[wtr-general] undefined method `document' for nil:NilClass
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:NilClass occured, i did not know why, but my friend told to me this problem occured aslo because frame access denied, -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Jssh for Firefox 4.0 beta3
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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: More than one condition
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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: clicking a certain radio button with a specific value
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 -- 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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] watir which version of ruby is the best one
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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] in `gem_original_require': no such file to load -- win32screenshot (MissingSourceFile)
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 what oci8 is, but you could ask at their support list. Ž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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 - 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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
@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 nil:NilClass c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/frame.rb:52:in `document' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/page-container.rb:31:in `page' c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/page-container.rb:37:in `html' MarketPlace.rb:68:in `test_clothshop' 1 tests, 1 assertions, 0 failures, 1 errors 2010/8/26 Željko Filipin zeljko.fili...@wa-research.ch 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 - 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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 @@ie.frame(:src, http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex ).div(:class,shop_title\sw500).text Ž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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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, 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 @@ie.frame(:src, http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex ).div(:class,shop_title\sw500).text Ž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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 -- * http://en.wikipedia.org/wiki/Interactive_Ruby_Shell -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: Recent Stack Overflow Questions Tagged Watir
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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] PopUp
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 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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: PopUp
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 http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: PopUp
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 code and error messages. Ž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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Jssh for Firefox 4.0 beta3
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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Watir Podcast #36: Jarmo Pertman
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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Jssh for Firefox 4.0 beta3
+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 Singh ang...@gmail.com wrote: 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 want further help from me, you will have to paste IRB* session with the fewest steps that still reproduces the problem. Željko -- * http://en.wikipedia.org/wiki/Interactive_Ruby_Shell -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: clicking a certain radio button with a specific value
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: 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 -- 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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Re: More than one condition
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 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 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: More than one condition
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, BORDERCOLOR, '#e9e1c5', FONTCOLOR, '#99', BGCOLOR, '#c0', STICKY, true, FONTFACE, 'verdana, arial, helvetica', FONTSIZE, '11px', CLICKCLOSE, true); onmouseout=UnTip();Source: font class=supporting[Pending] /fontbSS very long name imperative /b/a The link that will lead me to a dead end its html is: a onclick=pageTracker._trackEvent('Recently visited', 'Recently visited - Source', 'belt;scriptgt;alert( c...');= title=belt;scriptgt;alert( copy)lt;= scriptgt;?= href=/c2p/imperativeMain.do?navTrailRequired=falseamp;id=262span class=breadcrumb_gray(Source) /spanbelt;scriptgt;alert(C.../a For clicking on each of them I will do with watir: ie.link(:url,/imperativeMain.*do.*?navTrailRequired=/).click Unless I'm mis-reading, the first link has Class=linkList, and the second one has no class defined. SO why not just select according to class url instead of URL alone? ie.link(:class = linkList, :url = /imperativeMain.*do.*? navTrailRequired=/).click Alternatively, it does look to me like the text displayed for each link is slightly different.. so I'm wondering if selecting via some portion of the link text might also work. Also just to be clear, you don't have HTML ID's in there at all. The only ID values I see are unique to your website code and are a part of the URL querystring, not HTML tag attributes. So all the discussion of selecting by ID etc is pretty much a moot point -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] scheduling tasks for watir suite
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 before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Regression in watir
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 give an example of how to create a batch ,add a watir script and then run a batch file. Thanks very much Nix On Tue, Aug 24, 2010 at 9:27 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Aug 18, 2010 at 5:31 PM, nix amritd...@gmail.com wrote: Iam new to watir and would like to maintain regression tests. After you read the tutorial, take a look at this too: http://watir.com/ Ž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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] JIRA tickets for Watir
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 account if you haven't already, and after seeing what's there, upvote issues or add your own if they don't currently exist: http://jira.openqa.org/browse/WTR Cheers, Charley Baker Lead Developer, Watir, http://watir.com On Thu, Aug 26, 2010 at 12:33 PM, Chuck van der Linden sqa...@gmail.comwrote: That might be a recent change then.. it used to be that if you selected by ID, you got the first thing (maybe even not same element type) that matched the ID..) For a lot of other things, when there's more than one possible choice, don't we get a different error? On Aug 26, 7:58 am, Ethan notet...@gmail.com wrote: 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 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 readhttp://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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com watir-general%2bunsubscr...@goog legroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] JIRA tickets for Watir
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 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 account if you haven't already, and after seeing what's there, upvote issues or add your own if they don't currently exist: http://jira.openqa.org/browse/WTR Cheers, Charley Baker Lead Developer, Watir, http://watir.com On Thu, Aug 26, 2010 at 12:33 PM, Chuck van der Linden sqa...@gmail.comwrote: That might be a recent change then.. it used to be that if you selected by ID, you got the first thing (maybe even not same element type) that matched the ID..) For a lot of other things, when there's more than one possible choice, don't we get a different error? On Aug 26, 7:58 am, Ethan notet...@gmail.com wrote: 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 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 readhttp://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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com watir-general%2bunsubscr...@goog legroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] scheduling tasks for watir suite
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 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 before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] scheduling tasks for watir suite
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 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 before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] JIRA tickets for Watir
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 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 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 account if you haven't already, and after seeing what's there, upvote issues or add your own if they don't currently exist: http://jira.openqa.org/browse/WTR Cheers, Charley Baker Lead Developer, Watir, http://watir.com On Thu, Aug 26, 2010 at 12:33 PM, Chuck van der Linden sqa...@gmail.comwrote: That might be a recent change then.. it used to be that if you selected by ID, you got the first thing (maybe even not same element type) that matched the ID..) For a lot of other things, when there's more than one possible choice, don't we get a different error? On Aug 26, 7:58 am, Ethan notet...@gmail.com wrote: 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 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 readhttp://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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com watir-general%2bunsubscr...@goog legroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: in `gem_original_require': no such file to load -- win32screenshot (MissingSourceFile)
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 zeljko.fili...@wa-research.ch wrote: 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 what oci8 is, but you could ask at their support list. Ž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 post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] scheduling tasks for watir suite
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 Baker charley.ba...@gmail.comwrote: 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 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 before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
[wtr-general] Re: Jssh for Firefox 4.0 beta3
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, 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Regression in watir
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 2010/8/26 amrit kaur amritd...@gmail.com 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 give an example of how to create a batch ,add a watir script and then run a batch file. Thanks very much Nix On Tue, Aug 24, 2010 at 9:27 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Wed, Aug 18, 2010 at 5:31 PM, nix amritd...@gmail.com wrote: Iam new to watir and would like to maintain regression tests. After you read the tutorial, take a look at this too: http://watir.com/ Ž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. 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] undefined method `document' for nil:NilClass
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 'watir' require 'win32ole' require 'test/unit' require 'jcode' $KCODE='e' require 'watir/cookiemanager' require watir/watir_simple require 'fileutils' require 'watir/winClicker.rb' require 'watir/win32ole' require 'Win32API' require 'mysql' class MarketPlace Test::Unit::TestCase @@user_money=game...@11.com @@default_password=123456 @@clothshop=装扮商城 @@furniture=家具商城 @@ie_site=www.gamexiu.com @@ie=Watir::IE.new @@ie.goto @@ie_site @@ie.maximize @@ie.text_field(:id,GXFrontpageLoginForm_username).set(#{@@user_money}) @@ie.text_field(:id,GXFrontpageLoginForm_password).set(#{@@default_password}) @@ie.button(:id,login).click sleep 20 def teardown Watir::CookieManager::WatirHelper.deleteSpecialFolderContents(Watir::CookieManager::WatirHelper::COOKIES) @temp_file=C:\\Documents\sand\sSettings\\capricorn\\Local\sSettings\\Temporary\sInternet\sFiles FileUtils.rm_rf #...@temp_file} #@@ie.close @case_name=name #...@error_count=test::Unit::TestResult.error_count() # if @error_count # @@mysql.query(insert into #{@@mysql_table_results} vaules('#...@case_name}','Failure','#{add_error()}')) # 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=@fram_cloth.div(:class,shop_title\sw500).text #puts @font_message puts @@ie.frame(:src, http://web1.beijing.ecitysky.com/yii/market/market/ClothesIndex ).div(:class,shop_title\sw500).text end end 2010/8/26 Željko Filipin zeljko.fili...@wa-research.ch 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 message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- 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: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com