I was wondering if the tags are stored in an array somewhere and can be
access so that you can do different after hooks say for Jira or other
plugins?
Thanks,
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.c
root page. The HTML is basic, and watir finds the element and can interact
in other ways with it. RAutomation seems to be doing the right thing once
the file dialog opens... but it doesn't open in some cases.
Thanks in advance,
Michael
--
--
Before posting, please read http://watir.com/
An excellent idea. i tried that but it did not fix it.
b.file_field(:id, "messageFile").fire_event("onchange")
Debug shows:
Watir::FileField.new(Watir::IE.attach(:hwnd, 1839554), :tag_name =>
Array.new << 'file', :unique_number => 5).click!();"
On Wednesday, 6 March 2013 16:24:17 UTC-8, Chuc
2013 01:45:41 UTC-8, Željko Filipin wrote:
> On Wed, Mar 6, 2013 at 9:58 PM, Michael Kernaghan
>
> > wrote:
>
>> file is cleared from select window and save throws error because no file
>> was selected.
>
>
> It would help if you could provide link t
yes manually works fine.
yes i tried various static delays it does not alleviate the problem
On Wednesday, 6 March 2013 14:33:13 UTC-8, Alex Shtayer wrote:
>
> Hmm, strange
>
> Could you perform mentioned steps manually? Is everything work as it
> should? (without any file clearing from select
*Jquery+Watir problem i can't solve is this:*
b.file_field(:id, "messageFile").set(@messagePath)
everything looks good, correct file selected and in the select window
b.button(:value, "Submit").click
file is cleared from select window and save throws error because no file
was selected.
ever see
Hi,
I am new to Watir.
I have been using AutoIT for a lot of my automation, and find that in
some instances I am unable to do what I need due to the complicated
scripting of webpages. I looked into other languages and thought Watir
would be a nice fit for what I need.
I have a few questions, I wa
Like with Chuck we have been able to upgrade hundreds of scripts successfully
to Watir 2+ so far. So if you have some specific errors a can help you with let
us know. The new Watir is so much easier to use and faster.
Chuck van der Linden wrote:
>The other than might bite you is if you are usi
A heads up that I created a bug report about an issue we experienced
while testing our code with Watir 3.0.rc1.
http://jira.openqa.org/browse/WTR-498
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.
We are on windows and launch our remote tests with psexec.exe. The only catch
is that you must have logged in with RDP once and leave the session open.
psexec then allows you to specify a session to connect to.
On 2012-01-13, at 6:48 AM, chtiloft wrote:
> hi all,
> i am looking for a tool to m
In webdriver singular methods return a singe (the first) element of that
type, while plural methods return a list of all elements.
.checkbox returns
one
.checkboxes returns a list/collection
On Mon, 7 Nov 2011 08:36:56 -0800
(PST), Joe Fl wrote:
> Hi,
>
> I am still having problems wit
That appears to be because your first LI doesn't have a H2 inside of it. When
you put one LI after another, the browser will automatically close the first
before the second opens.
>>
>>
>>
>> Digest Options
Fix your HTML syntax and you should be good to go.
t the first response, please disregard it.
Michael
On 2011-Nov-06, at 7:40 PM, Michael wrote:
> You probably intended to use uls which will return a list of ul's instead of
> ul which only returns the first matching ul.
>
> Try:
>> My Code:section_headers = $browser.div(:clas
You probably intended to use uls which will return a list of ul's instead of ul
which only returns the first matching ul.
Try:
> My Code:section_headers = $browser.div(:class,"bd").uls(:class,"items")
Michael
On 2011-Nov-06, at 7:09 PM, Joe Fleck wrote:
> Hi
Where are you running this code from? The path you specified is relative to
your current directory as it is missing the slash at the beginning.
You also don't need all the backslashes. Backslash is an escape character that
escapes the character immediately following it. In your case you're escap
We run automated watir tests remotely using psexec which allows us to
attach to a specific user's session. If the VM/workstation reboots and this user
is not logged back on the tests will fail due to not being able to open Internet
Explorer.
Good luck figuring out what is going on. Scheduling
I use MiniTest to drive my tests, so in my case they'd all go in one file as 3
separate tests in there. That way each can fail individually andbe reported in
a nice summary.
--
Sent from my Android.
George wrote:
Hello, I was curious to know how granular folks are making their Watir
scripts. A
# Do the basic watir initialization, then you should be able to get
away with something like this.
links = browser.links.to_a
links.select! {|link| link.href =~ /yp.kd.com/} # Omit all links to
different domains
puts "Writing #{links.length} links to links.txt"
# Write each link to the file
File
roductive?
>
> HTML CODE:
>
>
> id="showlink" title="Link">
>
>
>
>
>
>
>
>
> Thanks,
> -Amit
>
> On Wed, Aug 31, 2011 at 11:51 AM, Michael wrote:
> Your HTML and code snippets would help us see what is go
That bug is captured in: http://jira.openqa.org/browse/WTR-486
And fixed in commit:
https://github.com/bret/watir/commit/3846b6f300f5210df6b196eeeb15684b6e25378b
You should see it in the next patch release.
There is another discussion post about it titled "watir 2.0.1 table rows method
broken"
Your HTML and code snippets would help us see what is going on.
In general you cannot interact with elements that are hidden (not visible).
This may be occurring for a few reasons:
- element is hidden (or positioned off the screen) by CSS styles or JavaScript
- your selector found a different ele
I don't know about the latest ruby, but it definitely runs with 1.9.2p180. To
keep things simple, uninstall 1.8.7 (especially if you're on windows), and
install the desired version of ruby. From there you can install watir the same
way you did for previous versions.
gem update --system
gem inst
Thanks for the update and workaround Alister. I'll add the 'if Watir do it that
way, else do it the compatible way' to my code.
I'll look forward to a fix in a future version of Watir. :-)
On 2011-08-24, at 7:48 PM, Alister Scott wrote:
> Yeah, it looks bust.
> You can use:
>
> browser.table(
What version of Watir should I expect to see that fix in? 2.0.2 when it comes
out?
On 2011-08-24, at 9:32 PM, parolkar wrote:
> Hi Michael,
> This was a bug which was fixed in this commit :
> https://github.com/bret/watir/commit/f9b351c99352160d6becec4bd1ec1d54f570bc18
> Are you
I've created this bug report for an issue I am seeing, curious if
anyone else has run into the same issue or is it just my environment?
I completely removed ruby today to start completely fresh, and it
still occurs.
http://jira.openqa.org/browse/WTR-486
Summary:
The rows/trs method on a table ret
guration/pam/
ReplicatedCheckinCheckoutCleanup.rb:45:in `testDeleteUserClasses'
Any suggestions or ideas would be greatly appreciated.
Michael
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://
I could be wrong, but I seem to remember a
browser.element_by_xpath("//a[contains(@onclick,'1002')]").click
I've personally never used the generic element method.
On 2011-08-09, at 1:40 AM, Mahi wrote:
> I Have following Gem list
>
> builder (3.0.0)
> childprocess (0.1.9)
> commonwatir (1.9.2
You should be able to do pretty much exactly that.
browser.div(:class, "myclass").divs.select { | div | div.divs.length >
0 }
On Aug 8, 4:31 am, Alister Scott wrote:
> I'd do something like
>
> browser.div(:class, "myclass").divs.select { | div | div.div.exists? }
>
> (that should be select not c
Seems to be a valid bug - created bug report
http://jira.openqa.org/browse/WTR-485
--
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...@googlegrou
Jarmo - your example just proved that doesn't work because both the
string "true" and the string "false" return true when double negated.
I think you'll have to handle it in some way, for example:
value = ( value == true.to_s )
--
Before posting, please read http://watir.com/support. In short: s
Hi Abe, thanks for the suggestion.
In this case the element is there, it did locate it, it just can't
find the fireEvent method for it...
JavaScript can find it and fire events no problem, so I'm not sure why
Watir is having issues here. I'll create a bug report.
--
Before posting, please read
Downgrading to rautomation 0.5.1 does fix it.
--
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
Thanks Hugh - I had previously created this watir bug report:
http://jira.openqa.org/browse/WTR-483
I'll downgrade for now and listen on rautomation development - thanks
again.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@goog
We have a few errors we're encountering as a result of this upgrade:
http://groups.google.com/group/watir-general/browse_thread/thread/c03b7bee932b265a
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups
:
449:in `activate': undefined method `activate' for
# (NoMethodError)
from C:/michael/projects/fox/release-71/test/watir/core/
Session.rb:89:in `initialize'
2. NameError: uninitialized constant Watir::Container::Divs
This is the code that fails. In the case when it fails
Hi ,
Still I am not able to solve this issue,
the equivalent HTML is below.
Kindly help me on this.
Thanks and Regards
Peter.
Željko Filipin wrote:
> On Wed, Jun 1, 2011 at 1:24 PM, Michael Raj wrote:
> > ie.link(:xpath,"//a[contains(@href='inloggen.do')]/").
Sorry for the extra email - but easier to see properly indented (with
the tabs converted to spaces):
require 'rubygems'
require 'watir-webdriver'
describe 'MySite' do
before(:all) { @browser = Watir::Browser.new :firefox }
it 'contains "Google"' do
@browser.goto 'http://google.com/'
@b
Fix the indenting of your code and it should become clear:
require 'rubygems'
require 'watir-webdriver'
describe 'MySite' do
before(:all) { @browser = Watir::Browser.new :firefox }
it 'contains "Google"' do
@browser.goto 'http://google.com/'
@browser.text.should include 'g
By the sounds of it @browser is nil on line 12 - which may be due to
some test isolation.
It would hazzard a guess that it is an issue how lines 12-14 are
defined. The code in the middle of your description of 'MySite' -
lines 12-14 are not inside of a rspec test (ie. it 'contains "Ruby"')
and thu
tir/element.rb:325:in `fire_event'
from IE8FireEventBug.rb:21:in `'
Let me know what you think. :-)
Thanks!
Michael
--
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
Hi Hugh,
That fixes all the extraneous messages on my end.
Thank you!
Michael
On Jun 25, 10:50 pm, Hugh McGowan wrote:
> I made a pre-release candidate 1.9.1.rc1 that you can get with 'gem
> install watir --pre'. Let me know if that corrects your problem or if
> you run in
Hi Charley, I hadn't debugged it at the time of my first message and
was curious if anyone else had come across it before I spent time
trying to find a minimum set of code that reproduced the issue.
I have done some tracing now and have a code example that reproduces
the issue. It seems to be an
ing its an issue with communicating with IE.
unknown property or method: `gsub'
HRESULT error code:0x80020006
Unknown name.
Michael
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.g
>From a bit of web research it doesn't look like there is going to be a
version of jssh for Firefox 4...
Does that mean Firewatir is dead?
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/
Hi,
I am able to open an application through watir. I am checking the
link as
if ie.link(:xpath,"//a[contains(@href='inloggen.do')]/")
if so i am calling
ie.link(:xpath,"//a[contains(@href='inloggen.do')]/").click
but i am getting error as
C:/Ruby187/lib/ruby/gems/1.8/gems/watir-1.8.1/lib/wat
Thanks everyone for your assistance.
I managed to get it working with Zeljko's suggestions. It turns out
the page eppears to be closing the main frame and opening another as a
different name so I had to direct Watir to the new frame.
xpath does look very interesting and I'll keep it in mind
Quoting Željko Filipin :
On Mon, Feb 28, 2011 at 10:29 PM, mss wrote:
What I'm looking for is an element with the text " download e.bill
" (yes, there is a space before the d and after the l although I've
tried it in every permutation) or an href
"javascript:gotolink('showDownloadLanding.do".
Also did you try
$ie.link(:text,'Logout').fire_event("onclick")
From: Aravind
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 have tried using both hr
Did you try
$ie.link(:text,'Logout').click
Michael
From: Aravind
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 reply
li>Log
We too have a lot of JavaScript, and the trick to get it all to work
was to use watir-webdriver which fires the events properly for MooTools
and Jquery to work. Watir was very unsuccessful on this front, and
Firewatir was so-so.
On Wed, 1 Dec 2010 05:23:54 -0800 (PST),
the_zonker wrote:
> Hi
You can assign symbol to a variable though:
sname = :name
The same is true with regular expressions:
skeyword = /google/
ff.link(sname, skeyword).exists?
I'm not sure if you've modified your code for the example, because links don't
typically have name attributes - href would be more common.
Looks like the backport to trunk is now complete
http://code.google.com/p/selenium/source/detail?r=10401 [10]
Quoted
from http://code.google.com/p/selenium/issues/detail?id=849 [11]
On
Mon, 22 Nov 2010 19:53:04 +0100, Jari Bakken wrote:
> On Mon, Nov 22,
2010 at 7:05 PM, Michael wr
v 6, 2010 at 1:41 AM, Michael wrote:
> > Selenium::WebDriver::Error::UnexpectedJavascriptError: Cannot execute
> > script (17)
>
> You're probably running into this known bug in the IE driver:
>
> http://code.google.com/p/selenium/issues/detail?id=849
>
> (comment 5 h
I know, but there was a patch attached to the ticket. No worries.
On Mon, 8 Nov 2010 21:46:04 +0100, Jari Bakken wrote:
> On Mon, Nov
8, 2010 at 6:35 PM, Michael wrote:
>> Yes, it does look related to that.
Is there an updated build of the dll anywhere for download instead of
re
Yes, it does look related to that. Is there an updated build of the
dll anywhere for download instead of recompiling myself with that fix in
there. It still hasn't made it into a release.
On Sat, 6 Nov 2010
02:08:18 +0100, Jari Bakken wrote:
> On Sat, Nov 6, 2010 at 1:41 AM,
Micha
Has anyone else run into this issue?
icon.fire_event('onmouseover')
In my example it is an image that I am trying to mouse over. It works
fine in FF, but gives the following exception in IE.
Selenium::WebDriver::Error::UnexpectedJavascriptError: Cannot execute
script (17)
C:/Ruby/187/lib/ru
does?
MooTools overwrites the native fireEvent method, but it should still
be called assuming OLE calls the JS method.
I'm looking for any insight on this incompatibility.
Thanks,
Michael
Watir sample:
trigger1 = @browser.select_list(:name, 'trigger1')
trigger1.set('
Can you use "click!"
- Original Message
From: Rats
To: Watir General
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 wrote:
> As per my previous posts I am having problems with clic
Is that April fool?
From: arihan sinha
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 correct news.
On Thu, Apr 1, 2
Are you using new_process()?
That will explain.
From: Moises Siles
To: watir-general@googlegroups.com
Sent: Mon, February 22, 2010 2:45:57 PM
Subject: Re: [wtr-general] Re: Question about execute the scripts in background
Tiffany, I ran the script using the
Good catch, Bill
From: Bill Agee
To: watir-general@googlegroups.com
Sent: Mon, February 1, 2010 7:57:57 AM
Subject: Re: [wtr-general] Cannot install watir-webdriver on Mac(10.6 Snow
Leopard).
Hi,
In the command you pasted, the gem name is missing the "b" in
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
To: watir-general@googlegroups.com
Sent: Thu, November 5, 2009 2:10:18 PM
Subjec
I might give some sleep between mouseover and clicking.
- Original Message
From: sd
To: Watir General
Sent: Tuesday, August 25, 2009 2:05:56 PM
Subject: [wtr-general] onMouseover
Hi,
I have an item. Once I mouseover that item, I get an image which I
need to click on. I used fire_
I would rather use
browser.links.length
This is already 1-based.
- Original Message
From: Jari Bakken
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 PM, Michael H
: index=> 0 is not the last item.
- Original Message
From: Alexandre
To: WATIR
Sent: Friday, August 14, 2009 5:40:55 AM
Subject: [wtr-general] :index => 0 with firewatir
Hello,
using firewatir, ff.link(:text => "foo",:index => 2).click works fine
but I would like to click on the
I think you need to use system().
system("ruby test1.rb")
- Original Message
From: Maumita
To: Watir General
Sent: Thursday, August 13, 2009 3:26:52 AM
Subject: [wtr-general] Not able to run automatically a script automatically
using rufus-scheduler
I'm trying to use rufus-schedu
This is so great, Jari.
Thanks for working on this.
- Original Message
From: Jari Bakken
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 Bakken wrote:
> At the moment you n
k 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 wrote:
>>Try ie.ie.stop
>
>
>
>
>>- Original Message
>>From: Alex.Dev
>>To: Watir Gene
Try ie.ie.stop
- Original Message
From: Alex.Dev
To: Watir General
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 toolbar, but i need to do this from code) when it's
Good job, Jari.
Does it work with Watir 1.6.1 or 1.6.2?
From: Jari Bakken
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 the tests are now pass
I think you could.
ie.table(:index,1).attributes['display'].value='block'
ie.table(:index,1).link(:index,1).click
- Original Message
From: Ray
To: Watir General
Sent: Thursday, June 18, 2009 4:13:31 PM
Subject: [wtr-general] Setting HTML Properties
Is there a way to set a propert
ust basically stuck there.
Michael
- Original Message
From: brettsykes
To: Watir General
Sent: Thursday, June 18, 2009 2:41:15 PM
Subject: [wtr-general] Re: attach while browser is still processing
The next time this happens open up irb and try to call
Watir::IE.attach to the hanging browse
Or, single line with javascript.
$ie.ie.document.parentWindow.execScript("resizeTo(x,y)")
- Original Message
From: orde
To: Watir General
Sent: Friday, June 12, 2009 9:59:48 AM
Subject: [wtr-general] Re: how to set IE screen width & height?
There are minimize and maximize methods
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
To: Watir General
Sent: Wednesday, June 3, 2009 11:44:52 AM
Subject: [wtr-general] element searc
Actually, it is supported in a couple of latest versions.
From: Charley Baker
To: watir-general@googlegroups.com
Sent: Thursday, May 28, 2009 11:07:22 AM
Subject: [wtr-general] Re: Multiple Attributes for Text Fields
Multiple attribute support for input elemen
Have you tried omitting form()?
For example, ff.frame(index, 1).select_list(:id,"LOV6")
- Original Message
From: jason
To: Watir General
Sent: Wednesday, May 27, 2009 6:02:01 AM
Subject: [wtr-general] forms in subframes - elements not found
Hi - here is the issue,
to get some el
if first == second
puts "same"
else
puts "not the same"
end
From: Durgesh Nadkarni
To: watir-general@googlegroups.com
Sent: Monday, May 25, 2009 3:12:39 AM
Subject: [wtr-general] Re: How can I compare the captured web pages
Hi Michael
I think it is more like a problem with 'attach'.
There is known issue with attaching to Firefox.
From: Alan Ark
To: "watir-general@googlegroups.com"
Sent: Thursday, May 21, 2009 10:02:50 AM
Subject: [wtr-general] Weirdness when working with multiple Firefox wi
check to see the object is in a frame.
From: Kamesh G
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 getting same error me
You should search the group first.
There is a good info and sample codes for that.
- Original Message
From: Jungle_hunter
To: Watir General
Sent: Tuesday, May 19, 2009 1:43:37 AM
Subject: [wtr-general] How to simulate right mouse action
hello
everyone
Now I use Watir to
Instead of comparing the image to image, you can use MD5 key comparision.
Here is an example.
require 'digest/md5'
first = Digest::MD5.hexdigest(File.read("keywords.jpg"))
second = Digest::MD5.hexdigest(File.read("NewImage.jpg"))
Compa
Can you try xpath?
- Original Message
From: "andrew.d...@lthree.com"
To: Watir General
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 an array of just
the direct children of any particu
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
To: Watir General
Sent: Tuesday, April 14, 2009 5:08:24 AM
Su
Check that it could be in a frame.
- Original Message
From: cboudreau
To: Watir General
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 having some difficulty figuring this out.
I thought I
Frame object always checked before you can use it.
- Original Message
From: Tony
To: Watir General
Sent: Wednesday, April 8, 2009 2:30:49 AM
Subject: [wtr-general] Creating Frame objects before a page with a frame exists
Hi,
Having trouble creating a frame object before a partic
That is strange.
Your email summary said "index,2", but you used "index,0"
Index is based 1.
- Original Message
From: jason
To: Watir General
Sent: Friday, April 3, 2009 10:23:14 AM
Subject: [wtr-general] ff.frame(:index,1).button(:index, 2) does not work?
has anyone an idea abo
Did you try $0
- Original Message
From: Vikas Tulashyam
To: Watir General
Sent: Friday, April 3, 2009 2:33:43 AM
Subject: [wtr-general] Re: current script path
Hey sorry ..If it looks like rude ...
I didn't mean anything like that .. I was just requesting..
Thanks
Vikas
On Apr 3,
Can you provide part of your script and html source where the object found?
- Original Message
From: KiranD
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 also used sleep comma
Try $0
- Original Message
From: "vladimir...@hotmail.com"
To: Watir General
Sent: Tuesday, March 24, 2009 12:16:56 PM
Subject: [wtr-general] Get script name within the script
ARGV allows us to get script's input parameters.
Is there a way to extract the script name from the followi
You need to register the autoitx3.
You can search the previous posts.
- Original Message
From: IDIEININIIS
To: Watir General
Sent: Tuesday, March 24, 2009 10:19:04 AM
Subject: [wtr-general] Re: Maximizng the Browser
I am having the exact same error as Shweta.
I haven't used any
'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
To: Watir General
Sent: Tuesday, March 24, 2009 1:13:57 AM
Subject: [wtr-general] Re: Maximizng the Brows
eans the index '20' of all text_field with 'name=p'.
If you have 'name=p' less than 20, you get 'non-existance' error.
Hope that helps.
Michael
- Original Message
From: Isabel
To: Watir General
Sent: Tuesday, March 24, 2009 1:55:07 AM
Subject: [wt
Hmm, actually think of that, you are right.
It should be no matter.
But for being good scripter, the index should be always at the end.
That is the way I do anyway.
Thanks.
Michael
- Original Message
From: Bret Pettichord
To: watir-general@googlegroups.com
Sent: Tuesday, March 24
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 tex
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.
To: Watir General
Sent: Wednesday, March 18, 2009 10:16:04 PM
Subject: [wtr-general] Multiple Attr
So, you might want to try:
$ie.frame(:index,1).text.include?("Activating the database")
- Original Message
From: Mark Lehky
To: watir-general@googlegroups.com
Sent: Tuesday, March 17, 2009 10:20:03 AM
Subject: [wtr-general] Re: Problems locating basic elements in Watir
The puts ie
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
To: watir-general@googlegroups.com
Sent:
Eloqua,
The link is old.
Most elements are now supported.
Just try using 'irb' on a page with your elements.
Michael
- Original Message
From: Bill Mosteller
To: Watir General
Sent: Friday, February 20, 2009 5:25:31 AM
Subject: [wtr-general] Supporting :test in more met
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
To: Watir General
Sent: Thursday, February 19, 2009 7:42:46 AM
Subject: [wtr-general] Re: FireWatir and unicode IDs/input, etc..
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
To: watir-general@googlegroups.com
Sent: Thursday, February 19, 2009 5:16:29 AM
Subject: [wtr-general] Re:
1 - 100 of 160 matches
Mail list logo