It's working for me on google.com too - so it means that it is related with
IE9 and google.com? Seems to be interesting :)
Jarmo
On Wed, Aug 24, 2011 at 3:13 AM, Alister Scott alister.sc...@gmail.comwrote:
Using IE9.0.8112 on Windows 7
___
Hi.
Can't make it running, if assertion failed then to capture screenshot.
I got a solution how to capture screenshot:
def screen_capture
...
...
end
Then I check in script:
assert($ie.frame(:name,mainFrame).contains_text(Object saved), +++
+++FAILED! Changes were not saved)
And if this
Hi all,
In a slightly different twist to Emad's select_list issue yesterday; I
have another select_list query.
The site I'm testing has a page that spawns a new data window when a
specified select_list value is chosen. To date, I've never been able
to automate this, and I've been having this as
Definitely an IE9 thing. Tried on IE8 with Ruby 1.9.2 and all fine.
I don't know enough about the source code to know what the error actually
means:
NoMethodError: unknown property or method: `createEvent'
HRESULT error code:0x80020006
Unknown name.
--
Before posting, please read
Look into Ruby's Begin/rescue/ensure/end
Just Google 'ruby begin rescue ensure' for details
In a nutshell its format is...
begin
# Code you want to trap errors on goes here
# such as your assert statement
rescue
# code to deal with errors goes here
# such as calling your screen
You didn;t mention if oyu are using Watir Firewatir or watir-
webdriver.
If using Watir look into Waitr:IE.attach()
If using Firewatir look into FireWatir::Firefox.attach()
If using watir-webdirver look into browser.window.().use
Hope that helps,
Joe
On Aug 24, 2:35 am, GJHmf
Hello all,
I am having a small issue using the chrome browser with Ruby and the
Watir-webdriver. Has any one else had this issue? I cannot figure it out.
I have it up and running on a Win 7 box but not on my Linux machines. I
get the same error with both. I listed it below. One box is Ubuntu
Kyle,
Looks like you've followed the info at:
http://code.google.com/p/selenium/wiki/ChromeDriver
Including:
a) Downloading the chrome driver for your OS
b) Installed it in a location on the file system that is in the OS
search path
(e.g. /usr/bin/)
See if /usr/bin is in the PATH used
Some people are reporting quite significant performance issues after this
change:
https://github.com/jarib/watir-webdriver/issues/92
Jari
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
Well, it looks like */usr/bin/* is in the Ruby PATH.
I don't need to run the JAVA standalone selenium server
(selenium-server-standalone-2.4.0.jar) do I? Again, I don't on my windows
box which is working.
Thank you for the help!
Kyle
On Wed, Aug 24, 2011 at 8:24 AM, joedio joe...@comcast.net
Very strange. I'm on IE9.0.8112.16421/Win7/Ruby 1.8.7 and I *don't* see this
error so there might be something with Ruby 1.9.2...I'll take a look
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
It seems to be IE9 and Ruby 1.9.2 thing indeed.
Jarmo
On Aug 24, 5:51 pm, Hugh McGowan colinsda...@gmail.com wrote:
Very strange. I'm on IE9.0.8112.16421/Win7/Ruby 1.8.7 and I *don't* see this
error so there might be something with Ruby 1.9.2...I'll take a look
--
Before posting, please read
My apologies, I'm using Watir. (environement: Ruby 1.8.7 / Watir
2.0.1)
I can attach to windows, and do it all the time in my tests. In a
simiar tests where a window is spawned on a button press;
'click_no_wait' does work well, and I can successfully attach to the
window.
What I'm having
I tried on IE9/Win7/Ruby 1.9.2 and I'm still not seeing the problem. Any
ideas?
Hugh
--
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
I will crank up a VM with win7, ie9, ruby 1.9.2 and watir 2.0.1 and see if
i can reproduce it
On Wed, Aug 24, 2011 at 12:14 PM, Hugh McGowan colinsda...@gmail.comwrote:
I tried on IE9/Win7/Ruby 1.9.2 and I'm still not seeing the problem. Any
ideas?
Hugh
--
Before posting, please read
Cheers Adam, i will do
BTW thanks for mentioning Mechanize, I looked it up and that helped
alot
Cheers
Mo
On Aug 23, 6:55 pm, Adam Reed reed.a...@gmail.com wrote:
Mo, your question is not Watir-related as you have described it, so
you may have better luck using another Google group. I have
Maybe it has something to do with different patch levels... what ruby
versions do you guys exactly have? Also, Hugh, are you using Watir 2.0.1 for
sure?
Jarmo
On Wed, Aug 24, 2011 at 6:14 PM, Hugh McGowan colinsda...@gmail.com wrote:
I tried on IE9/Win7/Ruby 1.9.2 and I'm still not seeing the
I am trying to find id of an element where the label for is 'Inv 20100829
amount'. I need to set the amount for this invoice as 16.
I have tried a number of things using search online for it and have been
unsuccessful in finding solution.
The element is defined as
label
I've created this bug report for an issue I am seeing, curious if
anyone else has run into the same issue or is it just my environment?
I completely removed ruby today to start completely fresh, and it
still occurs.
http://jira.openqa.org/browse/WTR-486
Summary:
The rows/trs method on a table
I'm on the latest 1.9.2: p290.
--
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
watir-general+unsubscr...@googlegroups.com
Fresh install
windows 7 32-bit
ruby 1.9.2-p290
rubygems -v 1.8.9
ie 8
google worked fine
etsy worked fine
windows 7 32-bit
ruby 1.9.2-p290
rubygems -v 1.8.9
ie 9
google worked fine
etsy worked fine
google:
browser.goto 'www.google.com'
p browser.text_field(:name = 'q').exists?
true
p
Hey Oscar,
Does .set work on google?
That was the problem.
.exists? and .html work fine.
Cheers,
Alister
--
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
yeah it worked fine for .set too and .click on the button
On Wed, Aug 24, 2011 at 9:35 PM, Alister Scott alister.sc...@gmail.comwrote:
Hey Oscar,
Does .set work on google?
That was the problem.
.exists? and .html work fine.
Cheers,
Alister
--
Before posting, please read
It looks like the following IE9 specific code in element.rb:341 is causing
the problem. Does anyone know about this code?
I commented out the IE9 section, and just used object.fireEvent(event) and
it worked fine. What's the reason for this code?
def dispatch_event(event)
if
It looks like my freshly installed IE9 browser uses IE8 Document standards
which causes a problem in Watir.
I wonder why Oscar's doesn't fail. Maybe it uses IE9 Document standards
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
It looks like google add a content=IE_8 header to the page to force IE9 to
revert to IE8, but Watir thinks it's IE9!
http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
I will crank up my VM again and mess with it. Maybe try reinstalling ie9 and
see if that solves the issue
On Wed, Aug 24, 2011 at 10:09 PM, Alister Scott alister.sc...@gmail.comwrote:
It looks like google add a content=IE_8 header to the page to force IE9
to revert to IE8, but Watir thinks
I don't think that'll help as google will force it to use IE8 standards.
Cheers
Alister Scott
Brisbane, Australia
Watir Web Master: http://watir.com
Blog: http://watirmelon.com
LinkedIn: http://www.linkedin.com/in/alisterscott
There are two ways to get enough: One is to continue to accumulate
yeah i dont see that the google i see when i look at the tests has
meta http-equiv=X-UA-Compatible content=IE=9/
for .com, .ca and .com.br
On Wed, Aug 24, 2011 at 10:13 PM, Alister Scott alister.sc...@gmail.comwrote:
I don't think that'll help as google will force it to use IE8 standards.
maybe it's a google.com.au thing
cheers
Alister Scott
Brisbane, Australia
Watir Web Master: http://watir.com
Blog: http://watirmelon.com
LinkedIn: http://www.linkedin.com/in/alisterscott
There are two ways to get enough: One is to continue to accumulate more and
more. The other is to desire
I checked .com.au and i get the same thing. thats pretty odd then.
On Wed, Aug 24, 2011 at 10:35 PM, Alister Scott alister.sc...@gmail.comwrote:
maybe it's a google.com.au thing
cheers
Alister Scott
Brisbane, Australia
Watir Web Master: http://watir.com
Blog: http://watirmelon.com
Yeah, it looks bust.
You can use:
browser.table(:id, 'administrators').each do |row|
puts
puts row.inspect
puts row.text
end
which works, but isn't watir-webdriver compatible.
Cheers,
Alister
--
Before posting, please read http://watir.com/support. In short: search before
you ask,
On 8/24/11 9:48 PM, Alister Scott wrote:
Yeah, it looks bust.
You can use:
browser.table(:id, 'administrators').each do |row|
puts
puts row.inspect
puts row.text
end
which works, but isn't watir-webdriver compatible.
Cheers,
Alister
--
Before posting, please read
Hi Michael,
This was a bug which was fixed in this commit :
https://github.com/bret/watir/commit/f9b351c99352160d6becec4bd1ec1d54f570bc18
Are you still facing this issue, bring it to my attention in detail
and I will look at it :-)
-parolkar
On Aug 12, 11:10 pm, Michael mmcwill...@gmail.com
You can't set a label, you need to use the input (known in watir as
text_field)
@ie.text_field(:id = 'adjustment_invoices_
attributes_6_amount').set '16'
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
35 matches
Mail list logo