Did you try
$ie.link(:text,'Logout').click
Michael
From: Aravind aravindredd...@gmail.com
To: watir-general@googlegroups.com
Sent: Wed, January 19, 2011 4:46:52 AM
Subject: Re: [wtr-general] Click on link with href Javascript:calllogout()
thanks for the
Also did you try
$ie.link(:text,'Logout').fire_event(onclick)
From: Aravind aravindredd...@gmail.com
To: watir-general@googlegroups.com
Sent: Wed, January 19, 2011 6:45:40 AM
Subject: Re: [wtr-general] Click on link with href Javascript:calllogout()
Hi
I
Can you use click!
- Original Message
From: Rats crapats...@yahoo.com.au
To: Watir General watir-general@googlegroups.com
Sent: Tue, April 13, 2010 5:13:50 PM
Subject: [wtr-general] Re: A stupid question ... how do I apply patches to
Watir? :-(
On Apr 14, 9:05 am, Rats
Is that April fool?
From: arihan sinha arihan.si...@googlemail.com
To: watir-general@googlegroups.com
Sent: Thu, April 1, 2010 3:25:53 AM
Subject: Re: [wtr-general] HP acquires the Watir project, announces Wativ
Can any one please confirm that this is the
I think he meant there are multiple buttons and he wanted to click on each one.
But, it is clicking only first one.
He needs to use the indexing to get to next button.
From: Ethan notet...@gmail.com
To: watir-general@googlegroups.com
Sent: Thu, November 5,
I might give some sleep between mouseover and clicking.
- Original Message
From: sd qajan2...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, August 25, 2009 2:05:56 PM
Subject: [wtr-general] onMouseover
Hi,
I have an item. Once I mouseover that item, I
I would rather use
browser.links.length
This is already 1-based.
- Original Message
From: Jari Bakken jari.bak...@gmail.com
To: watir-general@googlegroups.com
Sent: Friday, August 14, 2009 11:20:30 AM
Subject: [wtr-general] Re: :index = 0 with firewatir
On Fri, Aug 14, 2009 at 5:49
: index= 0 is not the last item.
- Original Message
From: Alexandre neonoe123...@gmail.com
To: WATIR watir-general@googlegroups.com
Sent: Friday, August 14, 2009 5:40:55 AM
Subject: [wtr-general] :index = 0 with firewatir
Hello,
using firewatir, ff.link(:text = foo,:index =
I think you need to use system().
system(ruby test1.rb)
- Original Message
From: Maumita maumita.majum...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, August 13, 2009 3:26:52 AM
Subject: [wtr-general] Not able to run automatically a script automatically
This is so great, Jari.
Thanks for working on this.
- Original Message
From: Jari Bakken jari.bak...@gmail.com
To: watir-general@googlegroups.com
Sent: Sunday, August 9, 2009 3:49:59 AM
Subject: [wtr-general] Re: Watir on Ruby 1.9.1
On Fri, Aug 7, 2009 at 2:18 AM, Jari
don't think there is such method(ie.ie.stop)
My ruby version 1.8.6 and watir version is 1.6.2.
Is there any other soultion?
On Sat, Aug 8, 2009 at 12:28 AM, Michael Hwee michael_h...@yahoo.com wrote:
Try ie.ie.stop
- Original Message
From: Alex.Dev btb8...@gmail.com
To: Watir General
Try ie.ie.stop
- Original Message
From: Alex.Dev btb8...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Friday, August 7, 2009 2:01:38 AM
Subject: [wtr-general] stop ie from code
I tried to open a very slowly website, i want to stop it(like click
stop button in
Good job, Jari.
Does it work with Watir 1.6.1 or 1.6.2?
From: Jari Bakken jari.bak...@gmail.com
To: watir-general@googlegroups.com
Sent: Wednesday, August 5, 2009 3:51:55 PM
Subject: [wtr-general] Re: Watir on Ruby 1.9.1
I figured out the WIN32OLE issue - all
To answer your question, it is 'No'.
I have similar experience with this issue, but not exactly situation in Eric's
case.
The attach() function uses Shell.Application loop to search for the IE window.
Unfortunately, this weird IE would not show up at all.
It just basically stuck there.
I think you could.
ie.table(:index,1).attributes['display'].value='block'
ie.table(:index,1).link(:index,1).click
- Original Message
From: Ray rayjh...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, June 18, 2009 4:13:31 PM
Subject: [wtr-general] Setting
Or, single line with javascript.
$ie.ie.document.parentWindow.execScript(resizeTo(x,y))
- Original Message
From: orde ohil...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Friday, June 12, 2009 9:59:48 AM
Subject: [wtr-general] Re: how to set IE screen width
Frame object is entirely different entity from $ie.
So, it does not navigate into a frame to find frame objects.
What you finding is expected behavior.
- Original Message
From: MatchBook jeffrey.fl...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, June 3,
Have you tried omitting form()?
For example, ff.frame(index, 1).select_list(:id,LOV6)
- Original Message
From: jason jason.franklin.sto...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, May 27, 2009 6:02:01 AM
Subject: [wtr-general] forms in subframes -
screen_capture method and then would go for hash
comparison.
Please let me know on above.
Thanks Regards
Durgesh.
--- On Fri, 8/5/09, Michael Hwee michael_h...@yahoo.com wrote:
From: Michael Hwee michael_h...@yahoo.com
Subject: [wtr-general] Re: How can I compare the captured web pages
I think it is more like a problem with 'attach'.
There is known issue with attachingĀ to Firefox.
From: Alan Ark ar...@compli.com
To: watir-general@googlegroups.com watir-general@googlegroups.com
Sent: Thursday, May 21, 2009 10:02:50 AM
Subject: [wtr-general]
You should search the group first.
There is a good info and sample codes for that.
- Original Message
From: Jungle_hunter junglehuanggangzh...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, May 19, 2009 1:43:37 AM
Subject: [wtr-general] How to simulate
check to see the object is in a frame.
From: Kamesh G kameshg...@gmail.com
To: watir-general@googlegroups.com
Sent: Tuesday, May 19, 2009 7:45:17 AM
Subject: [wtr-general] Re: Unable to locate element
Hi ,
I have tried with all the three options.
Still i am
If you want someone's suggestion, you need to provide your codes where it
happens.
Not just telling everyone that you have below error.
Don't assume everyone knows your problem already.
- Original Message
From: zeroin23 zeroi...@gmail.com
To: Watir General
Can you try xpath?
- Original Message
From: andrew.d...@lthree.com andrew.d...@lthree.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, April 14, 2009 7:54:53 AM
Subject: [wtr-general] First level children only
I have a large tree of nested divs, and I want to get
Check that it could be in a frame.
- Original Message
From: cboudreau carlboudreau...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, April 9, 2009 11:32:56 AM
Subject: [wtr-general] Re: Yahoo mail, creating a new email message.
I am new to this Watir, and
Frame object always checked before you can use it.
- Original Message
From: Tony ynot...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, April 8, 2009 2:30:49 AM
Subject: [wtr-general] Creating Frame objects before a page with a frame exists
Hi,
Having
That is strange.
Your email summary said index,2, but you used index,0
Index is based 1.
- Original Message
From: jason jason.franklin.sto...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Friday, April 3, 2009 10:23:14 AM
Subject: [wtr-general]
Can you provide part of your script and html source where the object found?
- Original Message
From: KiranD kir...@sikkasoft.com
To: watir-general@googlegroups.com
Sent: Wednesday, March 25, 2009 9:19:10 PM
Subject: [wtr-general] Re: Obect not found to Firewatir
Yes, I was there. I
: Tuesday, March 24, 2009 8:08:11 AM
Subject: [wtr-general] Re: Multiple Attributes for Input Elements
Actually, no. The order makes no difference. Index is always applied
last no matter where it is specified in the arguments.
Bret
Michael Hwee wrote:
There is high important to less important
Ok, here is your misunderstanding.
For example, if you have: text_field(:index, 20)
The index number '20' is for all text_field objects on the page.
For example, if you have: text_field(:name='q', :index=20)
It does not mean the same text_field object above.
It means the index '20' of all
'ie' and '$ie' are not the same object.
If you use 'ie', you have to follow what Charley said to get your browser
maximize.
Otherwise, no help.
- Original Message
From: Isabel joybe...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, March 24, 2009 1:13:57
There is high important to less important in multiple attributes search.
In your case, you haveie.text_field(:index = 2 , :name = q)
To us, it means
- find text_field with index=2
- comfirm that it also has name='q'
So, no wonder you are getting non_existance error if you have other
I don't get is why are you using :action = /.*/ ?
Can you just take it off, so that the execution is much more efficient and work
w/o any issue?
- Original Message
From: alexey s. radiact...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, March 18, 2009
This is your problem -- Unable to locate element, using :id, c_ddlCategory
Make sure you have this element visible and enable.
Your Html code did not show this element, only login which is fine you said.
- Original Message
From: Mark Lehky mark.le...@aclaro.com
To:
So, you might want to try:
$ie.frame(:index,1).text.include?(Activating the database)
- Original Message
From: Mark Lehky mark.le...@aclaro.com
To: watir-general@googlegroups.com
Sent: Tuesday, March 17, 2009 10:20:03 AM
Subject: [wtr-general] Re: Problems locating basic elements in
Actually, this is nothing to do with Watir.
For your problem, you can solve through Registry.
Add these lines to your Registry.
[HKEY_CURRENT_USER\Control Panel\Desktop]
ForegroundFlashCount=dword:0001
ForegroundLockTimeout=dword:
- Original Message
From: venky
Even bring_to_front() uses AutoIt, it did not give error on WIN32OLE.
So, I don't think that is registering issue.
But, I could be wrong.
From: pink hiii pinkh...@yahoo.com
To: watir-general@googlegroups.com
Sent: Thursday, February 19, 2009 5:16:29 AM
Subject:
Is it for Japanese chars(two bytes) or Western chars?
Do you have sample html codes that we can take a look?
- Original Message
From: John Kolokotronis johnj...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, February 19, 2009 7:42:46 AM
Subject:
This is the same as Exception handling.
begin
...
rescue
...
end
- Original Message
From: Prince3105 prince3...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, February 11, 2009 11:11:36 PM
Subject: [wtr-general] On Error Resume Next - Equal statement in
Very cool, Jarmo.
If you don't mind, can you explain how to find such powerful neat methods?
That helps all of us.
Thanks.
- Original Message
From: Jason freezingki...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Monday, February 9, 2009 4:47:19 PM
Subject:
(without
divs.find_all)
Michael,
The scan method is part of the String class. If you look at the rdoc
for the classes you can find some very useful methods.
The pickaxe book and other ruby tutorials are also helpful.
Alex
On 10 Feb 2009, at 16:14, Michael Hwee michael_h...@yahoo.com wrote
If you are using IE as sole browser, you can do that follow.
require 'watir/ie'
Or, use if statement or inside begin/rescue block.
- Original Message
From: Brian Tomlin tendonstren...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, February 5, 2009
If you use only IE, try replacing following
Watir::IE.new
with
Watir::IE.new_process
Michael
- Original Message
From: Justin Ko justin.t...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, February 5, 2009 4:11:24 AM
Subject: [wtr-general] Retaining
idea, what could be the issue here?
Regards
Niharika
On Thu, Jan 29, 2009 at 11:00 PM, Michael Hwee michael_h...@yahoo.com wrote:
frame does not support exists?().
However, you can *monkey-patch* as followed.
module Watir
class Frame
alias_method :_locate, :locate
def locate
Neeraj,
Matt said call him
From: neeraj girdhar er.neeraj...@gmail.com
To: watir-general@googlegroups.com
Sent: Thursday, January 29, 2009 11:59:44 PM
Subject: [wtr-general] Re: QA w/ Watir
Dear Sir,
I have experience in WATIR Selenium. I am mailing my
frame does not support exists?().
However, you can *monkey-patch* as followed.
module Watir
class Frame
alias_method :_locate, :locate
def locate
begin
return _locate
rescue
return nil
end
end
def exists?
return @o != nil
end
end
Replace if verify($ie.text.include?(searchedtext))==true
with if $ie.text.include?(searchedtext)
- Original Message
From: Margam nk.mar...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, January 27, 2009 11:16:06 AM
Subject: [wtr-general] Need help with
You cannot flash the frame or exists? check.
But, you can use as follow.
$browser.frame(:name,ctl140_ctl00_ctl03_ctl01).text_field(:value,'FOO').flash
- Original Message
From: Monkeybuns shaml...@twia.org
To: Watir General watir-general@googlegroups.com
Sent: Tuesday, January 27,
, Michael Hwee michael_h...@yahoo.com wrote:
Or, just get ride of 'assert' and 'contains_text'.
Just use
if ie.text.include?(FOO)
puts FOO found
else
puts FOO not found
end
Michael
- Original Message
From: Bret Pettichord b...@pettichord.com
To: watir
information about your div? When the div is clicked, what
will happen?
Thanks.
Wesley Chen.
On Fri, Jan 16, 2009 at 9:14 AM, Michael Hwee michael_h...@yahoo.comwrote:
Try click_no_wait()
- Original Message
From: zeng0...@gmail.com zeng0...@gmail.com
To: Watir General
Try click_no_wait()
- Original Message
From: zeng0...@gmail.com zeng0...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, January 15, 2009 11:20:10 AM
Subject: [wtr-general] Code hangs after a div click
I have the following code:
$browser.link(:text,
I don't think that is true.
click_no_wait() does not wait for the popup.
Need more info on your issue.
From: wesley chen cjq@gmail.com
To: watir-general@googlegroups.com
Sent: Monday, January 12, 2009 12:12:14 AM
Subject: [wtr-general] Re: watir
-general] Re: Multiple Attributes Issue
I have 1.5.6.
I thought I upgraded to the most recent, but apparently not.
Do I have to uninstall and reinstall version 1.6.2?
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of Michael Hwee
I have tried to set IE to default, but it not work. Now I am trying to
reinstall ruby and watir.
On Dec 18, 11:34 am, Michael Hwee michael_h...@yahoo.com wrote:
First, go to your internet options and reset all your settings to default.
On vista with IE7, check off the Protected Mode.
Michael
Ok, I have gone through your codes and actually wrote the script similar to
yours.
I don't understand when you said 'click_no_wait' is not working.
To me, it is working just fine.
Here is my codes and dismiss the js popup.
require 'watir/ie'
require 'watir/contrib/enabled_popup'
def
That is disappointing.
I believe that is something like OS and/or configuration issues, rather than
watir itself.
Michael
- Original Message
From: larryni...@gmail.com larryni...@gmail.com
To: Watir General watir-general@googlegroups.com
Sent: Thursday, December 11, 2008 12:00:00
: Tuesday, December 9, 2008 7:05:33 PM
Subject: [wtr-general] Re: button.Click_No_Wait only highlights the button,
does not click
Michael Hwee wrote:
The only different between 'click' and 'click_no_wait' is 'wait' statement is
removed.
Actually no. This is not the only difference. The big
What is the statement after the click_no_wait?
If you use handle_popup, add some more seconds to wait; especially on slow
machine.
What I know is, the click_no_wait actually happens.
But, when the browser or server is being ready to respond, your next code
statement executes.
Try putting --
Are you saying when you use 'click', the button was clicked properly?
The only different between 'click' and 'click_no_wait' is 'wait' statement is
removed.
Can you check to be made sure that is an 'Input', rather than 'a' html tag?
- Original Message
From: [EMAIL PROTECTED] [EMAIL
Did you go and check add-ons and see whether jssh is enabled?
- Original Message
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: Watir General watir-general@googlegroups.com
Sent: Friday, December 5, 2008 9:39:49 AM
Subject: [wtr-general] Problem with running test scripts on
What do you get if you do this in firewatir?
row.cell(:index,1)
Is this the same as row.cell(:index,0) ?
- Original Message
From: aidy lewis [EMAIL PROTECTED]
To: watir-general@googlegroups.com
Sent: Friday, November 28, 2008 4:04:34 AM
Subject: [wtr-general] indexes with watir
:
require 'watir/ie'
Bret
Michael Hwee wrote:
Not sure what is causing the custom element extension.
Any idea?
c:\gem list watir
*** LOCAL GEMS ***
watir (1.6.1)
c:\irb
irb(main):001:0 require 'watir'
= true
irb(main):002:0 module Watir
irb(main):003:1 class Strong
John,
It would be better if you replied to original email.
Creating a new email/thread is like out-of-sync.
Thanks.
- Original Message
From: JArkelen [EMAIL PROTECTED]
To: Watir General watir-general@googlegroups.com
Sent: Wednesday, November 5, 2008 1:59:10 AM
Subject:
Make sure this works:
$ie.label(:text,Reported by).exists?
- Original Message
From: Moochie [EMAIL PROTECTED]
To: Watir General watir-general@googlegroups.com
Sent: Monday, November 3, 2008 11:05:27 AM
Subject: [wtr-general] Using multiple attribute type to locate label tags?
The
64 matches
Mail list logo