Tagged Questions

0
votes
0answers
42 views

merging selenium rc and webdriver

I have made most of my automation code using Selenium RC with Python. But, I feel that with the evolution in my product (what I'm testing through selenium RC), my automation needs are changed. I tried ...
0
votes
0answers
60 views

Issue in Selenium setup for Python in Windows

I am trying to setup python testing environment using Selenium. Following the tutorials, gives error. It will be good if you can point out where am I going wrong. I have installed Selenium RC 1.0 ...
0
votes
1answer
153 views

Cannot load custom profile python - selenium

fp = webdriver.FirefoxProfile() fp.set_preference("browser.download.folderList", 2); fp.set_preference("browser.download.manager.showWhenStarting", False); fp.set_preference("browser.download.dir", ...
2
votes
1answer
129 views

Selenium test: re-authenticating with BasicAuth gives an error

I'm writing tests for SeleniumRC in Python. The tests run against a Firefox instance in Ubuntu. I've got a webapplication that uses BasicAuth. In the setup of my testclass I set up a page (foo.html) ...
0
votes
1answer
340 views

Selenium RC CSS Locator for Select Element

Any idea how to select an option from a element defined like so: <select onchange="onIsIsNot('COND_MT_USER_MOB_ACTIVE', this)"> <option selected="" value="512">Cellular</option> ...
0
votes
2answers
78 views

sel.click(“xpath=//*[@id='seriesNwsHldr']/div[2]/p[1]/a”) is not working

Exception: ERROR: Element xpath=//*[@id='seriesNwsHldr']/div[2]/p[1]/a not found. I checked in Fierbug. The path is correct but I don't know what's the reason for this test case to fail.
1
vote
1answer
209 views

chooseCancelOnNextConfirmation alternative in Selenium RC

I have a simple need. I just want to click the "Cancel" button of the Confirmation Popup from Python Selenium RC Client without using chooseCancelOnNextConfirmation. Is there any Javascript alternate ...
1
vote
0answers
174 views

run the selenium as django command

I have the problem with downloading file from website using selenium in Django 1.3.(Python 2.7+). I have done the django management command to download the file in selenium firefox webdriver ...
1
vote
1answer
301 views

Set up a default exception handler when unable to locate an element in selenium?

It's quite often the case that my selenium script will be running, and then all of a sudden it will crash with an error: <class 'selenium.common.exceptions.NoSuchElementException'> Message: ...
0
votes
1answer
465 views

Is it possible to run Selenium scripts without having an X server running, too?

I have a python script that uses selenium RC; specifically webdriver. I would love to have the script run as a post-commit hook, ideally through IE, Safari (if possible), Chrome & Firefox. But ...
2
votes
1answer
358 views

Selenium Remote Web Driver: How to start the remote server from Client

I have few questions in Selenium WebDriver (Selenium2) : My 1st question is, do I need a standalone .jar file for RemoteWebDriver? My 2nd question is, if the standalone .jar file is needed, then how ...
0
votes
1answer
250 views

Difference between selenium.selenium and selenium.webdriver

I started working recently with selenium with python bindings. selenium.selenium module is used in most of the example codes in internet. But, the current API docs of Selenium Python Bindings 2 do not ...
1
vote
2answers
548 views

Python singleton class

I'm writing a test suite for firefox 5.1 and selenium webdrive v.2 on os x 10.6 with Python 2.7. Everything is working fine except the creation of a singleton class, which should guarantee only one ...
0
votes
0answers
76 views

Detect Selenium Page Load

I have a very simple need. Using Selenium RC Server and Python Selenium Client, is there anyway to know when a new page have been accessed (irrespective of who triggers it - open(), click(), etc..)? ...
0
votes
2answers
138 views

Python/Selenium: How to treat assertions/errors as True or False only for further usage in program?

I am using Python for Selenium RC and I am using the following selenium command: self.se.get_attribute("CSS") This command asserts when the respective CSS mentioned is not found on the webpage. ...
0
votes
1answer
124 views

Selenium error: UnicodeEncodeError

I am getting the following error when i execute the following command: text = idobi Radio: New. Music. Unfiltered. idobi.com - a SHOUTcast.com member station ...
0
votes
1answer
113 views

How to check Space between Two images

Consider there are two images in a webpage. I want know if they have any space rendered between them. I'm using selenium tool and python language. Answer could be in any language.
-1
votes
1answer
129 views

Selenium, CSS, and Python: not being able to view default text in a textbox

I have a text field, which contains the default text 'abc'. When I write something inside this field or the cursor is inside this field then the default text disappears. The underlying HTML tag for ...
0
votes
1answer
98 views

How to select font size bgcolor using selenium

this is my html code and i need to select font size, bgcolor which is there in nonscript. <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' ...
1
vote
2answers
219 views

How to check alignment of text using selenium RC

verify alignment of text or any other element in web page using selenium rc. i use python, is there any budy who can help with this.
0
votes
1answer
171 views

How to verify date format using selenium

How can I verify that a date displayed on the web page fits a particular format with Python bindings for Selenium-RC?
1
vote
1answer
97 views

Howto selenium testing infratstructure with python?

Any suggestions on how to setup a selenium testing environment using python. I know question is vague but for being the standard for web front end testing selenium does not want to seem to work, a ...
2
votes
1answer
596 views

Selenium: Problem with deleting cookies

We are using selenium 2.4 with a python client, and running the scripts on Firefox. When doing delete_all_visible_cookies we are getting the exception: ERROR: Command execution failure. Please ...
0
votes
2answers
515 views

Getting rid of JQuery DatePicker in a Selenium test

I am writing a Selenium test to populate a date field on a webpage. The field is associated with a JQuery Date Picker. When I use the 'type' function to enter the date, the picker pops up. However, I ...
1
vote
1answer
202 views

Exported Selenium Script Throws Exception

I recorded an action using the Selenium IDE and used the File->Export Test Cases as Python 2 (Remote Control) format. I am using Selenium RC 2.3.0 I then ran the script from command prompt but it ...
0
votes
1answer
132 views

How to capture an image using selenium pythons script

I want to test the image displayed in my web application. please anyone provide me the solution. I have used sel.capture_entire_page_screenshot("C:\Users\test\Desktop\privacy.png", "") it is not ...
0
votes
1answer
266 views

Calling custom assert function from Selenium RC (Python) with a custom locator function in user-extensions.js

I have written a custom assert function in user-extensions.js that uses a custom locator function - also implemented in user-extensions.js - to locate a particular element on a page. Without getting ...
3
votes
1answer
910 views

Have I misunderstood how to set up Selenium RC with Python?

I am having difficulty with Selenium RC. When trying to run scripts in Python, I see the message "Cannot import name webdriver". I'm likely missing something very basic. Let me explain every step ...
2
votes
1answer
152 views

Selenium script can't find function when opening new page

I have a problem with my selenium-python script when opening another page in separate function. In function test2_points() selenium can't find functionselect and Products_4. This is my script: from ...
0
votes
2answers
171 views

Selecting the next formfield with Selenium RC and python

I am running an automated test to test a webform for my company. They have just installed a zipcode service which automatically adds the Street and City/Region when you fill in the Address and ...

1 2 3
15 30 50 per page