Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [python]

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

0
votes
1answer
11k views

Understanding how to handle auto-complete using Selenium and Python

While testing for a certain web application, I was faced with an issue of handling auto-complete scenarios. An example of this kind could be found here MagicBricks I have few questions related to how ...
0
votes
1answer
2k views

is_displayed with python and web driver

So when my test pass it will show the "yeah" word in the end, however when it fails , it will only show and exception NoSuchElementException and the word "Failed" will not show up anywhere. its like ...
0
votes
2answers
34 views

Are there any good links and references for learning how to create an Appium Python Framework?

Are there any good links and references for learning how to create an Appium Python Framework? There seem to be a lot of Java information out there, but Python seem to have a lot less available ...
-1
votes
2answers
1k views

How can I copy and paste part of a split URL using Selenium and Python

I have split URL, and I need to copy and paste a part of that split URL. It gives me an error when I use send_keys method: url_parts[4].send_keys(Keys.CONTROL, 'c') AttributeError: 'str' object has ...
-1
votes
3answers
614 views

Behat, Java or Python [closed]

I started in the world of QA about 1 year ago and I started as a QA tester. But for almost 6 months ago, I started with the automation testings. I started with selenium and behat. In my company they ...
-1
votes
1answer
30 views

Mac + PyCharm + Python 2.7: ImportError: No module named appium

I just changed PyCharm application from Professional to community and in my v first run I am getting below error. Prior this all tests was working correctly as expected: ImportError while importing ...
-1
votes
1answer
54 views

Pop up handling in Selenium using try and except block gives a broad exception warning

try: if browser.find_element_by_xpath('//[@id="s"]/a').is_displayed(): browser.find_element_by_xpath('//*[@id="s"]/a').click() browser.switch_to.default_content() ...
-1
votes
3answers
4k views

How to Iterate and loop the select Options in dropdown box using Selenium with python?

I want to select an apple and then after "save and Go" then after it should select an orange like the way it should iterate till coconut, at end of the list it should be select 'Save & Hold'. I ...
-1
votes
1answer
1k views

Python Selenium: Unable to find a element when the element already exists

I'm having issues looking for this specific input: <input type="text" class="criteriaFieldInput ui-autocomplete-input" id="KEYWORD" isautosuggest="true" suggestid="1" isolf="false" isphrase="false" ...
-2
votes
2answers
568 views

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

What comes to mind is Make, or build.xml, but I have not found a comprehensive Orchestration tool for python testing yet. Any suggestions?
-2
votes
2answers
496 views

How to Handle checkboxes in Selenium with Python?

There are 7 unselected check-boxes available in application. How to select first and last checkboxes and how to select all checkboxes from reverse order using python selenium webdriver?
-2
votes
1answer
919 views

Advantages and disadvantages of learning Python Vs learnng Javascript?

I work on automation scripts written in selenium using Java at my current job. I want to expand my skills and learn a scripting language to help with more advanced UI automation. After research I ...