hi Charley,
thanks for your reply. Your example works fine so far but it doesn't
solve our problem. In our case the unicode chars are escaped like this
\u00fc (should be a german ue umlaut)
I can use this escaped chars in Python for example:
print u\u00fc
ü
In Ruby i get the following result:
On 10/24/06, Roger Studner [EMAIL PROTECTED] wrote:
Is it well known that it is impossible to test dynamically generated
ASP.NET stuff with Watir? (that being said, every execution, every time, yields identical HTML in view source).I use Watir to test asp.net applications, so it can be done. Can
This is going to be messy.. but testing ASP.NET stuff:Here is the HTML.. this is the 'left frame' of my application.. the frame's name is contents!DOCTYPE HTML PUBLIC -//W3C//DTD HTML
4.0 Transitional//EN html head titleContents/title meta content=Microsoft Visual Studio .NET 7.1 name=GENERATOR
hi is it possible to catch elements which have same type of id e.g. ie.link(:id, /regularexpression/) and catch the index somehow?
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
On 10/25/06, John Lolis [EMAIL PROTECTED] wrote:
Thanks for the input davemunns, its nice to hear from someone who is so far along in a project.My only real fear is that of maintaining such a giant library. If you were to leave your company tomorrow, would someone be able to pick it up in time
Hello!
I have html-code like the following:
=== snip ===
tda href=http://www.happy.com/test.hmtl;text/a/td
=== snap ===
Now my question: I want to get the value of the href-attribute within
this table-cell for further using. Any ideas/ suggestions how to get this?
Thanks in advance,
Christian
in one of the apps I work on, we had a problem where the java framework would
sometimes put the same id on 2 or more elements. We wrote an error checker that
simply lloked for duplicate ids, and raised an exception if one was found. I
guess i have the advantage that the developers are willing
ie.link(:text, text).hrefZeljko-- http://zeljkofilipin.com/
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
Hey Christian,
Try something along these lines:
irb(main):019:0 require 'watir'
irb(main):019:0 include Watir
irb(main):019:0 ie = IE.start('http://www.google.com')
= #Watir::IE:0x2f2c480
# Get the table cell, pull the first link's href, there are a few
links in this cell
irb(main):020:0
John Lolis wrote:
Has anyone thought of a good way of managing such changes? Do you make one
giant 'mapping' class and just update that as needed? Do you store the Watir
calls and generate code around them?
I have a library of some 1250 lines of code. Although some of it was
written as
Forgive me, but yes (I my opinion) you did. Is this forum for a ruby
framework that is exclusively for IE? And doesn't ALL the tests that
are written and run, run in IE? This thread was started by a question
about how to handle duplicate element ID's on a page--a behavior allowed
in IE--and
Hmm, that's an interesting problem. When I first evaluated Watir to see if it would work with our .Net web app, it was important to figure out how to work with our tree control. Each tree control/library out there is different and none of the referenced examples that I could find worked for me.
Hello Charley,
thanks, that works fine.
Kind Regards,
Christian
Charley Baker schrieb:
Hey Christian,
Try something along these lines:
irb(main):019:0 require 'watir'
irb(main):019:0 include Watir
irb(main):019:0 ie = IE.start('http://www.google.com')
= #Watir::IE:0x2f2c480
#
I'm running Watir 1.4.1 (from Windows Installer) and Ruby 1.8.4-16 on my main machine.I copied your iframe_nested.html files into my C:\Scripts\1.4.1\unittests\html folder, and renamed your rb file to frame_test_Ethan.rb and placed it in my unittests folder.
To begin with, I re-ran the standard
Just looking at your "html" briefly, I would guess that what you are
looking at is not actually the HTML of the generated page, but rather
the source before the HTML elements are generated by the script
and rendered by the browser. There is a very big difference.
You need to determine the
Thanks Paul, for confirming that this works. I'll close my bug. The
problem I was seeing originally must be unrelated to the click method
on links in frames.
I'm trying to test pages generated by SAP WebDynPro ABAP components,
which is a real pain, so it's likely that I missed something in
16 matches
Mail list logo