gem install watirsplash I get the following error.
ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Library/Ruby/Gems/1.8/gems/win32-api-1.4.6/
CHANGES
Any ideas why I am getting these errors Jarmo?
Thanks
tester86
--
Before posting, please read http://watir.com/support
engineer a simple solution as this one. I have found one thing
interesting though. It is a challenge to automate a Sproutcore
application but it is the best challenge a automation engineer will
face.
Once again thanks for everyone's help and feedback.
tester86
On May 20, 3:03 pm, Chuck van der Linden
to select Option 2 or
Option 3 but I cannot select Option 2 or 3 using select_list or
triggering fire_events. Does any one have any idea's on know to
resolve this issue.
Thanks
tester86
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received
I tried
$b.li(:class, Option 2).click
But I still got the same error.
On May 19, 9:27 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, May 19, 2010 at 4:13 PM, tester86 sagar.am...@gmail.com wrote:
ul class=select_options
li class= selected highlighted data-value=Option
I have been testing this part of my script in IRB, I also triggered
two fire_event onmousedown then onmouseup. Also tried onmousedown
sleep 1 then onmouseup, tried and tested all the possbile combinations
and methods.
When onmousedown is triggered in the table it generated the drop down
list --
wrote:
Hi
In case when there is drop down arrow, the elements are set using
text_field sometimes.
Please try this option also.
e.g. $ie.text_field(:name,'').set('')
tester86 wrote:
Hi
I did fire a javascript event that will set the focus in the drop down
list:
$b.table(:index, 1)[2
just
before attempting the select statement?
Hope this helps!
-Tiffany
On Mar 15, 2:43 pm, tester86 sagar.am...@gmail.com wrote:
I need to click on a drop down. I have a script that will set the
focus in the drop down list then when I go to select the value it does
not select
I need to click on a drop down. I have a script that will set the
focus in the drop down list then when I go to select the value it does
not select the list. Manually: When I click in the drop down field it
gets activated then when I click on the drop down arrow it will
display the list.
Hi
In an IRB session when I trigger an onmousedown and onmouseup event on
a link that generates a modal dialogue box it shows the modal
dialogue. Then when I copy that code into a test case and execute
firefox does not generate the modal dialogue.
Code:
$b.span(:class, value
Hi
I am automating a website where every time the ID's change and my
scripts need to cope with this change. For example if I click on a
link and next time the value of the link will change.
Is there any scope or any implementation that can be implemented to
cope with this. I have talked with a
Hi
I came across that example before on automation frameworks. I have
already started to implement a framework. But my question was is there
any way Watir supports automatically generated ID's?
Thanks
--
You received this message because you are subscribed to the Google Groups
Watir General
Hi
I have tried all of the different scenarios in order to perform a
double click action when clicking a text field. But in Firewatir 1.6.5
the fire_event(ondblclick) is not working.
Is there an issue with firewatir 1.6.5 because I saw another thread
where a person was having the same issue with
Hope that helps.
orde
On Feb 8, 12:45 pm, tester86 sagar.am...@gmail.com wrote:
Sorry but in IRB when I do
a= $b.table(:index, 1)[2][11].html
print 14.56
b=$b.table(:index, 1)[2][11].html
print 85.00
total = a + b
in IRB it returns 14.5685.00
when it should return 99.56
hi
I am printing out the value in a column in irb and then I want to
store that value in a variable and calculate the two values. If I do
$b.table(:index, 1)[2][11].html
print $90
$b.table(:index, 1)[3][11].html
print $80
Then if I do:
def test_total(a,y)
a= $b.table(:index, 1)[2][11].html
Please disregard this post...I have got it working.
Thanks
On Feb 8, 2:33 pm, tester86 sagar.am...@gmail.com wrote:
hi
I am printing out the value in a column in irb and then I want to
store that value in a variable and calculate the two values. If I do
$b.table(:index, 1)[2][11].html
Sorry but in IRB when I do
a= $b.table(:index, 1)[2][11].html
print 14.56
b=$b.table(:index, 1)[2][11].html
print 85.00
total = a + b
in IRB it returns 14.5685.00
when it should return 99.56
--
You received this message because you are subscribed to the Google Groups
Watir General group.
please diregard this post I have found the solution.
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:
to a numeric class. In this
case, you want to use .to_f:
total = a.to_f + b.to_f
Hope that helps.
orde
On Feb 8, 12:45 pm, tester86 sagar.am...@gmail.com wrote:
Sorry but in IRB when I do
a= $b.table(:index, 1)[2][11].html
print 14.56
b=$b.table(:index, 1)[2][11].html
print 85.00
Hi
Question for the watir group. When I run my test sometimes it fails if
it cannot find an element or input field. Is there a way that when
this occurs it can log that failure and continue running the tests and
not stop. Is there any Watir commands that I can put in place at
points in my script
withhttp://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_exceptions.html
and/orhttp://www.ruby-doc.org/core/classes/Exception.html
orde
On Feb 4, 8:55 am, tester86 sagar.am...@gmail.com wrote:
Hi
Question for the watir group. When I run my test sometimes it fails if
it cannot find
or point me in the right direction to using
CSS selectors with examples.
Thanks
tester86
--
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
Can you make it when you click twice?
***.click
***.click
I tried .click .click twice on the label, but it did not click on the
label.
--
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email to
Can you make it when you click twice?
***.click
***.click
I tried .click .click twice on the label, but it did not click on the
label.
-- After debugging I noticed that when I do $b.element_by_xpath('//
label[text()=Research]').click, in fire bug it does click on the
label but the
,
Yeh we can read the JSON response.
if we have a JSON output from some URL. then we can
check this one for more help on going about reading a json output in
RUBYhttp://snippets.dzone.com/posts/show/6133
On 1/25/10, tester86 sagar.am...@gmail.com wrote:
Hi
Using Watir is it possible
Hi
I am using firewatir and when I use the following code:
$b.text_field(:type, text).set(Res).fire_event(onkeypress)
I also tried $b.text_field(:type, text).set(Res).fire_event
('onkeypress')
I get the following error message:
NoMethodError: undefined method `fire_event' for 0:Fixnum
This
Hi
I'm not 100% sure but I think you might have to install nmake.
On Jan 22, 8:17 pm, Jag jag.jag...@gmail.com wrote:
Hi,
After installing Ruby 1.8.6 (Also tried 1.9)
then followed the steps
gem update --system
gem install watir
getting this error with ruby1.9
ERROR: Error
Hi
I have been doing some reserach on drag and drop using Watir. From
what I can understand it is not feasiable yet, but it can be down via
fire events.
I have managed to select the div element that I want to drag to
another screen view but I cannot seem to drag it into that view.
When I use
-general/browse_thread/thread/d45e...
-Original Message-
From: watir-general@googlegroups.com [mailto:watir-gene...@googlegroups.com]
On Behalf Of tester86
Sent: Thursday, January 21, 2010 1:38 PM
To: Watir General
Subject: [wtr-general] RE: Drag and Drop using Watir
Hi
I have
to
execute my scripts against both IE and FF.
Thanks
On Jan 20, 8:07 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jan 20, 2010 at 3:00 PM, tester86 sagar.am...@gmail.com wrote:
Browser ie
I think this should be:
browser: ie
Željko
--
You received this message because
used the example from:
http://wiki.openqa.org/display/WTR/Browser.new
but I cannot get it to execute.
Thanks
On Jan 20, 8:24 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Wed, Jan 20, 2010 at 3:20 PM, tester86 sagar.am...@gmail.com wrote:
Sorry my typo in options.yml I have
in having them be separated.
On Fri, Jan 15, 2010 at 11:31 AM, tester86 sagar.am...@gmail.com wrote:
Hi
Please note that this is an example of what tests.
Class TestGoogle Test::Unit::TestCase
def test_start()
$b=Watir::Browser.start(https://www.google.com;)
end
def
Hi
Please note that this is an example of what tests.
Class TestGoogle Test::Unit::TestCase
def test_start()
$b=Watir::Browser.start(https://www.google.com;)
end
def test_entertext()
$b.text_field(:name, SearchField).set(Search)
$b.button(:name, btnG).click
end
def test_verify()
if
Hi
Question:
I am using a testing framework using Watir and I have given a global
variable $b. I am running my scripts against FF. But I also want to
execute them against IE. I am using the example from:
http://wiki.openqa.org/display/WTR/Browser.new
But when I execute in IE I get the error $b
On Mon, Jan 11, 2010 at 1:51 PM, tester86 sagar.am...@gmail.com wrote:
Hi
I maybe starting another thread but thought I'd post my message on
here. How does Watir support Javascript (sproutcore). For example if I
wanted to click on a checkbox sproutcore considers it as a link which
has
Hi
I maybe starting another thread but thought I'd post my message on
here. How does Watir support Javascript (sproutcore). For example if I
wanted to click on a checkbox sproutcore considers it as a link which
has an ID assoication.
--
You received this message because you are subscribed to the
Chen.
For life, the easier, the better.
On Mon, Jan 4, 2010 at 11:03 PM, tester86 sagar.am...@gmail.com wrote:
Hi
From my research as far as I understand you can not drive watir
scripts at the same time in the browser unless you create seperate
scripts for them. I have a Test::Unit
of code not duplicating the code
twice..
On Jan 5, 9:30 am, tester86 sagar.am...@gmail.com wrote:
Hi
Or would you like to do something like this (not tested)?
[Watir::IE.new, FireWatir::Firefox.new].each do |browser|
browser.goto google.com
browser.goto yahoo.com
end
The above
Selenium finds the button (here is the selenium)
//a...@id=tc676]/span/label
but it does not work in Watir?
On Jan 5, 4:23 pm, tester86 sagar.am...@gmail.com wrote:
Hi
I have the following watir code:
$b.link(:href, javascript:;).click
but it does not click on the button.
a id
Hi
From my research as far as I understand you can not drive watir
scripts at the same time in the browser unless you create seperate
scripts for them. I have a Test::Unit script that runs in Firefox but
when I specify IE it just opens a new browser and nothing happens. I
am guess that I would
No the cell column already has the value I want to check to see if
that value is the same on the web page.
--
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
I have a table that has a sub class
td class = table x
tr
td class =Y
td class =x90/td
/tr
I want to perform a validation check where it will read the data
between the tags and pass or fail depending on the value. I searched
the group and internet but could not see anything. Does anyone have
Hi,
This is more of a question:
Has anyone tried to use Zentest with there Test::Unit scripts on
Windows 7. If anyone has can they let me know there thoughts.
Thanks
--
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send
for a different framework? You can find
examples of various frameworks here:
http://wiki.openqa.org/display/WTR/Examples
Hope this helps!
-Tiffany
On Nov 19, 1:14 pm, tester86 sagar.am...@gmail.com wrote:
I been through all the main websites with regards to watir commands,
but I need some
I been through all the main websites with regards to watir commands,
but I need some documention or something to verify data on a web page
and return that value, do I have to include rspec.is there any
good guides to watir apart from the 5 min quick example.
Can someone give me the link to where I can download the watirRecorder+
+...as on the homepage it is not there.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email
- they have no 'a' in their name, and don't care.
On Mon, Nov 9, 2009 at 15:29, tester86 sagar.am...@gmail.com wrote:
Using cucumber and watir - Vista and Windows 7
Get the following error message:
Unble to locte element, using :nme,
q (Wtir::Exception::UnknownObjectException
...@gmail.com wrote:
Hi,
Please try to use slep(10) commands.
It means
ie.goto(htp://google.com)
sleep(10)
ie.text_field(:name,q).set(Raveendran)
sleep(10)
.
.
.
I hope it works now. Rit ?
On Thu, Nov 12, 2009 at 12:48 AM, tester86 sagar.am...@gmail.com wrote:
Another Error From
Hi.
I went to download the watir ide recorder and it mentioned it
requires .net framework 1.4 and then I installed the .net framework.
Then I went to install watir ide recorder it told me again I need
the .net framwork but I hvae already installed it. I have done a
windows secuirty update, but
scripts into an irb session and they ran
without any problems - even without the sleep commands (you shouldn't
need those). Try stepping through your scripts, line by line in irb
so you can watch what happens in with each step.
Hope this helps,
-Tiffany
On Nov 12, 7:42 am, tester86
When I type the commans into IRB here is was I get as output:
irb(main):001:0 require 'Watir'
= true
irb(main):002:0 test_site='www.google.com'
= www.google.com
irb(main):003:0 IE=Watir::IE.new
= #Watir::IE:0x3e09a40 @url_list=[about:blank], @typingspeed=0.08,
@pause_af
ter_wait=0.1,
-1.6.2/lib/watir/
input_elements
.rb:323:in `set'
from (irb):5
On Nov 12, 12:47 pm, tester86 sagar.am...@gmail.com wrote:
Thanks for you input Tiffany but when I run the script and execute in
IRB I get the following error message:
NameError: undefined local variable or method `ie
running your command prompt session with administrator
privileges? I had a problem when I moved to Vista where two browsers
were being opened. Try the suggestions Bill Agee gave me:
http://tinyurl.com/ygn4fpx
Hope this helps!
-Tiffany
On Nov 12, 11:47 am, tester86 sagar.am...@gmail.com wrote
browser.text
puts browser.url
puts browser.title
Bret
tester86 wrote:
Thanks for all the help I managed to get ruby and watir all up and
running. But I have a question, when I was using cucumber I get this
error message and they told me to put this post in the watir group:
c:/ruby
I keep on seeing the following error everything I try to perform an
verifcation check or find a text box on the page and enter in text:
undefined method `contains' for #Watir::IE:0x89684c8 (NoMethodError)
Can someone please explain why I am getting these errors. Even when I
try to run a sample
,
Add first line -- require 'rubygems'
Remove line no.2 -- include Watir
I hope it works now. If its not working then Please provide more details
about Watir Verison and Ruby version.
Thanks
On Tue, Nov 10, 2009 at 3:19 AM, tester86 sagar.am...@gmail.com wrote:
I am trying to run a watir
watir 1.4.1
On Nov 9, 9:46 pm, Bret Pettichord b...@pettichord.com wrote:
What version of Watir are you using?
tester86 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, q).set(watir
In IRB I get the following message and according to Watir In 5 Minutes
Im guessing my output is incorrect..
irb(main):001:0 require watir
= true
irb(main):002:0 ie = Watir::IE.new
= #Watir::IE:0x825f690 @ie=#WIN32OLE:0x825f640, @error_checkers=
, 1.2.7)
win32-process (0.6.1, 0.5.3)
win32-sapi (0.1.5, 0.1.4)
win32-sound (0.4.2, 0.4.1)
win32console (1.2.0)
win32ole-pp (1.2.0)
windows-api (0.4.0, 0.2.0)
windows-pr (1.0.8, 0.7.2)
xml-simple (1.0.12)
Is there any gem that I am missing that is causing the error?
On Nov 10, 8:10 am, tester86
'?)
That is:
require 'watir'
require 'rubygems'
#require win32ole
ie = Watir::IE.new
ie.goto(http://google.com;)
ie.text_field(:name, q).set(watir)
ie.button(:name, btnG).click
On Tue, Nov 10, 2009 at 8:42 AM, tester86 sagar.am...@gmail.com wrote:
Here is the list of my local gems (just incase
my gems and everything and start again..I
did that before but it did not work.
On Nov 10, 9:03 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Nov 10, 2009 at 3:10 PM, tester86 sagar.am...@gmail.com wrote:
watir 1.4.1
Please uninstall it and install watir via gem. Ask
variables for ruby?
On Nov 10, 9:38 am, Bret Pettichord b...@pettichord.com wrote:
I am wondering if maybe this is a permissions problem. Are you using
Windows 7?
It would help if you printed the error and stack trace that you are now
getting.
Bret
tester86 wrote:
This morning I just
Thanks for all the help I managed to get ruby and watir all up and
running. But I have a question, when I was using cucumber I get this
error message and they told me to put this post in the watir group:
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/element.rb:52:in
`assert_exists':
Using cucumber and watir - Vista and Windows 7
Get the following error message:
Unble to locte element, using :nme,
q (Wtir::Exception::UnknownObjectException)
./fetures/step_definitions/serch_steps.rb:11:in `/I serch for
(.*)/'fetures/serch.feture:8:in `When I serch for cucumber
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, q).set(watir)
ie.button(:name, btnG).submit
when I run it from command line ruby filename.rb I get the following
error message:
64 matches
Mail list logo