In the locator.rb for watir api, there is call that execute the
element.send(@how) method like below,
but I fail to find the send method in element.rb,
anybody can tell where it is and which rb files?
def locate
object_index = 1
@elements.each do |object|
element = Element.ne
Dang, can't take my own advice =)
I've created an MSI based on Windows XP SP2 with Ruby 1.8.6 and Watir
1.5.6 here:
http://justaddwatir.com/watir/wp-content/uploads/watir_156.msi
Feel free to try it out, no guarantees of course ... There is also
some brief instructions for use here:
http://justa
Even if I go through the JAF code, but the discoveryobject.rb still does not
work in Watir Environment, maybe it was banded in FireWatir.
Have you any other suggestions?
Thanks
-Wiston.
2008/10/7 aidy lewis <[EMAIL PROTECTED]>
>
> On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
> >
> >
Yes, I known this but I want to get it work.
*Hi, more watir developers,*
Another questions about the email title, there are two issues below I am
very concern.
a, For the bug ticket in jira, http://jira.openqa.org/browse/WTR-193, on
our tested system, there are lots of duplicate objects, which
Weird, I can make it with your code.
--~--~-~--~~~---~--~~
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 read the following
Indeed, it's a chicken and egg scenario =)
I used to package applications into MSIs; I've often thought about
rolling my own msi to take from site to site, as the organizations I
work in rarely have unauthenticated access to the internet. However
doing it via a batch file works well for me. An MS
Thanks Bret, your comment works.
I mistake the parent as parentNode, so I always failed.
Hi, Aidy,
Would you please show your idea more detailed?
I think your idea may be useful sometimes.
Thanks all you guys.
Wesley.
--:)
Man should be hard to himself, but tolerant to others.
--~--~-~
This shall work as well:
ie.form(:id,'login_form').text_field(:name, 'u_name').set'user'
ie.form(:id,'login_form').text_field(:name, 'p_word').set'password'
ie.form(:id,'login_form').button(:class,'btSubmit').click
-Original Message-
From: watir-general@googlegroups.com [mailto:[EMAIL
help me
How can I access to the following text_field !
I could not get to it by using
"ie.text_field(:name,'miseCode').set('1234')"
Why!
can't Watir access to a text_field without 'type=' like this?
--
title
--
Hi!
Have you tried clicking on the span itself?
ie.span(:text, 'SpanText').click
-Tiffany
On Oct 7, 3:27 pm, FM <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to click a menu item on the webpage using it's id but it
> does not seem to work. Any suggestion? The menu item is contained by
> el
Hi,
I am trying to click a menu item on the webpage using it's id but it
does not seem to work. Any suggestion? The menu item is contained by
element.
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Wat
Yay! Nice work Ravi!
On Oct 7, 2:13 pm, Ravi <[EMAIL PROTECTED]> wrote:
> I found the following working!
>
> $ie.div(:id,'maincontent').text_field(:name,'u_name').set '1234'
>
> $ie.div(:id,'maincontent').text_field(:name,'p_word').set '1234'
>
> On Oct 7, 12:26 pm, Tiffany Fodor <[EMAIL PROTEC
Thank you very much. I will try the suggestions you have given me.
On Tue, Oct 7, 2008 at 2:39 PM, Tiffany Fodor <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> When I've worked with tabs in the past, the text the user clicks on in
> the tab is usually a link. Try something like this:
>
> ie.link(:text,
I found the following working!
$ie.div(:id,'maincontent').text_field(:name,'u_name').set '1234'
$ie.div(:id,'maincontent').text_field(:name,'p_word').set '1234'
On Oct 7, 12:26 pm, Tiffany Fodor <[EMAIL PROTECTED]> wrote:
> Hi again!
>
> I didn't realize your site was public, so I gave it a sh
I've found that the gem installer works much better if you do a "gem
update --system". Unfortunately this can be hard to do also (for the
same reasons).
On one occassion, I did this update on a machine that did not have
connection problems, then I copied the entire ruby directory to my other
element1 = browser.link(:id, 'menu9373847813')
element2 = element1.parent.parent
element3 = element2.parent
element4 = browser.div(:after? => element2)
wesley chen wrote:
> Please watch the pic: question.jpg at first;
> When I locate the element A, how can I locate the element close to A
> with
This happens to me a lot. Try installing from gem files downloaded
manually. There's some instructions on how to do this here:
http://justaddwatir.com/watir/q-how-do-i-gem-install-watir-behind-a-proxy-server/
Check out the comments section for recent example.
Regards,
Tim Koopmans
--~--~
Hi!
When I've worked with tabs in the past, the text the user clicks on in
the tab is usually a link. Try something like this:
ie.link(:text, 'Tab 1').click
Hope this helps!
-Tiffany
On Oct 7, 11:26 am, FM <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have recently started using Watir. I think this
You should download and try "IE HTML Element Spy" or similar product(s).
Good luck.
From: watir-general@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Nathan Lane
Sent: Tuesday, October 07, 2008 2:58 PM
To: watir-general@googlegroups.com
Subject: [wtr-gen
'Tabs' doesn't mean much to Watir I think, because there is no such thing as
a tab HTML element (for example doesn't exist in HTML), it would help
us and you more if you could tell us if the tab is contained by a ,
, or element or some other element.
On Tue, Oct 7, 2008 at 11:26 AM, FM <[EMAIL P
Hi,
I have recently started using Watir. I think this is not a new
quesiton but I have searched for different solutions and they do not
seem to work. I have 6 tabs in a webpage, and I am trying to click one
of them but I am unable to do this since there is no object id or name
that I could use to
Hi again!
I didn't realize your site was public, so I gave it a shot myself.
The username and password on the http://www.fotolog.com homepage work
fine, but I'm having the same problem with the password field on the
http://account.fotolog.com/login page.
If you find a way around this, I'd be rea
Thanks Tiffany. I will try that out. Just that this is not our code. This
belongs to Fotolog. But anyways, will surely try out the options suggested and
revert with my observations.
Regards,
Natasha
Tiffany Fodor <[EMAIL PROTECTED]> wrote:
Sorry, I should have included this in my original resp
Sorry, I should have included this in my original response
I don't think your problem is related to your object being embedded in
a table, I think there's a protection on it that doesn't allow
automated tools to access it. You can verify this by just performing
a .exists? on your object to m
Hi Natasha!
I've run into the same problem with password confirmation fields when
adding a user in an application. If the field will not accept focus
from Watir, you may need to see if you can get your developer to
change the properties on it. I tried everything I could think of and
even solici
Hello All,
I am trying to automate Fotolog's login page. Please could you help
me.
Following is the snippet of HTML code:
---
Username:
Hi Wiston,
The text_field element does not support multiple-attributes as of now.
So, that is not unusual to get error with hash parameter.
Michael
From: bugs apple <[EMAIL PROTECTED]>
To: watir-general@googlegroups.com
Sent: Tuesday, October 7, 2008 5:22:11 AM
Here is some information here about installing Watir from behind a proxy.
http://wiki.openqa.org/display/WTR/Installing+ruby+gems+from+behind+proxy+firewall
Watir now depends on several other gems, so it will be complicated to
try and download and install them them all locally. You will need to
you should be able to look in the wait method of Watir::IE and see
what we poll for to see if the page is complete. There are 2 poperties
that contain this info, one for the document and one for the window (
frames probably have one per doc)
its called something likie readyStateComplete
Paul
On
Hi,
Is there anything in the external api that will check to see if the
page is currently loading?
Aidy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to wa
Hi Zeljko, Pete, Aidy!
Thanks a lot for your replies! These are good references!
To Zeljko: much appreciate your consecutive and useful response.
Just to be on the same page. I was not much clear in my original post.
I have already been watching watir community for 1 year. And now I
have came up
You can also locate the parent by using:
object.parent
On Tue, Oct 7, 2008 at 6:55 AM, aidy lewis <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Oct 7, 2008 at 5:16 AM, wesley chen <[EMAIL PROTECTED]> wrote:
>> > When I locate the element A,
>
> anchor = ie.document.getElementByTagName("A")
>
> how can
On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
>
> I am very interesting in your code for learning the objects in discovery.rb,
> but it does not work in my machine, and it work well in firewatir.
> Have you the similar method code for the IE watir to discovery the objects
> on page? Or cou
alex,
On 07/10/2008, Pete Dignan <[EMAIL PROTECTED]> wrote:
>
> Alex - if you can wait a few months, Watircraft (www.watircraft.com)
> is starting work on a framework using RSpec (rspec.info), designed for
> use with Watir, that we intend to open-source. It should be available
> in late Dece
Alex - if you can wait a few months, Watircraft (www.watircraft.com)
is starting work on a framework using RSpec (rspec.info), designed for
use with Watir, that we intend to open-source. It should be available
in late December or January sometime. It will be general in nature so
it can be widely
aidy, thanks a lot.
I am very interesting in your code for learning the objects in discovery.rb,
but it does not work in my machine, and it work well in firewatir.
Have you the similar method code for the IE watir to discovery the objects
on page? Or could you please provide some suggestion so t
hi, aidy
For the current version, the watir support the hash data for the multiple
attributes,
but, I fail to execute this statement ie.text_field(:name => "test").set
"abb" when only specify one attribute.
In fact, I want to the hash varible for parameter transferring after package
it as a functi
On 07/10/2008, bugs apple <[EMAIL PROTECTED]> wrote:
> ie.text_field(:name => "test").set "abb",
If you are just hooking onto one attribute use
ie.text_field(:name, "test").set "abb"
for > 1
ie.text_field(:name => "test", :id => "aidy").set "abb"
or
ie.text_field(:name => "test", :index=> 1).
> On Tue, Oct 7, 2008 at 5:16 AM, wesley chen <[EMAIL PROTECTED]> wrote:
> > When I locate the element A,
anchor = ie.document.getElementByTagName("A")
how can I locate the element close to A with
> node(child node, father node) or directory attributes?
>
anchor.getAttribute("title")
anchor.getE
Bret, aidy, and watir developers,
Another questions about the email title, there are two issues below I am
very concern.
a, For the bug ticket in jira, http://jira.openqa.org/browse/WTR-193, on our
tested system, there are lots of duplicate objects, which are equipped with
the input tag, it seem
On Tue, Oct 7, 2008 at 5:16 AM, wesley chen <[EMAIL PROTECTED]> wrote:
> When I locate the element A, how can I locate the element close to A with
node(child node, father node) or directory attributes?
I am pretty sure you can do it with xpath, but I am not good at it. I would
Google for xpath tut
On Tue, Oct 7, 2008 at 2:39 AM, Alister Scott <[EMAIL PROTECTED]>
wrote:
> http://wiki.openqa.org/display/WTR/Development+Builds
Alister,
gems at that page are really old. Maybe you should remove them.
Ranulfo,
Download watir from here (and follow Alister's instructions):
http://rubyforge.or
Thanks a bunch for sharing details.
Actually I haven't yet thought about the exact implementation. I have
recently started using Watir and am maintaining my tests in XLS. But I wanted
to use any open source test case management tool which helps me organize my
tests, allows me to execute te
Natasha, there's an API already available which you could use as a
client. As Manish has mentioned, it would be relatively simple to
execute test cases. To update, you could just use the sample ruby
client implementation ... Do you have specific functionality in mind
that you're looking to impleme
Hi,
Presently iam aslo working on WATIR but as per our manager we need a
GUI to control. Please share your knowledge with me.
thanks,
vasu
On Sep 3, 11:55 am, Manish Sapariya <[EMAIL PROTECTED]> wrote:
> We use TestLink for managing our tests.http://www.teamst.org/
> We have customized testlink
Hey Paul,
It worked :)
I just tried simulating it in a way things happen manually. I had actually
tried the same thing yesterday, but was accessing the element by wrong method.
So, following is what worked for me:
$ie.p(:id,"pTypeHint").span(:index,"1").click
$ie.text_fiel
Hi Manish,
If you have time, it would be great if you could share your solution
you talk about on a wiki page.
You can create a page with the example under:
http://wiki.openqa.org/display/WTR/Advanced+Examples
Screenshots would be good too.
Regards,
Alister Scott
On Oct 7, 4:26 pm, Manish Sapar
47 matches
Mail list logo