You probably want to avoid xpath. I've never once needed to use it with Watir.
If you need to you can use multiple selectors or daisy-chain elements.
ie.goto('http://finance.yahoo.com/q/hp?s=MSFT')
ie.link(:text, 'Profile').click
From: mdwin01
To: Watir Gene
Hi-
Could someone help me get to the link for company address on Yahoo
Finance profile page?
Thank you,
Mark
require 'watir'
ie = Watir::IE.new
ie.goto("http://finance.yahoo.com/q/hp?s=MSFT+Profile";)
#puts ie.link(:xpath,"//a[contains(@href,'country=')]/").href
#puts ie.link(:xpath, "/html/b
Hi,
I have table, inside it i have table row, which interm have data
[text] as Summary and Detail.
Source code from IE is :
Name:
(Limit 100 characters)
Type:
https://vm-bhaveshok2.kazeon.local/reports/zkau/web/zul/img/
combobtn.gif">
Summary
Detail
Im looking at last 8 line
On a page I'm testing, I have a div that Firebug shows like this:
That div is a parent of a number of buttons that are displayed or hidden
depending on circumstance.
When I have watir-webdriver show me the HTML of that div, however, this is
what it returns:
This is not good, because it me
Ah, I read it too fast. Thanks Zeljko.
On Jan 17, 3:54 am, Željko Filipin wrote:
> On Mon, Jan 16, 2012 at 6:19 PM, jw wrote:
> > Zeljko, thanks for taking the time to organize the information around
> > Watir. I saw one bullet that I have a question about, which was
> > "Watir-webdriver is th
So, maybe it's not practical with real browsers to do performance testing
with watir, but maybe it becomes more practical when you run the browser
headless with watir-webdriver? Where I am we use loadrunner, but we're
finding it challenging to deal with apps written using gwt. Obviously
there
This is the error I get.
GridIt.rb:40: undefined method `peformance' for #
(NoMethodError)
from C:/Users/wise-user-02/My Documents/Aptana Studio 3
Workspace/YaleStockMarket/GridIt.rb:66:in `join'
from C:/Users/wise-user-02/My Documents/Aptana Studio 3
Workspace/YaleStockMarket/GridIt.rb:66
from
So, my mac is set up with the files on it in this location
[user/josephfleck/Sites/with/qa_automation/common].
Would I use relative path because on the Windows VM the path is not the same.
On Fri, Jan 13, 2012 at 5:16 PM, Chuck van der Linden wrote:
> I would only make a gem if you feel it woul
On Mon, Jan 16, 2012 at 6:19 PM, jw wrote:
> Zeljko, thanks for taking the time to organize the information around
> Watir. I saw one bullet that I have a question about, which was
> "Watir-webdriver is the only driver, and it can drive all popular
> browsers on all popular platforms." From what
I'm afraid the easiest way would be to just try to upgrade and move
step-by-step. Of course if someone likes and has the time, could make
some article into Wiki comparing the differences like it's similar to
Watir 1.x and Watir-WebDriver in its wiki.
Jarmo
On Jan 16, 7:16 pm, Chuck van der Linden
10 matches
Mail list logo