So it is not possible to access using something like
brow.element(:id,xxx) or brow.object(:id,xxx) or something
similar.
The only way is to know before hand what kind of tag we'll be
accessing.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
how in the world would I know what URL you need to use? it's your app
not mine. And you've never shared the URL with us. I'm good, but I'm
not a mindreader
You can attach using either the URL of the page the window is
currently displaying or the Title of the page For URL look at the
'address'
Iam new to watir and would like to maintain regression tests. If
one can suggest me to create a batch file or any tool that cn be
referred? Thanks Nix
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are
Mandadi,
You need to share the code you are using, and if html is required to
demonstrate an error, preferably a minimal snippet of html (do not paste
several thousand lines of html into your email as some people have done).
see the guidelines: http://wiki.openqa.org/display/WTR/Support
On Wed,
Hi, Bill,
I found the problem, I first put runner on
G:\Documents and Settings\Administrator\My Documents\runner
I saw some errors ruby G:\Documents and ., Could not access
G:\Documnets and ...
Wed Aug 18 12:19:54 -0400 2010: Read error: #Errno::ECONNABORTED: An
establishe
d connection was
I don't think that you should be using element_by_xpath at all. It does not
return a Watir::Element. You should use a normal element accessor with the
:xpath specifier:
ie.area(:xpath, //whatever/).click
On Wed, Aug 18, 2010 at 13:18, goutham mandadi goutham.mand...@gmail.comwrote:
Hai
In the jQuery world, it isn't uncommon for me to dynamically add
classes to an element. Depending on various circumstances, the class
of a div might be something like amount or amount required or
amount required invalid. In my particular situation, the problem is
compounded by the fact that my
When I run into this I use :index, #
On Aug 18, 2010 2:52 PM, jasbro jas...@gmail.com wrote:
In the jQuery world, it isn't uncommon for me to dynamically add
classes to an element. Depending on various circumstances, the class
of a div might be something like amount or amount required or
amount
After I posted this question, I started thinking that the best
solution would be if I could use a regular expression to select the
element:
@browser.div(:id,/^amount_.*/)
or
@browser.div(:class,/.*amount.*/)
So I tried it, and it worked for both Firefox and IE. This may just
be a benefit of