[wtr-general] Re: Handling Choose a digital certificate

2011-09-29 Thread bala
Hi Tiffany Thanks for the reply. My idea is to install as many as certificates in all machines that will be used for execution. Each certificate has specific roles within the application and this would allow me to run any test script in any machine remotely. This enables me to send certificate

[wtr-general] Re: Watir script compartmentalization

2011-09-29 Thread bala
George The basic principle I follow is to keep the scripts test one thing at a time. Doing this might require a bit of duplication but its worth. At any point of time you can say what your script does and analysing failures becomes much more easier. hope this helps. -Bala -- Before posting,

Re: [wtr-general] Watir script compartmentalization

2011-09-29 Thread Dmitriy Korobskiy
On 9/28/11 10:47 PM, George wrote: Hello, I was curious to know how granular folks are making their Watir scripts. As an example, I have an authentication script that contains three parts: 1. Checking the elements of the login page 2. Performing valid logins and validating the output 3.

[wtr-general] Need Help with Element not found

2011-09-29 Thread Ivan Chung
Hi, i have below HTML that within an iframe, how do i locate the link for the div id = test_002? td class=p_action colspan=1 span class=class A div id=test_001 a onclick=gotofuction(); return false; href=javascript: void(0)Buy/a /div /span /td td class=p_action colspan=1 span class=class A div

[wtr-general] Re: Need Help with Element not found

2011-09-29 Thread Alister Scott
please provide the full code including the iframe -- 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+unsubscr...@googlegroups.com

[wtr-general] Re: Scroll DIV element in watir-webdriver

2011-09-29 Thread the_zonker
Thanks, Jari. It works. On Sep 27, 10:35 pm, Jari Bakken jari.bak...@gmail.com wrote: On Tue, Sep 27, 2011 at 5:10 PM, the_zonker the.zonk...@gmail.com wrote: Does watir-webdriver has native methods to scroll inside the element (not in browser window or frame)? Try this (accessing the

[wtr-general] How to run watir-webdriver tests on the foreground using TeamCity

2011-09-29 Thread the_zonker
Hi guys, As my tests suite grew enough I've been started to use TeamCity CI to get good dashboard functionality, test parallelization and scheduling. To create tasks for tests are use Rake. However I ran into an inconvenience - tests which are started by TeamCity run in background mode. It means

Re: [wtr-general] Invalid gemspec

2011-09-29 Thread Joe Fleck
Hi, Okay I got have gotten the [Invalid gemspec in [/Users/joseph] problem. It was an internal issue and watir-webdriver is now working. Thank you, Joe 2011/9/29 Joe Fleck joeflec...@gmail.com Hi Zeljko, I have installed both and that went fine. I added the [require rubygems] and below

[wtr-general] cucumber - undefined method goto error.

2011-09-29 Thread hillary
I'm trying out cucumber. When I execute my tests, I get this error Scenario: # features\google_search.feature:5 Google Search for delicious relaunch failure Given I'm on the Google Search Home Page # features/step_definitions/google_search.rb:8 undefined method `goto' for

[wtr-general] accessing a firefox popup woith watir-webdriver

2011-09-29 Thread Rick
Can someone show me a code snippet on how to access a firefox popup with watir-webdriver? The popupis displayed by a javascript. Thanks. -Rick -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

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

2011-09-29 Thread weimar
Which gemfile? Have the commands to run the the rakes changed? Would there be issues 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

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

2011-09-29 Thread bis
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/taza.git' gem 'cucumber' gem watir, :platforms = [:mingw, :mswin]

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

2011-09-29 Thread weimar
k. I will uninstall ruby 1.9. I've never used bundler, is there something on it? 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

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

2011-09-29 Thread weimar
i think it might have been issues with having 1.9.1 installed. i'm currenly using this version and rake spec:isolation:site works. 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

[wtr-general] Re: Need Help with Element not found

2011-09-29 Thread Ivan Chung
the iframe that accessing is accurate because i am able to get other elements. See below from where the iframe called iframe id=iframe_canvas class=canvas_iframe_util noresize scrolling=no height=600px frameborder=0 src=javascript: name=xxx style=height: 1457px; overflow-y: hidden; Below are the

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

2011-09-29 Thread weimar
that should say I'm currently 1.8.7 and it's working. On Thu, Sep 29, 2011 at 7:19 PM, weimar weimar1...@gmail.com wrote: i think it might have been issues with having 1.9.1 installed. i'm currenly using this version and rake spec:isolation:site works. On Thu, Sep 29, 2011 at 6:50 PM, bis

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

2011-09-29 Thread weimar
last question. In your example, you use some bits of cucumber. May i ask what you get by adding that layer of functionality. As far as I can see that the step definitons aren't used in any of the specs? On Thu, Sep 29, 2011 at 6:50 PM, bis bis...@gmail.com wrote: taza doesnt work for 1.9 we

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

2011-09-29 Thread bis
if you look at the whole thing the idea is the page objects the cucumber features use the taza framework pages and flows the rspec tests also use the taza framework pages and flows It sort of gives you an idea of how you can use the taza framework they are testing for the exact same things just

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

2011-09-29 Thread weimar
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 the