[wtr-general] Can't log in/edit Confluence wiki?

2008-11-18 Thread Alister Scott

The openqa.org site has been renamed to seleniumhq.org and since I
have not been able to log in and edit the wiki.

I can log in OK, but whenever I navigate to the wiki the login link
appears, so it doesn't seem to pick up my authentication.

I was trying to update the quickstart and tutorial to reflect Watir
1.6.2.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Should Tutorial and Quickstart be updated to use Watir::Browser?

2008-11-18 Thread Alister Scott

I'm trying to update the wiki with this information but I'm having
problems authenticating. I have raised a separate thread.
Cheers,
Alister

On Nov 17, 8:06 pm, Chuck vdL [EMAIL PROTECTED] wrote:
 I'm just getting started learning Watir, I've not even finished the
 tutorial  (distractions at work keep pulling me away) and I only now
 many of the items I mentioned because either other folks have told me
 they exist (firebug) or because I saw references to them in other
 messages here in the last few days.

 I'm at that lovely stage where because I'm learning the stuff and have
 fresh eyes I can see what's missing, or in some cases needs to change,
 but unfortunately don't know the subject well enough to make the
 changes myself.

 On Nov 17, 1:07 am, Željko Filipin [EMAIL PROTECTED] wrote:

  On Fri, Nov 14, 2008 at 17:23, Chuck vdL [EMAIL PROTECTED] wrote:
   Shouldn't they be changed to reflect the new integration with
   Firewatir

  +1

  You sound like you know what you are talking about (a lot of you's in this
  short sentence). Would you do it?

  Željko
  --http://watirpodcast.com/alister-scott/
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Creating a test suite script

2008-11-18 Thread Natasha

Hi All,

WATIR: 1.6.2
I tried creating a wrapper script after refering to the unit test
scripts.

To start with, this script:
1. Should call all or specific scripts from a folder
2. should read from a configuration file and setup global variables.

I have written a small script(setup.rb) after refering to setup.rb and
core_tests.rb under watir unit tests folder:
--

require 'watir/browser'
$user= 'test'
$pwd='test'
Watir::Browser.default = 'ie'

TOPDIR = File.join(File.dirname(__FILE__))
puts TOPDIR

$all_tests = []
Dir.chdir TOPDIR do
  $all_tests += Dir[*.rb]
end

$watir_only_tests = [
  setup.rb,
].map {|file| #{file}}

 $all_tests -= $watir_only_tests

puts $all_tests
sleep 20


$all_tests.each {|x| require x}
--

My individual test scripts start as shown below:
--
require 'watir'   # the controller
require 'test/unit'
Watir::Browser.default = 'ie'
$ie = Watir::Browser.new

class test1  Test::Unit::TestCase

 @@ordernum = 0

 def test_a_orderPlacement

end
end
--

Current issues with it:
1. Its running the tests against Firefox, though I have set
Watir::Browser.default to ie.
2. Also it opens up 2 firefox windows, since there are 2 test scripts
to get executed. I want the scripts should get invoked sequentially.

Please advise.

Thanks,
Natasha


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Rails test runner

2008-11-18 Thread Natasha

Hi All,

Has anyone tried the test runner code provided by Bill Agee?

Link: http://wiki.seleniumhq.org/display/WTR/Rails+test+runner+example+app

I just tried it and its not working. I am new to Rails and hence not
sure if I did anything wrong or if there is an issue with this
application.

Installed: Ruby 1.8.6, Watir 1.6.2 and Rails 2.1.2.

After doing so executed the runner_start.bat file. It just gave me
following output:
--
C:\natasha\RubyScripts\runner\runnerrunner_start.bat

C:\natasha\RubyScripts\runner\runnerstart ruby script/server --
binding=0.0.0.0

C:\natasha\RubyScripts\runner\runner
--

Not sure if it actually started the application. I verified using
netstat command and didn't find port 3000 being active. I also
accessed the URL http://localhost:3000 and hence it didn't result in
anything.

Please suggest.

Thanks,
Natasha



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Creating a test suite script

2008-11-18 Thread Bret Pettichord

1. I don't know why it is using firefox
2. With the way you've structured your tests, you should start the 
browser in the setup file, not in each test file. That way you'll only 
have one.

Bret

Natasha wrote:
 Hi All,

 WATIR: 1.6.2
 I tried creating a wrapper script after refering to the unit test
 scripts.

 To start with, this script:
 1. Should call all or specific scripts from a folder
 2. should read from a configuration file and setup global variables.

 I have written a small script(setup.rb) after refering to setup.rb and
 core_tests.rb under watir unit tests folder:
 --

 require 'watir/browser'
 $user= 'test'
 $pwd='test'
 Watir::Browser.default = 'ie'

 TOPDIR = File.join(File.dirname(__FILE__))
 puts TOPDIR

 $all_tests = []
 Dir.chdir TOPDIR do
   $all_tests += Dir[*.rb]
 end

 $watir_only_tests = [
   setup.rb,
 ].map {|file| #{file}}

  $all_tests -= $watir_only_tests

 puts $all_tests
 sleep 20


 $all_tests.each {|x| require x}
 --

 My individual test scripts start as shown below:
 --
 require 'watir'   # the controller
 require 'test/unit'
 Watir::Browser.default = 'ie'
 $ie = Watir::Browser.new

 class test1  Test::Unit::TestCase

  @@ordernum = 0

  def test_a_orderPlacement

 end
 end
 --

 Current issues with it:
 1. Its running the tests against Firefox, though I have set
 Watir::Browser.default to ie.
 2. Also it opens up 2 firefox windows, since there are 2 test scripts
 to get executed. I want the scripts should get invoked sequentially.

 Please advise.

 Thanks,
 Natasha


 
   


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Firewatir frame problem

2008-11-18 Thread Rajiv



Hello ,
  I am getting  Unable to locate a frame with a name error
while creating test using IE on Watir . The frame seems to be there
and its working fine on other pages but not on a particular page ,I
have checked the parent frames and checked the names  syntax  too but
no breakthrough. Any help on this will be appreciated

Thanks
Rajiv

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Visible method not present for Watir 1.6.2, present in firewatir

2008-11-18 Thread juuser

What about having one additional if in that code? I've had it for some
time now on my personal patch, but was wondering if it shouldn't be in
the watir's code itself:
if object.invoke('type') =~ /^hidden$/i
  return false
end
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] AWTA 2009

2008-11-18 Thread Bret Pettichord

Many of you know that every year or two I hold an event called the 
Austin Workshop on Test Automation. It brings together a small group of 
people to have detailed discussions. This January we are meeting again 
and we are focussing on Watir and the Organization.

If you might be interested in attending, please read our call for 
participation.

http://awta.wikispaces.com

Bret

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Improving watir scripts efficiency and making them modular

2008-11-18 Thread marekj
Here is a list of examples and frameworks for Watir
http://wiki.seleniumhq.org/display/WTR/Examples


marekj | Semantic Page Objects Automation

Watir Framework
http://www.bitbucket.org/marekj/watirloo/





On Tue, Nov 18, 2008 at 12:05 PM, Natasha [EMAIL PROTECTED] wrote:


 Hi All,

 I am planning to improve test scripts structure.

 Currently I have only automated sanity test cases using WATIR. These
 are independant scripts which execute the test cases. I have ported
 them to Watir 1.6.2, so that I can execute them using both IE and
 Firefox. But I want to enhance them. Lot of things are hardcoded in it
 like some login/passwords and text that I type in text fields. I used
 to execute them individually.

 Following things are on my mind:

 1. Write a wrapper script which executes some or all of my tests.
 2. Inculde logging so that tests log the info/error level logging to a
 file for reference
 3. Have some kind of exception handling. It a particular test fails,
 it should go ahead and execute other tests
 4. Have some kind of web interface using which I can execute my
 scripts, even remotely.

 It would be great if you could suggest me some links for reference,
 for any/all of the above queries. I also try to read the postings in
 this group to get to know about the various approaches. Since this is
 the first time I am working on website automation, any pointers will
 be helpful.

 Thanks,
 Natasha
 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Can't log in/edit Confluence wiki?

2008-11-18 Thread Alister Scott

Patrick is aware and is working on it.

On Nov 19, 1:44 am, Bret Pettichord [EMAIL PROTECTED] wrote:
 I have the same problem.

 Alister Scott wrote:
  The openqa.org site has been renamed to seleniumhq.org and since I
  have not been able to log in and edit the wiki.

  I can log in OK, but whenever I navigate to the wiki the login link
  appears, so it doesn't seem to pick up my authentication.

  I was trying to update the quickstart and tutorial to reflect Watir
  1.6.2.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] OpenQA and Watir.com

2008-11-18 Thread Bret Pettichord

Many of you have noticed that openqa.org is not seleniumhq.org. This 
change was made earlier this week. This was something that we've known 
was coming for some time. At the same time, authentication for 
confluence and jira stopped working. This is a bug and we expect it to 
be fixed soon.

For some time, we've also been planning to migrate Watir's confluence 
and jira content to Watir.com. This has been stalled for various 
reasons, but we are more eager than ever to make this happen. Charley 
has been taking the lead in this has been working out many of the details.

Sorry for the disruption. I just wanted you all to know what the 
situation is.

Bret

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: OpenQA and Watir.com

2008-11-18 Thread Bret Pettichord

Er, I meant to say openqa.org is NOW seleniumhq.org.

Bret Pettichord wrote:
 Many of you have noticed that openqa.org is not seleniumhq.org. This 
 change was made earlier this week. This was something that we've known 
 was coming for some time. At the same time, authentication for 
 confluence and jira stopped working. This is a bug and we expect it to 
 be fixed soon.

 For some time, we've also been planning to migrate Watir's confluence 
 and jira content to Watir.com. This has been stalled for various 
 reasons, but we are more eager than ever to make this happen. Charley 
 has been taking the lead in this has been working out many of the details.

 Sorry for the disruption. I just wanted you all to know what the 
 situation is.

 Bret

   


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Can't log in/edit Confluence wiki?

2008-11-18 Thread Gavin Jefferies

It is back now.

On Tue, Nov 18, 2008 at 1:19 PM, Alister Scott [EMAIL PROTECTED] wrote:

 Patrick is aware and is working on it.

 On Nov 19, 1:44 am, Bret Pettichord [EMAIL PROTECTED] wrote:
 I have the same problem.

 Alister Scott wrote:
  The openqa.org site has been renamed to seleniumhq.org and since I
  have not been able to log in and edit the wiki.

  I can log in OK, but whenever I navigate to the wiki the login link
  appears, so it doesn't seem to pick up my authentication.

  I was trying to update the quickstart and tutorial to reflect Watir
  1.6.2.
 




-- 
VMBed - http://vmbed.com/ - Machines when you want them.
Test Automation - http://vmbed.com/?page/automate

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Can't log in/edit Confluence wiki?

2008-11-18 Thread Alister Scott

Yes, Patrick confirmed he fixed it.

On Nov 19, 11:01 am, Gavin Jefferies [EMAIL PROTECTED] wrote:
 It is back now.



 On Tue, Nov 18, 2008 at 1:19 PM, Alister Scott [EMAIL PROTECTED] wrote:

  Patrick is aware and is working on it.

  On Nov 19, 1:44 am, Bret Pettichord [EMAIL PROTECTED] wrote:
  I have the same problem.

  Alister Scott wrote:
   The openqa.org site has been renamed to seleniumhq.org and since I
   have not been able to log in and edit the wiki.

   I can log in OK, but whenever I navigate to the wiki the login link
   appears, so it doesn't seem to pick up my authentication.

   I was trying to update the quickstart and tutorial to reflect Watir
   1.6.2.

 --
 VMBed -http://vmbed.com/- Machines when you want them.
 Test Automation -http://vmbed.com/?page/automate
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Automatic IE ad pop-up!

2008-11-18 Thread shanks

Hi,

I rarely use IE. But i get IE pop-ups on its own every now and then. I
have no idea why this happens. Is it some sort of virus or malware
which is causing this to happen?
What could be the fix? Please help!

Thanks

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: Text field Numeric Issue

2008-11-18 Thread wesley chen
Sorry, I have made a mistake, ignore what I said.

Thanks.
Wesley Chen.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---