Skip to content

Trying to click on a "fake" dropbox down box. #822

@bschollnick

Description

@bschollnick

Sorry, I'm lost here, and I'm hoping you can assist...

The web page in question has this code:

image

So it's using SPANs to simulate a pull-down input, and running the jQuery function to make the change.

But I've tried three different ways to interact with the pull-down with no luck:

  • self.select_option_by_text("input#ddlActive", "All"), results in UnexpectedTagNameException
  • self.click("span.k-input").type("All\n"), which results in a NoneType has no attribute Type, which makes sense...
  • self.click("span.k-input")
    self.type("span.k-input", "All\n"), results in selenium.common.exceptions.InvalidElementStateE.. presumably because it's not a true input.

So I'm a bit uncertain on how to flip this pseudo drop down... Any suggestions you can give would be appreciated, especially since I can't change the web site, it's out of my control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionSomeone is looking for answers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions