Tagged Questions
0
votes
1answer
181 views
How to assert values on a page opened by a link on another page?
A link on page 1 opens a new page "receipt page". It contains only text values. I need to assert or verify values on the receipt page to ensure that this is the correct receipt.
After executing the ...
1
vote
2answers
341 views
Do I need the PageObjects design pattern or not?
Right now I have a Selenium WebDriver framework that looks like this (vastly simplified):
\app_func.py -- app_func has the web app's "actions", such as "save a new search"
\app_data.py -- app_data ...
1
vote
3answers
1k views
How to select or check multiple checkboxes in Selenium?
I've got this HTML code
<input type="checkbox" value="abc" name="arr[]><br>
<input type="checkbox" value="abc1" name="arr[]><br>
<input type="checkbox" value="abc2" ...
2
votes
4answers
1k views
Click submenu which is dynamicly visible in Selenium WebDriver
In my scenario, I need to click the submenu that's only visible when its parent menu is in 'mouse over' status:
MainMenu (button)
SubMenu of MainMenu (span)
SubMenu of SubMenu of MainMenu ...
1
vote
2answers
3k views
How to specify a Firefox profile name when using webdriver + python
I'm using python 2.7.1 and selenium 2.20.0.
I have a seperate firefox profile called "selenium" which I want to use when running the webdriver.
I managed to do it by specifying the complete path to ...
3
votes
4answers
1k views
Running Selenium tests as a scheduled task
I'm trying to run a Selenium WebDriver script written in Python on a Windows 7 64-bit box as a scheduled task.
The test works pretty well when run as a batch file from the command prompt, but when ...
4
votes
1answer
397 views
Getting nose test runner to execute a test against multiple browsers / configurations?
Surely someone else has run into this problem. I'm trying to figure out how to loop through Firefox, Chrome, and IE in conjunction with nose.
Right now I have:
"setup.cfg" file that specifies ...
4
votes
1answer
270 views
Logging with Selenium Server?
Right now I have several Python Selenium scripts in which I am manually writing results to a text file. Is there a more standardized / centralized way I can log my results without much difficulty?
I ...
7
votes
4answers
12k views
What is the correct way to select an <option> using Selenium's Python WebDriver
I would like to select an <option> child of a <select> using the Python WebDriver.
I have a reference to the option WebElement I wish to select and have tried select() and click() methods ...
2
votes
2answers
302 views
Andriod Selenium testing by Python - connecting problem
I'm trying to get the Selenium Android client to run in my emulator:
Install SDK
Run emulator
Install android-server-2.0rc1.apk in the emulator and devices
Forward the port by adb forward tcp:8080 ...
3
votes
0answers
412 views
Selenium (RC) hangs when started from Python test
Fairly new to Selenium (but loving it). I'm running a single test in Python on Selenium RC. I've been running it multiple times a day for about 3 weeks. Now when I try to run it, it executes all the ...