Re: [wtr-general] Watir - How to call browser.goto from another file

2022-03-24 Thread 'John Fitisoff' via Watir General
Replace all hard-coded instance of the the URLs with a variable or a constant. Store that different URLs in a hash in a file. Something like this: URLS = {  dev: 'https://url1.com',  prod: 'https://url2.com'} Then, in whatever you're using to run the script, add an option to specify the

[wtr-general] Watir - How to call browser.goto from another file

2022-03-24 Thread perg...@gmail.com
Hi, I'm using watir ruby for my testing I have quite lot f script written for a website and sometimes I have test in different environment like UAT or DEV site. At the moment my setup method below are in the same file as my test scripts. @browser = Waitr::Browser.new. @browser.goto

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-11-25 Thread Champ
Hello, is there any update on this? On Tuesday, September 8, 2020 at 1:59:32 PM UTC-4 titusf...@gmail.com wrote: > Yes, things just got tricky with a dev dependency I wanted to fix first > before releasing. I'll bump this up in priority. Thanks. > > On Tue, Sep 8, 2020 at 10:25 AM Champ

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-08 Thread Titus Fortner
Yes, things just got tricky with a dev dependency I wanted to fix first before releasing. I'll bump this up in priority. Thanks. On Tue, Sep 8, 2020 at 10:25 AM Champ wrote: > Is there a plan to release new version of watir that allows using Selenium > 4alpha soon? > > On Wednesday, September

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-08 Thread Champ
Is there a plan to release new version of watir that allows using Selenium 4alpha soon? On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com wrote: > Oh, except I need to release a version of Watir that allows using Selenium > 4alpha > > On Wednesday, September 2, 2020 at

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Thank you for the update. On Wednesday, September 2, 2020 at 2:52:56 PM UTC-4 titusf...@gmail.com wrote: > Oh, except I need to release a version of Watir that allows using Selenium > 4alpha > > On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote: > >> Ah, ok, this is

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Oh, except I need to release a version of Watir that allows using Selenium 4alpha On Wednesday, September 2, 2020 at 11:50:47 AM UTC-7 Titus Fortner wrote: > Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling > the new chromium edge. > > You can file an issue with this

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Ah, ok, this is definitely a bug. Selenium 3.x is not properly handling the new chromium edge. You can file an issue with this information on Selenium github tracker. https://github.com/SeleniumHQ/selenium/issues/new?template=bug.md The best way forward right now is to update to Selenium 4

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Here is the stacktrace with selenium logging ON. >ruby google_edge.rb 2020-09-02 10:32:12 INFO Selenium -> POST session 2020-09-02 10:32:12 INFO Selenium>>> http://127.0.0.1:17556/session |

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
No, I think Google is just being more backward compatible right now, which isn't a bug for microsoft, but for the software calling a bad endpoint. So it could be a Watir Bug. Can you turn on the Selenium logging and show me the full log/stacktrace for the offending section? `Watir.logger.selenium

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Champ
Thank you for the response. This works fine on chrome browser with w3c set to true. However, on Edge chromium if I set W3C to true, I get this error. It looks like a bug in Edge driver? *Backtrace:: unknown command: Cannot call non W3C standard command while in W3C mode

Re: [wtr-general] Watir and Edge Chromium - Getting an error

2020-09-02 Thread Titus Fortner
Is there a reason you are setting w3c to false? (if you are testing on Chromium > 75 you should be using w3c) Try setting w3c to true, and if it doesn't work, try running it with Chrome. If things are still failing, we'll have to figure out the right bug report for the chromedriver/chromium

[wtr-general] Watir and Edge Chromium - Getting an error

2020-09-01 Thread Champ
I am using the below code to start using Watir-webdriver with Edge Chromium browser. I have the right versions and drivers. It launches the browser and opens the url. But I get the following error when I try to interact with the browser(set, .present? etc.) Any pointers/fixes are really

[wtr-general] Watir Changing Element Collection if Negated Attribute Present

2019-09-24 Thread Jeff Nyman
My title for this is terrible but I can't think of a better way to word it right now. I have a web screen where if you click a submit button without filling in fields, 9 validation error messages appear. I have defined a page object with these elements as a collection: smalls :errors, class:

Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-17 Thread rajagopalanmadasami
Hi, Thank you , I will check it out. On Sunday, 3 February 2019 00:21:25 UTC+5:30, john wrote: > > I wrote something with Angular in mind. Some sample tests for Google's > angular components are here: > > > https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb > > And

Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-02 Thread rajagopalan madasami
Thank you, let me check that tomorrow. On Sun, 3 Feb, 2019, 12:21 AM 'John Fitisoff' via Watir General < watir-general@googlegroups.com wrote: > I wrote something with Angular in mind. Some sample tests for Google's > angular components are here: > > >

Re: [wtr-general] WATIR can be used for AngularJS?

2019-02-02 Thread 'John Fitisoff' via Watir General
I wrote something with Angular in mind. Some sample tests for Google's angular components are here: https://github.com/jfitisoff/insite/blob/master/spec/material_angular_io_spec.rb And Google's showcase for those components are here (the tests utilize this site): https://material.angular.io I

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread Joe Fleck
It came in helpful for a few objects in our angular app but I was able to use watir for most of it. On Thu, Jan 31, 2019, 1:49 PM rajagopalan madasami < rajagopalanmadas...@gmail.com wrote: > Ok thank you > > On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner >> This gem used to be a bigger deal

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread rajagopalan madasami
Ok thank you On Fri, 1 Feb, 2019, 12:01 AM Titus Fortner This gem used to be a bigger deal because Watir required attribute values > to be defined directly. Now that we've opened this up more, all that you > get from watir_angular is to be able to inject the automatic waiting calls > that are

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread Titus Fortner
This gem used to be a bigger deal because Watir required attribute values to be defined directly. Now that we've opened this up more, all that you get from watir_angular is to be able to inject the automatic waiting calls that are found in Protractor. This may or may not be useful depending on

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-31 Thread rajagopalan madasami
Hi, thank you very much . On Tue, 29 Jan, 2019, 8:45 PM Joe Fleck Hi, > > Yes, there is watir_angular. > > https://github.com/titusfortner/watir_angular > > Joe > > On Tue, Jan 29, 2019, 10:10 AM >> Hi Titus, >> >> Is it possible to automate AngularJs application using WATIR? Any gem is >>

Re: [wtr-general] WATIR can be used for AngularJS?

2019-01-29 Thread Joe Fleck
Hi, Yes, there is watir_angular. https://github.com/titusfortner/watir_angular Joe On Tue, Jan 29, 2019, 10:10 AM Hi Titus, > > Is it possible to automate AngularJs application using WATIR? Any gem is > available? > > -- > -- > Before posting, please read >

[wtr-general] WATIR can be used for AngularJS?

2019-01-29 Thread rajagopalanmadasami
Hi Titus, Is it possible to automate AngularJs application using WATIR? Any gem is available? -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice.

[wtr-general] Watir [DEPRECATION] ["stale_present"] Checking `#present? == false`

2018-09-05 Thread rajagopalanmadasami
Hi Titus, I am getting this warning while I execute this code > > @b.span(class: "spinner").wait_while(&:present?) > > 2018-09-05 12:26:45 WARN Watir [DEPRECATION] ["stale_present"] Checking `#present? == false` to determine a stale element is deprecated. Use `#stale? == true` instead. If I

Re: [wtr-general] Watir History

2018-08-07 Thread Titus Fortner
Hey Charley, I got a huge dump of info from Jonathan Kohl from the early days. If you have anything you'd like to see added, send me a few paragraphs and I'll see about getting it all synthesized together. On Tue, Aug 7, 2018 at 10:34 AM Charley Baker wrote: > > Hah pretty cool. I remember back

Re: [wtr-general] Watir History

2018-08-07 Thread Charley Baker
Hah pretty cool. I remember back in the day. It's been a while since I was involved. There's a lot more history, but ya can't get it all. :) Cheers, Charley On Mon, Aug 6, 2018 at 12:37 PM Titus Fortner wrote: > I just posted an article on the History of the Watir project. > >

[wtr-general] Watir History

2018-08-06 Thread Titus Fortner
I just posted an article on the History of the Watir project. http://watir.com/history/ Titus -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice.

[wtr-general] Watir Website Updates

2018-08-03 Thread Titus Fortner
I've been doing a good job of tweeting about new Watir blog posts (http://watir.com/blog/). If you don't already follow our Twitter account: https://twitter.com/watir_team I've been doing a bad job of sending out messages on this mailing list when I've made updates, I'll try to remember to do

Re: [wtr-general] Watir Unit Test

2018-01-12 Thread Titus Fortner
Page Objects should not be subclasses of TestCase Page Objects should not contain assertions, those belong in _step files require 'rspec' in env.rb to use RSpec matchers: Given(/^I am on the login page$/) do @login_page = Login.new expect(@login_page.gmail?).to eq true end def gmail?

[wtr-general] Watir Unit Test

2018-01-12 Thread 江南
I have the code below to verify a text on the website I want to know how to call the method '*test_verifyGmail*' in my Cucumber Step Definition file? #!/usr/bin/ruby require 'watir' require 'selenium-webdriver' require 'test/unit' require 'rubygems' class Login < Test::Unit::TestCase

[wtr-general] Watir Ruby Screenshot show Scenario + Step

2017-10-18 Thread 江南
Hi, Is it possible to save a screenshot with the step instead the scenario name? @browser.screenshot.save(scenario.name ".png") Thanks -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Watir with chrome native headless

2017-09-12 Thread juan Barbera
Hi all Currently i m using a ruby -watir framework with docker , i m trying to test the new native headless of chrome without xvfb , but seems that there are still some issues, as example with native headless watir is unable to find some elements that works on chrome with xvfb , has anyone

[wtr-general] Watir running Chrome on Heroku

2017-08-29 Thread Jason Mintz
Has anyone been able to get headless Chrome working on Heroku via Watir? I've failed following the instructions here: https://github.com/heroku/heroku-buildpack-google-chrome, despite adding the buildpacks the GOOGLE_CHROME_BIN and GOOGLE_CHROME_SHIM ENV variables are nil. I would try to set

[wtr-general] WATIR is not waiting for select_list to exist

2017-08-09 Thread Raja gopalan
If I write b.select_list(id: 'something').select("") default timeout is not applied here for a select_list, it immediately throws error if select_list doesn't exist but If I write the following code puts b.select_list(id: 'something').text #this would print the selected option value

[wtr-general] Watir (chrome+options) failing with new versions of libs

2017-08-06 Thread Paul Denize
I installed up a new machine with ruby, watir, and selenium-webdriver and the script (that still runs on the previous version) now will not start I produced a minimal script below and the reported error (with version numbers visible in the dump) Is there a workaround to get the new machine

[wtr-general] WATIR 6.1.0 html input type date

2017-07-31 Thread Brian Rieck
Does watir support html input element of date type? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Watir change Internal time

2017-07-28 Thread Titus Fortner
Show us the code you are using and tell us what isn't working the way you expect. -- -- 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

[wtr-general] Watir change Internal time

2017-07-28 Thread Johnson Zhong
Hi, Recently I faced an problem which caused timeout issue Net::ReadTimeout (Net::ReadTimeout) And I found some related infomation in selenium which refer to this document https://github.com/SeleniumHQ/selenium/wiki/Ruby-Bindings Internal timeouts Internally, WebDriver uses HTTP to

[wtr-general] Watir 6.1.0 attch existing ie window using url/title

2017-05-15 Thread sivam
Hi, recently I have migrated to watir 6.1.0 from watir 1.8.6. I was trying to use the functionality IE.attach to attach any existing IE window in latest. But I couldn't find any which has the same functionality of attach to attach any existing browser window in latest watir. Can someone pls

[wtr-general] Watir Podcast Episode 68

2017-01-22 Thread Dave McNulla
In episode 68 of the Watir Podcast, we talk to Chris McMahon, an experience Watir developer that (may have been) was the first watir tester to use it in production. Listen Here: http://watir.github.io/watir-podcast-episode-68/ -- -- Before posting, please read http://watir.com/support.

[wtr-general] Watir Podcast Episode 67

2017-01-12 Thread Dave McNulla
In episode 67, I talk to Mark Barzilay of SpriteCloud about their gem to make automation development and execution easier. http://watir.github.io/watir-podcast-episode-67/ Dave -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] watir example fails

2017-01-06 Thread Titus Fortner
"entry.101" is a textarea element not a text_field element. You used to be able to use text_field for both, now you have to specify the type you want. This code will do exactly what you want: require 'watir' browser = Watir::Browser.new browser.goto 'bit.ly/watir-example'

[wtr-general] watir example fails

2017-01-06 Thread c w
Hi, I am a bit frustrated as this used to be working few years ago. I try again as I intend to try to use back watir and I have no idea why starting with the second element scripts are failing on the watir example Just run this: require 'rubygems' require 'watir' driver =

[wtr-general] Watir Podcast 66

2016-12-21 Thread Dave McNulla
Justin Ko, one of the people that answers questions in this group, tells me about how he got started in Watir, why he likes Watir Classic, and more. Give it a listen at: https://soundcloud.com/the-watir-podcast/episode-66 Dave -- -- Before posting, please read http://watir.com/support. In

[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-20 Thread Sean Poulter
I haven't tried recently since the release of Selenium 3 or GeckoDriver, but using Firefox used to save screenshots of the whole page. You might also consider saving a screenshot of just an Element. There was a gem to support that. -- -- Before posting, please read http://watir.com/support.

[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-19 Thread Titus Fortner
With things like infinite scroll, the concept of "the entire dom" doesn't have the same being it once did. W3C spec says to only provide image of what is in the viewport. -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Watir Screenshots on using Chrome/Chrome Driver

2016-12-19 Thread Brian Rieck
I am using #screenshot.save and Chrome. The saved screenshot is only a portion of the window (only the visible window) and not the entire DOM as expected. Is there a different method that I should be using instead? -- -- Before posting, please read http://watir.com/support. In short: search

[wtr-general] Watir Podcast 65

2016-12-14 Thread Dave McNulla
Here is a new podcast (I forgot to add this here). https://soundcloud.com/the-watir-podcast/episode-65-cheezy-returns Cheezy is a friend to our test automation. He developed a page object gem that became the standard for people like us. He is updating that library. He also talks about other

[wtr-general] Watir Podcast Episode 64

2016-11-28 Thread Dave McNulla
I interview Justin Watts about why he likes watir, among a 1000 other topics. You can listen here: https://soundcloud.com/the-watir-podcast/episode-64 Dave -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Watir::Container instance methods and Watir 6

2016-11-20 Thread Titus Fortner
Can you provide a stack trace? It's likely a versioning mismatch. -- -- 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] Watir::Container instance methods and Watir 6

2016-11-20 Thread Jeff Nyman
I'm seeing a lot of tools break that are updating to just say `require "watir"`. In all cases, I've traced it to lines like this: Watir::Container.instance_methods Yet I see that this does appear to exist in Watir 6 (http://www.rubydoc.info/gems/watir/Watir/Container). Has anyone else

[wtr-general] Watir 6.0 Released

2016-11-15 Thread Titus Fortner
Watir 6.0 has been released! Implementation-wise, watir-classic has been deprecated, and watir-webdriver has been renamed to watir (so just change `require 'watir-webdriver'` to `require 'watir'` and bundle update) Watir has added a few new features; the biggest one has to do with how it now

[wtr-general] Watir Podcast episode 60

2016-10-02 Thread Dave McNulla
Why use Watir when you have a choice of webdriver libraries? Jon Franchi explains in the new Watir Podcast. https://soundcloud.com/the-watir-podcast/episode60-jon-franchi Get the new-guy-view from Jon as he tells about his new experiences. Dave -- -- Before posting, please read

[wtr-general] watir File input

2016-09-30 Thread Deepak S
Guys We were using ie7 for our automation and my scripts for selecting file input was working fine. But for some reason , we have update our system from windows xp to windows 7 and ie7 to ie9. And we are running the automation by enabling comparability view. since then the fileinput method is

[wtr-general] watir-rails 2.0.0 released

2016-09-24 Thread Jarmo Pertman
watir-rails 3.0.0 has been released, which adds Watir 6.0 support. -- -- 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] watir-rspec 3.0.0 released

2016-09-24 Thread Jarmo Pertman
watir-rspec 3.0.0 has been released, which adds Watir 6.0 support. -- -- 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 ---

Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-24 Thread Jarmo Pertman
Did "beta-testing" using Watir 6.0.0.beta4 on one of my real-life projects, which used Watir 5.x before that. Almost everything worked as expected, but had to create one issue in GitHub. I also noticed that watir-rspec (https://github.com/watir/watir-rspec) and watir-rails

Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
It will be easier to identify 'problems' if you have a baseline, something to compare with. Dave On Thursday, September 22, 2016 at 11:05:01 AM UTC-7, Mike Frank wrote: > > Would qualify as a tester if I've never used it? > > On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla >

Re: [wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Mike Frank
Would qualify as a tester if I've never used it? On Thu, Sep 22, 2016 at 1:43 PM, Dave McNulla wrote: > Info is on the new website. http://watir.github.io/watir-6-beta4 >

[wtr-general] Watir 6.0 Beta needs testers

2016-09-22 Thread Dave McNulla
Info is on the new website. http://watir.github.io/watir-6-beta4 It uses Selenium 3.0, works with Firefox 48/49 and Geckodriver. Give it a try. Post issues

[wtr-general] Watir::Exception::UnknownObjectException: unable to locate element

2016-08-10 Thread Ajay Reddy
Hi All, I am using page factory pattern, 1. Here is My class Homepage:- class Homepage include PageObject include Configuration def open goto("url") end def sign_in @browser.element(css: 'div.links-static ul li.account

[wtr-general] "watir webdriver cannot select checkbox input element"

2016-08-09 Thread Literate Aspects
Please, any suggestions greatly appreciated. Attempting to identify the element to be able to check the checkbox. REF: "watir webdriver cannot select checkbox input element" SELECTOR: #sv ELEMENT: Please, any suggestions greatly appreciated. I have tried: FROM: b.span(:text,

[wtr-general] "watir webdriver cannot select checkbox input element"

2016-08-09 Thread Literate Aspects
Please, any suggestions greatly appreciated. Attempting to identify the element to be able to check the checkbox. REF: "watir webdriver cannot select checkbox input element" SELECTOR: #sv ELEMENT: Please, any suggestions greatly appreciated. I have tried: FROM: b.span(:text,

Re: [wtr-general] Watir-webdriver throws 'not clickable' error even when element is visible, present

2016-04-19 Thread 'John Fitisoff' via Watir General
.)  b.send_keys :space          # Down one frame. b.send_keys :shift, :space # Up one frame.  From: Awesome Possum <sooperpos...@gmail.com> To: Watir General <watir-general@googlegroups.com> Sent: Monday, April 18, 2016 7:16 PM Subject: [wtr-general] Watir-webdriver throws 'not clic

[wtr-general] Watir-webdriver throws 'not clickable' error even when element is visible, present

2016-04-19 Thread Awesome Possum
I am trying to automate tests in Ruby using the latest Watir-Webdriver 0.9.1, Selenium-Webdriver 2.53.0 and Chrome extension 2.21. However the website that I am testing has static headers at the top or sometimes static footers at the bottom. Hence since Watir auto-scrolls an element into view

Re: [wtr-general] Watir ignores the maximum character length on a text field.

2016-03-14 Thread Sharma Vishav
Hi Also check how the validation on the field are getting triggered. Sometimes when you type using libraries it does not trigger the field validation code as opposed to when you type data manually in text field. Regards Vish On Tuesday, 15 March 2016, Titus Fortner

[wtr-general] Watir ignores the maximum character length on a text field.

2016-03-14 Thread Damien Wood
Hi, I have an Angular front end and I am using Watir to test. One of the text fields 'First Name' has a max character length of 32. When I try entering something with 33 characters manually, as you would expect, it gets to 32 then stops me entering anything more. However, if I use Watir to

[wtr-general] Watir-Webdriver and Docker

2016-01-29 Thread tkp
*Aim : *Dockerizing Watir-Webdriver tests *Environment:* OS : Ubuntu 14.04 Browser : FF 43 Docker : v1.7.1 *Issue:* Currently it is observed that opening a browser instance and navigating to a website is very slow when triggered from within a Docker instance. I compared the times for

[wtr-general] Watir Basis (Help ?)

2015-11-12 Thread Nida Anwaar
Hi everyone :) i was just searching for any testing tool to give presentation in my university & i found Watir. The thing that attracts me to choose Watir is its user list which includes SAP, Facebook & Yahoo etc. i'm new to the testing tools i have never used any testing tool before. can

[wtr-general] Watir+Webdriver/Cucumber + Appium on Sauce Labs

2015-09-28 Thread Farooq
Has anyone successfully gotten this config to work: Watir+Webdriver/Cucumber + Appium on Sauce Labs? Haven't found much online... -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] WATIR locks up when button is clicked in Compatibilty Mode

2015-09-18 Thread Mike Malandra
I am using Ruby 2.0.0 with Watir-Classic 4.2.0 on Windows 7 64 bit with IE11. I have a script that works entirely fine when working with IE8. A button is clicked, the next page loads, and the expected functionality continues until the end of the script. However, I'm running into an issue when

[wtr-general] Watir Users List

2015-05-19 Thread Ilya N
Hello, We use Watir for customized automation scripts for our consulting clients; I would like to say thank you and am including the logo/link (https://appmint.co) if you'd like to add it to your list of users as well. Thank you for your help. Best Wishes, Ilya -- -- Before posting, please

Re: [wtr-general] Watir-Webdriver slow execution speed in FF 36

2015-03-10 Thread Titus Fortner
Yes, this is a known issue with Selenium 2.45 and Firefox 36. The issue is being tracked here: https://code.google.com/p/selenium/issues/detail?id=8551 You can set your version of Watir to watir-webdriver 0.6.11 and Selenium to selenium-webdriver 2.44, but it might require downgrading to Firefox

[wtr-general] Watir-Webdriver slow execution speed in FF 36

2015-03-10 Thread Andrew Deschain
I recently updated the watir-webdriver gem and i was pretty surprised that the execution speed of my has significantly decreased. Does anyone else experiences this issue or/and know how to overcome this? Stack: Mac OS 10.9.5 Ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-darwin13.0]

[wtr-general] watir-webdriver using ruby on skype...hope it will useful to everyone

2015-02-18 Thread rocky
Dear all, Sharing knowledge on skype,who are all interest send your skype id so that we can solve watir-webdriver issues instantly. Hope it will useful to all ..*sharing your knowledge is key to success* Regards, Sri. -- -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Oscar Rieken
I would guess that is more of a cucumber thing On Thu, Feb 5, 2015 at 10:54 AM, Michael Kirkpatrick mkirkp...@gmail.com wrote: I was wondering if the tags are stored in an array somewhere and can be access so that you can do different after hooks say for Jira or other plugins? Thanks,

[wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Michael Kirkpatrick
I was wondering if the tags are stored in an array somewhere and can be access so that you can do different after hooks say for Jira or other plugins? Thanks, -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir -- May just be a Cucumber item

2015-02-10 Thread Brian Ray
Yep. We use a Before hook to cache all scenario tags in an instance variable for, among other things, use in After hooks. This is the Ruby flavor of Cucumber, btw. Before do |scenario| @scenario_tags = scenario.source_tag_names ... But you can also natively have tag-specific After hooks.

[wtr-general] Watir Job in SF

2015-01-28 Thread 'John Fitisoff' via Watir General
Hi all, My company (Recurly) is looking for a QA engineer with Ruby experience to join and help with manual testing and support an existing automation effort. We're using Watir and RSpec. The position will involve a lot of scripting and we'll be looking for someone with good Ruby programming

[wtr-general] Watir-classic execute_script no longer working in IE11

2015-01-16 Thread Chris E
Hello all, Recently Microsoft submitted a patch that appears to break/remove *ExecuteScript. *I think this is causing *driver.execute_script* to fail with access denied error message when using watir-classic. Since IE11 removes support for *ExecuteScript*, is it possible to use *eval *instead?

[wtr-general] Watir-classic execute_script no longer working in IE11

2015-01-16 Thread Jim Evans
Sorry, no. The Windows Update in question breaks a ton of functionality when you try to automate IE from out of process. However, the February cumulative update should resolve the issue, if the last comment (from a Microsoft employee) on the Microsoft Connect report is to be believed. -- --

[wtr-general] Watir Ruby scripts not running consecutively correctly

2015-01-07 Thread Ma St
*Issue:* I am using code I grabbed from another post, which I have included that should kick off my ruby scripts in consecutive order. I have two ruby test scripts (TestResearch.rb and TestResearch2.rb). I have a main script (mainscript.rb). There are two issues when I kick off the

Re: [wtr-general] watir xpath how to use variable

2015-01-04 Thread Sohail Mirza
Hi, yep you're right. i missed basic topic How to use variables inside strings i got it and my code is working fine. On Sat, Jan 3, 2015 at 8:00 PM, Oscar Rieken bis...@gmail.com wrote: I would suggest you take some time and learn how ruby works, and how to manage strings. On Fri, Jan 2,

Re: [wtr-general] watir xpath how to use variable

2015-01-03 Thread Oscar Rieken
I would suggest you take some time and learn how ruby works, and how to manage strings. On Fri, Jan 2, 2015 at 10:23 AM, Sohail Mirza mrz...@gmail.com wrote: Hi Joe I am getting the following error. *Code:* $rowCount = @browser.table(:class, 'table table-hover table-condensed

Re: [wtr-general] watir xpath how to use variable

2015-01-02 Thread Sohail Mirza
Hi Joe I am getting the following error. *Code:* $rowCount = @browser.table(:class, 'table table-hover table-condensed table-bordered table-striped ng-scope ng-table').rows.size

[wtr-general] watir xpath how to use variable

2014-12-31 Thread Sohail Mirza
Can we use variable for XPath property? The following line of codes failing $rowCount = @browser.table(:class, 'table table-hover table-condensed table-bordered table-striped ng-scope ng-table').rows.size

Re: [wtr-general] watir xpath how to use variable

2014-12-31 Thread Joe Fleck
Hi, What is the error you are receiving? Joe On Dec 31, 2014 4:08 AM, Sohail Mirza mrz...@gmail.com wrote: Can we use variable for XPath property? The following line of codes failing $rowCount = @browser.table(:class, 'table table-hover table-condensed table-bordered table-striped

[wtr-general] Watir - Identifying a Span ID and its Text Element - False

2014-12-29 Thread Ma St
I have reviewed many posts, but am unable to get passed this. I am basically trying to verify if the text on the web page is displayed. The text is Welcome under a span id element. It is not clear what the syntax should be when referencing the text under the span id. I get an error that

[wtr-general] Watir - Unable to capture Span Element Text value

2014-12-29 Thread Ma St
I am attempting to figure out how to capture an element's text value (ex. span id text value = Welcome), but I keep getting an error that it is unable to locate the value. The following is my statement in the ruby file. I tried online forums and documentation, but the syntax seems tricky.

[wtr-general] Watir fully loaded pages

2014-12-09 Thread Alexander Alyoshin
Sometimes the site loads very long time, so watir will wait until it is fully loaded (at the end of the page is loaded the script, google, Analytics, and so on). How to make he didn’t do it? I wish he didn’t wait until it loads all the scripts, and gave me the html as soon as possible. -- --

[wtr-general] watir cucumber

2014-10-22 Thread c w
Hi I have a question. I am using testgen gem and created the project and i get the hooks.rb which contains require 'watir-webdriver' Before do @browser = Watir::Browser.new :firefox end After do @browser.close end No I have no idea what i have to do to not use it. I want to run all

[wtr-general] Watir(-webservice) for windows mobile

2014-08-28 Thread Giel Raijmakers
Hi all, Kind of a new with Watir for mobile. I have seen that it is possible to use watir for iOS and Android, but is it also possible to use it for windows mobile?? A customer has a cross platform application, HTML5 and it takes a lot of time to test all functionality on all devices. I'm

[wtr-general] watir can't find drop down menu items

2014-08-28 Thread agent2215
I'm trying to call an item from the drop down menu. When I inspect it, i get this; a class=menuButton onmouseover='buttonMouseover(event, '5_Menu'); onclick=return buttonClick(event, '5_Menu'); href= How do I call this menu? Thank you -- -- Before posting, please read

[wtr-general] Watir - Split Button Issues

2014-07-30 Thread vramsdavuluri
Hi, In my web application, I see the Split button where I need to type value and click on the button with automation. But I am unable to click on that, can you please refer the attachment and suggest me to proceed further. Attachments: 1. Split button.png - contains the picture of split button

[wtr-general] watir/thread - Segmentation fault Ruby 1.9.3-p545

2014-07-28 Thread u . gotzes
require 'watir' Thread.new{Watir::Browser.new}.join -- -- 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 --- You received

Re: [wtr-general] Watir + Rspec + POM a good combination?

2014-06-27 Thread Avinash Duggirala
Thanks for the replies. But I need some start up suggestions in this regard 1. Is there any standard folder structure to follow while implementing Watir web-driver + R-Spec framework ? 2. Need some inputs regarding execution flow for this combination. Regards, Avinash On Saturday, June 21,

[wtr-general] Watir + Rspec + POM a good combination?

2014-06-20 Thread Avinash Duggirala
Hi all, I am new to Watir. I have explored to create a project with combination of Watir Webdriver + Rspec Framework + POM. I need suggestions whether choosing this combination is a good option or not?While exploring I could not find any example project in this combination. I got examples for

Re: [wtr-general] Watir + Rspec + POM a good combination?

2014-06-20 Thread Rafael Lima
I know of two gems that you can use for Page Objects : Taza and Page Object. On Monday, June 16, 2014, Avinash Duggirala avi.ursk...@gmail.com wrote: Hi all, I am new to Watir. I have explored to create a project with combination of Watir Webdriver + Rspec Framework + POM. I need

[wtr-general] Watir-Web driver has performance issue as compared with Watir

2014-05-15 Thread kamal nalla
Hi, We are using AWETEST Framework in our current project and we are planning to migrate our scripts from Watir to Watir Web driver. We have updated one script and executed it with Watir Web driver. The time it has taken for executing the script in Watir Web driver is almost 4 times higher

[wtr-general] watir + FunFX

2014-04-19 Thread c w
Hi! I am in a lookout for automation of web flex app. Do you know if there is any great example, step by step of how to use it. Or if there is any book? Is watir working great with funfx? Any Example? Kind Regards, Cristina -- -- Before posting, please read http://watir.com/support. In

  1   2   3   4   5   6   7   8   9   >