I think after I upgrade Ruby to 1.9.3 it is not overriding anymore the test
results, but keep adding a number next to the test results file name.
What happen is that I am not getting the correct results when getting
results by mail.
Any idea?
--
Before posting, please read
Or maybe I have watir 2.0, not sure.
On Wednesday, August 8, 2012 11:26:18 AM UTC-7, Shlomit Gazit wrote:
I think after I upgrade Ruby to 1.9.3 it is not overriding anymore the
test results, but keep adding a number next to the test results file name.
What happen is that I am not getting
http://wtr.rubyforge.org/rdoc/1.6.5/.
It was working with previous watir version. Now I am getting an
error:
ArgumentError: wrong number of arguments (3 for 2).
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
On Wed, Mar 21, 2012 at 12:44 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administratorruby -e 'require watir;puts
Watir::IE:
:VERSION'
-e:1: warning: toplevel constant VERSION
-1.0.11 for
inspection.
Results logged to
C:/Ruby/lib/ruby/gems/1.8/gems/ffi-1.0.11/ext/ffi_c/gem_make.o
ut
C:\devkit
On Tue, Mar 27, 2012 at 10:15 AM, Shlomit Gazit shlomitpatr...@gmail.comwrote:
I dont remember doing it in the past, is that a new step?
Shlomit.
On Wed, Mar 21, 2012
:18 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
After installing devkit, I am still getting an error installing watir:
After I failed with the above installation, I downgrade ruby and watir
but still failing with the same error:
C:\devkitgem install watir --no-ri --no-rdoc
Temporarily
then try gem update --system
also that is a different error from before got to love progress
On Tue, Mar 27, 2012 at 1:38 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
That's what I did, but then trying to do gem install watir, I got the
error.
See below: now I am getting
What is the different between watir and watir-webdriver?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com
is released this shouldn't
be too hard a task.
On Tuesday, March 27, 2012 1:41:58 PM UTC-7, Shlomit Gazit wrote:
What is the different between watir and watir-webdriver?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general
The problem is also if the title I am looking for doesnt exists I am
getting an exception:
Watir::Exception::NoValueFoundException: No option with :title of
pop_instr_type in this select element
C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.7/lib/watir/
input_elements.rb:87:in
or text associated with each selection
choice that has a title looking like the one you want. it means
writing a tiny parser in ruby code, but the ruby string methods make
that fairly easy to do.
puts browser.select_list(how, what).getAllContents
On Dec 8, 12:11 pm, Shlomit Gazit shlomitpatr
I have lots of options like this one:
option id=http://semanticweb.databaserepublic.com/c2p/systemData/
searchField#attachmentTargetItself value=341 title=true,Inner
Search,^50$|^62$|^56$,attachmentTargetItselfAttachment::/option
and I am trying to capture all options with title x.
As I know
Please help
On Dec 1, 12:22 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
The thing is for testing I dont want to go through all the select
options since it is a lot. I want to have only one from each. I have
about 11 select items with variedoptiontitles, and these options
The watir code I have is:
ie.cell(:class,c2p-action-down-arrow-horizontal).click
When I do inspect element I see: td class=c2p-action-down-arrow-
horizontal
/td
When I do view source I cannot find 'c2p-action-down-arrow-
horizontal'.
Any idea why?
--
Before posting, please read
here:http://wiki.openqa.org/display/WTR/XPath
Hope it helps.
orde
On Nov 24, 3:01 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I am not sure I know how. could I get help on that?
On Nov 24, 1:16 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Nov 23, 2010
Is there an option to use title for option?
This is the html code:
option id=http://semanticweb.databaserepublic.com/c2p/systemData/
searchField#attachmentTargetItself value=341 title=true,Inner
Search,^50$|^62$|^56$,attachmentTargetItselfAttachment::/option
--
Before posting, please read
Should I be able to do it with xpath?
On Nov 23, 4:25 pm, orde ohil...@gmail.com wrote:
Not according
tohttp://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir.
Check out the select_list method, and there's a red X for :title
attribute.
orde
On Nov 23, 11:47 am, Shlomit Gazit
at 11:44 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
I would like to be able to click on the link that is located outside of
the table above.
Please post sample HTML.
Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts on software
?
Instead of supplying us with detailed HTML of the table and links you
don't want to select, how about you provide some HTML of the one you
DO want to select? Perhaps it is inside some other unique container
like a div which could be used to identify it better?
On Aug 25, 7:37 am, Shlomit Gazit
I would like to be able to click on a link in the page that is not
inside a table with id = breadcrumbTable.
How can I do that?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
://wiki.openqa.org/display/WTR/Links
@browser.link(:id, breadcrumbTable).click
might solve your problem but again I'm assuming
On Tue, Aug 24, 2010 at 4:32 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
I would like to be able to click on a link in the page that is not
inside a table
george.sand...@gmail.com wrote:
Have you tried this:
$ie.link(:title = ,:href = /reqView.do.*?navigationTrail/).click
On Aug 10, 2:38 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
How should I click on that link that has this url and doesn't have the
title then,
should I do
I have two links leading to two different places in my application.
(It is quite a bug but there is no urgent to fix it from the
development department. Unfortunately it is breaking my test).
I was thinking for a while on a solution, and what I found maybe is
that one of the links has title and
, 11:57 am, Basim Baassiri ba...@baassiri.ca wrote:
Shlomit,
Can you provided a small sample of the html to give some context?
Basim
On Tue, Aug 10, 2010 at 2:46 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
Hello Basim,
*
*
I dont see a solution to my problem in the link you have
changes
Is there a reason why you are not considering accessing the link using
:xpath?
On Tue, Aug 10, 2010 at 3:43 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
I think I have a work around it with back browser button and index,
but I think it will be nice to know what I asked here
Is there any way to redo the last command of the test?
The problem is that sometimes I see that in my application the page is
not loading completely so I need to refresh the page.
I was thinking as a solution to check for a certain word every page
load, and if the word doesn't appear, the page
, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Joe,
For example I was trying:
$ie.radios.each do |radio|
if($ie.radio(:id,ID_OTHER_OPTION_BUTTON))
puts(yes)
else
puts(NO)
end
end
The output was 15 yes instead of 1
:
Schlomit,
Could you post the code you created from my example
so folks can look at it to try to determine why the conditional
is not working? Please include the output as well.
Thanks,
Joe
On Jul 2, 5:59 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
2010/7/2 Shlomit Gazit
if(browser.radio(:id, myID ))
# Do whatever you need to do with it (e.g. set it)
browser.radio(:id, myID ).set
end
end # End of Loop
Hope that helps,
Joe
On Jul 1, 5:08 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I am trying to iterate through radio buttons
Hello Joe,
It is actually doesnt work. The condition is not working, it is still
going through all the radio buttons.
On Jul 2, 1:51 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Thank you! that's working.
On Jul 1, 5:39 am, joedio joe...@comcast.net wrote:
Shlomit,
This may work
-research.ch
wrote:
On Fri, Jul 2, 2010 at 12:09 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
The condition is not working, it is still
going through all the radio buttons.
Joe's code if working fine. browser.radios.each means iterate over all radio
buttons.
Why do you insist
I am trying to iterate through radio buttons in the page, but I dont
want to iterate through all the radios in the page, only those with
certain id.
How can I do that?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message
How can I create a loop for a test to run every 15 minutes?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post:
Is there a method to use watir exit code (0 or 1)?
I want to know that if it is 0 to do something at_exit.
Thank you, Shlomit.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
at 2:30 PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
Is there a method to use watir exit code (0 or 1)?
I want to know that if it is 0 to do something at_exit.
Thank you, Shlomit.
--
Before posting, please readhttp://watir.com/support. In short: search
before you ask, be nice
Is there a way to call a module in watir test that will always run at
the end of the test no matter what?
I thought teardown would do that but I was wrong.
The aim is to call a module that is checking if the test has failed or
not (by a variable) and send email accordingly.
Since I was
From the user point of view it was just very slow to load.
On Mar 30, 1:22 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Mar 29, 2010 at 7:59 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
We found in the code that some pages were loading more than once
because
loading in the page?
On Mar 27, 2:26 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Fri, Mar 26, 2010 at 11:22 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
Is there a way to check if a page is loaded more than once?
What do you mean by that?
Željko
--
watir.com
Is there a way to check if a page is loaded more than once?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post:
.
On Mar 15, 11:07 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Hello,
Thank you.
Where would you recommend to put this code?
On Mar 15, 2:48 am, rakesh swain rocky.deb...@gmail.com wrote:
Hi,
Execute the following. The process can be identified and terminated.
require 'win32ole
I have lots of ruby.exe processes running after running watir test on
CI server.
Why there creating and how should I kill them after the test is
finished?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you
I need to look for the word 'Share' in related to different texts in
different places in the page, but the link has the same properties.
How can I distinguish. Any ideas?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this
, Shlomit Gazit shlomitpatr...@gmail.comwrote:
Please advice.!!
On Jan 4, 9:20 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I forgot to mention that I am creating a batch commend on Hudson when
getting the error above.
I was also trying to invoke rake file. I have rake
For handling popups I am doing the following:
@pid = Process.create(
:app_name = 'ruby clicker.rb',
:creation_flags = Process::DETACHED_PROCESS
).process_id
at_exit{ Process.kill(9,@pid) }
It works fine, but then in
and fire the
commandrakeorraketaskname to execute tasks
On 1/5/10, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Can anybody explain howrakeworks?
I have watir tests.
What doesrakedo and to make it work withrake?
--
You received this message because you are subscribed to the Google
How can I find out what has been selected in a dropdown?
I would like to always modify the find value but I should know first
what the value was.
Any idea anyone?
--
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send email
, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Hello Tiffany and Orde,
getSelectedOptions gave me:undefined method `getSelectedOptions' for
#Watir::SelectList:0x31482e8 error.
In anyhow:
I am doing:
status_value = $ie.select_list(:name, selectedImperativeStatusId).value
I figured out:
status_value = $ie.select_list(:name,
selectedImperativeStatusId).value
status_next_value = (status_value.to_i + 1).to_s()
$ie.select_list(:name, selectedImperativeStatusId).select_value(#
{status_next_value})
On Jan 21, 2:53 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote
Can anybody explain how rake works?
I have watir tests.
What does rake do and to make it work with rake?
--
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 am able to run watir test from command line but when I am trying to
run watir from hudson I am getting:
1) Error:
test_imperative(TC_c2p_all):
WIN32OLERuntimeError: failed to create WIN32OLE object from
`InternetExplorer.Application'
HRESULT error code:0x80004002
No such interface
directory I can see rake.bat
Another question is:
When running watir from hudson, I am suppose to see the WEB GUI
running?
On Jan 4, 8:51 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I am able to run watir test from command line but when I am trying to
run watir from
Angrez,
Please let me know if you have any new results.
On Nov 16, 10:00 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Pallavi, Angrez hello,
Thank you for the replies.
I was trying your suggestion:
$ff.startClicker(ok)
$ff.startClicker(ok)
$ff.image(:name, /elete/).click
PM, Shlomit Gazit
shlomitpatr...@gmail.comwrote:
Anybody??
On Nov 13, 4:43 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Hello,
I am trying to handlepopupswithfirewatir.
My scenario is clicking on delete button, a popup confirmation will
open and I should click ok. After
seehttps://secure.wikimedia.org/wikipedia/en/wiki/Shebang_(Unix) for more
info on that.
On Thu, Nov 12, 2009 at 16:37, Shlomit Gazit shlomitpatr...@gmail.comwrote:
In watir windows I can simply type in command line the name of the rb
file and it will open IE and run watir test.
How
Does anyone noticed firewatir is slower when starting it with jssh?
I am login to my web project without -jssh and it is faster than
running the project through firewatir (with -jssh).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hello,
I am trying to handle popups with firewatir.
My scenario is clicking on delete button, a popup confirmation will
open and I should click ok. After that a second popup will open and
I should write the reason and click ok.
So far I was able to click on the delete button and the second
I found out it was related with popups titles in regular expression.
On Oct 28, 3:25 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
After restarting the machine, it was working fine. I guess it is cache
related.
Is there a way to clean cache in the beginning of the test?
On Oct 27, 5:04
Hello,
I have MultipleSelectPopup.clear(/ID_OPEN/, nil) method which I want
to call it as many as buttons I have in the page that has id /
ID_OPEN/.
The method is clicking on the button I am sending it the id (/
ID_OPEN/) and clearing the content from the popup.
What so far is happening is
I am trying to use enabled_popup.rb. I added require 'watir/contrib/
enabled_popup', but when I am starting the server I am getting:
C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/contrib/
enabled_popup.rb:5: uninitialized constant Watir::PageContainer::Win32
(NameError)
from
Any idea?
On Oct 27, 3:23 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
require 'rubygems'
require 'firewatir/container' -- the problematic line
require 'watir/browser'
On Oct 27, 2:44 pm, Bret Pettichord b...@pettichord.com wrote:
Can you share the code that is failing? Specifically
I am no longer getting the error but still I need to click manually on
the ok popups.
On Oct 26, 11:15 am, orde ohil...@gmail.com wrote:
Check this out:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIfixaWIN32OLERuntimeE...
Hope that helps.
On Oct 26, 10:48 am,ShlomitGazit
After restarting the machine, it was working fine. I guess it is cache
related.
Is there a way to clean cache in the beginning of the test?
On Oct 27, 5:04 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I had an idea to kill ie process from task manager and it helped for a
while
After upgrading I am getting the error:
/Users/shlomit/.gem/ruby/1.8/gems/firewatir-1.6.5.rc2/lib/firewatir/
container.rb:46: uninitialized constant
FireWatir::Container::JsshSocket (NameError)
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
/ff_c2p_test_issues_2_menus_dev.rb
Shlomit Gazit wrote:
After upgrading I am getting the error:
/Users/shlomit/.gem/ruby/1.8/gems/firewatir-1.6.5.rc2/lib/firewatir/
container.rb:46: uninitialized constant
FireWatir::Container::JsshSocket (NameError)
from /Library/Ruby/Site/1.8/rubygems
and sometimes
not?
I was trying even not touching the mose for the entire test, but it
didnt help.
Please let me know if something looks odd:
Watir::Waiter.wait_until{$ie1.select_list(:id,
'RIGHT_HAND_LIST').exists? }
Thank you, Shlomit.
On Oct 19, 10:28 am, Shlomit Gazit shlomitpatr
I had an idea to kill ie process from task manager and it helped for a
while, but then after 6 or 7 popups, it couldn't find the popup
anymore.
Could it be that it related somehow with cache?
On Oct 27, 4:49 pm, Shlomit Gazit shlomitpatr...@gmail.com wrote:
I am taking my last comment back
I am getting this in the console, but it is not breaking the test, I
just need manually to click on both OK buttons.
c:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.2/lib/watir/ie.rb:113:in
`initialize': unknown OLE server:
`AutoItX3.Control' (WIN32OLERuntimeError)
HRESULT error code:0x800401f3
Angrez hello,
I am running on MacOS.
How should I run the tests not through eclipse?
Thank you,
Shlomit
Date: Thurs, Oct 22 2009 3:57 pm
From: Shlomit Gazit
I opened ff with jssh from terminal and was able to telnet only if I
was a super user.
When I run the firewatir test from eclipse I
Any replies for this one?
On Oct 2, 10:21 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
For handling prompt popups, I am using myClicker.rb file:
___
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 ==
__FILE__
require
method working, otherwise I am getting exception on unknown method
attach.
On Oct 23, 9:11 am, Angrez Singh ang...@gmail.com wrote:
I think it will automatically open a new Firefox instance with JSSH when you
run the test.
- Angrez
On Fri, Oct 23, 2009 at 8:43 PM, Shlomit Gazit
shlomitpatr
class=leftnavDates (2)/a
/td
/tr
On Oct 20, 12:51 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Mon, Oct 19, 2009 at 11:48 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
Watir::Exception::UnknownObjectException: Unable to locate element,
using :text
Thank you! it helps!
On Oct 15, 4:53 pm, orde ohil...@gmail.com wrote:
http://wiki.openqa.org/display/WTR/FAQ#FAQ-HowdoIdealwithtimingissues...
Hope that helps...
On Oct 15, 10:55 am,ShlomitGazit shlomitpatr...@gmail.com wrote:
One ting I didnt mention is that the new machine is a
@@leftNav = Array.new
@@leftNav = $ie.table(:class, tableLeftNav).innerText
@@leftNav_a = $ie.table(:class,
tableLeftNav).row_count_excluding_nested_tables
puts(@@leftNav, @@leftNav_a)
for i in 1..@@leftNav_a
@@leftNav.each do |i|
$ie.link(:text,
kidding!
Shlomit Gazit wrote:
One specific example I have:
I ran a test that is passing on my old environment and on the new
environment it is intermittent.
When trying to find popup:
The code is:
$ie.cell(:class, c2p-action-down-arrow-horizontal).click
I am still waiting for help. Please I am desperate.
On Oct 2, 9:58 am, Shlomit Gazit shlomitpatr...@gmail.com wrote:
Hello,
I have one watir environment that is well functioning (that I didn't
set up).
I was trying to set up a new watir environment but somehow the tests
, Oct 13, 2009 at 3:16 PM, Željko Filipin
zeljko.fili...@wa-research.ch wrote:
On Fri, Oct 2, 2009 at 6:58 PM, Shlomit Gazit shlomitpatr...@gmail.com
wrote:
For example, a test that is well running on one environment is
breaking on the new environment when trying to find a url
I want to run couples of tests from one test, like a suite.
Is it possible to do it? If yes, how?
Thank you,
Shlomit
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Watir General group.
To post to this group, send
Hello,
I have one watir environment that is well functioning (that I didn't
set up).
I was trying to set up a new watir environment but somehow the tests
that are running on the good environment are not running on the new
environment.
For example, a test that is well running on one environment
Hello,
I want to check if a link exists in the page.
I dont know what the content text of the link is, but I know the url.
The procedure is:
I want to set a filter with a certain text and clicking on the filter,
it suppose to return nothing, that's how I will see that it is working
well.
For handling prompt popups, I am using myClicker.rb file:
___
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 ==
__FILE__
require 'watir/WindowHelper'
$helper = WindowHelper.new
$helper.push_confirm_button_ok()
I am calling
*puts ie.link(:index,1).href*
# above is the href property to extract the href value from the hyperlink
sleep(10)
ie.close
Thanx
Karim Rayani
http://karimnumerouno.wordpress.com
On Fri, Oct 2, 2009 at 9:28 AM, Shlomit Gazit shlomitpatr...@gmail.com
81 matches
Mail list logo