Produced by Araxis Merge on 5/29/2018 12:14:36 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 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test | README.md | Wed Apr 4 20:16:44 2018 UTC |
2 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test | README.md | Tue May 29 16:07:01 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 2 | 196 |
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 | # Test Obj ective | |
2 | * Automate 100 perce nt of the test cases . | |
3 | * Provide Report to client | |
4 | ||
5 | ||
6 | # Test Env ironment | |
7 | * Tests ne ed to run only on Lo cal Enviro nment (Aut omation do esn't supp ort other envirnment ) | |
8 | ||
9 | ## Environ ment Depen dencies: | |
10 | * Intellij (IDE) Use for workin g with the automatio n test (co mmand line usage bel ow) | |
11 | * Browser: Support f or Firefox with 45, 46.0.1 onl y | |
12 | * Ruby 2.2 + higher r equired | |
13 | ||
14 | ``` | |
15 | gem instal l <individ ual gem> | |
16 | ||
17 | # bulk ins tall of al l gems in a Gemfile (sample be low) | |
18 | bundle ins tall | |
19 | ``` | |
20 | ||
21 | ```ruby | |
22 | gem "mongo ", "~> 2.4 .1" | |
23 | gem "compa ss", "~> 0 .12.2" | |
24 | gem "json" , "~> 1.8. 1" | |
25 | gem "activ esupport", "~> 4.1.8 " | |
26 | gem "mongo -import" | |
27 | gem "page- object", " ~> 1.0.2" | |
28 | gem "rspec ", "~> 2.1 4.1" | |
29 | gem "ruby- mysql", "~ > 2.9.13" | |
30 | gem "sprea dsheet", " ~> 1.0.0" | |
31 | gem "watir -webdriver ", "~> 0.6 .11" | |
32 | gem "selen ium-webdri ver" | |
33 | gem "ruby- oci8", "~> 2.2.1" | |
34 | gem "allur e-rspec" | |
35 | ``` | |
36 | * remove c ollection need to co mmented if test have issue wit h indexes being drop ped when t he tables are re-cre ated | |
37 | ||
38 | * Report: Allure rep ort use fo r generati ng automat ion test r eport | |
39 | ||
40 | ## Command Line Usag e | |
41 | ### Comman ds to Run Tests: | |
42 | ||
43 | ```bash | |
44 | # RunAccep tanceTest | |
45 | rspec --ta g acceptan ce --color spec/. -- format doc umentation | |
46 | ||
47 | # RunBroke nTest | |
48 | rspec --ta g broken - -color spe c/ --forma t document ation | |
49 | ||
50 | # RunRegre ssionOnlyT est | |
51 | rspec --ta g regressi on --color spec/. -- format doc umentation | |
52 | ||
53 | # RunRegre ssionTest | |
54 | rspec --ta g acceptan ce --tag r egression --tag smok etest --co lor spec/. --format nested | |
55 | ||
56 | # RunSmoke AndAccepta nceTest | |
57 | rspec --ta g acceptan ce --tag s moketest s pec/. --fo rmat docum entation | |
58 | ||
59 | # RunSmoke Test | |
60 | rspec --ta g smoketes t --color spec/. --f ormat docu mentation | |
61 | ||
62 | # RunTest | |
63 | rspec --co lor --tag regression --tag acc eptance -- tag broken --tag smo ketest $1 --format d ocumentati on | |
64 | ``` | |
65 | ||
66 | * Path of the Automa tion Test: Projects/ mobile-kid ney-web/ac ceptance_t est/ | |
67 | * Path of the Allure report: m obile-kidn ey-web/acc eptance_te st/allure- report/ind ex.html#/ | |
68 | ||
69 | ||
70 | # Selenium Docker In structions | |
71 | ||
72 | * `cd` int o `mobile- kidney-web ` | |
73 | ||
74 | * Run the following command: `docker-co mpose stop ` | |
75 | ||
76 | ### Add th e below co de to the docker-com pose.yml f ile | |
77 | ||
78 | ``` | |
79 | selenium_h ub: | |
80 | image: 'selenium /hub:lates t' | |
81 | ports: | |
82 | - "4 444:4444" | |
83 | ||
84 | selenium _node: | |
85 | image: 'selenium /node-fire fox:2.53.0 ' | |
86 | ports: | |
87 | - "5 900" | |
88 | depend s_on: | |
89 | - se lenium_hub | |
90 | enviro nment: | |
91 | - HUB_PORT _ PORT _TCP_ADDR= selenium_h ub | |
92 | - HUB_PORT _ PORT _TCP_PORT= PORT | |
93 | ``` | |
94 | ||
95 | * `cd` int o `mobile- kidney-web ` | |
96 | ||
97 | * Run the following command: `docker-co mpose up - d --build` | |
98 | ||
99 | * Open the DriverOpe rationsMod ule.rb fil e, and cha nge the op tional par ameter val ue to `$RE MOTE` for the `init ializeConf igurations ` method | |
100 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.