Tagged Questions

0
votes
1answer
23 views

Django Test framework with file based Email backend server

I have formulated test cases in Django framework. Use Case: I am using API that register user by sending them an Email and when they click on the link provided in the Email their account get ...
1
vote
0answers
35 views

Django: test successful loading of static files

Is it possible to test successful loading of static page components in Django automatic test? For example, using django test client, besides testing the client.get('x').status_code to be 200, I want ...
1
vote
2answers
112 views

Make Python unittest fail on exception from any thread

I am using the unittest framework to automate integration tests of multi-threaded python code, external hardware and embedded C. Despite my blatant abuse of a unittesting framework for integration ...
5
votes
3answers
201 views

Pytest: how to skip the rest of tests in the class if one has failed?

I'm creating the test cases for web-tests using Jenkins, Python, Selenium2(webdriver) and Py.test frameworks. So far I'm organizing my tests in the following structure: each Class is the Test ...
2
votes
1answer
275 views

What is the point with the browserstack.com API?

http://www.browserstack.com is a powerful plattform for testing web sites against the most current and modern browser. So far so good. browserstack.com provides an API ...
0
votes
0answers
89 views

i know basic python, whats next to learn web automation [closed]

background:I am a qa intern/tester for manual testing hourly crappy pay lol. I want to step it up and get into automation in the next few year(s). In the past few months ive gone through LPTHW up ...
1
vote
0answers
71 views

How to properly test C API from python, the C API returns return codes as errors

My Setup I am testing functions in a C library using pytest and ctypes from Python. Each function in the C library calls a function on an embedded linux PCI board, the C library functions then return ...
0
votes
1answer
281 views

Testing TastyPie APIs using Django Test Client always results in empty HTTP 200 responses

I've got a simple Django-TastyPie API defined (it is a basic class that derives from ModelResource; I'm using the 0.9.11, the latest stable version). The class UserProfileListResource gets a list of ...
1
vote
1answer
320 views

How to check if some text is present on a web page using selenium 2?

Hi I am using selenium to automate test on web pages. I am using selenium 2 and python and would like to have answers in this framework only. SO how do I check whether some text is present or not? I ...
0
votes
0answers
124 views

Write automated test case to test following functionality:

Using Scapy tool to generate and send packets of 3 types (ICMP, UDP, HTTP) to loopback interface (lo). Catch this traffic using tcpdump (or Scapy) Compare number of sent and received packets of each ...
3
votes
1answer
261 views

python - Running tox + nosetests on a Python 3.2 testenv

I've been trying to implement a single-source testing system that allows automated testing across multiple Python versions using tox + nosetests. Problem is, I can't get it working whenever I test ...
0
votes
1answer
201 views

Functional automated testing python [closed]

Please suggest me best opens source or free automated functional testing tool for desktop application developed in python (Qt, Pyside).
1
vote
1answer
589 views

How to load Firefox with javascript disable when running Selenium Webdriver (Python) tests?

I heard one can load a custom Firefox profile when starting webdriver, but I've yet to find a way to do that. The Python binding documentation doesn't state it very clearly. I need to start up ...
1
vote
2answers
1k views

How to get the number of elements found with selenium webdriver (python)?

I looked at the documentation located at http://readthedocs.org/docs/selenium-python/en/latest/ but couldn't find an answer. I want to get an element by class name or xpath and return the number of ...
1
vote
1answer
375 views

A python script that automatically input some text in a website and get its source code

I am doing biomedical named extraction using Python. Now I have to cross check the results from inputting the text to http://text0.mib.man.ac.uk/software/geniatagger/ and parse the source code of ...

1 2 3
15 30 50 per page