Produced by Araxis Merge on 4/2/2019 1:07:47 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | C:\AraxisMergeCompare\Pri_un\ARS_Frontend\ars-app\SeleniumTests\src\automation | ExplorerSuite.java | Wed Mar 27 19:16:16 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Frontend\ars-app\SeleniumTests\src\automation | ExplorerSuite.java | Fri Mar 29 17:58:52 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 84 |
Changed | 1 | 2 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | package au tomation; | |
2 | ||
3 | import jav a.io.File; | |
4 | import jav a.io.IOExc eption; | |
5 | ||
6 | import org .junit.Aft erClass; | |
7 | import org .junit.Bef oreClass; | |
8 | import org .openqa.se lenium.Web Driver; | |
9 | import org .openqa.se lenium.ie. InternetEx plorerDriv er; | |
10 | import org .openqa.se lenium.ie. InternetEx plorerOpti ons; | |
11 | import org .openqa.se lenium.rem ote.Desire dCapabilit ies; | |
12 | import org .openqa.se lenium.sup port.ui.We bDriverWai t; | |
13 | ||
14 | public cla ss Explore rSuite { | |
15 | //protec ted String baseUrl = "http://l ocalhost:4 200/"; | |
16 | ||
17 | protected String bas eUrl = "ht tps:// SERVER . DOMAIN . EXT :3003/"; | |
18 | static F ile file = new File( "drivers/I EDriverSer ver.exe"); | |
19 | static S tring driv erPath = f ile.getAbs olutePath( ); | |
20 | protecte d static W ebDriver d river; | |
21 | ||
22 | ||
23 | // Run o nce, e.g. Database c onnection, connectio n pool | |
24 | @BeforeCl ass | |
25 | public s tatic void runOnceBe foreClass( ) { | |
26 | // Sys tem.out.pr intln("@Be foreClass - runOnceB eforeClass "); | |
27 | S ystem.setP roperty("w ebdriver.i e.driver", driverPat h); | |
28 | D esiredCapa bilities c ap; | |
29 | c ap = Desir edCapabili ties.inter netExplore r(); | |
30 | c ap.setCapa bility("en ablePersis tentHover" , false); | |
31 | d river = ne w Internet ExplorerDr iver(cap); | |
32 | Share dCodeClass .createRep ort(); | |
33 | ||
34 | } | |
35 | ||
36 | // Run o nce, e.g c lose conne ction, cle anup | |
37 | @AfterCl ass | |
38 | public s tatic void runOnceAf terClass() throws IO Exception { | |
39 | // Syst em.out.pri ntln("@Aft erClass - runOnceAft erClass"); | |
40 | driv er.quit(); | |
41 | Share dCodeClass .closeRepo rt(); | |
42 | } | |
43 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.