Re: [wtr-general] problem with using watir and win32ole together

2014-01-08 Thread Jose Calderon-Celis
https://rvm.io/ --- Jose Calderon-Celis 2014/1/7 Jorge Castro jorge.cas...@pucp.pe Mmm have you tried to use gem with jvm on linux? Jorge Castro Verizon Terremark -- *From: * marcwestwood0...@gmail.com *Sender: * watir-general@googlegroups.com *Date: *Mon,

[wtr-general] NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Sanjeev Singh
Hi All, I am getting the below error when I type the below code irb require watir ie = Watir::Browser.new :ie ie.goto http://www.google.com; #till this point it works fine ie.show_all_objects gives the error NoMethodError: undefined method 'show_all_objects' for

Re: [wtr-general] NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Oscar Rieken
You are getting that error because you are calling a method that does not exist. I would suggest learning more about ruby. On Wed, Jan 8, 2014 at 1:48 AM, Sanjeev Singh bapu.cvra...@gmail.comwrote: Hi All, I am getting the below error when I type the below code irb require watir ie =

[wtr-general] Re: problems with watir and win32ole

2014-01-08 Thread Chuck van der Linden
On Monday, January 6, 2014 6:47:30 AM UTC-8, marcwest...@gmail.com wrote: I have an issue where when I require 'win32ole' in a script I then get an error when trying to deal with a modal dialog. When I remove require 'win32ole' the error goes away. The error I am getting is...

[wtr-general] Re: Logging HTTP traffic via a proxy while running webdriver tests?

2014-01-08 Thread Chuck van der Linden
On Tuesday, January 7, 2014 12:06:55 PM UTC-8, Dan wrote: I've cheated in the sense that I've used Fiddler by programmatically starting and stopping it when running tests. There looks to be a Linux build of it now. In my case it was ADFS so I feel your pain.

[wtr-general] test coverage

2014-01-08 Thread L.M.E
Hello, Is there a way to know the test coverage for the code we are testing using Watri? Many thanks, L.M.E -- -- 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] Re: Logging HTTP traffic via a proxy while running webdriver tests?

2014-01-08 Thread Dan
Actually, I was confusing some work I've done with wireshark and fiddler. Wireshark has a command line interface that I've used. This was actually done in a powershell script and not ruby, but it's the same idea. Wireshark might be a little too low level though? You can pass the interface

[wtr-general] Re: NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Chuck van der Linden
On Tuesday, January 7, 2014 10:48:45 PM UTC-8, Sanjeev Singh wrote: Hi All, I am getting the below error when I type the below code irb require watir ie = Watir::Browser.new :ie ie.goto http://www.google.com; #till this point it works fine ie.show_all_objects gives the error

[wtr-general] Re: test coverage

2014-01-08 Thread Chuck van der Linden
sure, monitor the server code with some kind of coverage tool while the tests execute. please note that 'code coverage' is a terrible metric for anything to do with the quality of your testing. It is for example entirely possible to write 'tests' that will never detect a single error or

[wtr-general] Re: Logging HTTP traffic via a proxy while running webdriver tests?

2014-01-08 Thread Dan
Yeah. Nothing special needed to be done to the browser. On Wednesday, January 8, 2014 1:20:03 PM UTC-5, Chuck van der Linden wrote: On Wednesday, January 8, 2014 9:38:15 AM UTC-8, Dan wrote: Actually, I was confusing some work I've done with wireshark and fiddler. Wireshark has a command

[wtr-general] Re: NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Sanjeev Singh
On Wednesday, January 8, 2014 12:48:37 PM UTC-5, Chuck van der Linden wrote: On Tuesday, January 7, 2014 10:48:45 PM UTC-8, Sanjeev Singh wrote: Hi All, I am getting the below error when I type the below code irb require watir ie = Watir::Browser.new :ie ie.goto http://www.google.com;

Re: [wtr-general] NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Sanjeev Singh
Thanks for responding and many thanks for the links...!!! Yes, I am new to Watir and my aim is to automate our application using Watir. I am just stuck at the second page of my application and could not able to locate the object I am looking for. Here is what I got from the page's HTML code:

[wtr-general] Re: test is taking a long time in webdriver v classic

2014-01-08 Thread Chuck van der Linden
With the way you have things, I think it is having to relocate the row and cells each time it goes through the loop While it does not answer the slowness question, maybe it would be faster to build a collection of cells for each of the proper rows, (so that is done once) and then work directly

[wtr-general] Re: Major delay with watir script execution. Possible newbie error.

2014-01-08 Thread Chuck van der Linden
On Sunday, December 29, 2013 11:36:23 PM UTC-8, Colin Milyoni wrote: Hi folks, I'm new to both ruby and to watir, so I apologize in advance if this is a massive rookie mistake. Assistance of any level is greatly appreciated. My problem is that I am running into a gigantic delay when

[wtr-general] Re: How to test infinite scrolling on web page

2014-01-08 Thread Chuck van der Linden
On Friday, December 20, 2013 1:53:20 AM UTC-8, Anisha wrote: Hi, I am using watir-webdriver. The application that I am testing has infinite scrolling implemented. It is more or less like 1000 results present but dis[played 10 at a time and next 10 results appear on scrolling the page, so

[wtr-general] Watir responds very slowly for a big line of code

2014-01-08 Thread Sanjeev Singh
Hi All, I am trying the below code and it is really really slow to respond browser.div(:id = context-wrapper).frame(:id = ConcertoContext).div(:id = cpo-folder).div(:class = cpo-content-wrapper).div(:class = cpo-content).frame(:id = application-content).frame(:name =

[wtr-general] Re: NoMethodError: undefined method 'show_all_objects' for #Watir::Browser:0x28..............

2014-01-08 Thread Sanjeev Singh
Hi All, I finally was able to do the coding and set the values for the desired field. Below is the code that I used: browser.div(:id = context-wrapper).frame(:id = ConcertoContext).div(:id = cpo-folder).div(:class = cpo-content-wrapper).div(:class = cpo-content).frame(:id =

[wtr-general] Re: click_no_wait problem with IE8 but fine with IE9

2014-01-08 Thread Stefano
Hi, no one has had the same problem? Is there a solution? Thanks, Stefano Il giorno giovedì 19 dicembre 2013 09:13:48 UTC+1, Stefano ha scritto: Hi, we are facing a problem with click_no_wait command when we try to open a modal_dialog popup with ruby 2.0.0, watir-classic-4.0.1 and IE8.