Hello,
I am just following this script on http://watirwebdriver.com/:
require 'watir-webdriver'
b = Watir::Browser.new
b.goto 'bit.ly/watir-webdriver-demo'
b.text_field(:id = 'entry_0').set 'your name'
b.select_list(:id = 'entry_1').select 'Ruby'
b.select_list(:id = 'entry_1').selected? 'Ruby'
#~
Try these:
http://wiki.openqa.org/display/WTR/New+Browser+Windows
http://wiki.openqa.org/display/WTR/New+Browser+Windows
http://stackoverflow.com/questions/5630084/how-to-handle-new-browser-pop-up-after-clicking-a-js-button-in-watir
How are you using 'watir' for firefox? You should be using 'firewatir',
right?
-Prajakta
On Thu, Feb 3, 2011 at 7:43 PM, Stephen Mc Gowan mccl...@gmail.com wrote:
Hi,
I'm seeing an intermittent watir issue with firefox. I really don't know
whats causing it, I can't seem to cause it to
you could use src to identify it.
browser.image(:src = /gtk-ok/).click
Find more info here:
http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/Container.html#M000324
-Prajakta
On Thu, Jan 13, 2011 at 10:43 AM, sweet flower ure...@gmail.com wrote:
Hi,
I was able to automate that using the Cell
Happy New Year to you too!
And thanks for the new Watir. :)
Is this Watir version tested on latest Ruby, i.e 1.9.2 or is Ruby 1.8.6
still the recommended ruby version for Watir?
Regards,
Prajakta
On Thu, Jan 6, 2011 at 2:26 PM, Jarmo jarm...@gmail.com wrote:
Hello and Happy New Year to
Try using value of the option instead of label.
E.g: browser.select_list(:name,ModuleID).set(13)
-Prajakta
On Mon, Dec 6, 2010 at 7:12 PM, Sudeep sudeeppattn...@gmail.com wrote:
Hi,
I am getting the following error while setting a value to the drop
down list.
Watir Script :
Why does
Browser.link(:href,/users/1).click
have double quotes ( ) around :href?
That is not required and I am not sure if that will work either.
This is the syntax:
a href=page.htmie.link(:href, /page/).click
Try removing those double quotes.
Hope it works.
2010/11/22 Amit Kulkarni
Try using some other element property like name or value instead of id. You
could find their values using developer's tool bar.
2010/11/18 Hrishikesh Bose hrishikesh.b...@gmail.com
may be i am new to the Watir.
The problem i am facing is as following.
. i need to automate a use case which
Find the information here: http://screencast.com/t/k5LGJDT0Dap
On Thu, Nov 18, 2010 at 12:28 PM, Sudeep sudeeppattn...@gmail.com wrote:
Hi,
I am completely new to WATIR.
I have installed Ruby 1.9.2 and have also installed WATIR by the
command:
gem install watir
WATIR has been installed
oops.. wrong link...
this is the correct one:
http://ruby.about.com/od/beginningruby/ss/visualinstal_7.htm
On Thu, Nov 18, 2010 at 12:37 PM, Prajakta Jadhav jadhav.praja...@gmail.com
wrote:
Find the information here: http://screencast.com/t/k5LGJDT0Dap
On Thu, Nov 18, 2010 at 12:28 PM
that SCITE edito has
been used. Do I need to download SCITE editor??
On Nov 18, 12:07 pm, Prajakta Jadhav jadhav.praja...@gmail.com
wrote:
oops.. wrong link...
this is the correct one:
http://ruby.about.com/od/beginningruby/ss/visualinstal_7.htm
On Thu, Nov 18, 2010 at 12:37 PM
I think you should try :
ie.div( :id, 'foo' ).divs.each {|d| puts 'found one!' if d.class == 'bar'}
Probably one '=' in your comparison is missing.
Also attaching my working sample script for reference here. Hope this helps.
ie.div(:id, id).divs.find_all{|dvi|
dvi.class_name ==
-research.ch wrote:
On Thu, Oct 21, 2010 at 8:12 AM, Prajakta Jadhav
jadhav.praja...@gmail.com wrote:
I would like to know if there is a better way of implementing this UI map
than what I am thinking of.
I would suggest you take a look at Taza:
http://github.com/scudco/taza/
Željko
your win32-process gem version is mismatching.
I am attaching the required gem with this mail.
Install it and then check.
If it asks for any more dependent gems you can get them at following link -
http://rubygems.org/gems/win32-process/versions/0.5.5
did you run 'gem update' command?
what does 'gem -v' command return to u? Is it greater than 1.3.5?
If not, then your update was not successful. you are still in the older
version.
You will need to install rubygem1.3.6 first
Then again run 'gem install watir'.
On Fri, Apr 16, 2010 at 3:11 PM,
This page is showing some index instead of the Watir's RDoc with 3 lists.
Did I miss something?
When did this page change?
--
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
try
@browser.link(:class,userMenuLink).click
Actually if :text works in IE, it should work in FF. Yet you could give the
above a try.
-Prajakta
On Tue, Feb 2, 2010 at 11:49 AM, Yuping Zhong littlezhong...@gmail.comwrote:
Dear All,
I want to use the Watir to click a link that looks like a
Following should serve your purpose:
ie.div(:class, testing_1).divs.each do |dv|
puts dv.text
-Prajakta
On Wed, Jan 13, 2010 at 4:41 PM, Soori sure...@gmail.com wrote:
Hi John,
.html will return the html with DIV,etc,
I would like to get only the text inside the div .
Thanks,
Soori
u will need to get the handle of new browsers that are opening
then execute browser.close for those browser windows
if you are clicking some link/image which in turn opens your new browser
window
then you will have to use some 'getwindow' type of method to get the handle
of that browser
If in case you are clicking on some link/image which in turn opens a new
browser window then u ll need to get the handle of that new window first.
Then u can execute browser.close on it.
U ll need to attach the new window to a new watir browser instance.
eg -
ie2 = watir::IE.new
ie2.attach(:url,
Shouldn't be a problem. Open the same html file in both the scripts for
logging the results. It will log the results one after another in the same
html file.
-Prajakta
On Fri, Oct 9, 2009 at 10:31 AM, Bindhu udayarekha2...@gmail.com wrote:
Hi All,
In batch file I have included 2 scripts to
Can you post the html code of this page?
Are there any frames outside the div?
On Fri, Sep 18, 2009 at 5:34 AM, Brian Rosenthal brosent...@facebook.comwrote:
Hi,
We’re using an “editable div”, and we need to be able to set its contents
using Watir (in IE). What’s the best way to do that?
you need to write something like:
@browser.link(:href, https://ome.swimconnection.com/ome/users/new;).click
A indicates a link. Its not a button.
-Prajakta
On Thu, Aug 27, 2009 at 3:42 PM, yuping zhong littlezhong...@gmail.comwrote:
Dear All,
I am an new user of Watir.
Right now, I meet a
try this --
puts ie.cell(:class,ms-OneMerckQuickPollMessageDisplayCell).text
Prajakta
On Mon, Jun 15, 2009 at 12:44 PM, Rahul Ahuja mightyah...@gmail.com wrote:
But, there is no :id property associated with it.
Thanks Wesley Chen for your quick response.
But, unfortunately the solution
I have automated a sharepoint application using watir...
not a very big deal.. but you will have to dig around a bit at times
On Wed, Jun 10, 2009 at 3:45 PM, Rahul Ahuja mightyah...@gmail.com wrote:
Can WATIR automate web applications developed using Sharepoint
Technology?
Thanks Regards,
All the best Bret and Pete...!
And a bigg THANK YOU for WATIR... :)
On 6/4/09, Bret Pettichord b...@pettichord.com wrote:
Pete Dignan and I have decided to shut down WatirCraft LLC.
I will begin working full time for Convio in July. Convio has made a big
commitment to using Watir. I will
thats really cool!
On Mon, Jun 1, 2009 at 9:12 PM, Chuck van der Linden sqa...@gmail.comwrote:
On May 30, 4:50 am, karimnumerouno karim@gmail.com wrote:
hi could any one share a link our some stuff of multi attribute
selection, it there any doc there
be a tool user:
I had this problem when I used $ie.send_keys() function.. this does not
work if user hasn't logged in to windows.
Maybe you are using some such GUI function in your script. Guess you ll have
to use some other alternative for that function.
On Mon, Jun 1, 2009 at 7:10 PM, Philbo phi...@gmail.com
Is it okay if the account concerned is Outlook Web Access.. or you require
only gmail or yahoo and such other mail accounts?
I have implemented exactly same functionality taht you are seraching for..
but in OWA
I can share it with you incase you can work with OWA
On Tue, May 26, 2009 at 10:37 PM,
29 matches
Mail list logo