Re: [wtr-general] How do I set an input MULTIPLE files with Watir?

2013-04-15 Thread Željko Filipin
On Mon, Apr 15, 2013 at 5:07 PM, Karoline Leite karolxavierle...@gmail.comwrote: How do I set this input file ? This worked for me: browser.file_field(:name = original).set /path/to/file Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:13 PM, watir webdriver watirwebdriver...@gmail.com wrote: How can we handle popups using Autoit in watir webdriver.Any helpful links or docs available ? Why would you use Autoit? http://watirwebdriver.com/javascript-dialogs/ Željko --

Re: [wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:30 PM, watir webdriver watirwebdriver...@gmail.com wrote: But I want to know how to use autoit for popups. Why? Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com

Re: [wtr-general] Re: Watir webdriver - Autoit

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 12:59 PM, watir webdriver watirwebdriver...@gmail.com wrote: is it a good practice to use autoit to handle popups or not No. Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Using watir with html 5

2013-04-11 Thread Željko Filipin
On Thu, Apr 11, 2013 at 7:02 PM, gary mrgaryengl...@googlemail.com wrote: Hopefully this is not too vague?? It is. Please share your code and error messages, if any. Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] Watir Webdriver screenshot question: can it take screenshot for particular area/region?

2013-04-09 Thread Željko Filipin
On Tue, Apr 9, 2013 at 5:45 AM, Jason Ding dingze...@gmail.com wrote: I know it can take screenshot for whole page, but can it take screenshot for particular area/region by dom selectors etc.? As far as I can see, no: http://watirwebdriver.com/screenshots/

Re: [wtr-general] Drag and drop is not working after updating firefox to 20.0 -- Could not load native events component.

2013-04-04 Thread Željko Filipin
On Thu, Apr 4, 2013 at 6:18 PM, watir webdriver watirwebdriver...@gmail.com wrote: Today I've updated my firefox 19.2 to 20.0 and drag and drop of the element is not working. Please post the code that causes the problem. Relevant page or html would help too. Željko --

Re: [wtr-general] Does selenium ide support watir webdriver formmater?

2013-04-03 Thread Željko Filipin
On Wed, Apr 3, 2013 at 7:05 PM, Chuck van der Linden cvanderlin...@climate.com wrote: Let me elaboriate on that. Chuck, you should start a blog! :) Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Does selenium ide support watir webdriver formmater?

2013-04-03 Thread Željko Filipin
On Wed, Apr 3, 2013 at 8:32 PM, Chuck van der Linden cvanderlin...@climate.com wrote: maybe I should take that bit above, re-write a little and post it. That is what I do. :) Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Does selenium ide support watir webdriver formmater?

2013-04-02 Thread Željko Filipin
On Sat, Mar 30, 2013 at 2:33 AM, Ekin Han nbkhic...@gmail.com wrote: Does selenium ide support watir webdriver formmater, or is that possible to write a formatter for watir webdriver using selenium IDE api? You will get better support at selenium ide mailing list, if it exists. Selenium ide

Re: [wtr-general] Re-run mechanism for cucumber+watir-webdriver

2013-03-26 Thread Željko Filipin
On Mon, Mar 25, 2013 at 10:52 PM, Alex Shtayer ashta...@gmail.com wrote: Does somebody using any re-run mechanisms for failed test cases Please google for: cucumber rerun failed tests Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Re: Re-run mechanism for cucumber+watir-webdriver

2013-03-26 Thread Željko Filipin
Since this is purely cucumber question, you will get better support at their mailing list. It is hard to give advice without seeing more of the code. Ideally, every scenario is a world for itself, and knows how to set up everything needed for it to run (logging in, for example). If you set up

Re: [wtr-general] how to call script within script

2013-03-26 Thread Željko Filipin
On Tue, Mar 26, 2013 at 2:19 PM, Sohail Mirza mrz...@gmail.com wrote: i am trying with load 'Test.rb' but it is not loading My mind reading machine is not working at the moment. Could you provide more information, like the code that you have tried and error messages? Željko --

Re: [wtr-general] how to call script within script

2013-03-26 Thread Željko Filipin
On Tue, Mar 26, 2013 at 2:32 PM, Sohail Mirza mrz...@gmail.com wrote: i meant how can i call a script into another script. require is what you are looking for: http://rubylearning.com/satishtalim/including_other_files_in_ruby.html Željko -- -- Before posting, please read

Re: [wtr-general] New to Ruby and Watir

2013-03-25 Thread Željko Filipin
On Sun, Mar 24, 2013 at 8:16 PM, akia...@gmail.com wrote: If someone can direct to me to a documentation which i can use as guide, it would be really helpful. Try entering this into google: watir The first result is our web site, you should be able to find a lot of documentation there.

Re: [wtr-general] Is that possible to add a console in watir webdriver?

2013-03-22 Thread Željko Filipin
On Fri, Mar 22, 2013 at 4:37 AM, Ekin Han nbkhic...@gmail.com wrote: just type 'watir console' in cmd Is this really harder to type? irb -r watir-webdriver Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask,

Re: [wtr-general] Can not load watir-webdriver

2013-03-20 Thread Željko Filipin
On Wed, Mar 20, 2013 at 6:31 AM, bhagy...@gmail.com wrote: cannot load such file --ffi_c Please search the google group for this error message, I remember it was mentioned a few days ago. Let us know if you do not find anything. Željko -- https://leanpub.com/watirbook -- -- Before posting,

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Željko Filipin
On Wed, Mar 20, 2013 at 10:39 AM, Sohail Mirza mrz...@gmail.com wrote: I am curious to know about Logger.rb. I am too. :) Can you link to it's home page? Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Željko Filipin
On Wed, Mar 20, 2013 at 10:49 AM, Sohail Mirza mrz...@gmail.com wrote: Are you talking about the following home page? http://wiki.openqa.org/display/WTR/Example+Logging I am not talking about anything. I have asked what _you_ are talking about. :) The page that you have linked to was last

Re: [wtr-general] problem

2013-03-20 Thread Željko Filipin
On Wed, Mar 20, 2013 at 12:33 PM, Sohail Mirza mrz...@gmail.com wrote: I am using the following lines but NOTHING IS working for me not working is not enough data. Any error messages? Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Watir Webdriver Logger

2013-03-20 Thread Željko Filipin
On Wed, Mar 20, 2013 at 11:11 AM, Sohail Mirza mrz...@gmail.com wrote: @browser = Watir::Browser.new :chrome @browser.goto (http://testapp:8080/;) should be recorded / outputted / logged as Opening browser page with specified URL Did you take a look at available Ruby logger libraries?

Re: [wtr-general] watirgrid not working: uninitialized constant Watir::Grid (NameError)

2013-03-19 Thread Željko Filipin
On Mon, Mar 18, 2013 at 10:45 PM, caoxu2...@gmail.com wrote: I installed watirgrid I am not sure if watirgrid is maintained any more. (It is not officially part of Watir project.) You can create an issue here: https://github.com/90kts/watirgrid/issues Željko -- https://leanpub.com/watirbook

Re: [wtr-general] Element is not clickable at point

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 9:40 AM, Sohail Mirza mrz...@gmail.com wrote: I am getting this error Element is not clickable at point. Please share relevant HTML and Ruby code. Full text of the error, too. Željko -- https://leanpub.com/watirbook -- -- Before posting, please read

Re: [wtr-general] Element is not clickable at point

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 2:40 PM, Sohail Mirza mrz...@gmail.com wrote: input id=btnAddNewCustomer type=submit class=ui-button Action value=Create New Customer onclick=createNewCustomer() Can you post a link to the page where the problem is reproducible? Željko -- -- Before posting, please

Re: [wtr-general] Re: Watir-Webdriver Save Image

2013-03-18 Thread Željko Filipin
On Sun, Mar 17, 2013 at 9:39 AM, Sohail Mirza mrz...@gmail.com wrote: how to save screenshot This should help: http://watirwebdriver.com/screenshots/ Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Unable to select disabled drop down from the list

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 2:28 PM, sk.fa...@gmail.com wrote: I was able to select 'Year' as 2011 but not 'Make' drop down.In that I'm trying to select 'BMW'. This worked for me: require watir-webdriver browser = Watir::Browser.new browser.goto http://dev01-new.firestonecompleteautocare.com/;

Re: [wtr-general] Unable to select disabled drop down from the list

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 2:57 PM, Željko Filipin zeljko.fili...@gmail.comwrote: Watir::Wait.until { browser.select(:id = universal-make).include? BMW } Forgot to add links with more information: http://watirwebdriver.com/waiting/ http://watir.github.com/watir-webdriver/doc/Watir/Select.html

Re: [wtr-general] are the docs on rubydocs for watir-webdriver current?

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 6:25 PM, Chuck van der Linden cvanderlin...@climate.com wrote: I wonder what the difference is between rdoc.info and rubydoc.info I thought they were completely identical. Željko -- -- Before posting, please read http://watir.com/support. In short: search before

Re: [wtr-general] are the docs on rubydocs for watir-webdriver current?

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 7:04 PM, Chuck van der Linden cvanderlin...@climate.com wrote: why are the docs it finds via github out of date, and the docs via gems are current? I think that is question for rdoc support, if there is one. :) Željko -- -- Before posting, please read

Re: [wtr-general] Help needed for using regular expressions

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 7:03 PM, Pavan Turlapati pavanturlap...@gmail.comwrote: $ie.iframe(:id =PWGadget/\d/Ifr).table(:id = ViewTable).cell(:text=VMO).fire_event(ondblclick) Change PWGadget/\d/Ifr to something like /PWGadget\dIfr/ Take a look at http://rubular.com/ for regex help. Željko

Re: [wtr-general] are the docs on rubydocs for watir-webdriver current?

2013-03-18 Thread Željko Filipin
On Mon, Mar 18, 2013 at 7:15 PM, Chuck van der Linden cvanderlin...@climate.com wrote: Right.. https://rubydoc.tenderapp.com/discussions/problems/159-why-would-github-docs-be-out-of-date-and-gem-docs-current Great, let us know when you get the answer. Željko -- -- Before posting, please

Re: [wtr-general] are the docs on rubydocs for watir-webdriver current?

2013-03-16 Thread Željko Filipin
watir-webdriver readme[1] says there are two sites with API documentation: http://rdoc.info/gems/watir-webdriver/ (basic docs, updated on every release) http://watir.github.com/watir-webdriver/doc/ (includes all attribute methods, updated occasionally) I remember Jari explaining why some

Re: [wtr-general] Unable to set value into a textbox which is deep into a table

2013-03-15 Thread Željko Filipin
What do you want to do? Count the number of columns in the table? Please provide relevant HTML (it is hard to try things on a screenshot). Željko -- https://leanpub.com/watirbook On Thu, Mar 14, 2013 at 10:49 PM, Pavan Turlapati pavanturlap...@gmail.comwrote: Hi, I am pretty new

Re: [wtr-general] Unable to input text field in the iframe

2013-03-15 Thread Željko Filipin
On Fri, Mar 15, 2013 at 2:06 PM, sk.fa...@gmail.com wrote: I tried different ways but no luck! What have you tried? Please share the code with us. Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Unable to input text field in the iframe

2013-03-15 Thread Željko Filipin
On Fri, Mar 15, 2013 at 2:06 PM, sk.fa...@gmail.com wrote: https://www.salesforce.com/ Are you working for them? I am pretty sure they do not allow random people scraping the site. Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Watir HTML Reports

2013-03-14 Thread Željko Filipin
On Thu, Mar 14, 2013 at 9:14 AM, Sohail Mirza mrz...@gmail.com wrote: Could you comments some good cucumber articles? All I know about cucumber I have found here: http://cukes.info/ Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] on error continue execution

2013-03-14 Thread Željko Filipin
On Thu, Mar 14, 2013 at 11:30 AM, Sohail Mirza mrz...@gmail.com wrote: I am trying to find out the way that *how to continue test cases execution on error*. Please share relevant code. Right now test case execution stops as soon some error encounter during test execution. I am using

Re: [wtr-general] Error while running Script

2013-03-14 Thread Željko Filipin
was working perfectly fine however now its giving issues with add_assertion method. thanks Ashish On Wednesday, December 5, 2012 6:38:06 PM UTC+5:30, Željko Filipin wrote: On Wed, Dec 5, 2012 at 1:59 PM, Ashish sharma20...@gmail.com wrote: I am using ruby 1.9.3 with watir 1.8.1 for testing

Re: [wtr-general] Chromedriver Unable To locate element that Firefox has no issue with

2013-03-14 Thread Željko Filipin
On Thu, Mar 14, 2013 at 7:12 PM, Aaron Schwartz schwartz.aar...@gmail.comwrote: Is this a known issue or am I doing something else wrong? Is this similar? http://stackoverflow.com/q/9270259/17469 Any easy fixes? This could help. http://stackoverflow.com/a/14876538/17469 Phantomjs has

Re: [wtr-general] Watir HTML Reports

2013-03-13 Thread Željko Filipin
On Wed, Mar 13, 2013 at 8:28 AM, Sohail Mirza mrz...@gmail.com wrote: i need to create HTML reports in Watir. Watir just drives browsers, it does not create reports. I think that all testing frameworks (test/unit, rspec, cucumber) have reporting. I use cucumber and it has really nice HTML

Re: [wtr-general] How to set text for DIV

2013-03-13 Thread Željko Filipin
On Wed, Mar 13, 2013 at 8:48 AM, amru...@intalio.com wrote: I have requirement where I need to set some string value for DIV. How would you do that manually? You know that you can not manually set div text, right? If you are automating something like wysiwyg editor, you can send keys to any

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 anthony.co...@gmail.comwrote: 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

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 anthony.co...@gmail.com 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,

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 anthony.co...@gmail.comwrote: 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

Re: [wtr-general] How to do scrubbing with HTML5 video?

2013-03-12 Thread Željko Filipin
On Mon, Mar 11, 2013 at 12:02 AM, harriso...@ooyala.com wrote: However when I use the API drag_and_drop_by the playhead is only moved at most 1 second at a time no matter what value of the right_by I use. I was able to reproduce it. I could move the slider left and right but only a second or

Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 11:14 AM, Amit Kumar amit.sr...@gmail.com wrote: Can we use Watir for cloud based web applications testing? An Example Would Be Handy Right About Now[1]. Željko -- [1] http://www.exampler.com/blog/2007/08/07/marketing-mania-continues/ -- -- Before posting, please

Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 11:43 AM, Amit Kumar amit.sr...@gmail.com wrote: Could you please elaborate on this, please? Sure. What do you mean by cloud based web applications testing? Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 12:13 PM, Amit Kumar amit.sr...@gmail.com wrote: I meant cloud based application, which will be run on cloud. Actually, I do not have that knowledge about cloud computing. What do you mean by cloud? Do you have a problem to solve, or are you just curious? Željko --

Re: [wtr-general] Can we use Watir for cloud based web applications testing?

2013-03-12 Thread Željko Filipin
On Tue, Mar 12, 2013 at 12:23 PM, Amit Kumar amit.sr...@gmail.com wrote: Actually I want to use Watir cloud based application. Watir drives browsers. If your application is web application that you access from a browser, Watir does not care if the application is on your computer or in the

Re: [wtr-general] Need code snipet

2013-03-11 Thread Željko Filipin
On Mon, Mar 11, 2013 at 2:29 AM, Vimal Raju vimalvino2...@gmail.com wrote: When I tried the below code I’m getting the error “LoadError: cannot load such file -- ffi_c”. Please post the entire stacktrace. In the mean time, try installing ffi_c gem with: gem install ffi_c Željko -- --

Re: [wtr-general] How to do scrubbing with HTML5 video?

2013-03-11 Thread Željko Filipin
On Mon, Mar 11, 2013 at 12:02 AM, harriso...@ooyala.com wrote: However when I use the API drag_and_drop_by the playhead is only moved at most 1 second at a time no matter what value of the right_by I use. Please share your code and link to a page where the problem can be reproduced. Željko

Re: [wtr-general] Ckeditor

2013-03-11 Thread Željko Filipin
On Sun, Mar 10, 2013 at 3:07 AM, ss shweta.sharma2...@gmail.com wrote: I am using capybara not watir framework. In that case I would suggest that you send the question to capybara support mailing list. If you were using Watir, something like this should work: browser.frame(:id =

Re: [wtr-general] Re: watir-classic issue with execute_script and JSON

2013-03-08 Thread Željko Filipin
On Thu, Mar 7, 2013 at 11:17 PM, Chuck van der Linden cvanderlin...@climate.com wrote: if you want a PC to be 100% safe, connect it to nothing, never insert an disk or USB drive you're not 100% sure is completely clean, and operate it inside a faraday cage off it's own generator Welcome

Re: [wtr-general] Wait method execute_script in watir-webdriver

2013-03-08 Thread Željko Filipin
On Fri, Mar 8, 2013 at 3:35 PM, fabian.aroc...@gmail.com wrote: Can I combine a wait method (until present, when present etc) with the execute_script method? Try and let us know. I see no reason why it should not work. Željko -- https://leanpub.com/watirbook -- -- Before posting, please

Re: [wtr-general] Watir-Web driver

2013-03-08 Thread Željko Filipin
On Fri, Mar 8, 2013 at 3:30 PM, abr.nand...@gmail.com wrote: unable to locate element, using {:text =Logout, :tag_name=a} A couple of reasons come to mind: 1) logout link is in a frame, try something like this: browser.frame(:id = frame-id).a(:text = Logout).click More information:

Re: [wtr-general] Need code snipet

2013-03-08 Thread Željko Filipin
On Fri, Mar 8, 2013 at 4:14 PM, Vimal Raju vimalvino2...@gmail.com wrote: Can anyone help me to provide code snippet for the below spec 1. Separate window for login 2. After successful login, login window will be closed and new window like pop-up window which has dynamic URL is opened. 3.

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

2013-03-07 Thread Željko Filipin
On Wed, Mar 6, 2013 at 10:02 PM, Jarmo Pertman jarm...@gmail.com wrote: Watir does not require to be run with administrative privileges. I'm not sure as to why you think so, Željko. It has been a while since I have used Watir on Windows. I remember there was at least one problem when Watir

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

2013-03-07 Thread Željko Filipin
On Wed, Mar 6, 2013 at 11:06 PM, Alex Shtayer ashta...@gmail.com wrote: Do you have any reasons to move on Ruby 2.0? Recently I was helping a client move forward from Ruby 1.8.6. They did not have a reason to move forward until things got really broken. And then it was a major project. I would

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

2013-03-07 Thread Željko Filipin
On Thu, Mar 7, 2013 at 1:06 AM, Chuck van der Linden cvanderlin...@climate.com wrote: I am unsure if any of our developers (or the Webdriver folks for that matter) have tried our (their) stuff under Ruby 2.0 yet. Of course they have tried. :) https://travis-ci.org/watir/watir-webdriver

Re: [wtr-general] Jquery+Watir problem with file_field

2013-03-07 Thread Željko Filipin
On Wed, Mar 6, 2013 at 9:58 PM, Michael Kernaghan michael.kernag...@gmail.com wrote: file is cleared from select window and save throws error because no file was selected. It would help if you could provide link to the page, or a similar one where the problem can be reproduced. Željko --

Re: [wtr-general] Watir and Jenkins

2013-03-06 Thread Željko Filipin
On Wed, Mar 6, 2013 at 2:07 AM, Joe Fleck joeflec...@gmail.com wrote: According to the group that created the cucumber scripts they are excuting against a browser. They are also using jruby instead of ruby. How are they driving browsers? With Watir? Selenium? Something else? You should be

Re: [wtr-general] Custom report system for cucumber+watir-webdriver

2013-03-06 Thread Željko Filipin
On Tue, Mar 5, 2013 at 10:14 PM, Alex Shtayer ashta...@gmail.com wrote: Just curious, maybe someone was working before to create nice looking and informative reports for cucumber+watir-webdriver scripts. I am not sure that I understood the question. What are you looking for? HTML reports

Re: [wtr-general] Issue Clicking JQuery Rendered Buttons

2013-03-06 Thread Željko Filipin
On Tue, Mar 5, 2013 at 10:15 PM, Rhonda B. Reece rhondare...@gmail.comwrote: In IE I can use the span tag with the text attirbute to click the button but in FireFox and Chrome I get an error that the OK button cannot be found. Please post your Watir code and the error messages. Željko --

Re: [wtr-general] Re: Custom report system for cucumber+watir-webdriver

2013-03-06 Thread Željko Filipin
On Wed, Mar 6, 2013 at 5:15 PM, Alex Shtayer ashta...@gmail.com wrote: Yes, mostly I am speaking about HTML reports generated by Cucumber, but absolutely custom (so I can add some extra information like time, build number) and nice looking. You should be able to extend any existing report,

Re: [wtr-general] Watir and Jenkins

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 2:11 AM, Joe Fl joeflec...@gmail.com wrote: When I try to excute them from Jenkins the browser never launches and the scripts process never ends. I am running Watir scripts from Jenkins all the time, but not on Windows. As far as I remember, Windows needs graphical

Re: [wtr-general] how to install cucumber in windows xp sp3

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 5:38 AM, umesh khannan umeshkhan...@gmail.comwrote: ERROR: Failed to build gem native extension. You need devkit: https://github.com/watir/watirbook/blob/master/installation/windows.md#devkit http://rubyinstaller.org/add-ons/devkit/ Željko --

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

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 7:49 AM, Bibhu acharya chikun.acha...@gmail.comwrote: The above steps are working fine when I run from the Admin account. As far as I remember Watir always required admin account to work properly on Windows. If you are running tests in a virtual machine, why do you care

Re: [wtr-general] Re: how to install cucumber in windows xp sp3

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 12:24 PM, umesh khannan umeshkhan...@gmail.comwrote: C:\Documents and Settings\administratorgem install watir ERROR: Error installing watir: hoe requires RubyGems version = 1.4. Try 'gem update --system' to update RubyGems itself. to install watir i am

Re: [wtr-general] Re: how to install cucumber in windows xp sp3

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 12:50 PM, umesh khannan umeshkhan...@gmail.comwrote: cucumber is not working for me The people on this list _do_ have some supernatural powers, but as far as I know none of us can read minds yet. We are working on it. In the meantime, you will have to provide more

Re: [wtr-general] Re: how to install cucumber in windows xp sp3

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 1:10 PM, umesh khannan umeshkhan...@gmail.comwrote: Please download the IEDriverServer from http://code.google.com /p/selenium/downloads/list and place the executable on your PATH. Are you even reading the error messages? What do you think this error message says?

Re: [wtr-general] Watir and Jenkins

2013-03-05 Thread Željko Filipin
On Tue, Mar 5, 2013 at 1:47 PM, Joe Fleck joeflec...@gmail.com wrote: We are able to run cucumber scripts on that same VM. I not that familiar with cucumber but why does it work? Cucumber does not need GUI to work. Browsers do, and Watir drives browsers. Željko -- -- Before posting,

Re: [wtr-general] Modal Dialog - Prime faces

2013-02-28 Thread Željko Filipin
On Thu, Feb 28, 2013 at 3:24 PM, Champ try...@gmail.com wrote: My code below works for generic modal dialogs, but fails to identify the ones with primefaces modal dialog. The modal dialog there is just a div element. Inspect the page with a tool like firebug. Željko --

Re: [wtr-general] Re: Do Watir scripts run in selenium

2013-02-22 Thread Željko Filipin
On Thu, Feb 21, 2013 at 9:16 PM, umeshkhan...@gmail.com wrote: Thank you zeljko i am in the middle of using both watir as well as calabash-ios so can you help me by giving idea which topics in ruby i have master so that my testing will be of more quality and efficient. Just read any book on

Re: [wtr-general] Javascript pop up dialog box

2013-02-22 Thread Željko Filipin
On Fri, Feb 22, 2013 at 8:59 AM, fabian.aroc...@gmail.com wrote: How can I get a simple OK to be clicked in a Javascript dialog box? http://watirwebdriver.com/javascript-dialogs/ Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] webdriver-user-agent gem usage and watir

2013-02-21 Thread Željko Filipin
On Thu, Feb 21, 2013 at 4:21 AM, Ragavan Ambighananthan eelam.raga...@gmail.com wrote: I am using webdriver-user-agent mentioned here - http://watirwebdriver.com/mobile-devices/ If you think you have found a bug, report it here: https://github.com/alisterscott/webdriver-user-agent/issues

Re: [wtr-general] Re: Do Watir scripts run in selenium

2013-02-21 Thread Željko Filipin
On Thu, Feb 21, 2013 at 5:08 AM, umeshkhan...@gmail.com wrote: I mean to ask will learning ruby language helps us to do scripting in selenium. If your plan is to use selenium-webdriver or watir-webdriver gems (Ruby libraries) then yes, learning Ruby would be a good idea. Željko -- --

Re: [wtr-general] watir visible? returns false for visible element if parent is hidden

2013-02-18 Thread Željko Filipin
On Mon, Feb 18, 2013 at 1:06 AM, Andras Fuge andras.f...@gmail.com wrote: Is it a feature in Watir and I shall live with it or is there a nice workaround here? This is the same answer that I would give: I assume you are using watir-classic? Given that it seems to work properly in

Re: [wtr-general] bluetooth_adapter_win.cc(23)] NOT IMPLEMENTED

2013-02-18 Thread Željko Filipin
Please provide code that causes the error, and relevant html. Željko On Mon, Feb 18, 2013 at 6:12 AM, Sohail Mirza mrz...@gmail.com wrote: Hi, I would like to know the specific reason for the following error which comes when i execute the Watir Script *(Though script executed perfectly

Re: [wtr-general] Do Watir scripts run in selenium

2013-02-16 Thread Željko Filipin
On Sat, Feb 16, 2013 at 10:57 AM, umeshkhan...@gmail.com wrote: I like watir scripting may i know will these scripts work on the Selenium web driver. Or will ruby scripts work on the selenium. I did not understand the question. Željko -- https://leanpub.com/watirbook -- -- Before

Re: [wtr-general] Re: activesupport requires Ruby version = 1.8.7

2013-02-15 Thread Željko Filipin
On Thu, Feb 14, 2013 at 5:00 PM, James Klein 3dsan...@gmail.com wrote: - activesupport requires Ruby version = 1.8.7. You have ruby 1.8.6?! :) Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Watir Classic versus Watir-WebDriver?

2013-02-15 Thread Željko Filipin
On Fri, Feb 15, 2013 at 4:27 PM, saumya negi saumya.negi...@gmail.comwrote: I get these errors with watir-webdriver + selenium webdriver 2.29.0 as well :( Please provide relevant code and error messages. Željko -- -- Before posting, please read http://watir.com/support. In short: search

Re: [wtr-general] Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 7:03 AM, umeshkhan...@gmail.com wrote: Can anyone help me by sending the steps for data driven testing using excel sheet Is there a reason you want to use excel? Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In

Re: [wtr-general] Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
I suggest that you provide as little ruby code and relevant html that still reproduce the problem and report it as a bug: https://github.com/watir/watir-webdriver/issues Do you get the same error if you run the tests in another browser? Željko -- https://leanpub.com/watirbook On Thu, Feb 14,

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:46 AM, umeshkhan...@gmail.com wrote: No i just want to loop the same step but with different parameters/data. Its not necessary for the excel. If this is possible without excel i am glad with that. Please provide example code. Željko -- -- Before posting,

Re: [wtr-general] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:05 AM, Alex Shtayer ashta...@gmail.com wrote: I understand that this thread/group can be not related to webdriver core itself, but anyway I want to try my luck here Why don't you report the problem in selenium/webdriver bug tracker? Željko -- -- Before posting,

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:58 AM, umeshkhan...@gmail.com wrote: code it runs but i want to change the message to a different one each time it runs. i want it to fetch the new message as it runs each time. What should be different every time the loop runs in the code that you have provided?

Re: [wtr-general] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:15 AM, Alex Shtayer ashta...@gmail.com wrote: Are you closing browser after each case? Yes. Code: https://github.com/wikimedia/qa-browsertests Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice.

Re: [wtr-general] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:43 AM, Alex Shtayer ashta...@gmail.com wrote: Are you able access that link? Because I get 'This repository is temporarily unavailable.' message Looks like github has problems at the moment: https://status.github.com/ Github is actually a mirror, the original

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 11:22 AM, umeshkhan...@gmail.com wrote: Test message from sara for testing should be different every time loop runs this message should change How should the message change? Please provide examples. Željko -- -- Before posting, please read

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 10:58 AM, umeshkhan...@gmail.com wrote: 10.times do ie.link(:text,Quick Message).click ie.text_field(:name,edit_row[quick_msg]).setTest message from sara for testing ie.select_list(:class,select-display-100).select_valueGreen

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 12:38 PM, umeshkhan...@gmail.com wrote: Thanks *Zeljko its working excellently.* You should read a book on ruby, it has a lot of nice features. It will help you a lot while using watir. There are a few ruby books online that you can get completely free. Željko -- --

Re: [wtr-general] Re: Data driven testing using watir-classic v 3.0.0

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 12:45 PM, umeshkhan...@gmail.com wrote: can you suggest me a book I think this is the first book on Ruby that I have read: http://www.rubycentral.com/pickaxe/ Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be

Re: [wtr-general] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 1:28 PM, Alex Shtayer ashta...@gmail.com wrote: Need to read Cucumber Book for some possible solutions:) Read this one too: https://leanpub.com/cucumber_and_cheese Željko -- -- Before posting, please read http://watir.com/support. In short: search before you ask,

Re: [wtr-general] Re: Serious memory leaks on IE9 and IE10 for watir-webdriver

2013-02-14 Thread Željko Filipin
On Thu, Feb 14, 2013 at 2:37 PM, Alex Shtayer ashta...@gmail.com wrote: I need to run one scenario before each one (will use background) and one after each scenario. How do you think, is it possible to do? Cucumber has before and after hooks: https://github.com/cucumber/cucumber/wiki/Hooks

Re: [wtr-general] Newb question

2013-02-11 Thread Željko Filipin
On Mon, Feb 11, 2013 at 12:23 AM, Glenn Waters gwwat...@gmail.com wrote: Then /^I should see (.*)$/ do |query| BROWSER.text.include?(query).should == true BROWSER.close end Change this: BROWSER.text.include?(query).should == true to something like this: BROWSER.text.should match

Re: [wtr-general] Re: watir, watir-webdriver, watir-classic: history and current state?

2013-02-09 Thread Željko Filipin
On Fri, Feb 8, 2013 at 11:39 AM, Alex Shtayer ashta...@gmail.com wrote: but Watir classic is still only for Internet Explorer or something changed? Yes. watir-classic can only drive IE. watir-webdriver can drive all popular browsers, including IE. Željko -- -- Before posting, please read

Re: [wtr-general] Chrome automation using watir

2013-02-09 Thread Željko Filipin
On Fri, Feb 1, 2013 at 5:10 PM, Sohail Mirza mrz...@gmail.com wrote: I wanted to know that is it possible to automate Chrome using watir? Yes. http://watirwebdriver.com/chrome/ Željko -- https://leanpub.com/watirbook -- -- Before posting, please read http://watir.com/support. In short:

Re: [wtr-general] how to set focus on a popup window and continue work in popup window as a Current window in WATIR

2013-02-07 Thread Željko Filipin
http://watirwebdriver.com/browser-popups/ Željko -- https://leanpub.com/watirbook -- -- 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] NoMethodError: undefined method `show_images'

2013-02-07 Thread Željko Filipin
On Wed, Feb 6, 2013 at 11:24 PM, Judy judia...@gmail.com wrote: I am getting NoMethodError for show_images() method in Watir , what should I do? What are you trying to do? #show_images is deprecated, you should use browser developer tools to inspect the page. Željko --

Re: [wtr-general] how cucumber finds html ids - via DOM or by parsing html code ?

2013-02-07 Thread Željko Filipin
On Thu, Feb 7, 2013 at 11:22 AM, Ragavan Ambighananthan eelam.raga...@gmail.com wrote: I would like to understand from performance perspective how cucumber finds an html id when we interact with them via automation. Cucumber does not know anything about the browser. Watir drives the browser.

<    1   2   3   4   5   6   7   8   9   10   >