What you are dealing with here is a 'ehanced' selection list that is
implemented entirely with Javascript code. it's not a standard HTML
selection list, so none of the standard methods what would work with
such a list are going to work for you. (a standard selection list
would use a tag, with t
I'd put my money on an 'onChange' event needing to be fired,
especially if the expected action happens after a value is entered in
the field.
But as Joe says, check the HTML in that area and look for an event
handler that calls a particular bit of javascript when some event is
fired for that input
Hello,
It seems that there are frames in that popup.
Do a ie.show_frames after attaching to that window.
If they are frames, you'll be able to access the elements via
ie.frame(:name, "MAINIFRAME")
FK
On Thu, May 20, 2010 at 3:38 PM, dave wrote:
> ...oka i took your advice and:
>
> ...BUT.
...oka i took your advice and:
...BUTno objects on the page even though there are select
boxshow do i access them?
are they inside the javascripts? if so how do access them? using what
name?tia dave
browser=Watir::IE.attach(:title,"Infor EAM")
irb(main):099:0> browser.show_all_objects
Sounds like you need to attach to the second browser instance. Check
out http://wtr.rubyforge.org/rdoc/1.6.5/classes/Watir/IE.html#M000464
The syntax is like this: browser = Watir::IE.attach(:url, "the_url")
or browser = Watir::IE.attach(:title, "the_title")
Hope it helps.
orde
On May 20, 8:44
Have you tried ie.attach(:title, /title/)?
On Thu, May 20, 2010 at 12:44 PM, dave wrote:
> i'm trying to access a spawned ie window after login...that's neither
> a frame nor formi think
> i'm able to startup and login to our workorder system...with this
>
> ie = Watir::IE.start('http
i'm trying to access a spawned ie window after login...that's neither
a frame nor formi think
i'm able to startup and login to our workorder system...with this
ie = Watir::IE.start('http://cpp-woapp.cpp.org/web/base/logindisp')
...and find the proper places to put the user name and pa
Wow, that was easy. Thanks a lot! :)
On May 19, 5:08 pm, Ethan wrote:
> Watir::IE.each do |b|
> puts b.title
> end
>
>
>
>
>
> On Wed, May 19, 2010 at 19:45, George wrote:
> > I've been searching for an answer, but no luck.
>
> > When I click on a link, a new browser window is supposed to open
When I google "Nokogiri", not much info, any great amazing place for "
Nokogiri"?
Wesley.
For life, the easier, the better.
On Thu, May 20, 2010 at 10:32 PM, Berto wrote:
> Nokogiri
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You recei
On May 20, 1:54 am, Željko Filipin
wrote:
> On Wed, May 19, 2010 at 5:10 PM, Berto wrote:
> > page_html = Nokogiri::HTML.parse(browser.frame(:name, "IframeName")
>
> Does this work?
>
> Nokogiri::HTML.parse(browser.frame(:name, "IframeName").html)
>
> Željko
YES! Thank you so much Željko!!!
Th
On Thu, May 20, 2010 at 3:36 PM, Cristina
wrote:
> Status
> Organization Name
> If I would like to check that "Status" or "Organization Name" exist on the
page
Several solutions come to mind (none of them tested).
1)
browser.text.include? "Status"
browser.text.include? "Organization Name"
(Not
Hi,
when I have to check into my application that when I click on a link the
content is loaded.
Well here is a piece of code of a table that is loaded::
Status
Staff
Organization Name
Allowed TLD's
If I would like to check that "Status" or "Organization Name" exist on the
page, how c
Hi, Betsy!
Did you download the Ruby from here http://rubyinstaller.org/download.html
?
If so, then please check both of the checkboxes during the install
(add to PATH and associate .rb files...). They are not checked by
default.
Then it should work as expected :)
Jarmo
On May 19, 7:24 pm, Char
On Wed, May 19, 2010 at 5:10 PM, Berto wrote:
> page_html = Nokogiri::HTML.parse(browser.frame(:name, "IframeName")
Does this work?
Nokogiri::HTML.parse(browser.frame(:name, "IframeName").html)
Željko
--
watir.com - community manager
watirpodcast.com - host
testingpodcast.com - audio podcasts o
14 matches
Mail list logo