[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

Re: [wtr-general] Watir 3 Released!

2012-04-24 Thread Željko Filipin
On Mon, Apr 23, 2012 at 11:57 PM, Jarmo Pertman jarm...@gmail.com wrote: You may do that if possible. Done: http://watir.com/2012/04/24/watir-3-released/ Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] Watir select_list options issue?

2012-04-24 Thread krizzo
I created this test script because I was having issues with another script that needed to work with select_list. This is having the same issue. From my understanding contents[0] should print out Firefox but instead I get a memory location. I printed the memory location out and it's not a

Re: [wtr-general] Watir 3 Released!

2012-04-23 Thread Željko Filipin
On Mon, Apr 23, 2012 at 9:00 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir 3 has been finally released! Thanks for all the hard work! :) Do you need help with the blog post at watir.com? Željko -- watir.com/book - author -- Before posting, please read

Re: [wtr-general] Watir 3 Released!

2012-04-23 Thread Jarmo Pertman
You may do that if possible. Jarmo On Monday, April 23, 2012 11:45:37 PM UTC+3, Željko Filipin wrote: On Mon, Apr 23, 2012 at 9:00 PM, Jarmo jarm...@gmail.com wrote: I'm happy to announce that Watir 3 has been finally released! Thanks for all the hard work! :) Do you need help with the

[wtr-general] watir webdriver and javascript drop down menu in IE

2012-04-19 Thread mndude
I have a web app with a top menu bar with drop down menus in it driven by javascript (extjs). I can easily access the menu items in Firefox and Chrome. But IE does not work the same way. The menu requires either a mouse hover or click on the top item to drop down and then a click on the item to

[wtr-general] Watir and Netbeans

2012-04-12 Thread Mihir Dhandhusaria
Guys, I am not sure i should be posting it here but i couldn't find solution to this problem. I have created a Ruby project in Netbeans (6.9.1). When i right click on my feature file and and click on Run feature, everything works great. When i execute my features form command prompt everything

[wtr-general] Watir Podcast #47

2012-04-12 Thread Dave McNulla
Chuck VDL and I interviewed each other for the watir podcast at the Test Automation Bazaar. You can listen at: WatirPodcast.comhttp://watirpodcast.com/47-chuck-van-der-linden-and-dave-mcnulla-at-test-automation-bazaar/ My apologies go to Jari Bakken, Brahma Ghosh, and Andy Vida because I

[wtr-general] watir-webdriver can't find checkboxes

2012-04-06 Thread ggivler
I am relatively new to watir, but I am having a problem finding checkboxes in a page.. So I wrote a routine that would dig into the divs, find the tables that contain the checkboxes and it gives me the count of the checkboxes and a print out of the html of the td... Here is a sample of the

[wtr-general] Watir + win32/screenshot = screen shots when script ends/fails?

2012-03-27 Thread Ry
Wondering if possible to snap shot the last screen / event my script was on when it finds an error / ends. I am using logging as well, but my employer is requesting screen shots to go hand in hand with the logs to show other users where the error on sites are. I pinged irc and got response that

Re: [wtr-general] WATIR object

2012-03-25 Thread Željko Filipin
On Fri, Mar 23, 2012 at 4:25 PM, Rick bellc...@yahoo.com wrote: In #Watir::Table:0x54ed4b284686a4b2 located=false selector={:id=TblGeneralInformation, :tag_name=table} Does the value of 'false' for located means that the table was not located? Show us the code that returns that. As far as I

[wtr-general] WATIR object

2012-03-23 Thread Rick
In #Watir::Table:0x54ed4b284686a4b2 located=false selector={:id=TblGeneralInformation, :tag_name=table} Does the value of 'false' for located means that the table was not located? Thanks. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] watir-webdriver PageObjects example

2012-03-22 Thread Oscar Rieken
http://rubydoc.info/gems/watir-webdriver/0.5.3/Watir/Element#exists%3F-instance_method On Thu, Mar 22, 2012 at 12:00 PM, Rick bellc...@yahoo.com wrote: From the example implementation in https://github.com/watir/watir-webdriver/wiki/Page-Objects, the following is a class definition on

[wtr-general] watir-webdriver save_screenshot bit depth

2012-03-20 Thread Dan
Is there any way to control the bit depth of the screenshot file? It turns out that firefox and ie provide a 32 bit file, while Chrome provides a 24 bit file. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] watir-webdriver save_screenshot bit depth

2012-03-20 Thread Željko Filipin
On Tue, Mar 20, 2012 at 11:57 AM, Dan dfra...@gmail.com wrote: It turns out that firefox and ie provide a 32 bit file, while Chrome provides a 24 bit file. In addition to that, I have also noticed that some browser take screen shots of the entire window (even the part not visible on the page),

[wtr-general] Watir 3.0.rc3 Released!

2012-03-18 Thread Jarmo
Hello everyone! I'm happy to announce that another version of Watir has been just released - 3.0.rc3. Its biggest goal is to conform even better with WatirSpec making it more compliant with Watir-WebDriver. Changelog: * all html elements are now supported (even html5 ones) * CookieManager

[wtr-general] WATIR Testing - Setup and colse method

2012-03-18 Thread AQUA
Hi All, I have been working on a web application test automation project. As per the project requirement I need a method to be executed before beginning of my set test-case methods and another method to be executed at the end of all the test-case method. You can consider those to methods to be

[wtr-general] watir 1.6.5 click method is not giving any response after clicking IE9 links

2012-03-16 Thread sumanth
Hi All, I am using Watir 1.6.5 since long time for IE, FF automation. I have to support the scripts what I automated earlier with IE9 now and I see that click method in IE9 is not clicking the object even though watir is not throwing any error. Please look into this issue. Sumanth --

[wtr-general] Watir not able to locate any element on the page

2012-03-15 Thread srinivasarao jyothi
Hi There, I am new to ruby watir. I have started learning recently. When i tried to automate the following, watir is throwing error saying could not locate.Please help me out on this. !DOCTYPE HTML PUBLIC -//W3C//DTD HTML Transitional//ENMETA http- equiv=Content-Type content=text/html;

[wtr-general] Watir information resources

2012-02-25 Thread fistfullofpesos
Hello, new to Watir, and looking for general information resources on watir. Specifically looking to automate a script that would allow entering items into a text field and recording the responses in a log. Having trouble finding how to translate the process from the watir- example website and

[wtr-general] watir-webdriver vs selenium-webdriver

2012-02-12 Thread yawshikwa
Just curious, as I was having a discussion with someone else about this topic, but for those here who have directly compared watir- webdriver vs selenium-webdriver, what are the reasons you selected one over another? I prefer watir-webdriver, and one of the main reasons is I feel the api allows

Re: [wtr-general] watir-webdriver vs selenium-webdriver

2012-02-12 Thread Rahul Sharma
This should pretty much answer all your questions: http://watirmelon.com/2011/12/03/a-tale-of-three-ruby-automated-testing-apis-redux/ :) On 12 Feb 2012, at 22:36, yawshikwa wrote: Just curious, as I was having a discussion with someone else about this topic, but for those here who have

Re: [wtr-general] watir-webdriver vs selenium-webdriver

2012-02-12 Thread Željko Filipin
On Sun, Feb 12, 2012 at 4:36 PM, yawshikwa shams...@gmail.com wrote: The only reason I sometimes still consider selenium- webdriver is for access to a cross browser solution such as Sauce Labs. I'm not aware that something like that exists for watir yet. I think a couple of guys from Sauce

[wtr-general] watir 3.0.rc2 breaks style.color

2012-02-08 Thread hillary
I'm trying to validate the color of an element. My old code for watir 3.0 was browser.text_field(:id, 'textfield').style.color.should == '#444' produced a undefined method `color' for FILTER: Alpha(Opacity=100); DISPLAY: block; opacity: 1:String I then tried .style(color).should == '#444'

[wtr-general] Watir 3.0 select_list contents

2012-02-07 Thread Trevor
Having recently upgraded to Watir 2.04 I changed assert_equal( [none,fixed] , $browser.select_box(:name, model).getAllContents) to assert_equal( [none,fixed] , $browser.select_list(:name, model).options) It seems this is now deprecated in Watir 3.0, and I get the following error: [none, fixed]

Re: [wtr-general] Watir 3.0 select_list contents

2012-02-07 Thread Željko Filipin
On Tue, Feb 7, 2012 at 8:10 AM, Trevor trevorm1...@gmail.com wrote: assert_equal( [none,fixed] , $browser.select_list(:name, model).options) Now you have to do something like this: browser.select_list(:name = model).options.collect {|option| option.text} More information:

[wtr-general] Watir 3.0.rc2 Released!

2012-02-04 Thread Jarmo
Hello everyone! I'm happy to announce that another version of Watir has been just released - 3.0.rc2. Its biggest goal is to conform even better with WatirSpec making it more compliant with Watir-WebDriver. Changelog: * Browser#textarea(s) method for searching textarea elements * Element#focus

[wtr-general] watir-webdriver 0.5.2

2012-01-31 Thread Željko Filipin
More information at http://watir.com/2012/02/01/watir-webdriver-0-5-2/ Željko -- watir.com/book - author -- 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 Keyword Driven Framework

2012-01-22 Thread amandv
I tried using using keyword driven framework as mentioned on openQA wiki page Source code I used: #Include The Library require 'rubygems' require 'win32ole' require 'watir' require 'element_collections' require 'screen_capture' begin #Open Excel File excel = WIN32OLE::new('excel.Application')

[wtr-general] Watir 3.0.rc1 breaks select_value of a select list

2012-01-18 Thread Michael
A heads up that I created a bug report about an issue we experienced while testing our code with Watir 3.0.rc1. http://jira.openqa.org/browse/WTR-498 -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

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

2012-01-17 Thread Abe Heward
On a page I'm testing, I have a div that Firebug shows like this: div id=joinrequestbuttons_widget style= That div is a parent of a number of buttons that are displayed or hidden depending on circumstance. When I have watir-webdriver show me the HTML of that div, however, this is what it

[wtr-general] [Watir-Webdriver] How to check the existence of scrollbar

2012-01-14 Thread Thien Nguyen
Hi all, I have a problem about the windows which have static size (cannot be resizable), it should not have any scrollbar inside, so could anybody help me to find out the way for checking the existence of scrollbar ? Btw, I dont know if I can check the windows maybe resizable or not by Watir

[wtr-general] Watir with a remote desktop

2012-01-14 Thread chtiloft
hi all, i am looking for a tool to make performance tests. and i am wondering if watir can do it. The particularity, is that we use a remote destop to run tests. tks in advance Arnaud -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir with a remote desktop

2012-01-14 Thread Michael
We are on windows and launch our remote tests with psexec.exe. The only catch is that you must have logged in with RDP once and leave the session open. psexec then allows you to specify a session to connect to. On 2012-01-13, at 6:48 AM, chtiloft wrote: hi all, i am looking for a tool to

[wtr-general] Watir 3.0.rc1 Released

2012-01-12 Thread Jarmo
Hello everyone! I'm happy to announce that Watir isn't dead at all, since yet another version of Watir has been just released - 3.0.rc1. Its biggest goal is to conform even better with WatirSpec making it more compliant with Watir-WebDriver. Changelog: * Button#text returns value if exists

[wtr-general] watir::IE multiple windows always connect to same session

2012-01-06 Thread Barry
I tried to open two IE windows at the same time. In watir-webdriver, Firefox alway open them in seperate session. But in Watir, the two IE windows share the same cookie. For example, the shopping cart is shared. How can I keep the shopping carts seperated? I tried new_process, open_process, start,

[wtr-general] Watir-Webdriver Chrome, FF, IE window maximize

2012-01-04 Thread Super Kevy
I'm using webdriver to automate for the big 3 browsers and have the snippet below to set the screen size to maximum, Chrome works perfect with the swtiches option, IE and FF are kind of acceptable hacks. A) Does anyone have a better way to maximize FF IE with Webdriver? B) In Chrome I always

[wtr-general] Watir Grid : Starting a provider on a remote machine which is on the same network

2011-12-28 Thread Anukul
Hi, I am using Watir grid as part of my automation framework. I have two machines A and B on the same network, and my purpose is to start a provider on machine B from machine A, i.e. I do not want to goto machine B to start a provider on it explicitly. But whenever I try to start the provider,

[wtr-general] Watir will not install on Win 7 X64 or XP x86 no matter what I try!

2011-12-19 Thread Andy
Hi, I am currently trying to install watir on my PC but currently hitting the errors below and I cannot think why this is happening? I am following the steps below to install: Download ruby 1.9.2: http://www.ruby-lang.org/en/downloads/ Install. Download RubyGems:

Re: [wtr-general] Watir will not install on Win 7 X64 or XP x86 no matter what I try!

2011-12-19 Thread Željko Filipin
Chuck answered here http://stackoverflow.com/questions/8553874/watir-will-not-install-with-xp-x86-or-win-7-x64-getting-error-building-native-e Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

[wtr-general] watir-webdriver 0.4.1

2011-12-13 Thread Željko Filipin
More information: http://watir.com/2011/12/13/watir-webdriver-0-4-1/ Željko -- watir.com/book - author -- 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

Re: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread Željko Filipin
On Tue, Dec 6, 2011 at 7:22 AM, Jason Shelton jas.shel...@hotmail.com wrote: I am getting the attached error 1) Please copy/paste the text of the error. Let me know if you do not know how to do that. 2) Please provide the code that caused the error. Željko -- watir.com/book - author -- Before

RE: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread Jason Shelton
...@wa-research.ch Date: Tue, 6 Dec 2011 10:47:19 +0100 Subject: Re: [wtr-general] Watir Webdriver Performance Error To: watir-general@googlegroups.com On Tue, Dec 6, 2011 at 7:22 AM, Jason Shelton jas.shel...@hotmail.com wrote: I am getting the attached error 1) Please copy/paste the text

Re: [wtr-general] Watir Webdriver Performance Error

2011-12-06 Thread bis
: zeljko.fili...@wa-research.ch Date: Tue, 6 Dec 2011 10:47:19 +0100 Subject: Re: [wtr-general] Watir Webdriver Performance Error To: watir-general@googlegroups.com On Tue, Dec 6, 2011 at 7:22 AM, Jason Shelton jas.shel...@hotmail.com wrote: I am getting the attached error 1) Please copy/paste

[wtr-general] Watir Webdriver Performance Error

2011-12-05 Thread Jason Shelton
All, I am getting the attached error when I attempt to run a script that uses the Watir Webdriver performance gem, on IE 9. I cannot reproduce this error on Firefox or Chrome. Are there any particular settings that may need to be adjusted? I am running IE 9 on a Windows Server 2008 R2

[wtr-general] Watir vs Watir Web-driver

2011-11-18 Thread chris
In the Watir book, during the Installation chapter it say that if you are new to Watir, start with the webdriver gem, why is it best for new users to start with the webdriver gem? -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

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

2011-11-18 Thread Željko Filipin
On Fri, Nov 18, 2011 at 2:44 PM, chris chris.gogr...@gmail.com wrote: In the Watir book, during the Installation chapter it say that if you are new to Watir, start with the webdriver gem, why is it best for new users to start with the webdriver gem? I think this answers the question: In short:

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

2011-11-18 Thread Cassiano Leal
On Fri 18 Nov 2011 11:49:08 AM BRST, Željko Filipin wrote: On Fri, Nov 18, 2011 at 2:44 PM, chris chris.gogr...@gmail.com mailto:chris.gogr...@gmail.com wrote: In the Watir book, during the Installation chapter it say that if you are new to Watir, start with the webdriver gem, why is it best

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

[wtr-general] Watir Automation Framework

2011-11-05 Thread WebTester
Hi all, I am new to watir, I request to clarify my following doubts. 1. How to write text in console to an excel file? Basically i want to have all objects (.show_all_objects)in a file to a excel sheet . 2. I dont have any idea about how to start with an automation framework . somebody plese

[wtr-general] watir-webdriver 0.3.8

2011-11-04 Thread Željko Filipin
More information at http://watir.com/2011/11/04/watir-webdriver-0-3-8/ Ž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

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

2011-11-04 Thread Jae
I've been trying to sign into twitter with watir-webdriver and watir just cannot find the sign in button. I get an Element must be displayed to click error. Is there something special about the twitter sign in button? It looks like a normal button to me, don't know why it's invisible to watir.

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 jae.ha...@gmail.com 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

[wtr-general] Watir recorder sharp

2011-11-03 Thread cynthia.math...@jud.ct.gov
I can record scripts, however when I try to play them back on machine with xp professional it doesn't open the browser and step, it launches c:\ruby\bin\ruby.exe. When I try to run it on my win 7 machine, I receive teh following error Watirrecordersharp\temp.rb is denied. Please let me know what

[wtr-general] watir web-driver hwnd

2011-11-01 Thread Dan
I've done a fair amount of searching for the method to get hwnd of a browser with the watir webdriver and I'm coming up empty handed. It's very easy in Watir: browser.hwnd. Thanks! Dan -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] watir web-driver hwnd

2011-11-01 Thread Jari Bakken
What are you trying to accomplish, high-level? On Tue, Nov 1, 2011 at 4:06 PM, Dan dfra...@gmail.com wrote: I've done a fair amount of searching for the method to get hwnd of a browser with the watir webdriver and I'm coming up empty handed. It's very easy in Watir: browser.hwnd. Thanks!

Re: [wtr-general] watir web-driver hwnd

2011-11-01 Thread Dan
I wanted to use Win32API to do some window manipulation. I ended up finding another way to do it. Basically I have a number of browsers I'm opening and I want to be able to position them in different places on the screen. Not really a functional test or requirement, but it'll make it easier

Re: [wtr-general] watir web-driver hwnd

2011-11-01 Thread Jari Bakken
I see. Feel free to star this issue in the Selenium tracker, which deals with adding a cross-platform API to resize and move windows in WebDriver (which would allow us to expose it in watir-webdriver as well): http://code.google.com/p/selenium/issues/detail?id=174 On Tue, Nov 1, 2011 at 6:27

Re: [wtr-general] Watir 2.0.4 Released

2011-10-31 Thread Željko Filipin
On Sat, Oct 29, 2011 at 12:50 AM, Jarmo jarm...@gmail.com wrote: Watir 2.0.4 has been released. Posted to watir.com (as Jarmo, since he released it): http://watir.com/2011/10/31/watir-2-0-4-released/ Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host --

[wtr-general] Watir 2.0.4 Released

2011-10-28 Thread Jarmo
Hi! Watir 2.0.4 has been released. This version has the following changes: * IE#execute_script escapes multi-line JavaScript scripts * allow css and xpath locators for element collection methods, fixes http://jira.openqa.org/browse/WTR-493 Install it with: gem install watir Jarmo -- Before

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 rj412@gmail.com 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)

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 message

[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

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

2011-10-26 Thread Željko Filipin
On Wed, Oct 26, 2011 at 10:37 AM, Dmitri Karusar flysteppe...@gmail.com wrote: Can you help me to find any web page, which will be comfortable to automate using watir? Watir unit tests or watirspec could be a good choice. https://github.com/jarib/watirspec Željko -- watir.com - community

Re: [wtr-general] Watir 2.0.3 Released

2011-10-24 Thread Željko Filipin
On Fri, Oct 21, 2011 at 5:55 PM, Jarmo jarm...@gmail.com wrote: Watir 2.0.3 has been released. I have created a blog post: http://watir.com/2011/10/24/watir-2-0-3-released/ Željko -- watir.com - community manager watir.com/book - author watirpodcast.com - host -- Before posting, please read

Re: [wtr-general] Watir-webdriver + right_click

2011-10-21 Thread Željko Filipin
On Fri, Oct 21, 2011 at 1:55 AM, RJ rj412@gmail.com wrote: Just curious to know, the technical readon why watir-webdriver has yet to implement an official right_click operation. You will notice that not a lot of Watir developers read this list. You should post this to

[wtr-general] Watir 2.0.3 Released

2011-10-21 Thread Jarmo
Hi! Watir 2.0.3 has been released. This version has the following changes: * fix ElementCollections#[] * fix IE::Process.start for IE9 when opening multiple windows * add support for Spanish JavaScript and file upload dialogs * fix IE#execute_script for Ruby 1.9 with IE9 Install it with: gem

[wtr-general] Watir-webdriver + right_click

2011-10-20 Thread RJ
Just curious to know, the technical readon why watir-webdriver has yet to implement an official right_click operation. Thanks, -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

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 rj412@gmail.com 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 -

[wtr-general] watir-webdriver + IE select dropdown not loading

2011-10-19 Thread RJ
Another IE select issue (on XP-IE8): HTML: select title=Selection Display id=selection_display_option option value=opt1opt1/option option value=opt2opt2/option option selected=selected value=opt3opt3/option /select CODE on IRB: (this works) irb(main):056:0 option_selected = opt1

[wtr-general] watir-webdriver unable to detect firefox

2011-10-18 Thread tester
hi i am using ruby 1.8.6 and gems watir (1.6.7, 1.5.6) watir-webdriver (0.1.7) and i tried to execute domo program require 'watir-webdriver' browser = Watir::Browser.new :firefox browser.goto http://google.com; browser.text_field(:name = 'q').set(WebDriver rocks!)

Re: [wtr-general] watir-webdriver unable to detect firefox

2011-10-18 Thread Jari Bakken
On Tue, Oct 18, 2011 at 7:52 AM, tester pavan247...@gmail.com wrote: hi i am using ruby 1.8.6 and gems watir (1.6.7, 1.5.6) watir-webdriver (0.1.7) Make sure you have the latest version of these gems: watir-webdriver, childprocess, selenium-webdriver. Also, you should update your Ruby

Re: [wtr-general] watir-webdriver unable to detect firefox

2011-10-18 Thread Raveendran P
Hi , It seems like 'ffi' library not installed properly. 1. Open Command prompt 2. gem install ffi 3. Run the script again HElp -- http://rubygems.org/gems/ffi If still it throws any error then 4uninstall watir-webdriver 5install watir-webdriver Thanks On Tue, Oct 18, 2011 at 11:22 AM,

Re: [wtr-general] watir-webdriver unable to detect firefox

2011-10-18 Thread Željko Filipin
On Tue, Oct 18, 2011 at 7:52 AM, tester pavan247...@gmail.com wrote: i am using ruby 1.8.6 and gems watir (1.6.7, 1.5.6) watir-webdriver (0.1.7) I would suggest that you follow this instructions to install recent versions of Ruby and Watir:

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

2011-10-18 Thread RJ
Getting following error msg: Selenium::WebDriver::Error::NoSuchDriverError: Unexpected error launching Internet Explorer. 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. Thanks, RJ -- Before posting,

[wtr-general] watir-webdriver + javascript + userAgent

2011-10-14 Thread RJ
getting different result for navigator.userAgent irb(main):001:0 browser.execute_script(return navigator.userAgent) = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0) irb(main):002:0 browser.goto(http://whatsmyuseragent.com/;) = http://whatsmyuseragent.com/; irb(main):003:0 #output

[wtr-general] Watir and Ajax requests

2011-10-12 Thread User
In my webapp I have a simple textfield. To this textfield I have a jQuery function which will be always executed on every keyup. With this function there is an Ajax request assigned which loads every time the result of the SQL-Query. My code is equivalent to the code of RailsCasts

Re: [wtr-general] Watir and Ajax requests

2011-10-12 Thread Željko Filipin
On Wed, Oct 12, 2011 at 7:38 AM, User silvan.hub...@gmail.com wrote: After it should click on a link which is placed on the dynamic content with this code browser.a(:id = link).click. The problem now is that the click event won't be executed. I did not understand what is the problem here.

[wtr-general] watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?

2011-10-11 Thread Cliff Cyphers
Hello Watir users I wanted to write the watir-general community and inquire about how much pain you feel around what appears to be some common items that might need to be added to watir-webdriver. 1. The underlying selenium-webdriver can not perform an action on an element if it isn't in the

Re: [wtr-general] watir-webdriver survey for adding items such as: alert_box, scroll_to, and in_viewable_area?

2011-10-11 Thread Jari Bakken
On Tue, Oct 11, 2011 at 6:07 PM, Cliff Cyphers cliff.cyph...@gmail.comwrote: Hello Watir users I wanted to write the watir-general community and inquire about how much pain you feel around what appears to be some common items that might need to be added to watir-webdriver. 1. The

[wtr-general] watir-webdriver 0.3.5 and watir 2.0.2

2011-10-06 Thread Željko Filipin
http://watir.com/2011/10/06/watir-webdriver-0-3-5-and-watir-2-0-2/ Ž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

Re: [wtr-general] Watir-WebDriver and JavaScript Alerts

2011-10-04 Thread Alister Scott
It's a shame that you'll be (potentially) removing the first style, as I find it more elegant and watir-esque, although I have had some issues using it. Either way, let me know which is the preferred method and I'll update http://watirwebdriver.com/javascript-dialogs/ -- Before posting,

[wtr-general] Watir-WebDriver and JavaScript Alerts

2011-10-01 Thread Jeff Nyman
Hey all. I've tried searching for this on my own but looking for specific solutions in Watir or Watir-WebDriver is often a needle in a haystack venture. In this case, I have an application that has a JavaScript alert that pops up when an OK button is clicked. I need to get the message in the

Re: [wtr-general] Watir-WebDriver and JavaScript Alerts

2011-10-01 Thread Jari Bakken
There are two options to handle alerts with watir-webdriver: # use the alert helper to override the alert function: require watir-webdriver/extensions/alerts browser.alert do browser.button.click # action that triggers the alert end # reach into the WebDriver alert API

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] Watir script compartmentalization

2011-09-28 Thread George
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. Performing invalid logins and validating the

Re: [wtr-general] Watir script compartmentalization

2011-09-28 Thread Michael
I use MiniTest to drive my tests, so in my case they'd all go in one file as 3 separate tests in there. That way each can fail individually andbe reported in a nice summary. -- Sent from my Android. George george.sand...@gmail.com wrote: Hello, I was curious to know how granular folks are

[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

[wtr-general] watir-webdriver timing out, ending run of Suite (Test::Unit) instead of simply causing test failure

2011-09-26 Thread jw
ruby 1.8.7 (352) test-unit (2.3.0) watir (2.0.1) watir-webdriver (0.3.3) IE9/probably others I don't know if other people have seen this, but I'm occasionally getting stacks that look like: C:/Users/jw/.pik/rubies/Ruby-187-p352/lib/ruby/1.8/timeout.rb:64:in `rbuf_fill': execution expired

Re: [wtr-general] watir-webdriver timing out, ending run of Suite (Test::Unit) instead of simply causing test failure

2011-09-26 Thread Rahul Sharma
I posted about the same problem few days back. I still keep getting these ruff_fill errors occasionally however, it doesn't happen to kill my tests. This error causes random failures in my test suite which we run every night. I was advised to check and see if it was an environment problem.

[wtr-general] watir-webdriver and ie9 - downloading a file stops processing

2011-09-15 Thread jw
Using watir and ie8 I was able to DL files from my app no problem. Now using ie9.0.8112 ruby 1.8.7 p352 selenium-webdriver (2.5.0) watir (2.0.1) watir-webdriver (0.3.3) The click_no_wait method is no longer an option in watir-webdriver. IE9's DLs appear in-window in a gold band near the

[wtr-general] Watir-Webdriver IE issue (UnexpectedJavascriptError: Unable to find element with xpath)

2011-09-12 Thread Mike
Hello, I've searched this issue over and over and can't seem to find any answers. I'm trying to use watir-webdriver for IE8 and cannot access/manipulate a number of page elements.. namely select lists. When triggering select on a list like so: d = b.select_list :name = 'state' d.select 'Ohio'

Re: [wtr-general] Watir-Webdriver IE issue (UnexpectedJavascriptError: Unable to find element with xpath)

2011-09-12 Thread Jari Bakken
Do you have the latest version the selenium-webdriver and watir-webdriver gems? Can you provide an HTML page where the lookup fails? Den 12. sep. 2011 kl. 21:16 skrev Mike michaelszor...@gmail.com: Hello, I've searched this issue over and over and can't seem to find any answers. I'm trying

[wtr-general] Watir WebDriver Performance Error

2011-09-11 Thread Jason Shelton
Hello All, I am attempting to use the watir-webdriver-performance gem, but am getting an error when I try to execute the code below: require 'watir-webdriver' require 'watir-webdriver-performance' b.goto 'http://watir.com' load_secs =

RE: [wtr-general] Watir WebDriver Performance Error

2011-09-11 Thread Jason Shelton
All, I did not mention in my previous post that I am using IE 9, and I declare 'b' like this: b = Watir::Browser.new :ie Thanks again for your assistance. From: jas.shel...@hotmail.com To: watir-general@googlegroups.com Subject: [wtr-general] Watir WebDriver Performance Error Date

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

[wtr-general] Watir 2.0.2 Released

2011-09-10 Thread Hugh McGowan
HI all, We've released Watir 2.0.2. This release contains the following changes: * support for del, ins, font, meta and ol tags * support for h1, h2, h3, h4, h5, h6 and ul collection methods * Watir::IE#execute_script returns the value of the JavaScript evaluation * Watir::IE#fire_event checks

[wtr-general] Watir on Rails 3

2011-09-07 Thread tanin
I'd like to share my new gems. It is a gem to use Watir with Rails 3. It is based on watir-webdriver. https://github.com/tanin47/watir-webdriver-rails Hope you guys find it useful :) -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

[wtr-general] Watir general question

2011-08-30 Thread bhuvanesh barani
This is a discussion on *Watir general question - RUBY* ; hi everyone it was really difficult to find a watir forum at all, so i hope i can find some help in here anyway. is there a way of veryfying that an IE spawned browser window exists? from what i ... For more details:

Re: [wtr-general] watir-webdriver / chrome / ubuntu 11.01 11.10a

2011-08-27 Thread Željko Filipin
Jari said webdriver should be able to drive both chrome and chromium, there is a setting, but I can not remember right now the name. On Saturday, August 27, 2011, Kyle Korbel kyle.s.kor...@gmail.com wrote: Wow...this is a bit embarrassing but I only had the chromium-browser installed which is

<    1   2   3   4   5   6   7   8   9   >