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 8020683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:45:23+00:00 2026-06-04T21:45:23+00:00

Ok, that sounds too generic. I have been able to do this in other

  • 0

Ok, that sounds too generic. I have been able to do this in other areas and I am not sure what is different here.

I have this little snippet of html in the page of my system under test:

<select id="TransferUnit" name="TransferUnit">
<option value="GB" selected="selected">GB</option>
<option value="TB">TB</option>
</select>

Pretty simple, right. From selenium, I can open the pulldown by issuing a .click() on the select element. I can check that the two options are visible with .is_displayed(). I can check if it is selected with .is_selected(). But I can’t get .click() to change which element in the list is selected.

Of course this works when I try it manually. But I am having a lot of trouble automating it.

Any assistance is welcome.

  • 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-04T21:45:24+00:00Added an answer on June 4, 2026 at 9:45 pm

    In the IDE, perform a click on an element with a locator like this:

    xpath="//option[@value='TB']"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That sounds pretty odd but i have this cod and i need to convert
changing a static resource during runtine is something that sounds not possible. I have
If this sounds too impossible, pls dont down vote :) Just my quirk that
This is going to sound too silly / too basic - sorry about that,
That sounds complicated, doesn't it... actually it's quite easy: I have a multi-language app
OK, that question sounds maybe a little confusing so I'll try to explain it
I am using the AVAudioPlayer framework, and I have several sounds that play one
I have built an app that plays lots of sounds the easy way: AudioServicesPlaySystemSound(someSoundID);
I have been trying to make sense of some claims that Appcelerator Titanium makes.
This sounds a bit too good to be true, so please tell me if

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.