Selenium Introduction and environment constructionFirst, Brief introduction1.selenium:seleniumis one forWebTools for application testing. SeleniumThe test runs directly in the browser, just as the real user is doing. Supported browsers includeIE,Mozilla Firefox,Chromeand so on. Supports automatic recording actions and automatic generation,Net,Java,Pythontest scripts in different languages. SeleniumTestScriptcan be inWindows,Linuxand theMacintosHrunnin
The Selenium IDE is a plugin in the Firefox browser that records your actions on Firefox and replays its operations. It's easy to use, but I don't think it's very useful.
Reading Table of Contents
Selenium IDE Introduction
The role of the Selenium IDE
Selenium IDE Online Installation method one
project directory under the command prompt symbol:
D:Java \ mysel20proj>MVN Eclipse: clean
D:Java \ mysel20proj>MVN Eclipse: celipseTo execute this operation, you need to download the corresponding package for a long time.
Now import the project we have builtEclipseIf you have any questions, please refer to myMavenArticle.
Http://www.cnblogs.com/fnng/archive/2011/12/02/2272610.html
W
ideThe steps are as follows:
1) install Firefox
2) download selenim IDE (this is an xpi suffix file ).
3) drag the downloaded selenium ide file to the Firefox browser window and follow the prompts.
Http://release.seleniumhq.org/selenium-ide/1.0.8/
InstallFirebugThe steps are as follows:
1) Open the Firefox browser2) Click "tools (t)" in the menu and select "additional components" from the drop-down list
The project consultant suggested using selenium for automated testing of Web applications, and decided to automate testing of functional modules with simple business logic and stable functions, such as simple login modules. The following is a brief summary of the process.
I ran selenium on Ubuntu.1. Prepare the 1.1 Java environment
Install JDK on/usr/local/jdk1.6.0 _ 24Java ide 1.2
Because
selenium Overview Selenium is an automatic Test the tool to accurately reproduce the test cases steps written by the software tester by simulating the various actions of the user on Development environment ConfigurationTake Java as a test language as an example, create a new Java project in Eclipse test Search Engine, download the
Selenium IDE(IDE: Integrated development environment)Using Firefox 40.0.2 versionhttp://ftp.mozilla.org/pub/firefox/releases/Log in to any URL and click the IDE buttonClick the top right button to start recording--click the top right button to end the recording--click File, Save as formatThe Java files are as follows: -----------------------------------------------------------------------------------Open
process.Setting up WgetStep 1: In your C drive, create a new folder and name it as "Wget".Download Wget.exe from where and place it in the Wget folder you created from the step above.Step 2: Open Run by pressing Windows key + "R"; Type in "cmd click OKType in the command "CD/" to move to the root directoryStep 3: Type in the command to check whether the given setup is workingCMD/C c:\\wget\\wget.exe-p C:--no-check-certificate Http://demo.guru99.com/seleniu
This article summarizes the first screenshot in the first four screenshots of selenium and gives some notes on how to use it:
This article focuses on installing the selenium IDE:
Reference
Step: First install the Firefox browser (I started from firefox2.0). You can install a Firefox version for the Selenium IDE plugin. Seleni
Selenium is the most extensive web UI Automation testing framework currently in use. This series of articles will go into the brief to explain the usage of selenium.
Reading Table of Contents
The name of the selenium
Selenium means selenium (a bit QTP the killer's meaning
Selenium RC is to use programming languages to write scripts and use the selenium RC Server as a proxy server to access applications for testing. because selenium RC no longer needs to attach Firefox, it can be tested in more browsers, this is also an important issue for us to perform Web Testing (solving the important issue of testing due to browser compatibilit
Selenium RC is the use of programming language script, through the Selenium RC server as a proxy server to access the application to achieve the purpose of the test. Since Selenium RC no longer needs to be dependent on Firefox, it can be tested on a number of other browsers, And that's one of the more important things we do with web testing (solving problems that
Selenium RC Environment Configuration2011-10-19 12:58 by Zerg, 37117 read, 12 reviews, Favorites, compilationSearch on the internet for a long time, did not find a specific configuration, just simple to write a few steps, their own pondering a bit, so, would like to organize an article, easy to review later.This article is to refer to the official website of the steps carried out, of course, also do not complete the same. Here I would like to say is t
1, selenium rc+eclipse download installationJava environmentOfficial website http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html, Java in this example SE1.8, installed in the D-disk JAVA folder, note the configuration of the environment variables: New variable java_home=d:\java\jdk1.8.0_11, add%java_ in the variable path Home%\bin;. Verify that Java is installed successfully: Ent
Python + Selenium notes (11): Configure selenium Grid and pythonselenium
(1)Preface
Selenium GridTests can be distributed on several physical or virtual machines to perform tests in a distributed or parallel manner.
This link is an official description.
Https://github.com/SeleniumHQ/selenium/wiki/Grid2
(2)
Objective
The previous article, "How Selenium Webdriver is running", uses a simple example-taking a taxi to illustrate how selenium webdriver works, This article can be understood as an in-depth understanding of how selenium interacts with browser drivers, or it can be thought of as the 2.0 version of the article "How Seleniu
(reproduced online)I. Installing the JDK can beJAVADownload the latest JDK in http://www.java.com/zh_CN/download/and follow the prompts to install environment variable configuration: My Computer right----high-level--environment variables Add variable java_home, variable value such as: C:\Program files\java\jdk1.7.0_17 New variable classpath, variable value is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Modify the variable path to increase the JDK path:%java_home%\bin; Two. Install
Search on the internet for a long time, did not find a specific configuration, just simple to write a few steps, their own pondering a bit, so, would like to organize an article, easy to review later.This article is to refer to the official website of the steps carried out, of course, also do not complete the same. Here I would like to say is the Java environment, if you are used in other languages, please refer to other articles.Below, we build our environment through eclipse.Http://seleniumhq.
(i) PrefaceSelenium Grid you can distribute your tests on several physical or virtual machines to enable distribution or parallel execution of tests. This link is official and relevant.Https://github.com/SeleniumHQ/selenium/wiki/Grid2(ii) Selenium GridThat's probably what it means (a hub), n Subnodes (node, OS + browser)(iii) Environment Configuration1. Premise: The appropriate JDK environment has been conf
Selenium Driver Java Version installation method
Download Selenium-java-2.44.0.zip compressed file and unzip to the current folder, unpack and open
Download Selenium-java-client-driver-1.0.2.jar
Download Selenium-server-standalone-2.39.0.jar
Download and install the Firefox browser
I
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.