Project Management Dafa Archive-mind mapping, prototyping tools, interface testing, design patterns, versioning, unit testing, continuous integration, code review, Bug trackingThe beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)This article follows "Attribution-non-commercial use-consistent" authoring public agreementReprint Please keep this sent
purely unit tests, the test quality of the underlying function tests the upper function to produceHave a big impact.7. Four phases of unit test: test Plan: Complete unit test plan;· Test design: Complete unit test plan;· Test implementation: Complete unit test Cases, Unit test procedures, unit test scripts and data files;· Test execution: Execute unit Test cases, modify discovered problems and perform regression tests, and submit unit test reports.Three: In
(self):#declaring a LoginPage class objectLogin_page=loginpage.loginpage (Self.driver, Self.url, U "xxxxx")#Call Open Page componentLogin_page.open ()#calling the user name Input componentlogin_page.input_username (self.username)#calling the password input componentLogin_page.input_password (Self.password)#Call Click the Login button componentlogin_page.click_submit () @classmethoddefTeardownclass (CLS): Cls.driver.quit ()if __name__=="__main__": Unittest.main ()After using POM to reconstruct t
Reproduced in this article
Grey, blue, blue, blue and blue.Links: http://www.jianshu.com/p/5188cb3ab790Source: PinterestCopyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.More technical blogs See http://blog.csdn.net/huilan_same
The first part: Selenium study site, read the content of these sites, I believe your
Opening
Today we're going to familiarize ourselves with rails ' integration testing integration test.
Brief introduction
Integration testing is primarily about testing the interactions between multiple controller, and
Label:A chapter in writing maintainable JavaScript today is devoted to Selenium automated testing of JavaScript. After understanding the strong Selenium, hands-on test of Firefox in the Selenium IDE, or quite to the force of the said, in this record.What is the Selenium IDE?
.
css, HTML validation is different
Some browsers or low versions do not support HTML5
Page alignment and div size issues
Picture position or size issues
Compatibility issues between the browser and the operating system
The above aspects not only affect the layout, even cause the function is not available, so we need to conduct cross-browser testing.How to perform Cross-browser testingIf we use Selenium webdriver, we can autom
of the driver to any of the following links to download: The system uses 2.37http:// npm.taobao.org/mirrors/chromedriver/http://selenium-release.storage.googleapis.com/index.htmlhttp:// Chromedriver.storage.googleapis.com/index.html after the download is complete, unzip, and then copy to the/usr/local/bin directory, open. Opening cannot be copied, requires permission, use the following command sudo mv/ USERS/VIP/DOWNLOADS/CHROMEDRIVER/USR/LOCAL/BIN4)
In a previous post, someone asked why the interface test was first in line. The reason is very simple, the interface is first, the interface is not good, the subsequent coding work is limited, not to get data. Traditional interface Test interface Automatic test interface Automation Continuous integration discussion of traditional interface testing
Do not know how the other people's home interface test is do
Here's the book.
Selenium is a set of tools for automating browsers
Selenium Ide:this is a Firefox add-in used to record and play back the Selenium scripts with Firefox.
Selenium Webdriver:this is a programming interface for developing advanced Selenium scripts using
Selenium Webdriver automated testing design (webdriver automated architecture design, interface definition, log processing, Java Robot applications), webdriverrobot
I would like to share with you a set of courses. If you are interested, you can add me 2748165793
For more free information, see http://blog.sina.com.cn/sonyandnokia
Happy Park of mainong
Course outline
1st chapter:
Course Overview
Unit Testing is great. In an environment where data is assumed, a system that successfully passes the test can be regarded as a good system.However, it is now possible to directly connect to external resources for integration testing to make the program more valuable. Who knows what the content vendors (suppliers, vendor) will do!
Many people have been trying t
often rely on existing translations that can change in each release, greatly increasing the volatility of automated script execution;
Translation validation testing focuses on new or changing features that are inherently unstable and prepare automated scripts for them, increasing the cost of modification and maintenance;
Also because the translation verification tests focus on new or changing features, the previously prepared automated scripts are
in the script, and calls the Webdriver API through the object to access the browser interface, directly manipulating the elements in the browser page, Even operate the browser itself (screenshots, window size, start, close, install plugins, configure certificates, etc.), so just like the real user in action.Using Selenium webdriver in a test script, regardless of the browser, the processing logic is sent through a comandexecutor command, which is act
you have searched for, as shown in:
Note: Since I have installed the Selenium IDE all in my add-ons
Restart the browser after successful installation, click "Developer" in the "menu" on the right, you can see the installed Selenium IDE components as shown in:
Click on the "Selenium IDE" pop-up window as shown in:
At th
Today, my friend asked me a few questions about the Selenium automation test, I looked at the feeling is more typical. Combined with my previous experience in automated testing, give some of the superficial answers, hope to help everyone, if you have any good views, hope to communicate with each other, learn from each other!(1) How to ensure the success rate of operating elements in
(script, *args): Executes the JS script asynchronously
browser.get(url): Loads the URL in the current window
browser.refresh(): Refreshes the current page
browser.current_window_handle: The handle of the current window, which is the same as a pointer, to point to the current window
browser.window_handles: All windows that are already open in the current browser are a list
browser.switch_to_window(window_handle): Toggles the window that window_handle points to
browser.title: The title
Recent research on new automated testing methods, QTP has been used more skilled, to develop a new method, here to do a record and encourage everyone.1, the first must be the configuration environment, step by step, first download the necessary tools:Download a Python environment, I use the Python3.4 here, I will upload it, you can download directly. It is best to use 3.4 and above, so you can install the selenium
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.