Re: [wtr-general] Re: Switching between watir and webdriver

2012-12-06 Thread bis
What are the actual errors if you are using xpath there could be problems with that if they are timeouts it would be a different error Without an actual error especially since they are intermittent the best I could offer you is to bump the implicit wait for only ie and see if this helps Sent

Re: [wtr-general] [ruby watir cucumber] text assertions

2012-10-18 Thread bis
Yes, first You are doing an assertion in a when (in cucumber when is more for changing state) Second by ie.text I assume you are checking all of the text of the page better to locate the exact text location Can you give us more info on what you want to do Sent from my iPhone On Oct 18,

Re: [wtr-general] Re: Update chromedriver

2012-08-15 Thread bis
Try doing Which chromedriver and it should give you the path To where your chrome driver is Sent from my iPhone On Aug 15, 2012, at 1:39 PM, Joe Fl joeflec...@gmail.com wrote: Hi, Has anyone run into this before? Any help wonder be appreciated. Thank you, Joe On Monday, August 6,

Re: [wtr-general] Using single watir script to test chrome/ff/ie

2012-04-18 Thread bis
That won't work as easily as that because not all browsers take :switches It will fail when you try to run the browser as anything other than chrome also in order to run it for the different browsers you would need to edit the fire probably better to set up an environment variable so you can

Re: [wtr-general] DOM Object's offsetHeight

2012-04-12 Thread bis
I think you can do .attribute_value(the attribute you want returned) Sent from my iPhone On Apr 12, 2012, at 9:52 AM, Abe Heward abe.hew...@gmail.com wrote: Is there way to use watir-webdriver to get the offsetHeight value of a DOM object? I've got a set of elements that will become

Re: [wtr-general] Re: Page Objects and Cucumber charity workshop live streaming!

2012-03-22 Thread bis
I don't know if there is a quick reference for actual page objects what you are doing is defining and adding Sent from my iPhone On Mar 22, 2012, at 3:41 PM, annemordk...@gmail.com wrote: Is the page objects quick reference available online somewhere? Anne On , Željko Filipin

Re: [wtr-general] strange taza error on windows 7

2012-02-03 Thread bis
Are you using the bundler gem? I have not seen this before and i just did a fresh install on a windows 7 box rake 0.9.2.2 taza 0.9.1.2 On Fri, Feb 3, 2012 at 7:30 PM, hillary weimar1...@gmail.com wrote: I run my test suite on two environments xp and win7. Everything is running fine on xp,

Re: [wtr-general] strange taza error on windows 7

2012-02-03 Thread bis
maybe look at where you are requiring taza I just did 2 installs on windows 7 vm's 1.9.2 and 1.9.3 with rubygems version 1.8.15 and they both worked for me On Fri, Feb 3, 2012 at 8:10 PM, hillary weimar1...@gmail.com wrote: i am not. I'm really confused too. It was working on win7 just before

Re: [wtr-general] Re: Checking whether the text in the password field is masked or not

2012-02-02 Thread bis
sikuli might work for you On Thu, Feb 2, 2012 at 2:05 PM, Eric Mathiesen mathiese...@gmail.comwrote: It is out of scope, that's why I recomended a manual verification of the condition under test. I don't think any of the commercial products (quick test pro, silk, etc...) have this

Re: [wtr-general] Extend watir

2012-01-26 Thread bis
https://github.com/90kts/watirgrid On Sun, Jan 22, 2012 at 4:55 PM, cody cody codystreetfigh...@gmail.comwrote: Please Excuse me since I am a ruby novice, but I wanted to create a simple ruby class (possibly a gem) which will allow you to run parallel watir-webdriver tests with the different

Re: [wtr-general] Testing a Table being populated by a data base

2012-01-26 Thread bis
well seeing as how that looks like code for a select @@browser.select_list(:id = fselectuser).select 12345 but thats just going off of the html that was there and barely reading the email http://watir.com/examples/ On Sat, Jan 14, 2012 at 7:42 AM, Joe Fleck j-fl...@sbcglobal.net wrote: Hi

Re: [wtr-general] problem with radio button after upgrade

2012-01-26 Thread bis
http://watir.com/examples/ :) On Thu, Jan 26, 2012 at 6:40 PM, Željko Filipin zeljko.fili...@gmail.comwrote: On Thu, Jan 26, 2012 at 5:09 PM, Lisa Crispin lisa.cris...@gmail.com wrote: Then I realized this page I found that looks like such nice doc is for the old Watir. Does that not exist

Re: [wtr-general] Re: Watir-webdriver seeing a null style attribute as display: none;

2012-01-18 Thread bis
Is there any documentation about the hover method? i just went looking (its pretty exciting for me) and i could not find it in the docs On Wed, Jan 18, 2012 at 5:17 PM, Chuck van der Linden sqa...@gmail.comwrote: I would use a developer tool to backtrace the CSS rules for that element. The

Re: [wtr-general] clicking multi links with same attribut

2012-01-08 Thread bis
could you explain this a bit better maybe she an example in code of what the html you are tying to work with looks like On Sun, Jan 8, 2012 at 10:40 PM, prabhi kumar prabhian...@gmail.com wrote: i have a webpage with many number of ul containing many number of li. problem is i need to click

Re: [wtr-general] Upgrading anxiety

2011-12-29 Thread bis
I think the only way you will now what the actual pain to upgrade to the newest version is is to actually upgrade. in saying that Why not make a clone of the current repository on a different machine or a VM install ruby on that vm(other machine) and all the gems you need and let her rip then try

Re: [wtr-general] Re: I need to retrieve multiple span class=discussion-title

2011-12-20 Thread bis
I am pretty sure you can just do b.divs(:class = 'formError') should collect all the divs with that class On Tue, Dec 20, 2011 at 10:51 AM, Joe Fl joeflec...@gmail.com wrote: Hi, I want to retrieve the text listed in the alert class listed below. div class=alert div

Re: [wtr-general] Re: Strange NoMethod Error for my Module

2011-12-15 Thread bis
There are a few different gems that help with page objects that are a bit easier to use. you might want to take a look at all of them and see which works best for you or build your own which is a lot easier than it sounds. On Thu, Dec 15, 2011 at 6:59 AM, Abe Heward abe.hew...@gmail.com wrote:

Re: [wtr-general] Re: Strange NoMethod Error for my Module

2011-12-15 Thread bis
I personally like Taza :) its pretty easy to set up and relatively painless to use. https://github.com/hammernight/taza It does do a lot of the magic of wiring things together for you so you can just plug in the objects you want to interact with an example of how its used is here

Re: [wtr-general] Re: Strange NoMethod Error for my Module

2011-12-15 Thread bis
you need in the project I am currently working thats how I did it By the way I am Oscar depending on what email address I respond from it shows Bis or Oscar even tho i have them all set to Oscar lol i need to learn2gmail i guess I have a partials page set up On Thu, Dec 15, 2011 at 11:23 AM

Re: [wtr-general] webdriver - find a window

2011-12-07 Thread bis
https://github.com/jarib/watirspec/blob/watir2/window_switching_spec.rb I have not messed with this but as soon as i get a chance ill write something up On Wed, Dec 7, 2011 at 12:53 PM, hillary weimar1...@gmail.com wrote: Is there a webdriver equivalent to window.find in watir? I'm trying to

Re: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread bis
well basically what you are trying to do with the gem is this driver.execute_script(return window.performance || window.webkitPerformance || window.mozPerformance || window.msPerformance;) and some formatting to give you the methods... and what it looks like is that the browser is not allowing

Re: [wtr-general] Export entire html table to a text document

2011-12-01 Thread bis
To me that sounds like a lot of extra work what happens once it is in an excel? Why would putting it in an excel be better than asserting it all within the test itself So I'll go ahead and ask some questions first. Will it happen more than once validating the excel? What sort of data is in the

Re: [wtr-general] Re: Get the DOM

2011-11-29 Thread bis
to me this sounds a bit confusing. so i have a few questions server 1 is in env A server 2 is in env B can i assume one is a test env and one is a prod so if i assume that then in production env there might be extra tags, analytics, image tagging for search features and stuff like that. so the

Re: [wtr-general] Re: Get the DOM

2011-11-29 Thread bis
, that I need to do is a smoke test, Are the both pages exactly the same? At the time that both are loaded, are they using the same code? El 29 de noviembre de 2011 17:39, bis bis...@gmail.com escribió: to me this sounds a bit confusing. so i have a few questions server 1 is in env

Re: [wtr-general] Can you run Watir on an Ipad?

2011-11-21 Thread bis
iphonedriver is not bad at all i have used it on a few projects. you just have to use it with selenium-webdriver On Mon, Nov 21, 2011 at 7:26 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Nov 21, 2011 at 3:07 PM, Patrick patrick.rawli...@gmail.com wrote:  I guess I'm wondering

Re: [wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread bis
I think he meant running them against an iphone/ipad either device or simulator this can be done with iphonedriver. we actually messed around with trying to actually get watir-webdriver and the iphonedriver to work together but it seems that watir-webdriver can launch the browser and go to the

Re: [wtr-general] Re: Can you run Watir on an Ipad?

2011-11-21 Thread bis
.  (although I agree for testing purposes, the emulator approach is most likely best. ) It would be interesting to figure out why the iphonedriver doesn't work with watir-webdriver once it gets to the webpage.  (what webpage is it going to?) On Nov 21, 10:55 am, bis bis...@gmail.com wrote: I

Re: [wtr-general] Watir vs Watir Web-driver

2011-11-18 Thread bis
I am pretty sure there is no longer support for safari with webdriver but yeah you can use watir-webdriver to drive just about any browser even iphone and android On Fri, Nov 18, 2011 at 8:35 AM, Cassiano Leal cassianol...@gmail.com wrote: On Fri 18 Nov 2011 11:49:08 AM BRST, Željko Filipin

Re: [wtr-general] Re: Watir vs Watir Web-driver

2011-11-18 Thread bis
for most of us when it comes to what platforms to automate against. On Nov 18, 9:01 am, bis bis...@gmail.com wrote: I am pretty sure there is no longer support for safari with webdriver but yeah you can use watir-webdriver to drive just about any browser even iphone and android On Fri, Nov

Re: [wtr-general] Re: Watir vs Watir Web-driver

2011-11-18 Thread bis
RemoteWebDriver(executor, capabilities); On Fri, Nov 18, 2011 at 1:38 PM, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Fri, Nov 18, 2011 at 9:06 PM, bis bis...@gmail.com wrote: but in theory you could use webdriver backed selenium to hit safari Could you share the code how to do it? Željko

Re: [wtr-general] Re: Watir vs Watir Web-driver

2011-11-18 Thread bis
/DesiredCapabilities.html 2011/11/18 John Fitisoff jfitis...@yahoo.com: Capabilities capabilities = new DesiredCapabilities() I'm guessing that this line has something to do with capabilities... :-) From: bis bis...@gmail.com To: watir-general@googlegroups.com

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-11-07 Thread bis
: ah. So you can run either the cucumber part or the taza part? So potentially I couldn't write specs and then cucumber half would still run? On Thu, Sep 29, 2011 at 9:19 PM, bis bis...@gmail.com wrote: if you look at the whole thing the idea is the page objects the cucumber features use

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-11-07 Thread bis
until 1.9.x is supported. k. I'll add that line. It's to the taza gemfile correct? I do really like the framework, so i hope it you come to a decision soonish. On Mon, Nov 7, 2011 at 9:47 AM, bis bis...@gmail.com wrote: well we are actively working on the Hammernight branch of taza(which

Re: [wtr-general] Click text_field so Submit button displays

2011-11-02 Thread bis
can you just throw a click at the element and then wait for the element to be displayed something to the effect of click the comment field when_present.set the text for the comment. On Wed, Nov 2, 2011 at 10:42 AM, Joe Fleck joeflec...@gmail.com wrote: Here is the Html: div input

Re: [wtr-general] Novice question

2011-10-24 Thread bis
I am not sure i understand this question but if you are using page objects then module Site class OrderPage ::Taza::Page (only if you are using taza generally this would be ' BasePage' or however your page objects are set up) element(:promo_code) { browser.text_field(:id,

Re: [wtr-general] ANNOUNCING WHIRWIND: cucumber + watir-webdriver + best practices

2011-10-24 Thread bis
you misspelled whirlwind in the subject but I'll check it out but it looks like a lot more work to get it running right On Mon, Oct 24, 2011 at 3:08 PM, Cliff Cyphers cliff.cyph...@gmail.com wrote: What is whirlwind?  It adds a few aspects to cucumber, rspec and watir, resulting in sensible

Re: [wtr-general] Re: Strangeness with watir and IE or I may be missing something.

2011-10-18 Thread bis
, 4:39 pm, bis bis...@gmail.com wrote: its still there just a bit odd, watir clicks on the drop down ( the one with handmade, vintage, and supplies) but it does not open it one and select one of the items. if you look in my original example at the beginning of this thread it does click open

Re: [wtr-general] Re: Strangeness with watir and IE or I may be missing something.

2011-10-18 Thread bis
@Jarmo your solution deals with the text box dropdown that appears when you start typing in the box my problem is with the dropdown box to the left of that where you can change the area of the site to perform the search in. On Tue, Oct 18, 2011 at 2:04 PM, bis bis...@gmail.com wrote: both

Re: [wtr-general] Not able to open a chrome browser

2011-10-14 Thread bis
http://code.google.com/p/selenium/wiki/ChromeDriver On Fri, Oct 14, 2011 at 3:57 PM, Babu suvodasgu...@gmail.com wrote: hi my code is : require 'rubygems' require 'watir-webdriver browser1 = Watir::Browser.new :firefox browser2 = Watir::Browser.new :ie browser2 = Watir::Browser.new :chrome

Re: [wtr-general] Re: Firefox not able to open through Watir

2011-10-12 Thread bis
yes watir-webdriver is based of of watir you should have access to all the methods supported by elements http://pettichord.com/watirtutorial/docs/watir_cheat_sheet/WTR/Methods%20supported%20by%20Element.html On Wed, Oct 12, 2011 at 9:14 PM, Babu suvodasgu...@gmail.com wrote: i was wrong.. i

Re: [wtr-general] Re: Strangeness with watir and IE or I may be missing something.

2011-10-10 Thread bis
Etsy may use to prevent or restrict access to Etsy On Oct 3, 10:27 am, bis bis...@gmail.com wrote: Ok, So I came across a strange issue clicking on this drop down in watir. but I don't get the same thing using watir-webdriver. I can click the button and it should open the drop down(list

[wtr-general] Strangeness with watir and IE or I may be missing something.

2011-10-03 Thread bis
Ok, So I came across a strange issue clicking on this drop down in watir. but I don't get the same thing using watir-webdriver. I can click the button and it should open the drop down(list) and I should be able to click on one of the items in that list. but when watir fires the click i see it

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-09-29 Thread bis
If i was using ruby 1.9.1? On Thu, Sep 29, 2011 at 6:40 PM, bis bis...@gmail.com wrote: No it will not. It is forked from taza but not merged if you did want to use it you would have to build your own gem or use bundler adding this to your gemfile would work gem 'taza', :git = 'g

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-09-29 Thread bis
? On Thu, Sep 29, 2011 at 6:50 PM, bis bis...@gmail.com wrote: taza doesnt work for 1.9 we have not made the changes to make it work with that version of ruby if you use bundler you add a gemfile something similar to this source :rubygems gem 'taza', :git = 'g...@github.com:hammernight

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-09-26 Thread bis
You could put check in there to wait until the element existshttp://watirwebdriver.com/waiting/. Generally if you run the exact same test twice regardless of the framework and the second time you get different results there is either something wrong with the setup or the environment. It could be a

Re: [wtr-general] using the taza framework and watir-webdriver?

2011-09-25 Thread bis
I actually worked on this fork and It is working fine with watir 2 and watir-webdriver. if you can give me some details on the error. Maybe I can help you figure out what is wrong. On Sun, Sep 25, 2011 at 10:23 PM, hillary weimar1...@gmail.com wrote: I know taza is not widely used, but has

Re: [wtr-general] Watir WebDriver Performance Error

2011-09-11 Thread bis
that code works fine with me against chrome. i suggest try it out for chrome(chrome supports the javascript driver.execute_script(return window.performance || window.webkitPerformance || window.mozPerformance || window.msPerformance;) afaik ie 9 supports that script being run but when i try it

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
I will crank up a VM with win7, ie9, ruby 1.9.2 and watir 2.0.1 and see if i can reproduce it On Wed, Aug 24, 2011 at 12:14 PM, Hugh McGowan colinsda...@gmail.comwrote: I tried on IE9/Win7/Ruby 1.9.2 and I'm still not seeing the problem. Any ideas? Hugh -- Before posting, please read

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
Fresh install windows 7 32-bit ruby 1.9.2-p290 rubygems -v 1.8.9 ie 8 google worked fine etsy worked fine windows 7 32-bit ruby 1.9.2-p290 rubygems -v 1.8.9 ie 9 google worked fine etsy worked fine google: browser.goto 'www.google.com' p browser.text_field(:name = 'q').exists? true p

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
yeah it worked fine for .set too and .click on the button On Wed, Aug 24, 2011 at 9:35 PM, Alister Scott alister.sc...@gmail.comwrote: Hey Oscar, Does .set work on google? That was the problem. .exists? and .html work fine. Cheers, Alister -- Before posting, please read

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
I will crank up my VM again and mess with it. Maybe try reinstalling ie9 and see if that solves the issue On Wed, Aug 24, 2011 at 10:09 PM, Alister Scott alister.sc...@gmail.comwrote: It looks like google add a content=IE_8 header to the page to force IE9 to revert to IE8, but Watir thinks

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
* On Thu, Aug 25, 2011 at 11:12 AM, bis bis...@gmail.com wrote: I will crank up my VM again and mess with it. Maybe try reinstalling ie9 and see if that solves the issue On Wed, Aug 24, 2011 at 10:09 PM, Alister Scott alister.sc...@gmail.comwrote: It looks like google add a content=IE_8 header

Re: [wtr-general] Re: [Wtr-development] Watir support for Ruby 1.9.2?

2011-08-24 Thread bis
LinkedIn: http://www.linkedin.com/in/alisterscott There are two ways to get enough: One is to continue to accumulate more and more. The other is to desire less. *~ G. K. Chesterton* On Thu, Aug 25, 2011 at 11:30 AM, bis bis...@gmail.com wrote: yeah i dont see that the google i see when i look

Re: [wtr-general] Re: It is possible to have watir-webdriver and selenium-webdriver (ruby bindings) in the same script ?

2011-08-23 Thread bis
I think that if you look at how you can use profiles with both of them now it kind of leads you to believe that you can. driver = Selenium::WebDriver.for :firefox, :profile = profile browser = Watir::Browser.new(driver) browser.goto http://www.etsy.com; I would assume just adding it as driver

Re: [wtr-general] Re: Watir support for Ruby 1.9.2?

2011-08-22 Thread bis
I thought the last email about 2.0.1 was that it was compatible with 1.9.2 and more like watir-webdriver On Mon, Aug 22, 2011 at 10:02 PM, Alister Scott alister.sc...@gmail.comwrote: To answer my own question, I don't think it does. Using a .set on a text_field throws: irb(main):011:0

Re: [wtr-general] Re: watir-webdriver firebug

2011-06-17 Thread bis
I think that is the way it has always worked On Thu, Jun 16, 2011 at 11:15 AM, joedio joe...@comcast.net wrote: Jari , Does this mean that when using webdriver: 1) If you start Firefox: browser = Watir::Browser.new that it runs with all addins disabled. 2) If you start