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

.

时间: 2024-12-13 15:05:56

Web automation test splinter and selenium usage的相关文章

Java + Selenium + TestNG + Maven 框架实现Web Automation

环境准备: 1. Java: Install Java jdk: Version: java 1.8 or aboveConfigure Java Environment Variables:Add JAVA_HOMEAdd CLASSPATHAdd to Path Verify Java was configured: Input javac in CMD can get output successfully. 2. Eclipse https://www.eclipse.org/ Unzi

Web Automation

TestNG 测试 : http://www.yiibai.com/html/testng/2013/0913291.html 基于maven的Selniun 2.0 webdriver环境快速搭建 http://www.cnblogs.com/fnng/archive/2011/12/02/2272610.html Selenium Webdriver 学习: http://jarvi.iteye.com/category/203994 https://github.com/easonhan0

C# extract multiples from web pages based on OpenQA.Selenium.Chrome and ChromeDriver

1.Install latest Chrome,Selenium.WebDriver, ChromeDriver Selenium.WebDriver 3.141.0; Selenium.WebDriver.ChromeDriver 78.0.3904.7000; Google Chrome Version 78.0.3904.70 (Official Build) (64-bit); 2. using OpenQA.Selenium.Chrome; using OpenQA.Selenium;

软件测试特训,系统测试,WEB测试,UFT与Selenium自动化测试,LR性能测试

1.系统集成的模式与方法 1.1   软件集成测试前的准备 ◇人员安排 ◇测试计划 ◇测试内容 ◇集成模式 ◇测试方法 1.2  集成测试的模式 渐增式测试模式与非渐增式测试模式 非渐增式测试模式:先分别测试每个模块,再把所有模块按设计要求放在一起结合成所要的程序,如大棒模式.渐增式测试模式:把下一个要测试的模块同已经测试好的模块结合起来进行测试,测试完以后再把下一个应该测试的模块结合进来测试. 1.3  自顶向下和自底向上集成方法 驱动程序/驱动模块(driver),用以模拟被测模块的上级模块

使用分层的Selenium框架进行复杂 Web 应用的自动测试

Selenium概述 Selenium是一种Web应用的自动测试工具,通过模拟用户对Web页面的各种操作,可以精确重现软件测试人员编写的Test Cases步骤.Selenium包含三个工具:Selenium-IDE,Selenium-RC以及Selenium-Core.其中,Selenium-Core是驱动Selenium工作的核心部分,作为一个用JavaScript编写的测试引擎,它可以操作Web页面上的各种元素,诸如:点击按钮.输入文本框,以及断言Web页面上存在某些文本与Web元素等.

selenium docs

Note to the Reader - Docs Being Revised for Selenium 2.0! Introduction Test Automation for Web Applications To Automate or Not to Automate? Introducing Selenium Brief History of The Selenium Project Selenium’s Tool Suite Choosing Your Selenium Tool S

[Selenium+Java] https://www.guru99.com/using-robot-api-selenium.html

Original URL: https://www.guru99.com/using-robot-api-selenium.html Robot Class in Selenium Webdriver Why Robot Class? In certain Selenium Automation Tests, there is a need to control keyboard or mouse to interact with OS windows like Download pop-up,

selenium Remote Server 实现原理

selenium作为一个出色的web automation框架,被越来越多的企业采用究其原因,框架设计的比较remarkable, 作为一个开源的框架,能够开辟出一套协议,以至于针对app测试的appium采取相同的strategy.使用的是webdriver protocol的扩展版. 为什么说这个框架设计的比较好?究竟好在哪里? 先从表面上看: selenium automation framework 支持多语言,java.python.c#.JavaScript.Perl.ruby ..

selenium定位方法(java实例)----持续

1 <!DOCTYPE html> 2 <html> 3 <head> 4 <body link="#0000cc"> 5 <div id="swfEveryCookieWrap" data-for="result" style="width: 0px; height: 0px; overflow: hidden;"> 6 <script> 7 <d