[wtr-general] Re: Converting Dates Question

2008-10-09 Thread Jason Trebilcock
On Thu, Oct 9, 2008 at 3:27 PM, Željko Filipin [EMAIL PROTECTED]wrote: On Thu, Oct 9, 2008 at 8:26 PM, Moochie [EMAIL PROTECTED] wrote: Jason, You're suppose to be on vacation. Step away from the computer. Too good not to comment! :) Željko As much as I'd like to have been on

[wtr-general] Re: How to send a mail from outlook express using watir

2009-03-05 Thread Jason Trebilcock
The initial question that occurred to me is why you are trying to automate the sending of an email with Outlook Express. Why not leverage Ruby to send the email without the additional complexity of trying to figure out how deal with Outlook Express. Bringing Outlook Express into the equation just

[wtr-general] Re: Getting 'assert_exists': Unable to locate element, using :name, q (Watir::Exception::UnknownObject...

2009-03-18 Thread Jason Trebilcock
In addition to what Darin has recommended, you might want to see what happens when you run the below commands through irb. (Like Darin, I was able to complete the below.) -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Darin

[wtr-general] Re: Does Watir 1.6.2 install on Mac OS X?

2009-04-26 Thread Jason Trebilcock
Here's a thread to look at: http://groups.google.com/group/watir-general/browse_thread/thread/2870724cfa c1f1aa -Original Message- From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Moochie Sent: Sunday, April 26, 2009 4:19 PM To: Watir General

[wtr-general] Re: ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find gem watir locally or in a repository

2009-08-14 Thread Jason Trebilcock
Run the following at the command line:gem sources This will list out the sources configured on your system. And, if that fails, then try the following: gem env This lists out your current RubyGems environment. And if all of those fail, then I'd be willing to hazard a guess that you may want to

[wtr-general] Re: Does Watir support PHP based technology

2009-09-02 Thread Jason Trebilcock
In addition to Željko's answer... Are there other modules required to be installed along with Watir? Short answer: No. Longer answer: It depends on what you want to do. If the sole focus of your testing is the web front-end, then you are probably safe not having to install any other gems. But, if

[wtr-general] Re: cannot register window class in IE8

2009-10-22 Thread Jason Trebilcock
Couple of thoughts in the following: http://www.microsoft.com.nsatc.net/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.internetexplorer.betatid=77003381-d793-4236-a6a6-5466c779b85dcat=lang=cr=sloc=p=1 In a nutshell, three potential options: 1. Ctrl-F5 2. Delete temporary internet

[wtr-general] Re: Answering incomplete requests

2009-10-23 Thread Jason Trebilcock
Seems to me, if we're receiving 'incomplete requests', then maybe there's a way to drive towards more complete requests. In the LoadRunner forum on SQAForums, they're pretty militant about getting environment information upfront before they'll answer questions. Maybe if we adopted some sort of a

[wtr-general] Re: uninitialized constant Watir::PageContainer::Win32

2009-10-30 Thread Jason Trebilcock
See Bret's comment here (Nov 13, 2008, 12:17 am): http://groups.google.com/group/watir-general/browse_thread/thread/f3d3d8f602 3890cb/016c62b5a5ff6fb6 Tested it locally and it worked for me. -Original Message- From: watir-general@googlegroups.com [mailto:watir-

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-09 Thread Jason Trebilcock
Per http://wiki.openqa.org/display/WTR/include+Watir Don't use 'include' On Mon, Nov 9, 2009 at 3:49 PM, tester86 sagar.am...@gmail.com wrote: I am trying to run a watir script: require 'watir' include Watir ie = Watir::IE.new ie.goto(http://google.com;) ie.text_field(:name,

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
In a previous email, you indicate that you're running Watir 1.4.1. But, the below indicates that you're on 1.6.2. In any case, I tried running your code and it worked fine. (What happens if you switch the require 'watir' and require 'rubygems' lines? Could that be the source of your problem?

[wtr-general] Re: Really....Ruby + Watir + Command Line

2009-11-10 Thread Jason Trebilcock
to watir 1.6.2 and I also switched the lines but I still got the same output. On Nov 10, 9:00 am, Jason Trebilcock jason.trebilc...@gmail.com wrote: In a previous email, you indicate that you're running Watir 1.4.1. But, the below indicates that you're on 1.6.2. In any

RE: [wtr-general] method_missing due to bad html?

2009-12-10 Thread Jason Trebilcock
Tom, If you try to execute each line of your script through irb, what kind of results are you seeing? I was able to execute your script without issue on my machine here (Windows 7, Ruby 1.8.6, Watir 1.6.5). Part of me is wondering if what you're running into is some sort of permissions issue.

Re: [wtr-general] How to create a file and save it.

2010-06-03 Thread Jason Trebilcock
Watir is really a tool for interacting with web applications. For what you want to do, you may want to rephrase the question as being Ruby-specific and not related to Watir. Further, you may want to invest a little time researching your problem. There are plenty of resources available to help

RE: [wtr-general] Dialog boxes..

2010-07-02 Thread Jason Trebilcock
Watir for non-web applications? No. Ruby for non-web applications? Possibly. Couple of resources to consider: Scripted GUI Testing with Ruby by Ian Dees Everyday Scripting with Ruby by Brian Marick It all depends on what you're trying to do. (Not sure how this relates to dialog

RE: [wtr-general] Re: facing issue with clicking buttons

2010-07-27 Thread Jason Trebilcock
Or, someone might take the lazy way out and use the ruby-gmail gem. But that's just me. Automating email handling through some sort of client (web, Outlook, etc.) is just plain dumb. I sometimes use something similar in Perl if/when I need to generate/send email. When all you have is a hammer,

RE: [wtr-general] Re: Check out the Watir Stack Exchange site!

2010-08-13 Thread Jason Trebilcock
There’s a Watir forum on SQAForums. It has all of six Watir-related threads…it might be a interesting destination to switch efforts to. From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com] On Behalf Of Chan Nguyen Sent: Friday, August 13, 2010 3:26 PM To:

Re: [wtr-general] Is Watir supports desktop application?

2010-10-04 Thread Jason Trebilcock
As Zelijko indicates, Web only. (Watir = Web Application Testing in Ruby) That having been said, a starting point/resource to consider obtaining is the book: Scripted GUI Testing with Ruby. http://pragprog.com/titles/idgtr/scripted-gui-testing-with-ruby On Mon, Oct 4, 2010 at 9:38 AM, Željko