Yes i found a soluiton with Xpath:
$ie.table(:xpath,//div/h4/div[contains(text(),'ti podaci')]/
parent::*/following-sibling::*/child::table)[1][2].text
and i get correct data fom table.
br,Dani
On 15 nov., 16:37, Danijel danijel.vuko...@gmail.com wrote:
Hy,
I have to problem find a parent
Alastair,
Stmbled on this:
http://www.natontesting.com/2009/09/18/get-html-output-from-testunit-by-using-rspec/
Please see if it would work for you.
Thanks,
Babitha
On Nov 13, 5:44 am, Alastair Montgomery doodl...@gmail.com wrote:
Hi,
Here is a small sample of the test scripts we are using
Željko,
Thanks for your replies.
But, isn't there any solution that would give an excel report? HTML
report, even if color coded, I don't think is easy to run through.
Thanks,
Babitha
On Nov 15, 5:16 am, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Sat, Nov 13, 2010 at 12:44 PM,
On Mon, Nov 15, 2010 at 6:36 PM, Dan Claudiu Pop danclaudiu...@gmail.com
wrote:
I've tried with fire_event, but none of them worked.
Sometimes you have to fire two (or more) events one after the other. This is
a good time to ask a developer how it works.
Željko
--
Before posting, please read
On Tue, Nov 16, 2010 at 10:12 AM, Babitha babitha.augus...@gmail.com
wrote:
But, isn't there any solution that would give an excel report?
If you need simple table, you can export data as CSV file.
If you need more functionality, take a look at these:
http://rasta.rubyforge.org/
Greetings All,
On IE6 when requesting a page that redirects Watir will return
imediately. On IE8 Watir will wait for redirect to complete. Did
anybody else bump into this?
Thanks.
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
On Tue, Nov 16, 2010 at 12:05 PM, dimovich dimov...@gmail.com wrote:
On IE6 when requesting a page that redirects Watir will return
imediately. On IE8 Watir will wait for redirect to complete. Did
anybody else bump into this?
Please show us the code.
So, it works manually, but not from a
It's basically:
ie.goto 'page that redirects'
ie.link(:id, 'MyLink').click
On IE8 the 'click' call will fail because Watir cannot find the link
(redirect hasn't finished yet so this is expected). On IE8 everything
works just fine.
On Nov 16, 1:12 pm, Željko Filipin
It's basically:
ie.goto 'page that redirects'
ie.link(:id, 'MyLink').click
On IE8 the 'click' call will fail because Watir cannot find the link
(redirect hasn't finished yet so this is expected). On IE8 everything
works just fine.
On Nov 16, 1:12 pm, Željko Filipin
Sorry for mistakes, it must be:
On __IE6___ the 'click' call will fail because Watir cannot find the
link
(redirect hasn't finished yet so this is expected). On IE8 everything
works just fine.
On Nov 16, 2:06 pm, dimovich dimov...@gmail.com wrote:
It's basically:
ie.goto 'page that
Please help me with code for javascript pop up confirmation box for
Fire Fox to click OK button
--
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
without any code that you've written or html, no one in this forum will be
able to help other than refer you to the documentation
http://watir.com/documentation/
On Tue, Nov 16, 2010 at 7:28 AM, Robin D'Souza robin.so...@gmail.comwrote:
Please help me with code for javascript pop up
On Tue, Nov 16, 2010 at 1:28 PM, Robin D'Souza robin.so...@gmail.com
wrote:
Please help me with code for javascript pop up confirmation box for
Fire Fox to click OK button
Take a look at this:
http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
Željko
--
watir.com - community manager
I used this function
def startClicker( button , waitTime = 3)
w = WinClicker.new
longName = ie.dir.gsub(/ , \\ )
shortName = w.getShortFileName(longName)
c = start rubyw #{shortName }\\watir\\clickJSDialog.rb #{button }#{
waitTime}
puts Starting #{c}
If by manually you mean irb then the behaviour stays the same:
IE6 - browser reaches page that redirects and Watir returns from goto
call without waiting for redirect.
IE8 - browser reaches page that redirects and follows the redirect.
Watir will return from goto call only after page we have
Taza has generators for each of it's objects, and a clean model for
Sites, Pages and Elements. Filters can be applied to elements which
we've used extensively for supporting Ajax heavy pages. Take a look at
the wiki on github, it explains the basics behind Taza. I've never
used Rasta, so I can't
I'd add a wait_until on the element, so that you're sure it's
available before clicking it. I've not had any problems with redirects
with IE6, so not sure why that's happening, but the wait_until should
guarantee that the element's there.
Charley Baker
Lead Developer, Watir, http://watir.com
Hey Charley,
I am already using Watir + Rasta for data driven test automation for my
application. out of curiosity I have checked the cheesy link you sent to
group. few question I have:
can I use watir+rasta+taza ?
what are the main features of taza framework?
Thanks and Regards,
Shiv
On Tue,
On Tue, Nov 16, 2010 at 4:20 PM, dimovich dimov...@gmail.com wrote:
If by manually you mean irb
No, I mean by doing it without Watir. Open browser, go to the page with IE6
and see does it redirect.
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you
Yes, IE6 redirects just fine.
On Nov 16, 5:31 pm, Željko Filipin zeljko.fili...@wa-research.ch
wrote:
On Tue, Nov 16, 2010 at 4:20 PM, dimovich dimov...@gmail.com wrote:
If by manually you mean irb
No, I mean by doing it without Watir. Open browser, go to the page with IE6
and see does it
On Tue, Nov 16, 2010 at 4:44 PM, dimovich dimov...@gmail.com wrote:
Yes, IE6 redirects just fine.
Did you try waiting as Charley said?
More info:
http://wiki.openqa.org/display/WTR/How+to+wait+with+Watir
Željko
--
Before posting, please read http://watir.com/support. In short: search before
The thing is that sometimes the page redirects to some of our internal
Error Pages and that's ok if the links are missing... We're expecting
the exceptions. But adding special logic to handle all those little
redirect exceptions for all the pages is too much. I'm better off
adding a sleep 30 after
Ok... I think I figured it out. This wasn't the default IE6 behaviour.
Windows Update installed some patches that didn't require a reboot...
and IE got to behave this way... A reboot fixed it, but I think this
should raise some questions.
On Nov 16, 6:32 pm, dimovich dimov...@gmail.com wrote:
tell the browser to go to this 'URL' or one like it:
javascript:window.resizeTo(1024,768)
(hopefully the site won't think I'm trying to do some kind of cross
site attack)
I have some favorites of that sort setup so I can resize the browser
when doing manual testing, most of the time i find
I think you are basically abusing a bit of a fluke in the way that
'require' works with an interpreted language like ruby. By design
it's only going to 'execute' the 'require' step once, even if the flow
of the script causes it to be encoutered many times. That's because
what 'require' is doing
25 matches
Mail list logo