Produced by Araxis Merge on 5/10/2018 8:26:41 AM 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 | OSCIF MHED P3 Annie.zip\cms-staff-app-release-4.0.0@aff5ba84233.zip\automation_phase_2\src\test\java\com\agilex\annie\framework\pages\external | VeteranLogin.java | Thu Feb 22 10:28:51 2018 UTC |
2 | OSCIF MHED P3 Annie.zip\cms-staff-app-release-4.0.0@aff5ba84233.zip\automation_phase_2\src\test\java\com\agilex\annie\framework\pages\external | VeteranLogin.java | Wed May 9 15:10:24 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 100 |
Changed | 1 | 4 |
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 co m.agilex.a nnie.frame work.pages .external; | |
2 | ||
3 | import com .agilex.an nie.framew ork.base.A nnieDeploy ment; | |
4 | import com .agilex.an nie.framew ork.base.A nnieWebPag e; | |
5 | import com .agilex.an nie.framew ork.pages. veteran.Me ssages; | |
6 | import com .agilex.co mmon.selen ium.Driver Util; | |
7 | import com .agilex.co mmon.selen ium.WebSit e; | |
8 | ||
9 | public cla ss Veteran Login exte nds AnnieW ebPage { | |
10 | privat e static f inal Strin g PAGE_TIT LE = "Depa rtment of Veterans A ffairs - V eteran Log in Page"; | |
11 | ||
12 | // Log in form el ements | |
13 | private st atic final String FI ELD_USERNA ME
|
|
14 | private st atic final String FI ELD_PASSWO RD
|
|
15 | privat e static f inal Strin g BUTTON_C LEAR = "id =resetLogi n"; | |
16 | privat e static f inal Strin g BUTTON_S IGN_IN = " id=loginBu tton"; | |
17 | ||
18 | public VeteranLo gin(Driver Util drive rutil, Web Site webSi te) { | |
19 | su per(driver util, webS ite); | |
20 | } | |
21 | ||
22 | @Overr ide | |
23 | public String ge tPageTitle () { | |
24 | re turn PAGE_ TITLE; | |
25 | } | |
26 | ||
27 | //-------- ---------- -------Pag e Class Me thods----- ---------- ---------- ---------- | |
28 | ||
29 | public Messages logInAs(St ring usern ame, Strin g password ) { | |
30 | dr iverutil.s etElementV alue(FIELD _USERNAME, username) ; | |
31 | dr iverutil.s etElementV alue(FIELD _PASSWORD, password) ; | |
32 | dr iverutil.c lick(BUTTO N_SIGN_IN) ; | |
33 | ||
34 | if (driveruti l.getCurre ntURL().co ntains("ss oeproxy/ve teran/auth orize?resp onse_type= code&state =annievet" )){ | |
35 | AnnieDep loyment de ployment = new Annie Deployment (); | |
36 | driverut il.open(de ployment.u rlAnnieVet eranApp); | |
37 | } | |
38 | re turn (Mess ages) webS ite.setCur rentPage(M essages.cl ass); | |
39 | } | |
40 | ||
41 | public void wait ForLoginFo rm() { | |
42 | dr iverutil.w aitForVisi bleElement (FIELD_USE RNAME, def aultTimeOu tSeconds); | |
43 | } | |
44 | ||
45 | public void clic kClearButt on() { | |
46 | dr iverutil.c lick(BUTTO N_CLEAR); | |
47 | } | |
48 | ||
49 | //-------- ---------- -------Int ernal Help er Methods ---------- ---------- ---------- | |
50 | ||
51 | ||
52 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.