微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Web automation test splinter and selenium usage

        There is sth wrong with input on my ubuntu. So the first blog would be written in english about what i am doing during this weekend. i study python for a while about algorith and network and Now  find some small project for practice. One of pratice is to log on website automatically. Splinter is an interesting item which would cover web communication and testing. Following link is an implementation on how to log on 12306 to buy ticket presented by youerning.  http://youerning.blog.51cto.com/10513771/1719159

       I follow its steps and find these API are provided in selenium, one of most popular web automation test. You will kNow well about its API if you track to its implementation. Of course you need to understand the code and has willness and time to learn.

All source code list as following:

You are free to access its github for more info.splinter

splinter: usr/local/lib/python2.7/dist-packages/splinter

selenium: usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote

Web automation test splinter and selenium usage

.

Web automation test splinter and selenium usage

Web automation test splinter and selenium usage

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐