Automated web based GUI testing tool [closed]

2019-04-11 21:03发布

问题:

Hi all i want to web based GUI Testing tool. I found dogtail is written using python. but i didnot get any good tutorial and examples to move further. Please Guide me weather dogtail is perfect or something better than this in python is there?. and if please share doc and example.

My requirement: A DVR continuous showing live video on tile(4 x 4 ), GUI is web based(mozilla) . i Should be able to swap video and check log and have to compare actual result and present.

回答1:

Selenium is designed exactly for this, it allows you to control the browser in Python, and check if things are as expected (e.g check if a specific element exists, submit a form etc)

There's some more examples in the documentation

Project Sikuli is a similar tool, but is more general than just web-browsers



回答2:

Selenium provides a python interface rather than just record your mouse movements, see http://selenium-python.readthedocs.org/en/latest/api.html

If you need to check your video frames your can record them locally and OCR the frames looking for some expected text or timecode.



回答3:

For Simple form based UI Testing. I have created a framework using python/selenium/phantomjs although it can do complex stuff too. I am yet to document it. (If you don't need to run firefox you don't need to install phantomjs)

https://github.com/manav148/PyUIT