Re: [Wtr-general] clicking on a link using sub-text of the link text?

2006-07-28 Thread Zeljko Filipin
It would be easier if you posted your html so we could try to click that link at our machine instead of guessing. Željko ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Adrian Lewis
Chris Wrote: > a) make it open-source. Otherwise it's too hard to answer questions about it. The CSDDT is open source, simple, agile and easy to use. > b) write in Ruby, because that's what the people using the >framework will be using. Will all be in Ruby; the good thing about Ruby (unlike Ja

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Nivetha Padmanaban
Is it already available to use? It sounds like it is already available to use. > This sounds like you are going to start working on CSDDT or did i mis-understood somewhere!!! Regards, Nivetha. Email - [EMAIL PROTECTED] Mobile - (0) 98807

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Adrian Lewis
>> The CSDDT is open source, simple, agile and easy to use. > Is it already available to use? It sounds like it is already available to use. The CSDDT is open-source, I made amendmentts to it under the name of Adrian Rutter. It is writen in BASIC. I am going to convert that code to Ruby. http://w

[Wtr-general] No tests specified

2006-07-28 Thread Max Russell
Hi-   I’ve checked through the Rubyforge mail history but haven’t found a solution so far.   I’m trying to mimic the scripting101 labs examples, testing against a web app-   I have 2 files:   harness.rb   # Simple test harness   require 'watir' require 'test/unit'   $LOAD_PAT

Re: [Wtr-general] No tests specified

2006-07-28 Thread Zeljko Filipin
Test::Unit::TestCase must have at least one method which name starts with "test_".Changedef centralvision       load 'centralvision.rb'  endto def test_centralvision  load 'centralvision.rb'  endand you should be fine.Željko ___ Wtr-general mailing li

[Wtr-general] a new recorder for Watir

2006-07-28 Thread Chris McMahon
I just ran across this: http://qainsight.net/2006/07/27/WatirMaker+Is+Now+WatirRecorder+And+Is+Going+Open+Source.aspx ___ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general

Re: [Wtr-general] Verifying instance of text in second browser?

2006-07-28 Thread Bret Pettichord
You don't actually need to use multiple threads for your scenario. But you do need manage separate Watir::IE objects, which means you need to modify your login method. If you show it, we can show you how to modify it make it work for this scenario. BretOn 7/26/06, Max Russell <[EMAIL PROTECTED]> wr

Re: [Wtr-general] Watir, file_field, dojo and VMware

2006-07-28 Thread Bret Pettichord
John,Thanks for the update. I agree that vmware (and virtual server, which is what my company now uses) are great tools for testing.BretOn 7/27/06, John Castellucci <[EMAIL PROTECTED]> wrote: Bret asks:>What is a "ruby attach dialog"?I was referring to the DOS/ruby.exe window that opens and scroll

Re: [Wtr-general] FreeTextBox & Watir

2006-07-28 Thread Alan Ark
I've got a line open with the author of FTB to see why this is. When you include the free version of FTB, all you get is a DLL to link into your project. I'm hoping that the author will be able to give me a little more insight into the pieces that are being displayed. I do know about the fra

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Bret Pettichord
On 7/28/06, Adrian Lewis <[EMAIL PROTECTED]> wrote: The CSDDT is open-source, I made amendmentts to it under the name of AdrianRutter. It is writen in BASIC. I am going to convert that code to Ruby.Thanks for the heads up that you are using two different names on this list. I thought you were two d

[Wtr-general] need a frame-recursive wait

2006-07-28 Thread Xavier Noria
A crawler that always works flawlessly in development regularly raises UnknownObjectException other computers. The same navigation done by hand via irb on those machines works. The website we are crawling has some frames, and the main frame contains yet another frameset so we have two levels

Re: [Wtr-general] Keyword Framework & UI - OT

2006-07-28 Thread Adrian Lewis
Bret wrote > Thanks for the heads up that you are using two different names on this list. I thought you were two different people. I changed my surname recently because of family problems. Aidy ---

Re: [Wtr-general] need a frame-recursive wait

2006-07-28 Thread Chris McMahon
> I'm gonna patch the method tomorrow to write some stack-based > recursion. But before I do that I'd like to ask whether someone else > already fixed this, or else if there is any technical reason that > prevents that method from being recursive-like. > > -- fxn I have a kind of similar problem.

Re: [Wtr-general] need a frame-recursive wait

2006-07-28 Thread Bret Pettichord
On 7/28/06, Xavier Noria <[EMAIL PROTECTED]> wrote: I'm gonna patch the method tomorrow to write some stack-basedrecursion. But before I do that I'd like to ask whether someone elsealready fixed this, or else if there is any technical reason thatprevents that method from being recursive-like. Your

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Adrian Lewis
Bret wrote > People interested in CSDDT may want to take a look at Just Enough Software Test Automation, which contains a 50-page chapter on the framework The original CSDDT and code and my changes with a full explanatory word-document should be on the Rational Users site. http://groups.yahoo.com

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Bret Pettichord
On 7/28/06, Adrian Lewis <[EMAIL PROTECTED]> wrote: I spoke to Bruce Posey about a week ago, and he was happy with meconverting it to Ruby. However, I think I have much better ideas to improvethe CSDDT. The CSDDT was half-there. Bruce would probably agree. Have you compared the Posey data driven fr

[Wtr-general] Newbie - Ruby dev IDE question

2006-07-28 Thread Pauli's List Subscriptions
Another newbie question - if you were developing a webapp on Windows XP, for eventual production installation on Linux hosting, and wanted a Ruby / Rails / Watir development IDE, would you go with Komodo, RadRails or another product. Why? Thanks a bunch for your helpful responses. Pauli

Re: [Wtr-general] Keyword Framework & UI

2006-07-28 Thread Adrian Lewis
Bret wrote, > Have you compared the Posey data driven framework with the Nagle data driven framework? (http://safsdev.sourceforge.net) > Has anyone? I would like to know how they compare. [this has gotta be quick cos gotta go] The CSDDT is tied to the test-tool, it is simple and fast; but you ne

Re: [Wtr-general] app map and switch statement

2006-07-28 Thread Bret Pettichord
What errors are you getting?I don't think this is your problem, but you might want to use this to simplify your code:    line.chomp.split(',').each_with_index{|x,i| BretOn 7/27/06, aidy rutter <[EMAIL PROTECTED]> wrote: Hi,   I am using Bret's AppMap concept    def goto_territory_list   ObjectMap.n

[Wtr-general] Project Map

2006-07-28 Thread Bret Pettichord
I just posted this to my blog. I'd been getting several emails from people who were wondering whether the project had been abandoned.http://www.io.com/~wazmo/blog/archives/2006_07.html#000240 Watir 1.5 is Under Active DevelopmentMany observers have wondered whether Watir is still beingdeveloped. If

Re: [Wtr-general] UI Mapping Revisited.

2006-07-28 Thread Bret Pettichord
On 7/4/06, Adrian Rutter <[EMAIL PROTECTED]> wrote: But how would you organise your navigaton andaction methods?for example  def goto_country_list end  def enter_country(country) ... endWould you create new classes? At the moment I have a module for each window with methods contained t

Re: [Wtr-general] Popup menus

2006-07-28 Thread Bret Pettichord
You don't need winclicker or autoit. Just use plain watir.    ie = Watir::IE.start('http://msdn.microsoft.com/workshop/samples/author/dhtml/popup/showme4.html' )        ie.document.body.fireevent('oncontextmenu')    ie.span(:text, 'MSDN Web Workshop').clickIt's all a matter of knowing the events an

Re: [Wtr-general] Project Map

2006-07-28 Thread Alan Ark
Hey Bret.   Thanks for this information.  I know that as a recent addition to the mailing list, I had some of my questions answered by this email.   Have a great weekend and thanks for all the hard work! -Alan     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

Re: [Wtr-general] clicking on a link using sub-text of the link text?

2006-07-28 Thread mi
I tried sending my html but it was bigger then 40K so here is the link i get when i do a ie.show_links http://test.server.com/junk.php?test=junk12345http://test.server.com/junk.php?test=junk12345 So basically, the link url is repeated Zeljko Filipin wrote: It would be easier if y

[Wtr-general] simple solution for basic authentication

2006-07-28 Thread Danny R. Faught
Howdy folks. I find myself on a project where I want to use a browser-based test tool to record client-side performance metrics. After playing with several such tools again, Watir again emerged as the tool that I was first able to get a working script with. But along the way, I noticed with some

Re: [Wtr-general] simple solution for basic authentication

2006-07-28 Thread Attebery, Bill
I think I saw some chatter on this a couple months back -- check the archives in early May or do a search for Authentication. http://www.mail-archive.com/wtr-general%40rubyforge.org/ > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Danny > R. Faught

Re: [Wtr-general] simple solution for basic authentication

2006-07-28 Thread Chris McMahon
> Has anyone else tried to implement this with Watir? If not I may try it > myself. Here's the core of it in IE::Mechanize where it formulates the > Authorization header, really simple stuff: > > sub __authorization_basic { > my( $user, $pass ) = @_; > defined $user && defined $pass or re

[Wtr-general] 40 K limit to attachments

2006-07-28 Thread Bret Pettichord
On 7/28/06, mi <[EMAIL PROTECTED]> wrote:> I tried sending my html but it was bigger then 40K so here is the link i get when i do a ie.show_links I suggest either 1. We push up the limit on attachment sizes (100K? Larger?); or2. Encourage people to put large attachments on a wiki page (to be de