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 wrote: > Hi Joe > > I am getting the following error. > > *Code:* > $rowCount = @browser.table(:class, 'table table-hover table-condensed > table-bordered table-s

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 wrote: > I would suggest you take some time and learn how ruby works, and how to > manage strings. > > On Fri, Jan 2, 2015 at 10:2

[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 mainscri

[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. watir-general@googlegroups.c

[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 http://groups.google.com/grou

[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, 'Svenska').cli

[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, 'Svenska').cli

[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 div#login_us

[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 had

[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 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 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. watir-general@googl

[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. I

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 > https://github.com/watir/watir_meta/

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 >> avail

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
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 fou

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 becaus

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 d

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: > > > https://github.com/jfitisoff/insite/blob/mas

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 G

[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 appreci

[wtr-general] Watir does not work with Orkut JS hacks

2008-10-29 Thread sergio . soujava
Here is a simple source code to log into orkut. You simply cannot find any links or anything because the document retains the JavaScript code, not the actual JavaScript result. See ie.html below to understand what I am talking about. Is there anyway to make the Watir document gets updated with

[wtr-general] Watir Podcast 8: Alister Scott, Watir Wiki Master

2008-11-02 Thread Željko Filipin
"In the eigth episode, our host Željko Filipin talks with Alister Scott about his experiences in test automation and using Watir to automate tons of tests. Alister also talks about his new position as Watir Wiki Master and how the Watir community can continue to improve this resource." Thanks a lo

[wtr-general] Watir Script Integration with javaCruiseControl - Testing Java App.

2008-12-11 Thread watirpuppy
Greetings, I searched the group posts and found one about CruiseControl Integration, but it's from 11/27/2007 - just over a year old n' I can't reply to it.. So resurrecting the issue in hopes to get more contemporary info. and provide more concrete examples on this journey through the process.

[wtr-general] Watir stuck waiting for a page to load

2009-02-05 Thread Paul
Hi there, I was fishing through some old Watir examples when I decided to try the joke script found at: http://agileworks.blogspot.com/2006/04/geeks-version-of-joke.html When I run the code, I notice that Watir gets stuck waiting for the first page to load (the only URL specified in that script)

[wtr-general] Watir users: What is your role at work?

2009-03-04 Thread george.sand...@gmail.com
I was just curious to know who is purely a QA tester (like myself) and who is both a tester and a developer... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email t

[wtr-general] WATiR DSL I Have been working on...update

2009-05-05 Thread Ruf, Wadud
All, As I mentioned a few weeks back I have created a DSL for WATiR, I call it the WATiR Scripting Langauge - WSL. I have been creating a lot of collateral and am currently writing examples for it. You can view them and download the WSL gem and install locally from here - http://wsl.xqoob.com

[wtr-general] Watir Podcast #25 with Dave Hoover of SafariWatir

2009-06-16 Thread Željko Filipin
I am recording a podcast with Dave Hoover of SafariWatir this Friday 7pm utc. If you have any questions for him, please post them here. What is that podcast thing, you ask? Take a look: http://watirpodcast.com/ Željko Filipin --~--~-~--~~~---~--~~ You received t

[wtr-general] Watir Install/Basic Error, It doesn't launch browser

2009-08-03 Thread DF
I am totally new and just trying to learn and do basic staff. I installed RC2 Ruby and Watir. ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] While running "gem install watir" got this error: Installing ri documentation for builder-2.1.2... ERROR: While generating documentation for build

[wtr-general] watir tests are not passing on my environment

2009-10-02 Thread Shlomit Gazit
Hello, I have one watir environment that is well functioning (that I didn't set up). I was trying to set up a new watir environment but somehow the tests that are running on the good environment are not running on the new environment. For example, a test that is well running on one environment i

[wtr-general] Watir 1.6.5.rc1 - release candidate available for testing

2009-10-05 Thread Charley Baker
Hi all, There have been a lot of changes since the last release of Watir - 1.6.2, many of these being contributions we've received from various community members, core committers and others. In the effort to include Firewatir as a 1st class citizen, there are a lot compatibility changes and refac

[wtr-general] Watir 1.6.5.rc2 - release candidate available for testing

2009-10-22 Thread Charley Baker
Hi all, We have a new version of Watir for testing, 1.6.5.rc2. the release is here with instructions: http://wiki.openqa.org/display/WTR/Development+Builds If you have a chance to take a look at it, let us know. There have been a few changes since the last release candidate, most of those are b

[wtr-general] watir does not click on button when specified

2010-01-05 Thread tester86
Hi I have the following watir code: $b.link(:href, "javascript:;").click but it does not click on the button. Reset Does any one have any ideas? Thanks -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email

[wtr-general] Watir issue with AutoIt on Vista 64 bit

2010-03-27 Thread joedio
Installed Watir (v1.6.5) on top of Ruby (v1.8.6) on my 32bit WinXP and 64 bit Vista systems. Ran into way too many issues trying to use Ruby 1.9.1 (64-bit) and Watir(v1.6.5), so degraded to try these older versions, as Watir site recommends. Are versions of Watir (v1.6.5) and Ruby (v1.8.6) for Vis

[wtr-general] Watir on Windows, how is it done anymore?

2010-07-12 Thread Nathan Lane
Any thoughts? The examples on OpnQA seem to be broken, and I haven't kept up. How do I get going again? -- Nathan Lane Blog, http://blog.nathandelane.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you ar

Re: [wtr-general] watir-webdriver fire_event('onmouseover') failing in IE

2010-11-05 Thread Jari Bakken
On Sat, Nov 6, 2010 at 1:41 AM, Michael wrote: > Selenium::WebDriver::Error::UnexpectedJavascriptError: Cannot execute > script (17) You're probably running into this known bug in the IE driver: http://code.google.com/p/selenium/issues/detail?id=849 (comment 5 has a failing test) -- Before po

Re: [wtr-general] watir-webdriver fire_event('onmouseover') failing in IE

2010-11-08 Thread Michael
Yes, it does look related to that. Is there an updated build of the dll anywhere for download instead of recompiling myself with that fix in there. It still hasn't made it into a release. On Sat, 6 Nov 2010 02:08:18 +0100, Jari Bakken wrote: > On Sat, Nov 6, 2010 at 1:41 AM, Michael wrote: >>

Re: [wtr-general] watir-webdriver fire_event('onmouseover') failing in IE

2010-11-08 Thread Jari Bakken
On Mon, Nov 8, 2010 at 6:35 PM, Michael wrote: > Yes, it does look related to that. Is there an updated build of the dll > anywhere for download instead of recompiling myself with that fix in there. > It still hasn't made it into a release. > It's not fixed yet - the bug is still open. -- Befor

Re: [wtr-general] watir-webdriver fire_event('onmouseover') failing in IE

2010-11-08 Thread Michael
I know, but there was a patch attached to the ticket. No worries. On Mon, 8 Nov 2010 21:46:04 +0100, Jari Bakken wrote: > On Mon, Nov 8, 2010 at 6:35 PM, Michael wrote: >> Yes, it does look related to that. Is there an updated build of the dll anywhere for download instead of recompiling myse

Re: [wtr-general] watir-webdriver: undefined method `status_code' for # (NoMethodError)

2011-03-02 Thread Željko Filipin
On Wed, Mar 2, 2011 at 12:42 PM, Andrew Gallo wrote: > D:/rubyapps/test-watir-weddriver/test-page.rb:14: undefined method > `status_code' for # (NoMethodError) Looks like status_code method is not defined in Browser. Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.

[wtr-general] Watir 1.6.5 tests on IE8 - very slow execution

2011-04-21 Thread psdd
Hi, Environment: Windows 2008 R2 server, (default 64 bit) Browser: IE8 (cannot downgrade since it is windows 2008 server) Watir version : 1.6.5 Ruby version : 1.8.7 When watir tests are run, it is extremely slow and takes around 10-20 mins to complete a simple test which otherwise in IE7, windows

[wtr-general] Watir 1.9.0 Release Candidate - Ruby 1.8.7 and IE9

2011-06-07 Thread Hugh McGowan
Hi all, We've got a release candidate for Watir. If you're interested in checking out the release before we go final, you can get it using: gem install watir --pre This release includes: * Support for IE9 * Full support for Ruby 1.8.7 * Remove Autoit (replaced with Rautomation) * Remove

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Željko Filipin
On Thu, Jun 9, 2011 at 12:04 PM, Amit Bobade wrote: > E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:242:in `activate': can't activate ffi (>= 1.0.7, runtime) for ["selenium-webdriver-0.2.1", "watir-webdriver-0.2.4"], already activated ffi-0.6.3-x86-mingw32 for This sounds like rubygems problem:

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
Dear Željko, Thanks for your reply. I tried as you suggested but it didn't work for me. I got following error for the same code. ERROR: E:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find ffi (~> 0.6.3) amongst [abstract-1.0.0, actionmailer-3.0.7, actionpa

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Željko Filipin
2011/6/9 Amit Bobade > Could not find ffi (~> 0.6.3) Looks like you have uninstalled all versions of ffi. This could help: gem install ffi Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.g

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread a b
Hi Amit, try: browser = Watir::Browser.new :ff browser.goto("http://www.gosocially.com/index.php";) Cristina On Thu, Jun 9, 2011 at 6:04 AM, Amit Bobade wrote: > Dear All: > > I want to use watir-webdriver instead of firewatir. I installed > watir-webdriver now but when I execute my script

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread a b
Or if it is still not working try to uninstall everything, even ruby; delete the remaining files and perform a fresh installation. I have encountered similar errors and that is what i did. Cristina On Thu, Jun 9, 2011 at 9:25 AM, a b wrote: > Hi Amit, > > try: > > > browser = Watir::Browser.new

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Jari Bakken
It's a dependency issue between childprocess and selenium-webdriver. This should solve it: gem update childprocess Den 9. juni 2011 kl. 14:28 skrev Amit Bobade : Dear Željko, Thanks for your reply. I tried as you suggested but it didn't work for me. I got following error for the same code. E

Re: [wtr-general] watir-webdriver instead of firewatir- Showing error

2011-06-09 Thread Amit Bobade
Thank you very very much Cristina and Jari. :) I tried - gem update childprocess and it worked. Thanks. On Thu, Jun 9, 2011 at 7:11 PM, a b wrote: > Or if it is still not working try to uninstall everything, even ruby; > delete the remaining files and perform a fresh installation. > >

[wtr-general] Watir to Count all objects, get the biggest

2011-06-30 Thread jose pinto optimus
Hi, am using watir to perform web testes .It works fine. Now, I want to, perform others operations like: -Count all objects, get the biggest. Is it possible do it using watir ? Thanks José Pinto -- Before posting, please read http://watir.com/support. In short: search before you ask, be

[wtr-general] watir-webdriver: Validating the Color of an element

2011-08-08 Thread hillary
When there's an error, the application i'm testing changes the color of the element, a text_field, changes to red. Currently I validate that the text_field is red like this: b.text_field(:id, "text_field").document.currentstyle.color.should == '#444' I also will did to validate the color of a

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread Željko Filipin
On Wed, Aug 10, 2011 at 1:41 AM, hillary wrote: > The issue seems to be text. I did not understand the problem. Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread hillary
I forgot the last part. When it validates the text in web-driver it returns "", when I'm expecting it to return "Saved." so it fails. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/gr

Re: [wtr-general] watir-webdriver, validating a save confirmation message

2011-08-10 Thread hillary
I forgot the last part. When it validates the text in web-driver it returns "", when I'm expecting it to return "Saved." so it fails. So the problem seems to be that it's not picking up on the correct text. -- Before posting, please read http://watir.com/support. In short: search before you

[wtr-general] Watir Podcast #46: Jarmo Pertman on Watir 2.0

2011-09-26 Thread Željko Filipin
http://watirpodcast.com/46-jarmo-pertman-on-watir-2-0/ Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.

Re: [wtr-general] watir-webdriver + protected mode in XP-IE8

2011-10-19 Thread Željko Filipin
On Tue, Oct 18, 2011 at 7:45 PM, RJ wrote: > but this feature is not available on XP-IE8. I will try to install watir on xp with IE8 this Saturday. The results will be here: https://github.com/zeljkofilipin/watirbook/blob/master/installation/windows.md Željko -- watir.com - community manager w

[wtr-general] [Watir] Watir as s master diploma key tool

2011-10-26 Thread Dmitri Karusar
Hi, I wan't to make master diploma in university about watir,manual testing, automated testing. Can you help me to find any web page, which will be comfortable to automate using watir? As I want to tets some web page manualy and then to automate it. BR, Dmitri -- Before posting, please read h

Re: [wtr-general] watir-webdriver + protected mode in XP-IE8

2011-10-27 Thread Željko Filipin
On Tue, Oct 18, 2011 at 7:45 PM, RJ wrote: > Protected Mode must be set to the same > value (enabled or disabled) for all zones. > > but this feature is not available on XP-IE8. What to do. Really, there is no "enable protected mode" checkbox in IE8. Just checked. Solutions: 1) Use watir gem t

Re: [wtr-general] watir-webdriver + protected mode in XP-IE8

2011-10-27 Thread Željko Filipin
On Thu, Oct 27, 2011 at 1:52 PM, Željko Filipin < zeljko.fili...@wa-research.ch> wrote: > Really, there is no "enable protected mode" checkbox in IE8. Just checked. I have just checked, and that option is there only in IE9. It is not it IE 6, 7 and 8. I am not sure why did you get that error mess

Re: [wtr-general] watir-webdriver, cannot sign in to twitter

2011-11-04 Thread Željko Filipin
On Fri, Nov 4, 2011 at 5:34 PM, Jae wrote: > browser = Watir::Browser.start "twitter.com", :chrome Maybe this page will be easier to log in from https://twitter.com/#!/login Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please read

[wtr-general] watir webdriver and extjs = split button click problem

2012-04-25 Thread mndude
I have a "split button" that when clicked in the middle or left side will perform a default action on that page. But if clicked on the right side it will drop down a menu to select from a set of actions. I can't get Watir webdriver to click and drop down the menu. It only is able to click and

[wtr-general] watir on Windows XP Pro Sp3 doesn't work

2012-09-07 Thread Emanuele Mandaglio
Hi Everyone, I've got a problem to run watir on a VM guest Windows XP Pro SP3. I've try all the recent ruby windows packages, but I always receive the same error. Here the details: Ruby version: ruby 1.9.3p194 (2012-04-20) [i386-mingw32] gem list: *** LOCAL GEMS *** addressable (2.3.2) bigde

[wtr-general] watir slow performance on a remote selenium grid2

2012-09-21 Thread Thien-An Mac
I have started to point my cucumber/watir-webdriver test suites on our remote grid (hosted on another server, in a different physical location) and the performance is quite dreadful compared to a local grid (ie i'm executing my cucumber scripts on the same machine as the grid). The performance

[wtr-general] watir-classic 3.2.0 - issue with file_field in IE9

2012-10-15 Thread Kevin Scott
When using the below code in an IE8 environment with Ruby 1.8.6 & Watir 1.6.5 installed - everything works as designed. b.file_field(:id, 'fileName').set('C:\projects\testcases\booksmart\watir\test_data\2010-01-30-XML3.zip') b.button(:name, 'upload').click() When using the same code in an IE9

[wtr-general] watir-webdriver not loading page with ajax correctly?

2012-10-25 Thread RJ
Im not sure if its ajax loading or something else (or their site detecting watir?) But this site (groupme.com) keeps timing out. def test_post_message_to_groupme browser.goto 'http://groupme.com' browser.link(:text => 'Log In').click browser.text_field(:id => 'session_phone_number').set @

Re: [wtr-general] Watir-WebDriver vs Selenium WebDriver Python bindings

2012-11-02 Thread Željko Filipin
On Sat, Oct 27, 2012 at 10:45 PM, Chris Smalley wrote: > I don't want this to turn into a Python vs. Ruby conversation, but I'd like some insight on the Selenium WebDriver bindings vs Watir-WebDriver. Another Chris wrote something that could help you: https://github.com/watir/watir-bazaar/wiki/b

[wtr-general] Watir 3X is not running in Virtual Machines

2013-03-05 Thread Bibhu acharya
Hi All, I am facing a very unusual problem in Virtual Machine. I have 4 user accounts & 1 Admin account. The Admin account is working fine how ever all other user accounts are not working with Watir 3X. steps - Right Click on SciTE editor & select ' run as Administrator ' open a script from

[wtr-general] Watir-webdriver and Ruby 2.0.0 - known compatabilty issues?

2013-03-06 Thread Andrew Leaf
Our QA team has started to use Watir and watir-webdriver for automated testing. Our initial tests were written in a Ruby 1.9.3 environment. As we are setting up a more robust testing environment for Watir, are there any cautions or warnings we should be aware of while implementing Ruby 2.0.0?

Re: [wtr-general] Watir does not supply credentials to IE

2013-03-13 Thread Željko Filipin
On Wed, Mar 13, 2013 at 4:50 PM, Anthony Coley wrote: > IE loads, but stops once it hits: text_field(:name, > "usr").set("my_login") Any error messages? Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Watir does not supply credentials to IE

2013-03-13 Thread Anthony Coley
Yes, the error might help... Sorry about that! C:\Ruby193\bin>ruby C:\scripts\BOE\BOE_IE.rb C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-classic-3.5.0/lib/watir-classic/element.rb:328:in `assert_exists': Unable to locate element, using {:tag_name=>["text", "password", "textarea"], :name=>"usr"} (

Re: [wtr-general] Watir does not supply credentials to IE

2013-03-13 Thread Željko Filipin
On Wed, Mar 13, 2013 at 5:27 PM, Anthony Coley wrote: > Unable to locate element, using {:tag_name=>["text", "password", > "textarea"], :name=>"usr"} Looks like the element is not on the screen. Did you read this? http://watirwebdriver.com/waiting/ Željko -- -- Before posting, please read

Re: [wtr-general] Watir does not supply credentials to IE

2013-03-13 Thread Željko Filipin
On Wed, Mar 13, 2013 at 6:21 PM, Anthony Coley wrote: > Yes, I have the element, see attached element.jpg. It could be there eventually, but not when the script looks for it. Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-

Re: [wtr-general] Watir does not supply credentials to IE

2013-03-13 Thread Chuck van der Linden
it might be being rendered by some client side javascript, and FF or Chrome might be just enough faster than IE that they have created the element when the script gets to that point, but IE has not. I'd suggest two things 1 try running those few lines of your script manually (you can cut and

[wtr-general] Watir-webdriver: hover doesn't work for FF 20

2013-05-25 Thread Anna Voytenko
Hi guys, I faced the issues related to hover method in FF20. hover works in chrome but doesn't work for FF. I've tried to do chenge profile.native_events but it didn't help; also I played with fire_event method- the same result When I run tests in FF I receive the following error in the line whe

[wtr-general] Watir-webdriver: can't start new session for IE9

2013-05-30 Thread Anna Voytenko
How can I start absolutely new session for IE browser? I use the following code: @browser = Watir::Browser.new :ie @browser.cookies.clear @browser.goto "http://..."; but when I run tests, I'm always seeing that IE browser starts with logged in user that was used for the previous te

[wtr-general] [Watir-webdriver] - Drag and drop using watir webdriver

2013-07-03 Thread watir webdriver
Hi there, I'm trying to drag and drop an element in webpage through the below code: Step def: When(/^I drag and drop Basket rule to the position slot$/) do @browser.span(:class => "draggable ui-draggable").drag_and_drop_on(@browser.div(:class => "droparea ui-droppable ui-sortable")) end *The s

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread Željko Filipin
On Wed, Jul 10, 2013 at 12:12 PM, maulik goswami wrote: > I've installed ruby *Gmail* gem and also made a sample script but it only > goes to *Gmail* website after that script stops and returns the null > value. > Please share relevant Ruby code and error messages, if any. Željko -- https://lean

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread maulik goswami
*require "watir-webdriver"* *require "gmail"* *br = Watir::Browser.new :chrome * *br.goto "gmail.com"* *gmail = Gmail.new("email address", "password") * *gmail.inbox.count(:unread)* *gmail.inbox.click(:unread, :from => "no reply registration email").label("Confirm Verification")* I was able to si

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread Oscar Rieken
do you need to access gmail because you work at google? or do you need to access an email that is being sent by your system to an email address that happens to be a gmail acct? On Wed, Jul 10, 2013 at 6:29 AM, maulik goswami wrote: > *require "watir-webdriver"* > *require "gmail"* > *br = Watir

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-10 Thread maulik goswami
i need to access the mail that is being sent by my system On Wednesday, 10 July 2013 17:37:33 UTC+5:30, Oscar.Rieken wrote: > > do you need to access gmail because you work at google? or do you need to > access an email that is being sent by your system to an email address that > happens to be

Re: [wtr-general] [Watir-Webdriver] How can i access Gmail

2013-07-11 Thread Dan
This isn't a watir problem, but I think many of us have experience with the gmail gem. What error do you get when you try to use the gmail gem? On Thursday, July 11, 2013 2:38:30 AM UTC-4, maulik goswami wrote: > > i need to access the mail that is being sent by my system > > On Wednesday, 10 J

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Željko Filipin
On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato wrote: > In FF 23 on Linux it works however in FF 23 on Win 7 didnt work (using > saucelabs) It could be a Firefox+Windows problem then, or Sauce Labs problem. Did you contact Sauce Labs support? Željko -- https://leanpub.com/watirbook -- -- Bef

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
Yes Filipin They told to me to check the forum =/ I will setup a local windows to check and will publish here the results. thanks Em terça-feira, 6 de agosto de 2013 07h38min33s UTC-3, Željko Filipin escreveu: > > On Fri, Aug 2, 2013 at 11:29 PM, Tadeu Panato > > wrote: > >> In FF 23 on Linux

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-06 Thread Tadeu Panato
running in FF local it not failed running in ie10i got that: *Error: test_02_local(TsCheckHome)* * Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2)* *C:/Ruby193/lib/ruby/1.9.1/net/http.rb:763:in `initialize'* *C:/Ruby193/lib/ruby/1.9.

Re: [wtr-general] Watir - execute_script fail in FF 23 windows

2013-08-07 Thread Chuck van der Linden
Looks a lot like webdriver can't connect to the browser.. I think you are right this is a webdriver issue, I'd head to the https://groups.google.com/forum/#!forum/selenium-users as a potential forum to talk about webdriver level problems. On Tuesday, August 6, 2013 1:33:09 PM UTC-7, Tadeu P

Re: [wtr-general] [Watir-webdriver] : How to compare to results

2013-08-15 Thread John Fitisoff
Just store everything in strings and then compare by == or a regexp, whichever makes more sense, then print the console output afterward? From: watir webdriver To: watir-general@googlegroups.com Sent: Thursday, August 15, 2013 8:37 AM Subject: [wtr-general

Re: [wtr-general] [Watir-webdriver] : How to compare to results

2013-08-15 Thread watir webdriver
Thanks for the reply...but here I've to verify first result set(a&b) with second result set(a&b) not a.eql?b Any suggestions? On Thursday, August 15, 2013, Tadeu Panato wrote: > .eql? > > a = "TS377NWT" > b = "KM077BLK" > > a.eql? b > > > Em quinta-feira, 15 de agosto de 2013 12h37min42s UTC-3, w

Re: [wtr-general] [Watir-webdriver] : How to compare to results

2013-08-15 Thread Tadeu Panato
you receive the values in one string? like a = ["TS377NWT", "KM077BLK"] or a = "TS377NWT,KM077BLK" ?? in case is the first: a[0].eql?(a[1]) if is the second case: a = a.split(",") then use the code above this is programming logic not watir-webdriver questions. Em quinta-feira, 15 de agosto

Re: [wtr-general] [Watir-webdriver] : How to compare to results

2013-08-15 Thread watir webdriver
Thanks Panato for ur quick reply...I'll give a try On Thursday, August 15, 2013, Tadeu Panato wrote: > you receive the values in one string? > > like a = ["TS377NWT", "KM077BLK"] or a = "TS377NWT,KM077BLK" ?? > > in case is the first: > a[0].eql?(a[1]) > > if is the second case: > > a = a.spl

[wtr-general] watir-webdriver exec_script failing with Firefox 24/25

2013-10-30 Thread seth f
Is watir-webdriver not compatible with Firefox 24/25? I went back to firefox 21 and my exec_script calls started working again. On FF 24/25 I couldn't even get simple exec_script('alert()') or document title changes to work. The errors that show up in the browser console are: Use of getUser

[wtr-general] Watir not working properly with IE11-Windows 8.1

2013-11-12 Thread sumanth
Hi All, I am facing issue while running my scripts [which are running fine with IE10-Win8] in IE11-Windows8.1 script is coming to ssl warning page where my scripts try to click override link if the text "there is a problem with " text is present code looks something like if(self.text.match

[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-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. -- -- B

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 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, > > > -- > -- > Bef

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-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] watir-web

[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 accor

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

2017-08-09 Thread Titus Fortner
This is unlikely a bug in Watir. For us to investigate further please provide Your code Applicable portion of html A log of your test run in debug mode -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://g

<    3   4   5   6   7   8   9   10   11   >