Selenium is very helpful for our web automation testing, if we want to carry out a wide range of test coverage, we can not only run on one or two machines, the same selenium-grid also provide us with such help, We can easily build a distributed test environment with Selenium-grid. Unlike some of the other common distributed programs "such as: Hudson",
Method/Step
1Create the Maven folder on the E drive first,Then create the maven0703 folder in MavenFinally, create the SRC folder and the Pom.xml file under maven0703650) this.width=650; "class=" Exp-image-default "alt=" maven tutorial Getting Started MAVEN configuration management compiling Java program "src=" htt
I. Configuring the MAVEN Environment1. Download the Apache-maven file, select the version you need, address: Apache official is http://maven.apache.org/download.cgi2. Download and file, I extract to: D:\xxmp\apache-maven-3.2.23. Configure MAVEN Environment variablesA. maven_home:d:\xxmp\apache-
How to install MAVEN on Windows 7from:http://howtodoinjava.com/2013/01/02/how-to-install-maven-on-windows-7/and:http://howtodoinjava.com/2013/01/06/adding-m2_repo-classpath-variable-in-eclipse-ide/Maven is a build and dependency management tool for Java based application development. Just Like other
No Java flags, not recognized as Java projects, right-click Project-->properties-->project facets--> tick java OK.No maven DependenciesFrom other projects with Maven dependencies, locate the. project file, open it, putCopy to the project that has the problem. ProjectEclipse
Installation EnvironmentMy environment is Mac + firefox42 + Selenium 2.9.1Download link for Firefox history version: http://ftp.mozilla.org/pub/firefox/releases/This experiment requires downloading a large number of jar packages, as shown inThe students who need to download the link can private me--Experimental process
Open Selenium, record a series of actions, my operation is to visit https://psyc
needs to meet some conditions that require that at least one pom.xml file be in the project root path, and you can choose to have the file organized in a default or non-compliant way (configuration required).Please refer to the official documentation or the following blog introduction for specific pom.xml configuration.3. Common MAVEN project file structureFiles and their placement paths that are common in MAVEN
Export the recorded script to the Java format firstEdit and run test in eclipse2.1 Create a new Java Project:file-new-java project2.2 Right-click on the project name that you built in the previous step, tap build Path-add External Archives ..., Selenium-java-2.21.0.jar (clie
Intellij idea as the best Java IDE, it's easier to create a MAVEN project, but to create a MAVEN Web project or to modify some of the configurations, let's summarize them.1 PrefaceIn the project creation, IDEA provides a number of project templates, such as the Spring MVC template, which can be directly created with a MAVEN
Windows zip here.After the download is complete, you can view the corresponding Tomcat locally, my tomcat is stored in the D:\Program Files\linux\tomcat, and the downloaded file name is apache-tomcat-7.0.69.tar.gz.1, 4 download Jdk7Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/80/0D/wKioL1c1pFrDawziAAAicnfJhhw149.png "title=" 4.png " alt= "Wkiol1c1pfrdawzi
General MAVEN needs to be integrated into the IDE instead of being used alone, and common Maven integrates ide:eclipse, IntelliJ idea. But here's a MAVEN environment configuration based on just learning about eclipse integrated maven.
Installation of the Maven plugi
调试十分困难。 Because the page may have a lazy load situation. Although the page has been rendered, there may be ajx lazy loading. Some elements need to wait until the AJAX call is complete before they can be displayed. At this point, you need to add a wait mechanism on the page./** * 用于等待某个元素出现,软等待 * @param by */public boolean wait(final By by){ new WebDriverWait(driver, 10).until(new ExpectedConditionFor example, you want to find an element that id= "name":if (wait(By.id("name"))) xxx;else
Selenium1,selenium IDE mac installation Open the Firefox browser, go to the following URL https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/, Click Add to Firefox. Can be added to the toolbar. NBSP;2,SELENIUM1) version of the jar package download: http://selenium-release.storage.googleapis.com/ Index.html the system uses the 2.50.1 to create a new
example, a landing page, using the PO mode, will create a LoginPage class, the class will define the user name input box, password input box, login button webelenentFor the corresponding element to implement the corresponding method, the input box is used to input, you need to create a user name and enter the password method, so that the real page consistent, so the design concept is PO mode. The pagefactory belongs to the PO mode, which is used to initialize the page Class of each PO pattern i
Test courses at school, access to automated management tools, and work with teaching assistants to change jobs, so think about learning selenium, a powerful web automation tool.1.lenium official website: http://www.seleniumhq.org/Download the Selenium installation package here, I downloaded the selenium-java-3.8.0. The
1.3. Add M2_home and Maven_homeAdd the M2_home and Maven_home environment variables to the WINDOWS environment variable and point it to your MAVEN folder.M2_home or Maven_homeMaven says it just adds M2_home, but some projects still refer to Maven's folder Maven_home, so add it for security.4. Add to environment variable-PATHUpdate the PATH variable, add the Maven Bin folder to the end of path, such as:%m2_h
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
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.