WebUI automation testing framework based on Selenium and unittest.
Project description
seldom
WebUI automation testing framework based on Selenium and unittest.
Installation
$ pip install seldom
Quick Example
import seldom
class YouTest(seldom.TestCase):
- def test_case(self):
“””a simple test case “”” self.open(”https://www.baidu.com”) self.type(id_=”kw”, text=”seldom”) self.click(css=”#su”) self.assertTitle(“seldom_百度搜索”)
- if __name__ == ‘__main__’:
seldom.main(“test_sample.py”)
Documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
seldom-1.0.0.beta.tar.gz
(55.5 kB
view hashes)
Built Distribution
seldom-1.0.0b0-py3-none-any.whl
(60.7 kB
view hashes)