Hi Bret
Using 1.5.1.1037 try this:
$ie.link(:text = 'New', :index = 2).click
I added multiple attribute support last night for links.
How could I get hold of this version. Is there a CVS repo I can download
from?
Could you also tell me the name of the method, so I could have a look at
http://openqa.org/watir/cvs.actionOn 6/14/06, Adrian Rutter
[EMAIL PROTECTED] wrote:How could I get hold of this version. Is there a CVS repo I can download
from?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
I have got 2 'New' links in one HTML page.
The second link has a URL as this:
Try this:$ie.link(:url, /http:\/\/gbahevm07l15:9081\/wps\/myportal.*7_0_12P/).clickOn 6/13/06, Adrian Rutter
[EMAIL PROTECTED] wrote:I have got 2 'New' links in one HTML page.
The second link has a URL as this:
Thanks for the correct RegEx; it finds an object, but not the one I want.
The below are the url's of the second 'Filter' and 'New' links. They are
hardly different and I am sure they will change in a different environment,
so I can't hard-code them
Thanks for the correct RegEx; it finds an object, but not the one I want.
Is it not possible to get the second link on a page? Something like:
$ie.link(:text, 'New';:index, 2).click
Possibly--but this might be a good occasion to ask the developers for
testability.
---Michael B.
MB wrote:
Possibly--but this might be a good occasion to ask the developers for
testability.
I think Websphere Portal instantiates each object dynamically and according
to the developers, there is nothing they can do.
Aidy
Adrian Rutter wrote:
Is it not possible to get the second link on a page? Something like:
$ie.link(:text, 'New';:index, 2).click
It is currently possible to access the second link on a page, but not
with a filter. '$ie.links[2]' will give you the second link on the
page, and you can open
Adrian Rutter wrote: Is it not possible to get the second link on a page? Something like:
$ie.link(:text, 'New';:index, 2).clickUsing 1.5.1.1037 try this: $ie.link(:text = 'New', :index = 2).click I added multiple attribute support last night for links.
Bret