[wtr-general] Google Groups or Stack Overflow?

2010-10-20 Thread JArkelen
Hi, With the addition of Stack Overflow for Watir questions, we have now two places for Watir related questions. - What is the preferred place to ask/read questions, Google Groups or Stack Overflow? - Will Google Groups be phased out in favour for Stack Overflow? I'm a bit confused about where

[wtr-general] Test on IE not working

2010-08-05 Thread JArkelen
Hi, All my tests were running fine in IE7, but when I execute a test now, IE starts up, but no URL is entered and the test returns the error Test crashed with reason navigate OLE error code:80070057 in HRESULT error code:0x80020009 Exception occurred.. Why? The only thing that has happened on

[wtr-general] Re: Running my Watir Scripts in batch file??

2010-04-20 Thread JArkelen
Or use Rake for unattended execution On Apr 19, 2:22 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Mon, Apr 19, 2010 at 2:15 PM, Srinidhi srinidhi...@gmail.com wrote: 3. So in this way ill have as many scripts as many scenarios. HOW WILL I PUT THESE IN A BATCH FILE SO THAT THEY

[wtr-general] Re: WatirGrid (distributed watir) anyone?

2010-03-19 Thread JArkelen
Hi jw, Thanks for mentioning this, I'm also looking for a solution like this so that I'm able to run 200+ tests with more computers. I will give it a go. Cheers, John On Feb 5, 2:20 am, jw joshuawal...@gmail.com wrote: It seems clear (due to the existence of seleniumGrid) that there's a need

[wtr-general] Re: WatirGrid (distributed watir) anyone?

2010-03-19 Thread JArkelen
I tested this, but assigning a PC as controller works, but assigning another PC as provider gives this error: C:/Ruby/lib/ruby/1.8/rinda/ring.rb:212:in 'lookup_ring_any': RingNotFound Any ideas? Cheers, John On Mar 19, 9:00 am, JArkelen johnvanarke...@gmail.com wrote: Hi jw, Thanks

[wtr-general] Re: how watir reads page source? how ie.html works?

2010-02-19 Thread JArkelen
Connect to the frame, so instead of: ie.link(:id, 'some_link').click use: ie.frame(:id, 'tableViewFrame').link(:id, 'some_link').click Cheers, John On Feb 19, 7:14 am, Bhavesh bhavesh1_sha...@yahoo.com wrote: Hi, Currently i am using ie.html and ie.text to get the page source and then

[wtr-general] Re: String to watir object

2010-02-17 Thread JArkelen
The cat.to_sym is exactly what I needed, thanks! Cheers, John On Feb 16, 4:00 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Feb 16, 2010 at 3:37 PM, JArkelen johnvanarke...@gmail.com wrote: I have a string value of :href and want to use it in ie.link(:href, 'bla').click

[wtr-general] String to watir object

2010-02-16 Thread JArkelen
Hi, I have a string value of :href and want to use it in ie.link(:href, 'bla').click. So the value of :href in the link function must be replaced by the string value. Therefore I need to do some conversion I think, but I don't know how. Any suggestion? Cheers, John -- You received this message

[wtr-general] Re: ie.modal_dialog(:title, 'Tile') problem

2010-02-11 Thread JArkelen
I have the same issue with the same error message and I'm running with IE7. Maybe it is because my modal dialog titles are in Dutch: Dialoogvenster van webpagina instead of Web Page Dialog? Cheers, John On 18 dec 2009, 06:34, Alister Scott alister.sc...@gmail.com wrote: I have raised the IE8

[wtr-general] Re: ie.modal_dialog(:title, 'Tile') problem

2010-02-11 Thread JArkelen
Any workaround for this? Cheers, John On 11 feb, 13:13, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Feb 11, 2010 at 1:07 PM, JArkelen johnvanarke...@gmail.com wrote: Maybe it is because my modal dialog titles are in Dutch: Dialoogvenster van webpagina instead of Web Page

[wtr-general] Re: Using watir can we check performance of an application

2009-07-09 Thread JArkelen
The PC you run Watir on will be the bottleneck, because Internet Explorer consumes a lot of RAM. On Jul 9, 3:29 am, takanobu watanabe rreedd...@gmail.com wrote: Why don't you try to use Jmeter ?http://jakarta.apache.org/jmeter/ Hope it help. tknv/ On Thu, Jul 9, 2009 at 12:18 AM,

[wtr-general] Re: Common Watir

2009-05-20 Thread JArkelen
Install it with 'gem install commonwatir'. I think commonwatir has common methods used by watir, firewatir and safariwatir, so you don't need/can't run commonwatir itself. Cheers, John On May 20, 10:15 am, Mary Subaidha marysubai...@gmail.com wrote: Hi There - I would like to know 1.How to

[wtr-general] Re: thinking about automation frameworks/harnesses

2009-04-29 Thread JArkelen
McMahon christopher.mcma...@gmail.com wrote: On Apr 28, 8:56 am, JArkelen johnvanarke...@gmail.com wrote: No, I have my own framework/directory structure for my tests and I'm perfectly happy with it. It seems hardly sporting to issue such a broad criticism and then leave without an example

[wtr-general] Re: thinking about automation frameworks/harnesses

2009-04-28 Thread JArkelen
I can imagine why you want to separate the test data from the test script, but mixing it with the object data makes it confusing in my opinion. It would be better to separate both the test data and the object data to start with. Cheers, John On Apr 28, 2:45 am, Wesley Chen cjq@gmail.com

[wtr-general] Re: thinking about automation frameworks/harnesses

2009-04-28 Thread JArkelen
No, I have my own framework/directory structure for my tests and I'm perfectly happy with it. On Apr 28, 4:36 pm, Chris McMahon christopher.mcma...@gmail.com wrote: On Apr 28, 12:13 am, JArkelen johnvanarke...@gmail.com wrote: I can imagine why you want to separate the test data from

[wtr-general] Re: Preference for where to put example improvements?

2009-04-24 Thread JArkelen
I'm the author of the HTML report example. I have no problem with changes, but if you want to describe extra functionality, maybe it is good to add it at the end of the example as a way people can adapt the original example for extra functionality? Cheers, John On Apr 23, 10:53 pm, Željko

[wtr-general] Re: Test Results Report Methods

2009-04-16 Thread JArkelen
:21 pm, JArkelen johnvanarke...@gmail.com wrote: I'm currently using watir to develop a end-user performance testing tool (with x number of users generating http requests and 1 user running a watir script and do the actual measuring). For reporting, I store all raw data in csv files

[wtr-general] Re: Test Results Report Methods

2009-04-16 Thread JArkelen
you can do ramping of the load, and correlate how many vusers are running at a given time?  perhaps have different vusers running different load scenarios? On Apr 15, 10:21 pm, JArkelen johnvanarke...@gmail.com wrote: I'm currently using watir to develop a end-user performance testing tool

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread JArkelen
I create nice HTMl reports. On Apr 16, 12:19 am, Tiffany Fodor tcfo...@comcast.net wrote: Hi! I've been using ci_reporter to generate xml reports of my Test::Unit results (also works with RSpec) and then I use xsl to transform them to html.  It's not the best and I'm working on better

[wtr-general] Re: Test Results Report Methods

2009-04-15 Thread JArkelen
I'm currently using watir to develop a end-user performance testing tool (with x number of users generating http requests and 1 user running a watir script and do the actual measuring). For reporting, I store all raw data in csv files and then at the end of the test this raw data is used to

[wtr-general] Basic Watir presentation

2009-04-08 Thread JArkelen
Hi, Does anyone already have a powerpoint presentaion about Watir (what is it, hopw does it work, benefits, etc)? I will give a basic Watir training to my colleagues and want to create a presentation, but if there is already a good one around, I can use that one. Cheers, John

[wtr-general] Re: Failing to update gem

2009-04-07 Thread JArkelen
If you want to do a general update on all your gems, use gem update -- system If you want to update a specific gem use gem update gem name Cheers, John On Apr 7, 9:24 am, spike vinaykumarl...@gmail.com wrote: Hi I'm trying to update gem using the command gem update but its failing to

[wtr-general] Re: Organization and execution of test cases.

2009-04-07 Thread JArkelen
In most cases I use Rake to execute mulitple tests. On Apr 7, 2:58 pm, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Tue, Apr 7, 2009 at 14:41, James jgcpal...@gmail.com wrote: is there any sort of framework/application/gem http://github.com/bret/watircraft/tree/master Željko

[wtr-general] Re: Watir

2009-04-06 Thread JArkelen
You should use ctl00_ContentPlaceHolder1_ddlSelectSupervisor as the id for the select, not the id of the label On Apr 6, 12:09 pm, Angrez Singh ang...@gmail.com wrote: you are trying to access select_list using id of label. I think watir is right in not recognizing the element. Correct?

[wtr-general] Re: current script path

2009-04-03 Thread JArkelen
Replies to your questions are up to people willing to spend some time to help you. There is no such thing as 24/7 support here, so I personally consider your second post just an hour after your initial one as rather rude! Cheers, John On Apr 3, 9:54 am, Vikas Tulashyam vtulash...@gmail.com

[wtr-general] Re: Test Set

2009-03-20 Thread JArkelen
You can use Rake to execute multiple tests. On Mar 20, 12:28 am, vladimir...@hotmail.com vladimir...@hotmail.com wrote: How to execute multiple functional Watir scripts unattended in a test set? Do I need to use Test::Unit even the test cases are not unit tests? Thanks, Vladimir

[wtr-general] Re: Flash and IEthrottle

2009-03-18 Thread JArkelen
flashwatir for more info on this. The question about IEThrottle, I have no idea :) Regards, Sai On Mar 17, 6:31 pm, JArkelen johnvanarke...@gmail.com wrote: Two questions in one post: 1. Is there a way to determine if a flash object has finished loading? I don't want to do anything

[wtr-general] Flash and IEthrottle

2009-03-17 Thread JArkelen
Two questions in one post: 1. Is there a way to determine if a flash object has finished loading? I don't want to do anything with the flash itself, I just want to know if the page including the flash object is complety loaded before continuing. 2. I use IEthrottle to simulate a sow browser.

[wtr-general] Re: Problems locating basic elements in Watir

2009-03-17 Thread JArkelen
ie = Watir::IE.new ie.goto /petroLook4410/plugins/cache/webresources/ aclaro_petroLook_WebResources/4_4_3353_10382/ WebPages_Administration_AdministrationFrameset.aspx? category=Bootstrap if ! ie.text.include? Login or ie = Watir::IE.new if ! ie.iframe(:src, /

[wtr-general] Re: HttpWatch and Watir 1.6.2

2009-03-13 Thread JArkelen
, Mar 12, 2009 at 8:32 AM, JArkelen johnvanarke...@gmail.com wrote: Hi, With this example you can integrate HttpWatch with Watir: require 'win32ole' require 'watir' control = WIN32OLE.new('HttpWatch.Controller') ie = Watir::IE.new plugin = control.ie.Attach(ie.ie) plugin.Clear

[wtr-general] Re: Hoe to Execute another scripts

2009-03-12 Thread JArkelen
Use Rake for executing multiple test scripts. On Mar 12, 2:21 pm, Al Snow jas...@hotmail.com wrote: For #1, check out the Watir unit tests. You can get them at Github. Thanks, Al Snow Agile Software Automation Developer Linkedin:http://www.linkedin.com/in/alsnow Google Talk: jasnow1

[wtr-general] Re: watir 1.6.2 gem installation

2009-03-11 Thread JArkelen
Execute a gem update --system first. On Mar 11, 10:04 am, nagmani vm nagman...@gmail.com wrote: Go to command prompt and type like this:     gem install watir and then click on Enter On Wed, Mar 11, 2009 at 2:29 PM, kiran gki...@gmail.com wrote: hi, am trying to install watir 1.6.2

[wtr-general] Re: Help Object repository

2009-03-06 Thread JArkelen
Why not build one yourself? It is not that difficult, I did it in ou project. Just make a file where you store the logical names of the objects, together with the identifiers and the physical names. And instead of directly clicking on a link, you use the logical name in your script and redirect

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

2009-03-04 Thread JArkelen
Hi, I'm a test automater en performance tester and use Watir for our functional regression tests. On Mar 4, 6:14 pm, Lisa Crispin lisa.cris...@gmail.com wrote: Hi George, I'm a tester, I have learned enough Ruby to maintain and write new Watir scripts, and I know enough Java to sometimes be

[wtr-general] [forum] Tagging of subjects

2009-03-01 Thread JArkelen
Hi all, I like this forum very much and have found a lot of information which solved the problems I had (the bad win32 gem as most recent example). However, the unstructured nature of Google Groups makes the forum very unorganized in my opinion. I think we could make it much more organized by

[wtr-general] forum Tagging of subjects

2009-03-01 Thread JArkelen
Hi all, I like this forum very much and have found a lot of information which solved the problems I had (the bad win32 gem as most recent example). However, the unstructured nature of Google Groups makes the forum very unorganized in my opinion. I think we could make it much more organized by

[wtr-general] Re: NoMethodError: undefinied method 'goto' for # Watir::IE:0x3294480

2009-02-27 Thread JArkelen
I have the same problem: I have 2 vmware images with the exact same setup. I try to run this test: require 'rubygems' require 'watir' Watir.options_file = 'c:\\temp\\options.yml' browser = Watir::Browser.new browser.goto http://www.cnn.com; browser.close It works on one image, the other image

[wtr-general] Re: NoMethodError: undefinied method 'goto' for # Watir::IE:0x3294480

2009-02-27 Thread JArkelen
I solved the problem by doing a gem uninstall win32-api first, and then to install it again with gem install win32-api. What I noticed was that there were 2 versions of win32-api installed. I removed them both. On Feb 27, 1:32 pm, JArkelen johnvanarke...@gmail.com wrote: I have the same problem

[wtr-general] Re: Where to hold public training?

2009-02-13 Thread JArkelen
Eindhoven, The Netherlands ;-) But London would be great too. On Feb 13, 10:39 am, Natasha Ranney itsn...@yahoo.co.uk wrote: Is it possible to have some in London? Not sure if there are any Watir users in London. Thanks, Natasha --- On Fri, 13/2/09, niartseoj niarts...@gmail.com wrote:

[wtr-general] Re: Where to hold public training?

2009-02-13 Thread JArkelen
Hi Aidy, I would be interested in creating a user group. Although I am based in The Netherlands, as a Charlton Athletic supporter I am in London quite frequently :-) On Feb 13, 11:13 am, aidy lewis aidy.le...@googlemail.com wrote: Natasha, I am based in London: if we could get 5 or 6 people

[wtr-general] Re: Access Denied Error

2009-01-26 Thread JArkelen
But when you iframe source is coming from a totally different source you really have a problem though. I solved it with trying and using a different proxy in our company. On Jan 23, 4:10 pm, LFIdnl sraniim...@gmail.com wrote: I had the same problem. It reproduce if url of main application and

[wtr-general] Re: Test Results output capturing

2009-01-21 Thread JArkelen
  # Send crash info to report     r.addtoReport(testReport, 'Test crashed with reason '+$!, 'FAILED', 'Test crashed!')     r.finishReport(testReport) end --- On Jan 17, 12:34 am, JArkelen johnvanarke...@gmail.com wrote: Did you use

[wtr-general] Re: Browser type

2009-01-20 Thread JArkelen
it to. On Jan 19, 4:53 am, JArkelen johnvanarke...@gmail.com wrote: In the options.yml file the type of browser is set (firefox, safari or IE). When I execute a test, is there a way to determine on which browser the current test is executed? --~--~-~--~~~---~--~~ You

[wtr-general] Re: Test Results output capturing

2009-01-15 Thread JArkelen
http://wiki.openqa.org/display/WTR/HTML+report+class On Jan 15, 7:53 am, Jagdeep Jain jagdeep.j...@gmail.com wrote: I got it through Rspec: spec usingrspec.rb --format html testresult.html On Jan 15, 11:31 am, Jagdeep Jain jagdeep.j...@gmail.com wrote: I want to populate Watir results to

[wtr-general] Re: Does Watir support

2009-01-05 Thread JArkelen
I use Watir in combination with a tool like LoadRunner to get performance measurements from both HTTP level and end user level. If I want a test with let's say 100 concurrent users, I use LoadRunner (or any other real performance tool) to simulate 99 users and do the measurements. At the sam time

[wtr-general] Suddenly errors in previously working tests

2008-12-03 Thread JArkelen
Hi, I have some weird behaviour on tests which executed without problems before. First issue is when I enter text in a textarea. I do it like this: browser.text_field(:name, /ECDFormHandler/).set(xmlHeader) This worked fine, now I get this error: unknown property or method `value' HRESULT

[wtr-general] Re: .text for firewatir is very slow

2008-12-03 Thread JArkelen
Is it slow or does it hang? You can speed it up using browser.speed = :zippy Cheers, John On Dec 3, 3:02 pm, pelvin [EMAIL PROTECTED] wrote: The method text for elements in firewatir hangs if the element is too big, why could this be?? or i am the only one whit this problem..

[wtr-general] Re: HTML report class

2008-11-19 Thread JArkelen
Done. On Nov 19, 5:08 pm, Bret Pettichord [EMAIL PROTECTED] wrote: JArkelen wrote: I added a HTML report class example to the wiki: http://wiki.seleniumhq.org/display/WTR/HTML+report+class This class can be used to create a HTML report of a test script execution. thanks for sharing

[wtr-general] Re: Help needed

2008-11-14 Thread JArkelen
You can create your own GUI using WxRuby (http://wxruby.rubyforge.org) or FxRuby (http://www.fxruby.org). I used WxRuby to create my own version of HP Quality Center, well more or less ;-) Cheers, John On Nov 14, 9:08 am, pramod D [EMAIL PROTECTED] wrote: Hi All, 1.Is there any UI available

[wtr-general] Button click doesn't work

2008-11-12 Thread JArkelen
Hi, I have a button I need to click on with the following code: div style=float:left; padding-top:4px; padding-left:4px; table cellspacing=0 onclick=submitSearch('GB','en') class=p- button-special tr td div id=search-button align=centerSearch/div /td /tr /table

[wtr-general] Re: Watir Help - Installation Error

2008-11-05 Thread JArkelen
Did you install the new 1.6.1 version? I believe all unit tests are currently not working. But this doesn't mean Watir is not working, just ignore the tests. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-05 Thread JArkelen
Done! On Nov 5, 3:55 pm, Bret Pettichord [EMAIL PROTECTED] wrote: Great suggestion. Would you mind making this change? Bret --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Watir General group. To post to this

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-05 Thread JArkelen
Done. The new version also supports Safari right? I assume the Windows version of safari? When I set the browser to safari in options.yml and run a test, I get this error: c:/ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.1/lib/watir/browser.rb: 75:in `kla ss': (eval):1:in `klass': uninitialized

[wtr-general] Re: How close are we to be able to run common tests with Watir and FireWatir

2008-11-05 Thread JArkelen
We execute 200+ tests in Watir almost daily and have now planned to move to 1.6.1 to be able to support Firefox testing also. I'll keep you updated with issues we encounter. Cheers, John --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-03 Thread JArkelen
Hi, Which version of Ruby should I install to make Watir 1.6.1 work? I tried both 185-24 and 186-26, but when trying to install watir, I get the message Error installing watir: watir requires win32-process = 0.5.5 Cheers, John --~--~-~--~~~---~--~~ You received

[wtr-general] Re: Watir 1.6.1 is available for testing

2008-11-03 Thread JArkelen
are installing it? The gem installer should be automatically installing this gem. Bret JArkelen wrote: Hi, Which version of Ruby should I install to make Watir 1.6.1 work? I tried both 185-24 and 186-26, but when trying to install watir, I get the message Error installing watir: watir