Skip to content

Commit d3cac42

Browse files
committed
Gradle Selenium Framework project
0 parents  commit d3cac42

File tree

226 files changed

+4757
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+4757
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/
Binary file not shown.
Binary file not shown.
1 Byte
Binary file not shown.
18.3 KB
Binary file not shown.
17 Bytes
Binary file not shown.

.gradle/5.2.1/gc.properties

Whitespace-only changes.
Binary file not shown.
Binary file not shown.
1 Byte
Binary file not shown.
17 Bytes
Binary file not shown.
24.8 KB
Binary file not shown.
17 Bytes
Binary file not shown.
18.6 KB
Binary file not shown.

.gradle/6.0.1/gc.properties

Whitespace-only changes.
9.55 MB
Binary file not shown.
19.4 KB
Binary file not shown.
17 Bytes
Binary file not shown.
39.2 KB
Binary file not shown.
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Mon Jan 13 19:06:33 EET 2020
2+
gradle.version=6.0.1
18.5 KB
Binary file not shown.

.gradle/vcs-1/gc.properties

Whitespace-only changes.

.idea/gradle.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jarRepositories.xml

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 77 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Downloads/ahmed.pdf

25.9 KB
Binary file not shown.

Downloads/order_1034.pdf

25.9 KB
Binary file not shown.

Downloads/order_1035.pdf

25.9 KB
Binary file not shown.

Downloads/order_1100.pdf

25.9 KB
Binary file not shown.

Downloads/order_1101.pdf

25.9 KB
Binary file not shown.

Downloads/order_1102.pdf

25.9 KB
Binary file not shown.

Downloads/order_1103.pdf

25.9 KB
Binary file not shown.

Downloads/order_1105.pdf

25.9 KB
Binary file not shown.

Downloads/order_1245.pdf

25.9 KB
Binary file not shown.

Downloads/order_1246.pdf

26 KB
Binary file not shown.

Downloads/order_1265.pdf

26 KB
Binary file not shown.

Downloads/order_1269.pdf

26.1 KB
Binary file not shown.

Downloads/order_2981.pdf

25.9 KB
Binary file not shown.

Downloads/order_2982.pdf

25.9 KB
Binary file not shown.

Downloads/order_2983.pdf

25.9 KB
Binary file not shown.

Downloads/order_2984.pdf

25.9 KB
Binary file not shown.

README.md

Lines changed: 17 additions & 0 deletions
227 KB
27 KB
32.7 KB
32.7 KB
91.8 KB
91.9 KB
28.9 KB
49 KB
5.31 KB

Screenshots/UsercanuseContactUs.png

25.2 KB

Screenshots/addQunatity.png

Screenshots/backToHomePage.png

236 KB

Screenshots/feature.png

112 KB
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"007c1ebf-a753-40e3-bc9d-35e823ba8e50","name":"tests.RegisteredUserCheckoutProduct","children":["669cc250-db1e-49d4-b718-368665a5dac5","0c6d9515-e484-4662-8135-5c3d588f0041","47706ec8-bf2c-46ea-b379-df853c8fbec6","fac6de32-02f0-432b-92f6-2d803e306af5","91bfe908-750a-4e22-a059-2506b6792953"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935304024,"stop":1578935304674}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935358183,"stop":1578935358218}],"links":[],"start":1578935303954,"stop":1578935358428}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"UserCanSearchWithAutoSuggest","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578935311341,"stop":1578935323710,"uuid":"0c6d9515-e484-4662-8135-5c3d588f0041","historyId":"a1dc635036a72315ebd6c53020c3c648","fullName":"tests.RegisteredUserCheckoutProduct.UserCanSearchWithAutoSuggest","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanSearchWithAutoSuggest"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14528@DESKTOP-TD6L0N5.Test worker(11)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"1c3bb790-27a4-4296-a011-e7f563370f89","name":"Regression Test","children":["669cc250-db1e-49d4-b718-368665a5dac5","0c6d9515-e484-4662-8135-5c3d588f0041","47706ec8-bf2c-46ea-b379-df853c8fbec6","fac6de32-02f0-432b-92f6-2d803e306af5","91bfe908-750a-4e22-a059-2506b6792953"],"befores":[],"afters":[],"links":[],"start":1578935303954,"stop":1578935358413}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"addQunatity","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578935323740,"stop":1578935330796,"uuid":"47706ec8-bf2c-46ea-b379-df853c8fbec6","historyId":"da63050d9ce040b2a1876febbda3f68a","fullName":"tests.RegisteredUserCheckoutProduct.addQunatity","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"addQunatity"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14528@DESKTOP-TD6L0N5.Test worker(11)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"55e3d1dc-3bb3-438e-96c9-185d1d593d3e","name":"tests.TestBase.screenshotOnFailure","children":["669cc250-db1e-49d4-b718-368665a5dac5"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935311246,"stop":1578935311246}],"links":[],"start":1578935311246,"stop":1578935311246}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"UserCanRegisterSuccessfully","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578935304804,"stop":1578935311121,"uuid":"669cc250-db1e-49d4-b718-368665a5dac5","historyId":"d4a7102453ebc13cc20b78e4135256ff","fullName":"tests.RegisteredUserCheckoutProduct.UserCanRegisterSuccessfully","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanRegisterSuccessfully"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14528@DESKTOP-TD6L0N5.Test worker(11)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"RegisteredUserCanLogout","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578935355369,"stop":1578935358173,"uuid":"91bfe908-750a-4e22-a059-2506b6792953","historyId":"baf0c11c8d7d3a4b5c502daf641757f1","fullName":"tests.RegisteredUserCheckoutProduct.RegisteredUserCanLogout","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"RegisteredUserCanLogout"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14528@DESKTOP-TD6L0N5.Test worker(11)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"b737ffb4-a691-47be-9616-08d78d9cfba8","name":"nopcommerce Regression Suite","children":["1c3bb790-27a4-4296-a011-e7f563370f89"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935271622,"stop":1578935303949}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935358433,"stop":1578935358433}],"links":[],"start":1578935271572,"stop":1578935358433}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"bbae7ff6-2f52-44af-bd87-7522124b38a9","name":"tests.TestBase.screenshotOnFailure","children":["91bfe908-750a-4e22-a059-2506b6792953"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935358178,"stop":1578935358178}],"links":[],"start":1578935358178,"stop":1578935358178}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"c2c02572-228e-474a-b961-16eca4cd7b2f","name":"tests.TestBase.screenshotOnFailure","children":["0c6d9515-e484-4662-8135-5c3d588f0041"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935323725,"stop":1578935323725}],"links":[],"start":1578935323725,"stop":1578935323725}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"e33e236e-767c-4ba9-816e-80089d42ca7a","name":"tests.TestBase.screenshotOnFailure","children":["47706ec8-bf2c-46ea-b379-df853c8fbec6"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935330806,"stop":1578935330806}],"links":[],"start":1578935330806,"stop":1578935330806}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"uuid":"e907f590-d3d4-40ae-9ad6-2e4bb567abc9","name":"tests.TestBase.screenshotOnFailure","children":["fac6de32-02f0-432b-92f6-2d803e306af5"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578935355354,"stop":1578935355354}],"links":[],"start":1578935355354,"stop":1578935355354}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"UserCanCheckoutProduct","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578935330821,"stop":1578935355339,"uuid":"fac6de32-02f0-432b-92f6-2d803e306af5","historyId":"20f5e31be767c8385d61772c7355e5df","fullName":"tests.RegisteredUserCheckoutProduct.UserCanCheckoutProduct","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanCheckoutProduct"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14528@DESKTOP-TD6L0N5.Test worker(11)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]}

build.gradle

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group 'SeleniumFramwork'
6+
version '1.0-SNAPSHOT'
7+
8+
sourceCompatibility = 1.8
9+
10+
repositories {
11+
mavenCentral()
12+
}
13+
test {
14+
useTestNG()
15+
{
16+
useDefaultListeners=true
17+
suites 'src/test/resources/testng.xml'
18+
}
19+
}
20+
21+
dependencies {
22+
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
23+
compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.14.0'
24+
// https://mvnrepository.com/artifact/info.cukes/cucumber-java
25+
compile group: 'info.cukes', name: 'cucumber-java', version: '1.2.5'
26+
// https://mvnrepository.com/artifact/info.cukes/cucumber-core
27+
compile group: 'info.cukes', name: 'cucumber-core', version: '1.2.5'
28+
// https://mvnrepository.com/artifact/info.cukes/cucumber-testng
29+
compile group: 'info.cukes', name: 'cucumber-testng', version: '1.2.5'
30+
// https://mvnrepository.com/artifact/io.cucumber/gherkin
31+
compile group: 'io.cucumber', name: 'gherkin', version: '9.0.0'
32+
// https://mvnrepository.com/artifact/com.opencsv/opencsv
33+
compile group: 'com.opencsv', name: 'opencsv', version: '5.0'
34+
// https://mvnrepository.com/artifact/io.qameta.allure/allure-testng
35+
compile group: 'io.qameta.allure', name: 'allure-testng', version: '2.13.1'
36+
// https://mvnrepository.com/artifact/com.codeborne/phantomjsdriver
37+
compile group: 'com.codeborne', name: 'phantomjsdriver', version: '1.4.4'
38+
// https://mvnrepository.com/artifact/com.github.javafaker/javafaker
39+
compile group: 'com.github.javafaker', name: 'javafaker', version: '1.0.1'
40+
// https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml
41+
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '4.1.1'
42+
// https://mvnrepository.com/artifact/com.googlecode.json-simple/json-simple
43+
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
44+
// https://mvnrepository.com/artifact/org.testng/testng
45+
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
}
Binary file not shown.
1.99 KB
Binary file not shown.
Binary file not shown.
1.08 KB
Binary file not shown.
2.18 KB
Binary file not shown.
1009 Bytes
Binary file not shown.
Binary file not shown.
1020 Bytes
Binary file not shown.
1.51 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.73 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
946 Bytes
Binary file not shown.
2.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
471 Bytes
Binary file not shown.
3.92 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4.81 KB
Binary file not shown.
2.63 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.88 KB
Binary file not shown.
356 Bytes
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5+
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
6+
<title>Test results - Class tests.RegisteredUserCheckoutProduct</title>
7+
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
8+
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
9+
<script src="../js/report.js" type="text/javascript"></script>
10+
</head>
11+
<body>
12+
<div id="content">
13+
<h1>Class tests.RegisteredUserCheckoutProduct</h1>
14+
<div class="breadcrumbs">
15+
<a href="../index.html">all</a> &gt;
16+
<a href="../packages/tests.html">tests</a> &gt; RegisteredUserCheckoutProduct</div>
17+
<div id="summary">
18+
<table>
19+
<tr>
20+
<td>
21+
<div class="summaryGroup">
22+
<table>
23+
<tr>
24+
<td>
25+
<div class="infoBox" id="tests">
26+
<div class="counter">5</div>
27+
<p>tests</p>
28+
</div>
29+
</td>
30+
<td>
31+
<div class="infoBox" id="failures">
32+
<div class="counter">0</div>
33+
<p>failures</p>
34+
</div>
35+
</td>
36+
<td>
37+
<div class="infoBox" id="ignored">
38+
<div class="counter">0</div>
39+
<p>ignored</p>
40+
</div>
41+
</td>
42+
<td>
43+
<div class="infoBox" id="duration">
44+
<div class="counter">53.189s</div>
45+
<p>duration</p>
46+
</div>
47+
</td>
48+
</tr>
49+
</table>
50+
</div>
51+
</td>
52+
<td>
53+
<div class="infoBox success" id="successRate">
54+
<div class="percent">100%</div>
55+
<p>successful</p>
56+
</div>
57+
</td>
58+
</tr>
59+
</table>
60+
</div>
61+
<div id="tabs">
62+
<ul class="tabLinks">
63+
<li>
64+
<a href="#tab0">Tests</a>
65+
</li>
66+
<li>
67+
<a href="#tab1">Standard output</a>
68+
</li>
69+
</ul>
70+
<div id="tab0" class="tab">
71+
<h2>Tests</h2>
72+
<table>
73+
<thead>
74+
<tr>
75+
<th>Test</th>
76+
<th>Duration</th>
77+
<th>Result</th>
78+
</tr>
79+
</thead>
80+
<tr>
81+
<td class="success">RegisteredUserCanLogout</td>
82+
<td class="success">2.809s</td>
83+
<td class="success">passed</td>
84+
</tr>
85+
<tr>
86+
<td class="success">UserCanCheckoutProduct</td>
87+
<td class="success">24.528s</td>
88+
<td class="success">passed</td>
89+
</tr>
90+
<tr>
91+
<td class="success">UserCanRegisterSuccessfully</td>
92+
<td class="success">6.417s</td>
93+
<td class="success">passed</td>
94+
</tr>
95+
<tr>
96+
<td class="success">UserCanSearchWithAutoSuggest</td>
97+
<td class="success">12.374s</td>
98+
<td class="success">passed</td>
99+
</tr>
100+
<tr>
101+
<td class="success">addQunatity</td>
102+
<td class="success">7.061s</td>
103+
<td class="success">passed</td>
104+
</tr>
105+
</table>
106+
</div>
107+
<div id="tab1" class="tab">
108+
<h2>Standard output</h2>
109+
<span class="code">
110+
<pre>No features found at [classpath:tests]
111+
https://demo.nopcommerce.com/
112+
</pre>
113+
</span>
114+
</div>
115+
</div>
116+
<div id="footer">
117+
<p>
118+
<div>
119+
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
120+
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
121+
</label>
122+
</div>Generated by
123+
<a href="http://www.gradle.org">Gradle 6.0.1</a> at Jan 13, 2020 7:09:19 PM</p>
124+
</div>
125+
</div>
126+
</body>
127+
</html>
157 Bytes

0 commit comments

Comments
 (0)