[wtr-general] Obect not found to Firewatir

2009-03-25 Thread KiranD
Hi, My script is running on IE without an error. I am trying to run same script using firewater. But it is showing an error c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElem ent.rb:967:in `assert_exists': Unable to locate element, using :id, "ctl00_ContentPlaceHold

[wtr-general] Re: using a logger with watir loses formatting

2009-03-25 Thread Ruf, Wadud
Marekj, You describe the exact same scenario as what I am experiencing. I've still not found out why it's doing it. As it's not my core domain I will look into using the Logging gem. Thanks for the tip Wadud From: watir-general@googlegroups.com [mai

[wtr-general] Re: firefox error

2009-03-25 Thread Al Snow
Read these instructions. http://wiki.openqa.org/display/WTR/FireWatir+Installation Thanks, Al Snow Agile Software Developer Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow > Date: Tue, 24 Mar 2009 21:05:51 -0700 > Subject: [wtr-general] Re: firefox error > From:

[wtr-general] Re: FCKEditor Help

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 05:14, KiranD wrote: > Can anybody tell me, how can I put Text in FCKeditor? If you explain what fckeditor is, and give us an example of what you have tried (and what did not work), we could help more. Željko --~--~-~--~~~---~--~~ You rece

[wtr-general] Re: Obect not found to Firewatir

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 08:23, KiranD wrote: > c:/ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.2/lib/firewatir/MozillaBaseElement.rb:967:in `assert_exists': Unable to locate element, using :id, "ctl00_ContentPlaceHolder1_GridView1_ctl04_Image4" (Watir::Exception::UnknownObjectException) Ruby gremlin

[wtr-general] Re: Synchronization Points

2009-03-25 Thread Angrez Singh
Can you elaborate in what scenario you need to put in sleep() in FireWatir? May be we can look into this & make it more compatible with Watir scripts. Regards, Angrez On Tue, Mar 24, 2009 at 10:16 PM, Aleksey Tyschenko wrote: > > > 2009/3/24 Bret Pettichord > >> >> Watir has built in synchroni

[wtr-general] Re: FCKEditor Help

2009-03-25 Thread KiranD
Hi, I got the solution, ie.frame(:id,"ctl00_ContentPlaceHolder1_FCKeditor1___Frame").frame(:index, 1).document.body.focus puts "FCKEditor Passes" ie.send_keys("Life is Good") Thank you, Kirand From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf

[wtr-general] Re: firefox error

2009-03-25 Thread Vikas Tulashyam
Hey Thanks to all I am able to install it now. On Mar 25, 4:05 pm, Al Snow wrote: > Read these > instructions.http://wiki.openqa.org/display/WTR/FireWatir+Installation > > Thanks, > Al Snow > Agile Software Developer > Linkedin:http://www.linkedin.com/in/alsnow > Google Talk: jasnow1 > Twitter

[wtr-general] Open Source GUI tools

2009-03-25 Thread Jason Shelton
All, Does anyone have any recommendations for any open source testing tools for desktop applications? I am looking for one that can automate an application with a lot of non-standard, custom controls. Thanks in advance for all responses. - Shelton

[wtr-general] Re: Open Source GUI tools

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 14:45, Jason Shelton wrote: > Does anyone have any recommendations for any open source testing tools for desktop applications? Did you take a look here? http://opensourcetesting.org/ Željko --~--~-~--~~~---~--~~ You received this message

[wtr-general] Re: How can I get Horizontal Position of an element in watir

2009-03-25 Thread Alan Baird
You can also look at: http://wiki.openqa.org/display/WTR/Right+Click+an+Element There are a couple of methods that we defined in order to get the coordinates of an object. Alan From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Beh

[wtr-general] Re: assert and rescue question

2009-03-25 Thread watirRookie
this is the error i get in the SciTE console window: test_01_login_page_testing: header Test Failed is not true. C:/Ruby/lib/ruby/1.8/test/unit/assertions.rb:48:in `assert_block' C:/Ruby/lib/ruby/1.8/test/unit/assertions.rb:500:in `_wrap_assertion' C:/Ruby/lib/ruby/1.8/test/unit/ass

[wtr-general] click on menus

2009-03-25 Thread sabrina . benychou
Hi, I have a javascript menu contained in : Iframe div Table tbody tr td table tbody tr

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 15:42, wrote: > I don't know how to access an element of this menu and to click on it > with watir browser.frame(how, what).cell(how, what).click More information: http://wiki.openqa.org/display/WTR/Frames > I don't know either where to find a list of watir functions V

[wtr-general] Re: Can 'PDF' files be read in Ruby?

2009-03-25 Thread Wesley Chen
Hi, Juuser, Thank you very much for this post, but when I run the command: system("pdftotext.exe -layout c:\\hello.pdf c:\\test.txt") I get warning message: *Error (0): PDF file is damaged - attempting to reconstruct xref table...* I get the test.txt with an unexpected character in the end. Please

[wtr-general] Re: 'click_no_wait' command in Firewatir

2009-03-25 Thread Vijay
Bret, Thanks for the information. Have posted an issue at the link below: http://code.google.com/p/firewatir/issues/list Vijay On Mar 24, 7:49 pm, Bret Pettichord wrote: > Right. click_no_wait is not implemented in FireWatir. I'm not sure if > this is already logged in Jira. If not, it shoul

[wtr-general] Re: How can I get Horizontal Position of an element in watir

2009-03-25 Thread marekj
Yeah! Goldmine of knowledge there in those links Thanks Alan marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Wed, Mar 25, 2009 at 9:08 AM, Alan Baird wrote: > You can also look at: > > > > http://wiki.openqa.org/display/WTR/Right+Click+an+Element > >

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
thanks for your answer, I don't manage to make it work, in fact I don't have a but a browser.frame(:id, "framesetMain") doesn't work I get this error: Unable to locate a frame with id framesetMain (Watir::Exception::UnknownFrameExcep tion) what can I do to access this element On Mar 25, 3

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 16:34, wrote: > in fact I don't have a but a Have your read this? http://wiki.openqa.org/display/WTR/Frames What does this return? ie.show_frames Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 17:18, wrote: > frame index: 1 Access Denied Oh, it is our old friend Access Denied. Long time no see. :) There are a few solutions here: http://wiki.openqa.org/display/WTR/Frames Željko --~--~-~--~~~---~--~~ You received this message b

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
in fact I tried to follow instructions given to the page:http:// wiki.openqa.org/display/WTR/Frames but when I go to the url of the frameset; the application automatically returns to the login page :( On Mar 25, 5:26 pm, Željko Filipin wrote: > On Wed, Mar 25, 2009 at 17:18, wrote: > > frame

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread BrianRosenthal
I'm seeing extremely slow typing consistently on Ubuntu linux. Ubuntu Linux JSSH 0.9 Firefox 3.0.7. Ruby 1.8 Best, Brian PS: I'm new to firewatir... have been playing around with it pretty intensely for the last couple of weeks... love it. :) --~--~-~--~~~---~--~--

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

2009-03-25 Thread BrianRosenthal
I'm a developer. :) Love firewatir and watir! :) On Mar 4, 8:39 am, "george.sand...@gmail.com" wrote: > I was just curious to know who is purely a QA tester (like myself) and > who is both a tester and a developer... --~--~-~--~~~---~--~~ You received this messa

[wtr-general] Re: click on menus

2009-03-25 Thread Željko Filipin
On Wed, Mar 25, 2009 at 17:42, wrote: > but when I go to the url of the frameset; the application > automatically returns to the login page :( And other solutions? Željko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
it returns : there are 2 frames frame index: 1 Access Denied, see http://wiki.openqa.org/display/WTR/FAQ#access -denied frame index: 2 Access Denied, see http://wiki.openqa.org/display/WTR/FAQ#access -denied :( On Mar 25, 5:06 pm, Željko Filipin wrote: > On Wed, Mar 25, 2009 at 16:34, wrote:

[wtr-general] Re: click on menus

2009-03-25 Thread sabrina . benychou
this message doesn't appear again with the solution n°2: I added the url of the frame to trusted sites in ie :) thanks On Mar 25, 5:51 pm, Željko Filipin wrote: > On Wed, Mar 25, 2009 at 17:42, wrote: > > but when I go to the url of the frameset; the application > > automatically returns to the

[wtr-general] Re: Maximizng the Browser

2009-03-25 Thread IDIEININIIS
Yes that fixed the problem. Thanks for the prompt and informative reply. On Mar 24, 2:42 pm, Charley Baker wrote: > Make sure autoit is registered. Navigate to the directory where autoit lives > through the command line and type > > regsvr32 AutoItX3.dll > > Autoit is installed with Watir, here'

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread Al Snow
Here's a thread that might help you: http://groups.google.com/group/watir-general/browse_thread/thread/f5d12e8b094e8798 Thanks, Al Snow Agile Software Developer Linkedin: http://www.linkedin.com/in/alsnow Google Talk: jasnow1 Twitter: jasnow > Date: Wed, 25 Mar 2009 09:43:11 -0700 > Subject: [w

[wtr-general] rspec 1.2 public service announcement

2009-03-25 Thread Alan Baird
All - I upgraded some of my environment today to the latest version of rspec, which is 1.2. Since I was just doing 'gem install rspec' I automatically got the latest version. I should have paid more attention to the large announcement/warning when updating which admonishes you to check out th

[wtr-general] Re: click_no_wait broken with Ruby 186-27

2009-03-25 Thread Hugh McGowan
Here's a workaround that I'm using. Ideally, the ruby source should be changed to work with both command line uses of double quotes but this should work for watir. It's not pretty but this has worked for me in both versions 1.8.6-26 and 1.8.6-27. The older code branch uses \" to indicate a double

[wtr-general] Re: Very slow typing speed for firefox 2 : watir 1.6.2

2009-03-25 Thread aedorn
The current way around this is to keep something running at all times that's active. You can use a real simple shell script even: #!/bin/sh while : do echo "background process" done It's kind of obnoxious, but it is, right now, the only way to make things go faster. On Mar 25, 10:43 am, BrianRo

[wtr-general] os and browser version

2009-03-25 Thread Paul Rogers
some one on irc wanted to get the browser and os versions. THis code uses the user-agent, so might not always be correct, but its probably good enough. Not sure if it works on IE8 It came from a module that was included into the Watir and FireWatir modules. Its from an old code base, so may need

[wtr-general] Re: os and browser version

2009-03-25 Thread Alan Baird
Paul - Thanks for that. Since I needed to verify which IE version was installed before starting it, I have a windows only (IE only) script that will get the version of IE from the registry. Probably limited usefulness but here it is just in case it's useful to someone. require 'win32/registr

[wtr-general] Re: using a logger with watir loses formatting

2009-03-25 Thread Bret Pettichord
Watir uses activesupport and i think this modifies the logger. Or maybe its another gem that Watir uses. Not sure really, but i think it's something like that. Bret Ruf, Wadud wrote: > > Marekj, > > You describe the exact same scenario as what I am experiencing. I’ve > still not found out wh

[wtr-general] Re: rspec 1.2 public service announcement

2009-03-25 Thread Bret Pettichord
Thanks for the upgrade note. Alan Baird wrote: > > All – > > I upgraded some of my environment today to the latest version of > rspec, which is 1.2. Since I was just doing ‘gem install rspec’ I > automatically got the latest version. I should have paid more > attention to the large announcemen

[wtr-general] Re: Obect not found to Firewatir

2009-03-25 Thread Bret Pettichord
Could be a timing issue. Are you sure that the object exists on the page at the very moment that this code is being executed? Bret KiranD wrote: > > Hi, > > My script is running on IE without an error. > > I am trying to run same script using firewater. > > But it is showing an error > > > >

[wtr-general] Re: Maximizng the Browser

2009-03-25 Thread Bret Pettichord
This was caused by a bug in Watir, introduced I think with 1.6.2. Before that it happened intermittently. Since then it will happen to any one who installs Watir for the first time. I have fixed this bug. It will be released in the next version of Watir. Bret IDIEININIIS wrote: > Yes that fi

[wtr-general] Re: os and browser version

2009-03-25 Thread Paul Rogers
Nice! Theres probably a better way to get the firefox version too, does firefox.exe take a -v to return version number? Paul On Wed, Mar 25, 2009 at 5:39 PM, Alan Baird wrote: > Paul – > > > > Thanks for that. Since I needed to verify which IE version was installed > before starting it, I ha

[wtr-general] Re: os and browser version

2009-03-25 Thread Al Snow
>From https://developer.mozilla.org/En/Command_Line_Options-h or -help or -? Print the list of all available command line options. Note that on Windows this only work with debug builds ( bug 355889). This option is available only in command console. Thanks, Al Snow Date: Wed, 25 Mar 2009 19:07:

[wtr-general] Re: os and browser version

2009-03-25 Thread Paul Rogers
on my mac paul:MacOS paul$ ./firefox-bin -v Mozilla Firefox 3.0.4, Copyright (c) 1998 - 2008 mozilla.org ( looks like I need to update ;-) ) and for ff2 paul:MacOS paul$ ./firefox-bin -v Mozilla Firefox 2.0.0.20, Copyright (c) 1998 - 2008 mozilla.org On Wed, Mar 25, 2009 at 7:26 PM, Al Snow

[wtr-general] Simulate high latency connections with Watir?

2009-03-25 Thread rollo
Hello Watir Community. Has anyone done testing on a simulated high latency/low bandwidth network connections in Watir? I have a fine running suite. However, I'm tired of manually configuring systems overseas to run my suites. I'd like to be able to simulate (throttle) a slow connection. Any h

[wtr-general] Re: Simulate high latency connections with Watir?

2009-03-25 Thread Manish Sapariya
http://www.uselessapplications.com/en/Application/IEThrottle.aspx Hope this helps. Please share your finding if its useful. -Manish rollo wrote: > Hello Watir Community. Has anyone done testing on a simulated high > latency/low bandwidth network connections in Watir? I have a fine > running s

[wtr-general] Re: Obect not found to Firewatir

2009-03-25 Thread KiranD
Yes, I was there. I also used sleep command. But not worked. Regards, Kirand -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Bret Pettichord Sent: Thursday, March 26, 2009 5:26 AM To: watir-ge

[wtr-general] Packaging 3rd party tool

2009-03-25 Thread Vikas Tulashyam
Hi Friends, I want to bundle a 3rd party tool with my Watir framework e.g. some Java based tool. So is it possible in Watir? Thanks in Advance Vikas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" g

[wtr-general] unknown property or method `navigate' HRESULT error code:0x800706ba The RPC server is unavailable.

2009-03-25 Thread Alister Scott
Hi, I am continually running a watir script (eight times per minute), every minute, and I am piping standard out and standard error to a log file. I noticed in the log file that about every twenty or so runs the following exception is thrown: unknown property or method `navigate' HRESULT err

[wtr-general] How to catpture the test result

2009-03-25 Thread Durgesh
Hi, I have installed the ruby 1.8.6 and WATIR 1.6.2. Then I have created a simple to start with. Following is the code of that script. require 'test/unit' require 'watir' class GoogleHomePage < Test::Unit::TestCase def test_there_should_be_text_About_Google browser = Watir::IE.start "htt

[wtr-general] Need to find text of an element using watir

2009-03-25 Thread aditi
Hi, I want to find text of an element on the page using watir.I tried using .text but it works only for selection box.Does anyone know any method which will giv me text of an element on the page --~--~-~--~~~---~--~~ You received this message because you are subsc

[wtr-general] Need to find text of an element using watir

2009-03-25 Thread aditi
Hi, I want to get text of an element on the page.I tried using .text but it works only for selection box. Can anyone tell me some method which I can use to find text of an element on the page. --~--~-~--~~~---~--~~ You received this message because you are subscri

[wtr-general] need to access select_list with in a popup

2009-03-25 Thread sumanth
Hi All, i need to access a select_list with in a popup. here i need to select required item and then click OK button on the popup. Any ideas? Thanks in advance Sumanth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[wtr-general] OLE

2009-03-25 Thread Vikas Tulashyam
Hi Guys, I want to create a method by which I can perform any operation on a object by just passing the identifier of that object. In Watir , we need to call specific methods for calling a particular object as--> ie.text_filed(:id, 'Text1').set('Test') So, Can I impelment my method using win32OL

[wtr-general] Re: OLE

2009-03-25 Thread Vikas Tulashyam
I have tried this code but it gives error for document function. as-- LE.rb:7:in `method_missing': Document (WIN32OLERuntimeError) OLE error code:80004005 in HRESULT error code:0x80020009 Exception occurred. from OLE.rb:7 >Exit code: 1 On Mar 26, 11:35 am, Vikas T