Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8678471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:43:48+00:00 2026-06-12T20:43:48+00:00

I am working with a vendor developed web page (SAP BusinessObjects InfoView login page)

  • 0

I am working with a vendor developed web page (SAP BusinessObjects InfoView login page) and am trying to identify and then select a drop-down element on a page. No matter what I try, I get an exception:

require 'watir-webdriver'
ie = Watir::Browser.new
ie.goto "http://svr-boj-bop-01.mgc.mentorg.com:8080/InfoViewApp"
ie.select_list(:id, "authenticationSelectBox").select("secLDAP")
#=> 'error: "unable to locate element, using :id=>"authenticationSelectBox", :tag_name=>"select"....'

I have FireFox and Firebug installed, I can use Firebug to select the element which gives me info about the element. I’ve tried to specify :id, :name, .div, .browser, .frame, … nothing changes the error. My suspicion is that the inner frame(s) is creating the page dynamically, based on the select of the “Authentication”, but I don’t know how to check / validate that is the case.

I’ve searched and tried most of the suggestions on the site, nothing is helping.

The page has lots of Java code, forms, etc. Here is a snip from the page I’m trying to search for elements:

<body onload="logonPageLoad()">
    <div class="logonContainer">
        <div class="logonIFrame">
            <iframe id="infoView_home" width="80%" frameborder="0" align="center" title="Log On to InfoView" name="infoView_home" onload="resizeFrameToContent("infoView_home")" src="jsp/listing/blank.jsp" style="height: 287px;">
                <html class="logon_body">
                    <body class="logon_body" onload="loadInit();">
                        <div class="logon_body">
                            <div id="logonCredentials">
                                <form action="../../../PartnerPlatformService/service/app/logon.object" method="POST" name="logonForm">
                                    <div class="logon_table">
                                        <div id="authentication" class="logon_input">
                                            <label class="logon_input_label" onclick="businessobjects.webutil.accessibility.setFocusOnElement('authenticationSelectBox'); return false;" tabindex="-1" for="authenticationSelectBox"> Authentication: < /label>
                                            <select id="authenticationSelectBox" class="logonSelectBox" onchange="SetAuthType(false);resizeFrameToContent('infoView_home')" name="authType">
                                                <option value="secEnterprise" selected=""> Enterprise `</option>
                                                <option value="secLDAP"> LDAP </option>
                                                <option value="secWinAD"> Windows AD </option>
                                                <option value="secSAPR3"> SAP</option>
                                            </select>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:43:49+00:00Added an answer on June 12, 2026 at 8:43 pm

    For elements in frames, you have to explicitly call out the frame:

    my_frame = ie.frame(:id, "infoView_home")
    my_frame.select_list(:id, "authenticationSelectBox").select("secLDAP")
    

    Though it sounds like you might have already tried that. It is possible, that the element is not being loaded before Watir thinks the page is loaded. If that’s the case, you can add a wait using something like the when_present method.

    my_frame = ie.frame(:id, "infoView_home")
    my_frame.select_list(:id, "authenticationSelectBox").when_present.select("secLDAP")
    

    Note that you can do it in one line (ie you do not need the my_frame). It is just added to make it easier to read (ie minimize horizontal scrolling).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a vendor portal. An owner of a shop will login
I am working with a large Java web application from a commercial vendor. I've
I am working with an external vendor's web service that appears to be implemented
I am working with a vendor applet, The applet works fine with JRE 1.4.2_X
Working on an ecommerce site which will be integrated with a 3rd party vendor--that
I am working on a web application that has to present charts on different
I'm working with multiple third party webservices (from the same vendor) that appear to
I'm working with a friend on a web application we'd like to distribute and
I am working on a project that has a vendor-provided API. I've made a
I am working on an application, that will pass client input to a vendor

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.