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

wKiom1ZiabqQyEZcAAEm0xsLfH8259.png

.wKioL1ZiaDzxw8rVAAEJx0qwBok151.png

wKioL1ZiaxTge7o4AAGl0eS5ytM566.png

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章