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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:50:44+00:00 2026-05-21T20:50:44+00:00

I have a selenium test that I am trying to get up and running

  • 0

I have a selenium test that I am trying to get up and running but one problem is that it has to select a frame and is failing at it.

the html looks like this

<iframe src="#" name="mainframe" id="mainframe" />

and the python test uses the command

sel.select_frame("mainframe")

and when I run the test I get an output like this

sel.select_frame(“mainframe”)
File “/usr/lib/python2.4/site-packages/selenium/selenium/selenium.py”, line 901, in select_frame
self.do_command(“selectFrame”, [locator,])
File “/usr/lib/python2.4/site-packages/selenium/selenium/selenium.py”, line 217, in do_command
raise Exception, data
Exception: ERROR: Element mainframe not found

  • 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-05-21T20:50:45+00:00Added an answer on May 21, 2026 at 8:50 pm

    Thanks for the input I did not verify that the above solution works but the problem was related to the script executing a function before it had logged into the application

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

Sidebar

Related Questions

I have a Selenium test case that enters dates into a date selector made
I have a test suite DLL written in C# that uses Selenium.This is then
I have Selenium running under Cruise Control to test our site once a day.
I have a command line script that generates some HTML that I am trying
I have to write a Selenium test and I need to get an element
I have recorded a very simple test case Using the Selenium IDE integrated with
I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )
We are using Junit + Selenium to webtest our webpage. But we have run
I am trying to get Hudson to run my ruby based selenium tests. I
So I have a test case that I want to make into a thread.

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.