[wtr-general] Re: How to use Watir::Exception::TimeOutException

2008-10-20 Thread Charley Baker
I missed part of the conversation, so sorry if I'm missing something. Why are you not using Ruby's Test::Unit or Rspec as your framework? Rolling your own makes no sense. -c On Mon, Oct 20, 2008 at 11:47 AM, Chethan [EMAIL PROTECTED] wrote: Alan, Pls help me out in this. I was waiting for

[wtr-general] IRC(chat) channel for Watir

2008-10-21 Thread Charley Baker
client. http://wiki.openqa.org/display/WTR/The+IRC+Channel Hope to see you there. Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org --~--~-~--~~~---~--~~ You received this message because you are subscribed

[wtr-general] Re: How to Speed Up the wa tir ?

2008-10-22 Thread Charley Baker
The speed setting will take care of all that for you. The wait method depends on some amount of time to do it's polling for IE and it's documents to be fully loaded. --- Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap

[wtr-general] Re: Ruby While Loop

2008-10-23 Thread Charley Baker
while(input.Range(b#{x})[' Value'] != nil) if(input.Range(a#{x})['Value'] == 'no') x +=1 next end end On Thu, Oct 23, 2008 at 8:01 AM, [EMAIL PROTECTED] wrote: All, I currently have a while loop that iterates as long as the cell it is checking an Excel is not nil. I want to

[wtr-general] Re: Where can we get JSSH for Firefox 3.0.3

2008-10-27 Thread Charley Baker
I'm using the jssh extension on that page with FF 3.0.3. What's the problem you're having? --- Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Oct 27, 2008 at 4:55 AM, 深谷芳和 [EMAIL PROTECTED] wrote

[wtr-general] Re: 'ruby-coding conventions'

2008-10-27 Thread Charley Baker
Oddly this was today's topic on RubyInside: http://www.rubyinside.com/ruby-style-guides-and-tools-how-to-write-good-looking-ruby-1272.html Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Oct

[wtr-general] Re: Where can we get JSSH for Firefox 3.0.3

2008-10-28 Thread Charley Baker
Put this in your ~/.bash_profile to call your ~/.bashrc: if [ -f ~/.bashrc ]; then source ~/.bashrc fi If you're running Terminal, it's a login shell which will by default only call .bash_profile. Charley Baker 2008/10/28 深谷芳和 [EMAIL PROTECTED] thank you. it worked. just my shell's

[wtr-general] Re: How to reuse Firefox browser instance on Mac/Linux using FireWatir 1.6.2?

2008-11-10 Thread Charley Baker
and go straight to attaching to an existing jssh socket. The correct behavior should be to use the attach method so that it more closely corresponds to IE Watir. I'll work on adding that. Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org

[wtr-general] Re: Button click doesn't work

2008-11-12 Thread Charley Baker
You have a javascript event on the table. How about this: ie.table(:class,'p-button-special').fire_event('onclick') If that doesn't work, make sure the table is recognized by flashing it. -Charley On Wed, Nov 12, 2008 at 8:21 AM, JArkelen [EMAIL PROTECTED] wrote: Hi, I have a button I need

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

2008-11-12 Thread Charley Baker
I'm seeing this happen with one of the people I'm working with, slow meaning almost 1sec/character in this case. He's running firefox on linux. My guess is that it's due to jssh, but it's hard to tell, I'll poke around and see if I can find out more. What OS/FireFox version and jssh addon are you

[wtr-general] Re: Help required : Ruby code error

2008-11-26 Thread Charley Baker
Does your If really start with a capital I? If so, don't do that. :) if != If Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, Nov 26, 2008 at 11:08 AM, Natasha [EMAIL PROTECTED] wrote: Hi All

[wtr-general] Re: 1.6.2: Issue with enabled_popup.rb

2008-12-03 Thread Charley Baker
with. The naming is poor since there are modal dialogs which are essentially JS or browser dialogs which are also in the true sense modal dialogs. I'm confused as to which modal dialogs you are referring to. Both are supported in the current version of Watir. Charley Baker blog: http

[wtr-general] Re: Know how to make a screencast?

2008-12-08 Thread Charley Baker
of them on the Watir wiki. -c Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Dec 8, 2008 at 3:37 PM, Pete Dignan [EMAIL PROTECTED] wrote: If you subscribe to this list, you probably know how to use

[wtr-general] Re: What is the difference between undefined value and null valu

2008-12-13 Thread Charley Baker
Done. On Sat, Dec 13, 2008 at 9:36 AM, Bret Pettichord b...@pettichord.comwrote: Everybody, this post is spam. This post is about PHP and is being posted here simply as a way to increase traffic to the interview door site, not to help the Watir community. Could some one please block the

[wtr-general] Re: Framework

2008-12-27 Thread Charley Baker
on a keyword driven framework using Watir: http://www.slideshare.net/nivetha/keyword-driven-framework-using-watir A few of these frameworks are developed by some of us on this list. HTH, Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA

[wtr-general] Re: figured it out Re: stupid install problem

2008-12-27 Thread Charley Baker
Strange, you shouldn't have to do that in Windows. The one click installer used to do it. -c On Fri, Dec 26, 2008 at 1:43 PM, Lisa Crispin lisa.cris...@gmail.comwrote: I had to add RUBYOPT -rubygems to my environment variables - I have NO memory of ever doing that before, did Watir or Ruby

[wtr-general] Re: how can we click an image button

2008-12-30 Thread Charley Baker
Your image may also be a button, and you don't have to use the entire path if you use a regular expression: browser.button(:src, /foo.gif/).click Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Dec

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Charley Baker
- ISBN, price, etc. Scrubyt is another library for screen scraping which internally uses either Firewatir or Mechanize, here's a link to some examples: http://wiki.scrubyt.org/index.php?title=Tutorials HTH, Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http

[wtr-general] Re: Selenium 2.0 plans to drive native browsers

2009-01-03 Thread Charley Baker
api to drive Selenium. Eventually, I plan to do the same thing as part of my current test framework, Taza. Where it makes sense, I think there are some opportunities for Watir and Selenium to work together. Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http

[wtr-general] Re: Strategy Assistance - Frames, Divs, Spans

2009-01-03 Thread Charley Baker
containers since the table is uniquely identified by its class. Does that help? Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Jan 2, 2009 at 11:51 AM, carl.shau...@gmail.com carl.shau...@gmail.com wrote

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-03 Thread Charley Baker
, php, etc. The basics should be easy to learn, the power of some of its features will take some time to sink in. Hopefully some of this helps. On Jan 3, 12:37 pm, Charley Baker charley.ba...@gmail.com wrote: Hi there, I'm not sure what you mean by Ruby and Watir being poorly documented

[wtr-general] Re: overriding javascript

2009-01-03 Thread Charley Baker
Execscript exists on the window object, drop the body call from your code and it should work: http://msdn.microsoft.com/en-us/library/ms536420(VS.85).aspx Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct

[wtr-general] Re: Navigating to the next page problem - Javascript pop up

2009-01-05 Thread Charley Baker
end $ie = Watir::IE.new $ie.bring_to_front $ie.goto('C:/temp/test.html') $ie.link(:text, 'Click Here').click_no_wait startClicker(OK) Charley Baker blog: http://charleybakersblog.blogspot.com/ Project Manager, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Sun, Jan 4, 2009

[wtr-general] Re: Testing web services was Re: Capturing data within an xml

2009-01-08 Thread Charley Baker
response. Here's a good tutorial on getting started with soap4r: http://markthomas.org/2007/09/12/getting-started-with-soap4r/ We are following the second method of generating the client stub classes from the wsdl using wsdl2ruby. HTH, Charley Baker blog: http://charleybakersblog.blogspot.com

[wtr-general] Re: Pulling hair out on screen scraping

2009-01-09 Thread Charley Baker
I guess I will just be storing each span into a string, look for the regex and go to next. Thanks again guys On Jan 3, 3:41 pm, Charley Baker charley.ba...@gmail.com wrote: It can be a bit overwhelming to learn Ruby and various libraries at the same time. I'd recommend taking

[wtr-general] Re: running unit tests for watir-1.6.2

2009-01-14 Thread Charley Baker
http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development -c On Wed, Jan 14, 2009 at 10:00 AM, Monkeybuns shaml...@twia.org wrote: I'm trying to run the Unit Tests defined in the watir tutorial (http:// wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests). I gather that this

[wtr-general] Re: Problem with Watir installation

2009-01-19 Thread Charley Baker
Did you follow the installation instructions on the wiki? http://wiki.openqa.org/display/WTR/Install+Watir If so, what error or problems are you seeing? More information would be helpful. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org

[wtr-general] Re: Help on updating the Watir website with ChromeWatir info

2009-01-20 Thread Charley Baker
Hi Sai, I'll update the watir pages at rubyforge: http://wtr.rubyforge.org. You can update the wiki on OpenQA yourself if you'd like. And if anyone else would like to volunteer to help out with the wiki, feel free to jump in. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead

[wtr-general] Agile testing book

2009-01-20 Thread Charley Baker
Hi all, There are a few books that I recommend having on your shelf, this is one. I've just ordered this book, and am looking forward to reading it. http://www.amazon.com/Agile-Testing-Practical-Addison-Wesley-Signature/dp/0321534468/ref=sr_1_1?ie=UTF8s=booksqid=1232509742sr=8-1 This looks to

[wtr-general] Agile testing book

2009-01-20 Thread Charley Baker
Hi all, There are a few books that I recommend having on your shelf, this is one. I've just ordered this book, and am looking forward to reading it. http://www.amazon.com/Agile-Testing-Practical-Addison-Wesley-Signature/dp/0321534468/ref=sr_1_1?ie=UTF8s=booksqid=1232509742sr=8-1 This looks to

[wtr-general] Re: Agile testing book

2009-01-21 Thread Charley Baker
, Sai http://code.google.com/p/chrome-watir http://code.google.com/p/flash-watir On Jan 21, 9:04 am, Charley Baker charley.ba...@gmail.com wrote: Hi all, There are a few books that I recommend having on your shelf, this is one. I've just ordered this book, and am looking forward

[wtr-general] Re: using watir scripts to test Continuous Integration builds in Visual Studio

2009-01-21 Thread Charley Baker
that. It should be possible to get those to run your CI tests and build. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, Jan 21, 2009 at 12:06 PM, heymarii heyma...@gmail.com wrote: Does anyone have any

[wtr-general] Re: Problem installing watir gem

2009-01-27 Thread Charley Baker
It looks like you're probably behind a proxy. Try these instructions to set up your proxy before trying to install the gems: http://wiki.openqa.org/display/WTR/Installing+ruby+gems+from+behind+proxy+firewall Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http

[wtr-general] Re: ActiveSupport error connecting to IE window

2009-01-27 Thread Charley Baker
This should help clarify the confusion: http://wiki.openqa.org/display/WTR/include+Watir Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Jan 27, 2009 at 10:37 AM, Paul tester.p...@gmail.com wrote

[wtr-general] Re: Problem displaying XML file with XSL in Firefox and Safari

2009-01-30 Thread Charley Baker
There's no special plugin needed. I can't get the files to work either on Safari or Firefox, my guess is due to some slack that IE is giving, the other browsers are being more strict. It does work if I pull the files locally - e.g. and xml and the xsl in the same directory and then open the file

[wtr-general] Re: New to ruby and watir

2009-02-05 Thread Charley Baker
Try this: gem update windows-pr which should updated your windows-pr gem to 0.9.9 and give it another go. Let me know. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Feb 5, 2009 at 9:00 AM, Louie

[wtr-general] Re: Unable to open IE window

2009-02-05 Thread Charley Baker
It seems there are some compatibility issues here with some of the win32utils. Try updating your win32-api gem, win32-process and the windows-pr gem as well. Same instructions that Aidy mentioned before with those gems. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer

[wtr-general] Re: Extending the IE class

2009-02-05 Thread Charley Baker
I just answered another person on the list having the same problems: gem update windows-pr There seem to be some compatibility issues with the win32utils libraries in the latest release. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org

[wtr-general] Re: Handle 2 text boxes with same name

2009-02-07 Thread Charley Baker
Multiple attributes for input elements are now supported in the latest version of Watir - 1.6.2. The wiki has also been updated. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Feb 6, 2009 at 11:20

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-21 Thread Charley Baker
to see why this is happening. gem install win32-api --platform x86-mswin32-60 Thanks, Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Feb 20, 2009 at 7:27 PM, Jeff Fry jeff@gmail.com wrote: Al

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-23 Thread Charley Baker
Objects in UseCases Human Readable Machine Executable Acceptance Testing http://github.com/marekj/watirloo/ On Sat, Feb 21, 2009 at 12:00 PM, Charley Baker charley.ba...@gmail.com wrote: Hey Jeff et al, Thanks for sending the mail. I immediately saw what I glossed over when we were

[wtr-general] Re: how to access elements on Widgets.

2009-02-23 Thread Charley Baker
We need more information if you want some help - the html for your controls, a snippet of your script and any errors. If you send this, you'll be more likely to get help from the group. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-23 Thread Charley Baker
Something is trying to compile the c libraries. How did you install Ruby? Which version do you have of Ruby and rubygems? Command line: ruby -v gem -v To upgrade rubygems you're typing gem update --system? What's the output from gem environment Charley Baker blog: http

[wtr-general] Re: Watir -- Methods

2009-02-23 Thread Charley Baker
If you're trying to run the unit tests with Watir 1.6.2 you won't be able to unless you pull down the tree from git. http://wiki.openqa.org/display/WTR/Run+the+Watir+Unit+Tests Note the link to: http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development Charley Baker blog: http

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-23 Thread Charley Baker
http://wiki.openqa.org/display/WTR/The+IRC+Channel Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Feb 23, 2009 at 11:36 AM, Darin Duphorn dduph...@redbrickhealth.com wrote: I missed the other

[wtr-general] Re: msvcr80-ruby18.dll was not found error troubles

2009-02-23 Thread Charley Baker
This is your problem: Successfully installed win32-api-1.4.0-x86-mswin32-80 Are you using the latest RCs for the one click installer? Any chance you can also jump on irc? Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect

[wtr-general] Re: LoadError: 14001: This application has failed to start because....

2009-02-24 Thread Charley Baker
--platform=x86-win32-60 Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Feb 24, 2009 at 9:42 AM, AR reed.a...@gmail.com wrote: Thanks Jim - I guess that leaves me with no leads. I attempted the install

[wtr-general] Re: Failed to start because msvcr80-ruby18.dll was not found

2009-02-24 Thread Charley Baker
Look through the mails for the past couple of days, there are a lots of posts on this. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Feb 24, 2009 at 11:45 AM, Henry henrytej...@gmail.com wrote

[wtr-general] Re: how to access elements on Widgets.

2009-02-25 Thread Charley Baker
Did you try fire_event('onclick') on the image? Otherwise you might be storing references to outdated DOM content. Where's your click code and why are you using a global to store elements - $s? Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http

[wtr-general] Re: Gem Recall Notice: win32-api

2009-02-27 Thread Charley Baker
and/or hoe - but occasionally that's to be expected. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Feb 27, 2009 at 10:19 AM, Daniel Berger djber...@gmail.com wrote: On Feb 13, 10:19 am, Bret

[wtr-general] Re: Data scraping using WATIR

2009-03-02 Thread Charley Baker
There's also ScrubyT which is more of a scraping library with underlying web drivers, one of them being Firewatir. Google it and take a gander. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Mar 2

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

2009-03-04 Thread Charley Baker
scripting skills. It's an interesting question. Charley Baker blog: http://charleybakersblog.blogspot.com/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, Mar 4, 2009 at 1:00 PM, JArkelen johnvanarke...@gmail.com wrote: Hi, I'm a test automater en

[wtr-general] Re: Not able to install Watir !

2009-03-06 Thread Charley Baker
Sounds like a proxy problem. Check the wiki for installing rubygems behind a proxy. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 6, 2009 at 9:30 AM, Watir ajayakan...@gmail.com wrote: I have

[wtr-general] Re: How to automate site with Captcha?

2009-03-07 Thread Charley Baker
That's awesome, an automated way to handle the captcha. You're kidding right? Or this is the best post ever. -c On Sat, Mar 7, 2009 at 1:33 PM, Margam nk.mar...@gmail.com wrote: Hello everyone, For my current client's web site testing requirement, I need to handle a page that has a Captcha.

[wtr-general] Re: HttpWatch and Watir 1.6.2

2009-03-12 Thread Charley Baker
() browser.goto(www.google.com) plugin.stop() control.ie.Attach is an HttpWatch call. HTH, Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Mar 12, 2009 at 7:32 AM, JArkelen johnvanarke...@gmail.com wrote: Hi

[wtr-general] Re: soa testing

2009-03-12 Thread Charley Baker
want to do - XML, SOAP, databases, MQ, etc. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Mar 12, 2009 at 6:14 AM, bright brightrobin1...@gmail.com wrote: Just to confirm, does Watir support SOA testing

[wtr-general] Re: Overiding onclick javascript

2009-03-13 Thread Charley Baker
Andrew, Here's a link to Paul's event code, the files are on the attachments tab. http://wiki.openqa.org/display/WTR/Possibilities+For+New+Events+in+Watir hth, Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct

[wtr-general] Re: soa testing

2009-03-13 Thread Charley Baker
Good point, we're moving some services in that direction as well. It's nice to deal with. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 13, 2009 at 1:09 PM, Chris McMahon christopher.mcma...@gmail.com

[wtr-general] Re: Field type changes

2009-03-16 Thread Charley Baker
I guess I would question why you'd do that; and those seem like different tests. But unless you give me a reason, I'd treat them separately. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Mar 16, 2009 at 4

[wtr-general] Re: Field type changes

2009-03-16 Thread Charley Baker
I still don't understand the business reason, but thanks for the technical explanation. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Mar 16, 2009 at 5:43 PM, andrew.d...@lthree.com wrote: 1) The column

[wtr-general] Re: Running example test within Watir ...

2009-03-19 Thread Charley Baker
Look up the information on msvcrt80 in the recent postings. You need to update your win32 utils gems which right now is a bit tricky. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Mar 19, 2009 at 11:05 AM

[wtr-general] Re: Maximizng the Browser

2009-03-20 Thread Charley Baker
;) ie.goto(http://http://groups.google.com/group;) ie.maximize() Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Mar 20, 2009 at 1:25 AM, Shweta nagman...@gmail.com wrote: When i am trying to maximize the ie

[wtr-general] Re: Maximizng the Browser

2009-03-24 Thread Charley Baker
\gems\1.8\gems\watir-1.6.2\lib\watir Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Mar 24, 2009 at 11:19 AM, IDIEININIIS ideler.den...@gmail.comwrote: I am having the exact same error as Shweta. I haven't

[wtr-general] Re: Get script name within the script

2009-03-24 Thread Charley Baker
The command you listed, means you are running a script. Either you already know which script you're running or not. If you're running scripts from a directory then checkout Ruby's Directory and File/FileUtils class. I'm not quite sure what you're trying to solve. Charley Baker blog: http

[wtr-general] Re: Dynamic Objects

2009-04-01 Thread Charley Baker
Re-read your post. Do you find it useful? A hint of your html would be good and your ruby code. Why it changes from time to time would be helpful as well. I would assume you're a tester. Is this how you submit bug reports? I'm sorry to pick on you specifically, certainly not meant just for this

[wtr-general] Re: How do you find find frames.

2009-04-02 Thread Charley Baker
Can you also add this as a jira ticket with this patch? Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Apr 2, 2009 at 1:11 PM, jason jason.franklin.sto...@gmail.comwrote: I descided to add the method

[wtr-general] Re: Ramping up your Ruby skills

2009-04-03 Thread Charley Baker
Flanagan and Matz himself Collection of Ruby related blogs/feed: http://www.rubycorner.com Gateway to Ruby and Rails mailing lists: http://www.ruby-forum.com/ I also second the idea of reading code and unit tests, there are so many open source ruby projects available on github. Charley Baker blog

[wtr-general] Re: ff.frame(:index,1).button(:index, 2) does not work?

2009-04-03 Thread Charley Baker
That's an interesting issue. Watir uses 1 based indexing, so it would be button(:index, 1) - the first button. -c On Fri, Apr 3, 2009 at 11:23 AM, jason jason.franklin.sto...@gmail.comwrote: has anyone an idea about this? is it me - or is this not supported in firewatir?

[wtr-general] Re: Is there an easy way to see if specific text exists inside a div?

2009-04-03 Thread Charley Baker
We have to be able to deprecate methods. While it's not yet a language feature, rubygems and other projects are deprecating apis: http://tenderlovemaking.com/category/rubygems/ -c On Fri, Apr 3, 2009 at 4:57 PM, Bret Pettichord b...@pettichord.com wrote: I wish we'd never added that

[wtr-general] Re: Is there an easy way to see if specific text exists inside a div?

2009-04-04 Thread Charley Baker
good point. :) -c On Sat, Apr 4, 2009 at 11:46 AM, Bret Pettichord b...@pettichord.comwrote: Sure. Although the first step might simply be to purge the method from all of the examples. Charley Baker wrote: We have to be able to deprecate methods. While it's not yet a language feature

[wtr-general] Re: WATiR DSL I have been using

2009-04-09 Thread Charley Baker
interested in releasing your framework, I'd suggest putting it on github, and mailing the list when it's up. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Thu, Apr 9, 2009 at 11:44 AM, Ruf, Wadud wadud

[wtr-general] Re: What editor should I use for mac?

2009-04-22 Thread Charley Baker
There's the dltk (Dynamic Languages Toolkit) which supports python, ruby, etc for Eclipse. Someone told me that it's included in the latest version of Eclipse, dunno. Otherwise you can install it from the Eclipse plugin site. As I've mentioned before, I'm low tech and don't go with a heavy IDE, I

[wtr-general] Re: Scripting a foreign subframe

2009-04-23 Thread Charley Baker
You could grab the url and open the frame in another browser window. We have the same problem on some of our sites and that's the choice I've made for solving it. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct

[wtr-general] Re: eclipse plugin update site for WATIR

2009-04-27 Thread Charley Baker
If it's not already included, try this: http://download.eclipse.org/technology/dltk/downloads/ Stable release. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Apr 27, 2009 at 8:26 AM, JP bytebrain

[wtr-general] Re: Rescue [Nested?]

2009-04-28 Thread Charley Baker
seconds. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Apr 28, 2009 at 11:46 AM, «°¤§ømåtïçCðrp§ë¤°» john.bai...@unisys.com wrote: Can I nest rescues, like one can (normally) nest if statements? For example

[wtr-general] Re: Rescue [Nested?]

2009-04-28 Thread Charley Baker
Hmmm, well sure, if the web server is down you don't want to run the suite at all. I'd check for that first thing. Otherwise you can still catch the time out exception from wait_until and handle it, if there's a way to recover and move on. hth, Charley Baker blog: http://blog.charleybaker.org

[wtr-general] Re: send keystrokes to ie frame - text field

2009-04-29 Thread Charley Baker
You're calling send_keys on the string in .set. Try this instead: $IE0.frame(:index, 11).frame(:index, 7).text_field(:id, 'dataEntryField_40870').set(testtext) $IE0.frame(:index, 11).frame(:index, 7).text_field(:id, 'dataEntryField_40870').send_keys({ENTER}) Charley Baker blog: http

[wtr-general] Re: Weird timing behavior when using assert(object.exists?) when widgets exist.

2009-05-07 Thread Charley Baker
What's a widget? My search on Wikipedia turns up this: http://en.wikipedia.org/wiki/Widget. I also have no clue as to what button_id or object_id are - though I can take guess, but it's custom code. Simplify and post some real live code for your stuff and the html for the app. Charley Baker blog

[wtr-general] Re: Roo error on Ubuntu 9.04

2009-05-13 Thread Charley Baker
It looks like you don't have the developer tools installed on Ubuntu, it's failing to find them while attempting to build the hpricot binary. To install developer tools: sudo apt-get install build-essential * *Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http

[wtr-general] Re: running watir scripts in batch mode

2009-05-24 Thread Charley Baker
tests with Ruby in cc.rb or however you want to, which gives you far more flexibility than a bat file. Check out abundant information on Rake and Rake tasks on the web. That's my 2 cents, hope that helps. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http

[wtr-general] Re: Watir Podcast #24 MarekJ and Charley Baker

2009-05-27 Thread Charley Baker
It was a lot of fun to do. There's was a lot of before and after off mike chatter which was hilarious. :) Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, May 27, 2009 at 11:40 AM, Tiffany Fodor tcfo

[wtr-general] Re: Noob problem

2009-05-28 Thread Charley Baker
Do a gem list from the command line. Is Watir listed? Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, May 27, 2009 at 5:31 PM, James j.s.west...@gmail.com wrote: I finally got watir and ruby installed I

[wtr-general] Re: example problem

2009-05-31 Thread Charley Baker
gem install watir at the command line which should install watir, firewatir and commonwatir. Double check by typing gem list You should see all of these gems. Otherwise, are you able to use irb? irb then require 'watir' Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir

[wtr-general] Re: Multiple Attributes for Text Fields

2009-05-31 Thread Charley Baker
http://wiki.openqa.org/display/WTR/Multiple+Attributes Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Sat, May 30, 2009 at 5:50 AM, karimnumerouno karim@gmail.com wrote: hi could any one share a link our

[wtr-general] Re: Multiple Attributes for Text Fields

2009-06-01 Thread Charley Baker
That's excellent, I've never seen the automated version. -c On Mon, Jun 1, 2009 at 9:42 AM, Chuck van der Linden sqa...@gmail.comwrote: On May 30, 4:50 am, karimnumerouno karim@gmail.com wrote: hi could any one share a link our some stuff of multi attribute selection, it there any doc

[wtr-general] Re: Watir Support for Table Header TH elements?

2009-06-01 Thread Charley Baker
I thought we had TH defined as well, but looking at the code, it's not there. Feel free to add a Jira ticket for this. If you do have Watir extensions then when/if we add whatever tags you have, then you can remove it from your own Watir extension and that's it. Charley Baker blog: http

[wtr-general] Re: bring_to_front()

2009-06-02 Thread Charley Baker
You need to register the autoit dll. Follow this thread: http://groups.google.com/group/watir-general/browse_thread/thread/f58e3598b03a9111 Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Tue, Jun 2, 2009 at 10:46

[wtr-general] Re: Finding a specific instance of a repeated link via text surrounding it.

2009-06-03 Thread Charley Baker
Could also use multiple attributes: browser.link(:index = 1, :text = /Click This Link/).click or xpath. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, Jun 3, 2009 at 10:10 AM, Darin Duphorn dduph

[wtr-general] Re: Finding a specific instance of a repeated link via text surrounding it.

2009-06-03 Thread Charley Baker
xpath will work, I don't use it much, but it will work. There's also a beforetext and aftertext way to get it, but if remember right, we might be removing that at some point. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc

[wtr-general] Re: Finding a specific instance of a repeated link via text surrounding it.

2009-06-03 Thread Charley Baker
, but no guarantees if you copy/paste that it's dead on. :) Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Wed, Jun 3, 2009 at 10:41 AM, Darin Duphorn dduph...@redbrickhealth.comwrote: Navigate to this thread

[wtr-general] Re: Towards migrating to Watir.com

2009-06-05 Thread Charley Baker
needs to weigh in as well, and we should make sure we have all the bases covered. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Jun 5, 2009 at 3:32 PM, Chuck van der Linden sqa...@gmail.comwrote: On Jun

[wtr-general] Re: Using Excel Files?

2009-06-08 Thread Charley Baker
If you're looking at an Excel driven framework, then I'd suggest taking a look at Rasta: http://rubyforge.org/projects/rasta/ I've not used it, but it's certainly best of class for working with Excel and Watir. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http

[wtr-general] Re: issue with combobox for watir

2009-06-14 Thread Charley Baker
,ctl00_ContentPlaceHolderBody_ComboBoxStoreName).select_value(120) Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Sun, Jun 14, 2009 at 2:48 AM, jane.liu jane.li...@hotmail.com wrote: I am a new watir leaner. I have some issue with combobox for watir

[wtr-general] Re: Watir.com now available

2009-06-24 Thread Charley Baker
Nice work on the site Alister. It looks great. Thanks for taking this on. -c On Wed, Jun 24, 2009 at 5:33 AM, Željko Filipin zeljko.fili...@wa-research.ch wrote: It looks great. :) Alister and I are recording a podcast about watir.com in the next few days, so if you have a question for the

[wtr-general] Re: Java Script pop-ups handling in WATIR

2009-07-16 Thread Charley Baker
Try click! instead of click_no_wait, which specific version of Ruby are you using, the latest one click 1.8.6rc2? What does ruby -v give you? There is a problem with that installer if that's the one you used where command line arguments don't get quoted correctly. Charley Baker blog: http

[wtr-general] Re: customize xml generated by ci_reports

2009-07-17 Thread Charley Baker
Hi Tony, This would be a good addition to the advanced examples and frameworks on the wiki if you'd like to add it there: http://wiki.openqa.org/display/WTR/Examples Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct

[wtr-general] Re: How to debug Watir code line by line.

2009-07-27 Thread Charley Baker
a combination of 13. YMMV. HTH, Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Jul 27, 2009 at 5:12 AM, Swap swapnal.sa...@gmail.com wrote: Hi All, I wrote script for data driven testing with logger. I

[wtr-general] Re: Testing Link on list of pages

2009-07-27 Thread Charley Baker
Put your begin and rescue inside the loop and remove the retry. Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Jul 27, 2009 at 5:24 AM, Satya satyajit.prad...@gmail.com wrote: I am writing a script

[wtr-general] Re: Java port for Watir

2009-07-27 Thread Charley Baker
Celerity is a good option, otherwise I believe you should be able to use Firewatir from the latest on Github: http://github.com/bret/watir/tree/master Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Jul 27

[wtr-general] Re: Getting style attribute of HTML element

2009-07-27 Thread Charley Baker
You should be able to access it like this: ie.div(:id, 'search').document.currentStyle.invoke('display') Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Mon, Jul 27, 2009 at 8:44 AM, Aaron MacDonald aa

  1   2   3   >