Produced by Araxis Merge on 4/2/2019 1:08:01 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\SeleniumUCP\src\automation | ExplorerSuite.java | Wed Mar 27 19:16:14 2019 UTC |
2 | C:\AraxisMergeCompare\Pri_re\ARS_Frontend\ars-app\SeleniumUCP\src\automation | ExplorerSuite.java | Fri Mar 29 18:01:33 2019 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 88 |
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.rem ote.Desire dCapabilit ies; | |
11 | ||
12 | ||
13 | ||
14 | public cla ss Explore rSuite { | |
15 | // //prot ected Stri ng baseUrl = "http:/ /localhost :4200/"; | |
16 | ||
17 | protected static Str ing baseUr l = "https :// 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 | public s tatic WebD river driv er; | |
21 | ||
22 | // Run o nce, e.g. Database c onnection, connectio n pool | |
23 | ||
24 | @BeforeC lass | |
25 | ||
26 | public s tatic void runOnceBe foreClass( ) { | |
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 | d river.mana ge().windo w().maximi ze(); | |
33 | Share dCodeClass .createRep ort(); | |
34 | drive r.get(base Url); | |
35 | Share dCodeClass .navigateT oFPS(); | |
36 | } | |
37 | ||
38 | // Run o nce, e.g c lose conne ction, cle anup | |
39 | @AfterCl ass | |
40 | public s tatic void runOnceAf terClass() throws IO Exception { | |
41 | System.out .println(" After clas s"); | |
42 | drive r.close(); | |
43 | Share dCodeClass .closeRepo rt(); | |
44 | } | |
45 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.