[wtr-general] CI reporter issue

2008-12-23 Thread basu

I am using CI reporter for generating test results in the form of a
XML file, some time result file is not getting generated even though
all tests pass without any issues.Is there any limitation on the XML
output file name length ?Is the issue related to that ?

Thanks
Basu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Framework

2008-12-23 Thread Parul

Hi all,
Finally i've started using Watir and executing scripts.
Now i wanna know about any framework.
Is there any framework?If yes than please let me know abt it so that i
can implement in web testing.


Thanks
Parul
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] JSSH for Firefox3.1

2008-12-23 Thread al3kc

Are there any plans about jssh xpi for FF3.1?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Capturing data within an xml

2008-12-23 Thread Bret Pettichord

I was testing an rss feed and used Mechanize + Hpricot to do so. I got 
the url from the application using Watir and then passed it to Mechanize 
to get the page and then used Hpricot to validate it.

Bret

srinivas subramanian wrote:
 Hi,

 Its been quite some time, since i've started using Watir. Its awesome. 
 I've used Hpricot to test xmls. It worked out well for me. Please 
 refer: http://code.whytheluckystiff.net/hpricot/

 Thanks,
 Srinivas

 On Tue, Dec 23, 2008 at 5:25 AM, winstan 
 lucasdavidwinstan...@gmail.com 
 mailto:lucasdavidwinstan...@gmail.com wrote:


 Hi Bret,

 No i havent used Mechanize. Nor have i heard of it to be honest.
 Before i jump into it and start playing around with it, i would like
 to ask have you used it in the means in which im trying to access the
 xml defined above?

 Cheers

 On Dec 23, 3:08 am, Bret Pettichord b...@pettichord.com
 mailto:b...@pettichord.com wrote:
  Have you considered using Mechanize instead of Watir? That's
 what I've
  used when I've had to test XML.
 
  Bret
 
 
 
  winstan wrote:
   Hello Again,
 
   After playing around with rexml with some of the URL's provided in
   this thread and other sites I have found I have established
 that you
   are in fact correct and that rexml would be the way to go.
 However, I
   am still making requests and receiving responses to and from
 the WS
   via the UI, and as such I am in need of a little more
 help/advice with
   this.
 
   After making the request with specific attributes a response
 is served
   up from the WS and is opened in another IE window. I can
 attach to the
   new window with out a problem but from that point on I am
 unsure as to
   how to proceed with the use of rexml. Bellow is an example of some
   thing I tried but I assume because I am making the.
 
   it 'Attaching to the new window and confirming that there was
 a VALID
   response from the web server' do
 @b2 = Watir::IE.attach(:url, 'http://privateurl.asmx/
   wsresponse')
 @b2.maximize
   xml = @b2.html
 doc = REXML::Document.new(xml)
 WID = REXML::XPath.first(doc.root, '//WID/text()')
 WID == (data['WIDTestField'])
 
   The reason I attempted xml = @b2.html is because when I view the
   source of the window that contains the response from the WS,
 it just
   shows the XML. Needless to say that didn't work, and I didn't
 really
   expect it to however I thought I would give it a shot. I then
 went to
   irb on the command line and had a look at what @b2.html actually
   looked like. I was expecting to see the xml without formatting
 however
   there was a lot more to it than what the page source showed. This
   would explain the error message in my respec results.html:
 
   #REXML::ParseException: missing attribute quote
   Line:
   Position:
   Last 80 unconsumed characters:
   SPAN class=bnbsp;/SPAN SPAN class=mlt;//SPANSPAN
   class=tClient/SPAN
   c:/ruby/lib/ruby/1.8/rexml/parsers/baseparser.rb:345:in `pull'
   c:/ruby/lib/ruby/1.8/rexml/parsers/treeparser.rb:21:in `parse'
   c:/ruby/lib/ruby/1.8/rexml/document.rb:204:in `build'
   c:/ruby/lib/ruby/1.8/rexml/document.rb:42:in `initialize'
   ./tests/WsRequestClientByWid_test.rb:36:in `new'
   ./tests/WsRequestClientByWid_test.rb:36
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_methods.rb:81:in `instance_eval'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_methods.rb:81:in `eval_block'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_methods.rb:15:in `execute'
   c:/ruby/lib/ruby/1.8/timeout.rb:48:in `timeout'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_methods.rb:12:in `execute'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_group_methods.rb:245:in `execute_examples'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_group_methods.rb:244:in `each'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_group_methods.rb:244:in `execute_examples'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/example/
   example_group_methods.rb:141:in `run'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/
   example_group_runner.rb:22:in `run'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/
   example_group_runner.rb:21:in `each'
   c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/
   example_group_runner.rb:21:in `run'
  
 c:/ruby/lib/ruby/gems/1.8/gems/rspec-1.1.11/lib/spec/runner/options.rb:
   115:in 

[wtr-general] RDE - Script stop running after open 2 new window.(a blank page, and the correct site)

2008-12-23 Thread Mr T

I have window vista,and currently install:
 Ruby 1.8.6
 Watir 1.6.1

I have the similar problem as this user describe below:

http://groups.google.com/group/watir-general/msg/d3d29a6346980a2c

I have something like this
===
$LOAD_PATH.unshift 'c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2'
# 11-21-2008

require 'watir'
include Watir

ie=Watir::IE.new

ie.goto http://www.msn.com;

After I make the change as you suggest:


  require 'watir'
--  require 'watir/ie'
  include Watir

  ie=Watir::IE.new
  ie.goto http://www.msn.com;


The script ran, but first open a first IE new window blank page
about:blank, then open the second window www.msn.com but the
script stop running after www.msn.com is finished loading from the
second open window. and this is what I get:

***
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie-class.rb:
366:in `method_missing': GoBack (WIN32OLERuntimeError)
OLE error code:80004005 in Unknown
  No Description
HRESULT error code:0x80020009
  Exception occurred.   from c:/ruby/lib/ruby/gems/1.8/gems/
watir-1.6.2/lib/watir/ie-class.rb:366:in `back'
from C:/Users/tlai/Desktop/Tuan Folder new/script/K8 us/Final ver/
rb24C3.tmp:52
Complete(1)
***

Please help! =) I have been spending day after day to figure what is
wrong... Thank you so much!



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Framework

2008-12-23 Thread Wilson Xu

Everbright is a toolkit aims to test Web Site more conveniently with
Watir. It contains classes/methods to help you start testing a Web
Site with Watir more quickly and more efficiently.
use CVS to checkout the source from rubyforge.org:
cvs -d :pserver:anonym...@rubyforge.org:/var/cvs/everbright checkout
everbright


On Dec 23, 10:27 pm, Anna Gabutero a...@lavabit.com wrote:
 On Tue, Dec 23, 2008 at 04:30:28AM -0800, Parul wrote:

  Hi all,
  Finally i've started using Watir and executing scripts.
  Now i wanna know about any framework.
  Is there any framework?If yes than please let me know abt it so that i
  can implement in web testing.

  Thanks
  Parul

 Hello Parul,

 First of all, I highly recommend reading the available documentation in
 the Watir Wiki:http://wiki.openqa.org/display/WTR/Project+Home

 In particular, please read:
  *http://wiki.openqa.org/display/WTR/FAQ
  *http://wiki.openqa.org/display/WTR/Advanced+Examples

 The last link in particular contains several articles about frameworks.
 That should help you get started in writing your own.

 Regards,
 Anna
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Watir General group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---