#35 ✓invalid
knut

Problem IE8/ruby 1.9.2/Win7

Reported by knut | May 20th, 2011 @ 08:47 PM

Hello,
I'm a newbie in watir and vapir, my first script was successfull - until I moved to a another PC.

The script works fine with WinXP, IE7 and Ruby 1.9.1

With
- Ruby 1.9.2, - IE8 (8.0.7600.16385) and - WIN7 Enterprise Version 6.1 Build 7600 I get the error

C:/appl/Ruby192/lib/ruby/gems/1.9.1/gems/vapir-common-1.8.1/lib/vapir-common/element.rb:272:in `locate!': Unable to locate Vapir::IE::Button, using attributes: {:caption=>/Anfordern/i} (Vapir::Exception::UnknownObjectException)
on container: #<Vapir::IE:0x5b0ae828 url="http://www2.vvs.de/vvs/XSLT_TTB_REQUEST?language=de" title="VVS - Elektronische Fahrplanauskunft EFA">

I don't know, if I made something wrong, but it looks like a compatibility problem.

Comments and changes to this ticket

  • knut

    knut May 26th, 2011 @ 06:55 PM

    As I said, I'm a newbie ;-)
    Now I detected show_all_objects and found probably a source of the problem.

    Under XP/ruby 1.9.1/IE7 show_all_objects shows:

    ------------------------------------------
    Vapir::IE::Button:0x03382dc0
    how:      :element_object
    tag_name: "BUTTON"
    id:       "formSubmitLine"
    name:     "formSubmitLine"
    value:    "<IMG id=formSubmitButton height=32 alt=anfordern src=\"images/buttons/button_anfordern.gif\" width=87>"
    type:     "submit"
    name:     "formSubmitLine"
    value:    "<IMG id=formSubmitButton height=32 alt=anfordern src=\"images/buttons/button_anfordern.gif\" width=87>"
    type:     "submit"
    ------------------------------------------
    

    Win7/ruby 1.9.2/IE8 doesn't recognize the <IMG-tag> in 'value'. (it's empty).

  • Ethan

    Ethan October 31st, 2011 @ 12:17 AM

    • State changed from “new” to “invalid”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Attachments

Pages