forked from SeleniumHQ/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quick.html
55 lines (44 loc) · 2.3 KB
/
quick.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<meta charset=utf-8>
<title>Quick Tour</title>
<link rel=stylesheet href=se.css>
<link rel=prev href=index.html title="Table of Contents">
<link rel=next href=intro.html title=Introduction>
<script src=docs.js></script>
<h1>Quick Tour</h1>
Selenium is not just one tool or API but it composes many tools -
<h2>WebDriver</h2>
<p><em><a href=wd.html>WebDriver</a></em>, is also known as Selenium
2. If you are beginning with desktop website test automation then you
are going to be using WebDriver APIs. WebDriver uses browser
automation APIs provided by browser vendors to control browser and
run tests. This is as if real user is operating the browser. Since
WebDriver does not require its API to be compiled with application
code hence it is not intrusive in nature. Hence you are testing the
same application which you push live.
<h2>Selenium Remote Control</h2>
<p><em><a href=rc.html>Selenium Remote Control</a></em>, is also known
as Selenium 1. Selenium RC was the most prominent Selenium tool
before the advent of Selenium WebDriver. Selenium RC would use a
proxy server and inject java script in browser to be able to control
it. Given the intrusive nature Selenium RC had on browser,
you were never sure if you are pushing the same application live what
you tested. Selenium 2 APIs yet contain Selenium RC APIs but
Selenium 3 would completely get rid of Selenium RC APIs. If you are
still using Selenium RC then you must
<em><a href=rctowd.html>migrate</a></em> to Selenium WebDriver.
<h2>Selenium IDE</h2>
<p><em><a href=ide.html>Selenium IDE</a></em>, is a
firefox plugin which can be used to record test steps on a firefox
browser. Selenium IDE can be used to generate <i>quick and dirty</i>
test code and convert in a variety of programming languages (i.e. c#,
java, python and ruby). Given the maintainability of code generated
through Selenium IDE, it is not recommended to use it for any thing
more than getting acquainted with element locators or generating
<i>throw away code</i>. We are sure that once you get used to
WebDriver API then you will never use Selenium IDE.
<h2>Selenium Grid</h2>
<p> Soon after development of WebDriver tests you may face need of
running your test on multiple combinations of browser/operating
system. This is where <em><a href=grid.html>Selenium Grid</a></em>
comes to rescue.