Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability.

learn more… | top users | synonyms

0
votes
5answers
515 views

Select a certain item by clicking a link beside that item

I have a popup with list of names. I need to choose "mahmoud" for instance by clicking the "select" link beside the label "mahmoud". How to click that select? I am using selenium webdriver with ...
0
votes
1answer
34 views

how to handle widows authentication dialog using webdriver in python

I have application which is secured by http authentication. So when I open the url it is looking for user/pass in windows authentication dialog. I wanted handle this dialog to enter user/pass and ...
0
votes
2answers
114 views

Force selenium to use the portable firefox application

I have installed firefox 14 and has firefox portable version 25.0.1 on the machine, where I run tests for a web site. Due to a limitation in the site I'm testing, I cannot run my tests on firefox 14 ...
0
votes
1answer
122 views

Question about 'self.assertIn' & 'driver.title'

I researched this as much as I could on my own but came to no clear conclusion to my question. I've been teaching myself automation testing via Python + Selenium, I'm as new or n00b as it gets so bare ...
0
votes
1answer
32 views

Looping over the array of other function in current function

I need a help to know how can I can iterate a loop over a array which is in another function of the same class. I tried using the following similar code for automation in selenium and I get the ...
0
votes
1answer
121 views

Upload image via ajax form with selenium and Python

I'm trying to get familiar with selenium. I decided to try to work with facebook, and fulfill my profile with selenium, But they use too much Ajax. It's not very complicated to fulfill my hometown ...
0
votes
1answer
404 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 ...
0
votes
0answers
19 views

Tagging python tests for selective execution

What I am trying to do is : create a tagging system for around 400 tests so I can run them selectively. For example, some tags may be UI_elements, production, staging etc. When a developer makes a ...
0
votes
0answers
34 views

How can I prevent Selenium from dropping my session?

I'm trying to select values from a drop down on a page. There are multiple drop downs and the code seems to have no problem selecting the right drop down when given the correct identifier to choose. ...
0
votes
0answers
39 views

Desktop application automation

I need to automate desktop application i.e Bluetooth PTS tool. But can't find any good way to do. I have no exposure to scripting.
0
votes
1answer
286 views

Webdriver - Problem with loading profile of Tor Browser Bundle

could you give me any suggestions how to solve the weird problem I experience with webdriver? I like to use webdriver to control the browser from the Tor Browser Bundle (TBB). Controlling the TBB via ...
0
votes
1answer
545 views

Unable to find element in selenium

I'm using the following code: if i[1] == "id_text": inst = driver.find_element_by_id(i[2]) #inst.click() for option in inst.find_elements_by_tag_name('option'): if option.text == ...
0
votes
0answers
62 views

Fuzzing Python Modules

Is it possible to use a fuzzer, specifically the Peach fuzzing framework to fuzz a module or header file of code. For example, if I wanted to fuzz the os module in python 2.7.6, would I be able to, ...
0
votes
0answers
189 views

Python Selenium bingings ActionChains context_click having no effect for PhantomJS

I am using python selenium bindings for phantomjs. I am trying to simulate a right click and then take a screenshot (showing the context menu). But I am unable to get the right click context menu. ...
0
votes
2answers
306 views

ImportError: No module named 'httplib'

I have recently updated selenium Webdriver to 2.38.1 and I am writing scripts using python. When I run the test case I have I get the following error *Traceback (most recent call last): File ...
0
votes
1answer
496 views

Selecting xpath using a variable in selenium 2

I am doing a selenium automation where I want to pass the variable into the xpath and select the element. The xpath which I am trying looks like: browser.find_element_by_xpath("//span[contains(.,'SEM ...
0
votes
1answer
247 views

check for value if found before adding it to my drop down list?

i have a drop down list that i add items to it,i ask the user to type in brand name and check first if that brand is already found on the drop down list if yes prints a message if no do some actions. ...
-1
votes
2answers
214 views

What would be a good test Orchestration tool for Python unit tests

what comes to mind is Make, or build.xml, but have not found a comprehensive Orchestration tool for python testing
-1
votes
2answers
874 views

How to get the last value in a list/string using Python [closed]

I am a beginner in writing Python scripts and I need help on the following: Threads::num,47141,47146,47151,47156,47161,47166,47171,47176 How can I get and display the last value '47176' The ...