-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHowToDeploy.txt
50 lines (46 loc) · 2.16 KB
/
HowToDeploy.txt
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
Install these products in order, versions will likely be out of date but you should get the latest:
Firefox 33.1.1
Found at https://www.mozilla.org/en-US/firefox/new/
Java SE 8u25
Found at http://www.oracle.com/technetwork/articles/javase/index-jsp-138363.html
JUnit 4.11
Found at https://github.com/junit-team/junit/wiki/Download-and-Install
TestNG 6.8.21
Found at http://testng.org/doc/download.html
Hamcrest 1.3
Found at https://code.google.com/p/hamcrest/downloads/list
Selenium 2.44.0 (update)
Found at http://www.seleniumhq.org/download/
SQLite 3.8.7.1
Found at https://bitbucket.org/xerial/sqlite-jdbc/downloads
Eclipse Version: Kepler Service Release 2, Build id: 20140224-0627
Found at https://www.eclipse.org/downloads/
Eclipse Add-Ins In Eclipse menu under: Help | Eclipse Marketplace...
Eclipse Java 8 Support (for Kepler SR2) JDT, PDE, 1.0.0
Java 8 support for Eclipse Kepler SR2
Create a java project (File | New | Java Project)
Add a source directory (File | New | Source Folder)
Add the following packages (File | New | Package)
com.selenium.wikitest.bugs
com.selenium.wikitest.shared
com.selenium.wikitest.webpage
com.selenium.wikitest.webpage.homepage
com.selenium.wikitest.webpage.homepage.automatedtests
com.selenium.wikitest.webpage.homepage.automatedtests.junit
com.selenium.wikitest.webpage.homepage.automatedtests.testng
com.selenium.wikitest.webpage.homepage.data
Right-click on project, select Properties
Click on Java Build Path
Click on Libraries tab
Click on the Add External JARs... button
Add all jars downloaded above (JUnit, Hamcrest, Selenium, and SQLite)
Go to http://github.com/doncarver/WikiTestSelenium click the Download ZIP button
Drag and drop .java files from the zip into the appropriate packages in Eclipse
Open the file HomePageSuite.java
From the package com.selenium.junit.wikitestrun
Run suites from the menu (Run | Run)
Or, for a quick run of a single test use TestLanguageDisplay.java
From the package: com.selenium.wikitest.webpage.homepage.automatedtests.junit
OR
From the package: com.selenium.wikitest.webpage.homepage.automatedtests.testng
Run individual tests from the menu (Run | Run As | JUnit Test)