then the Watir-webdriver Automation test scheme and implementation based on Ruby (II.)Http://www.cnblogs.com/Javame/p/4159468.html continue ... Scripting is the first thing to learn to capture elements, and then to learn the capture of page elements. Page Element Attribute_valueGets the properties of the current controlValue = Ie.link (:id=> ' xxx '). Attribute_v
then the Watir-webdriver Automation test scheme and implementation based on Ruby (III.)Http://www.cnblogs.com/Javame/p/4159468.html continue ... First recall our system architecture, and then talk about the specific implementation.The automated testing framework is divided into three modules: test use case, control layer, Tools tool class, Model master control.Te
Watir-webdriverAutomated Test Solution BookSystem architectureThe automated testing framework is divided into three modules: test use case, control layer, Tools tool class, Index master control.Test use case
Ruby-based Watir-webdriver development
Uniform preset parameter input rules, provide a rule templat
Ruby-based watir-webdriver Automated Testing Solution and implementation (1), watirwebdriver
Why is automated testing required?• Objective Requirements for increasingly complex application systems
An inevitable problem is that application systems become increasingly complex and pose greater risks. Testing consumes more and more time. The cost and time are limited
then the Watir-webdriver Automation test scheme and implementation based on Ruby (I.)Http://www.cnblogs.com/Javame/p/4159360.html continue ... ReviewOverview of software automation testingThe scheme design of web Automation testFunctional Solution DesignBusiness Solution Designscenario Implementation of Web Automation testing automate the recording and writing
: http://www.baidu.com/ Step 2: enter 'watir' in the search text field. Step 3: click the 'baidu submit' button. Expected Result: A Google page with results should be shown. 'download.csdn.net ' should be high on the list. Actual Result: Test Passed. Found the test string: 'download.csdn.net '.Actual Results match Expected Results. End of test: Google search. Last Step Close IE!!>Exit code: 0
When running the above script, the system prompts "
Converted from 51testing.com, the original see: http://bbs.51testing.com/thread-171535-1-1.html
http://swik.net/Watir+Programming http://www.pragprog.com/# A Lot Of good source code Oh http://docs.rubygems.org/# rubygems http://www.fxruby.org/# fxruby http://groups.google.com/group/watir-general/topics # Google watir discussion group http://ruby.nanshapo.co
assumptions, but also hope that the readers a lot of Haihan.
In this article, the code and examples are written by Ruby, and the Webdriver API described in this article is mainly ruby binding. So first make sure that the Ruby language is installed correctly on the development environment.
The first section of the
Selenium/webdriver can be installed by Selenium-webdriver.gem package in Ruby Environment
Gem installselenium-webdriver
supports languages and versions with Ruby 1.8.7~1.9.2,jrbuy and rubinius
Selenium-webdriver contains selenium-client, while reading, be aw
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.