Produced by Araxis Merge on 12/7/2018 11:36:06 AM Central Standard 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:\SCRUB\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\test\watir-ruby\pages | login.rb | Mon Oct 22 23:25:20 2018 UTC |
| 2 | C:\MHED-scrubbed\MHED\MHED\VAR 4.10.0\var-web-release-4.10@e10f18de1ef\veteran-appointment-requests\test\watir-ruby\pages | login.rb | Fri Dec 7 13:25:42 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 68 |
| Changed | 2 | 8 |
| 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 | require 'p age-object ' | |
| 2 | #require_r elative '. ./module/d atabase/My SqlUtility ' | |
| 3 | require_re lative '.. /module/da tabase/Ora cleUtility ' | |
| 4 | ||
| 5 | class Logi n | |
| 6 | include PageObject | |
| 7 | #include MySqlUtil ity | |
| 8 | include OracleUtil ity | |
| 9 | ||
| 10 | text_fie ld(:userNa me, :id => 'name-c') | |
| 11 | text_fie ld(:passwo rd, :id => 'password ') | |
| 12 | button(: login, :id => 'login Button') | |
| 13 | button(: clear, :id => 'reset Login') | |
| 14 | button(: server_err or_ok, :id => '#serv er-error-o k-btn') | |
| 15 | span(:lo ginAs, :cs s => 'span [ng-if="us erName"]') | |
| 16 | h2(:titl e, :css => "h2") | |
| 17 | ||
| 18 | expected _title "VE TERAN LOGI N" | |
| 19 | ||
| 20 | def logi n_with(use r) | |
| 21 | setDef aultROAFor Patient(us er["userid "]) | |
| 22 | Watir: :Wait.unti l {login?} | |
| 23 | userNa me_element .when_visi ble | |
| 24 | self. V s ID
|
|
| 25 | self. V s ID
|
|
| 26 | self.l ogin | |
| 27 | end | |
| 28 | ||
| 29 | def logi n_without_ passing_RO A(username , password , patientI D) | |
| 30 | delete UserFromRi ghtOfAcces s(patientI D) | |
| 31 | Watir: :Wait.unti l {login?} | |
| 32 | userNa me_element .when_visi ble | |
| 33 | self. V s ID
|
|
| 34 | self. V s ID
|
|
| 35 | login | |
| 36 | end | |
| 37 | ||
| 38 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.