├── Execution Demo.mp4 ├── README.md ├── automation.out ├── images ├── allure-graph.png ├── allure-report.PNG ├── allure-timeline.png ├── allure-xunit.PNG ├── allure-xunit1.PNG ├── allure-xunit2.PNG ├── behavior1.PNG ├── behavior2.PNG ├── cucucmber-pretty.pdf ├── cucumber-advance.pdf ├── cucumber-advance1.png ├── cucumber-advanced2.PNG ├── cucumber-pretty-advanced.PNG ├── cucumber-pretty1.PNG ├── cucumber-pretty2.png └── directoryStructure.PNG ├── log4j.properties ├── pom.xml ├── src ├── main │ └── java │ │ └── com │ │ └── cucumberFramework │ │ ├── enums │ │ ├── Browsers.java │ │ └── OS.java │ │ ├── helper │ │ ├── Constants.java │ │ ├── LoggerHelper.java │ │ └── WaitHelper.java │ │ ├── pageObjects │ │ └── LoginLogoutPage.java │ │ ├── stepdefinitions │ │ ├── ServiceHooks.java │ │ └── loginLogoutPageStepDefinitions.java │ │ ├── testBase │ │ └── TestBase.java │ │ └── testRunner │ │ └── TestRunner.java └── test │ └── resources │ ├── drivers │ ├── chromedriver │ └── chromedriver.exe │ └── features │ └── login │ └── login_logout.feature ├── target ├── allure-results │ ├── 174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png │ ├── 2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png │ ├── 3f398609-5a30-4bc1-bf89-446359fa0fa3-testsuite.xml │ ├── 552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png │ ├── 5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png │ ├── 71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png │ ├── 77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png │ ├── 789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png │ ├── 91ed7cbc-0575-4514-9df2-47d47a50db5a-testsuite.xml │ └── c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png ├── classes │ ├── META-INF │ │ ├── MANIFEST.MF │ │ └── maven │ │ │ └── com │ │ │ └── cucumberFramework │ │ │ ├── pom.properties │ │ │ └── pom.xml │ └── com │ │ └── cucumberFramework │ │ ├── enums │ │ ├── Browsers.class │ │ └── OS.class │ │ ├── helper │ │ ├── Constants.class │ │ ├── LoggerHelper.class │ │ └── WaitHelper.class │ │ ├── pageObjects │ │ └── LoginLogoutPage.class │ │ ├── stepdefinitions │ │ ├── ServiceHooks.class │ │ └── loginLogoutPageStepDefinitions.class │ │ ├── testBase │ │ └── TestBase.class │ │ └── testRunner │ │ └── TestRunner.class ├── cucumber-reports │ ├── CucumberTestReport.json │ ├── advanced-reports │ │ └── cucumber-html-reports │ │ │ ├── css │ │ │ ├── bootstrap.min.css │ │ │ ├── cucumber.css │ │ │ └── font-awesome.min.css │ │ │ ├── embeddings │ │ │ ├── embedding_-941236087.png │ │ │ ├── embedding_1572204334.png │ │ │ ├── embedding_89814534.png │ │ │ └── embedding_917744814.png │ │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.svg │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ ├── fontawesome-webfont.woff2 │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ ├── images │ │ │ └── favicon.png │ │ │ ├── js │ │ │ ├── Chart.min.js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery.min.js │ │ │ ├── jquery.tablesorter.min.js │ │ │ └── moment.min.js │ │ │ ├── overview-failures.html │ │ │ ├── overview-features.html │ │ │ ├── overview-steps.html │ │ │ ├── overview-tags.html │ │ │ └── report-feature_src-test-resources-features-login-login_logout-feature.html │ ├── cucumber-pretty │ │ ├── embedded0.png │ │ ├── embedded1.png │ │ ├── embedded2.png │ │ ├── embedded3.png │ │ ├── formatter.js │ │ ├── index.html │ │ ├── jquery-1.8.2.min.js │ │ ├── report.js │ │ └── style.css │ └── rerun.txt ├── maven-status │ └── maven-compiler-plugin │ │ └── compile │ │ └── default-compile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst ├── site │ ├── allure-maven-plugin.html │ ├── allure-maven-plugin │ │ ├── 1e07e63bbecccb93b06ffd6b43b46e4d.svg │ │ ├── 3fb9611bab3151e965e023162e86089a.svg │ │ ├── 61aae920ab2f8fe604ba57b135aa9919.png │ │ ├── 64b1e3c3d94863c86e92e89aea3a5c99.svg │ │ ├── 674f50d287a8c48dc19ba404d20fe713.eot │ │ ├── 912ec66d7572ff821749319396470bde.svg │ │ ├── af7ae505a9eed503f8b8e6982036873e.woff2 │ │ ├── app.js │ │ ├── b06871f281fee6b241d60582ae9369b9.ttf │ │ ├── data │ │ │ ├── 174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png │ │ │ ├── 215067456f4409ae-testcase.json │ │ │ ├── 27da5f7fbd7cdaa-testcase.json │ │ │ ├── 2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png │ │ │ ├── 552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png │ │ │ ├── 5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png │ │ │ ├── 6c351f2514930faa-testcase.json │ │ │ ├── 71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png │ │ │ ├── 77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png │ │ │ ├── 789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png │ │ │ ├── behaviors.json │ │ │ ├── c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png │ │ │ ├── c64b0dcacfd90108-testcase.json │ │ │ ├── defects.json │ │ │ ├── environment.json │ │ │ ├── graph.json │ │ │ ├── plugins.json │ │ │ ├── report.json │ │ │ ├── timeline.json │ │ │ ├── total.json │ │ │ ├── widgets.json │ │ │ └── xunit.json │ │ ├── f8ddfbfcb1a4e191ee1fa7f98417280e.svg │ │ ├── fa4b5e31eae6378a0dfa9e10cfb9262f.svg │ │ ├── favicon.ico │ │ ├── fee66e712a8a08eef5805a46892932ad.woff │ │ ├── index.html │ │ └── styles.css │ ├── css │ │ ├── maven-base.css │ │ ├── maven-theme.css │ │ ├── print.css │ │ └── site.css │ ├── images │ │ ├── collapsed.gif │ │ ├── expanded.gif │ │ ├── external.png │ │ ├── icon_error_sml.gif │ │ ├── icon_info_sml.gif │ │ ├── icon_success_sml.gif │ │ ├── icon_warning_sml.gif │ │ ├── logos │ │ │ ├── build-by-maven-black.png │ │ │ ├── build-by-maven-white.png │ │ │ └── maven-feather.png │ │ └── newwindow.png │ └── project-reports.html ├── surefire-reports │ ├── BDD Test Suite │ │ ├── Regression Test.html │ │ ├── Regression Test.xml │ │ └── testng-failed.xml │ ├── TEST-TestSuite.xml │ ├── TestSuite.txt │ ├── bullet_point.png │ ├── collapseall.gif │ ├── emailable-report.html │ ├── failed.png │ ├── index.html │ ├── jquery-1.7.1.min.js │ ├── junitreports │ │ └── TEST-com.cucumberFramework.testRunner.TestRunner.xml │ ├── navigator-bullet.png │ ├── old │ │ ├── BDD Test Suite │ │ │ ├── Regression Test.properties │ │ │ ├── classes.html │ │ │ ├── groups.html │ │ │ ├── index.html │ │ │ ├── main.html │ │ │ ├── methods-alphabetical.html │ │ │ ├── methods-not-run.html │ │ │ ├── methods.html │ │ │ ├── reporter-output.html │ │ │ ├── testng.xml.html │ │ │ └── toc.html │ │ └── index.html │ ├── passed.png │ ├── skipped.png │ ├── testng-failed.xml │ ├── testng-reports.css │ ├── testng-reports.js │ ├── testng-results.xml │ └── testng.css └── test-classes │ ├── drivers │ ├── chromedriver │ └── chromedriver.exe │ └── features │ └── login │ └── login_logout.feature ├── test-output ├── BDD Test Suite │ ├── Regression Test.html │ ├── Regression Test.xml │ └── testng-failed.xml ├── Default suite │ ├── Default test.html │ ├── Default test.xml │ └── testng-failed.xml ├── bullet_point.png ├── collapseall.gif ├── emailable-report.html ├── failed.png ├── index.html ├── jquery-1.7.1.min.js ├── junitreports │ └── TEST-com.cucumberFramework.testRunner.TestRunner.xml ├── navigator-bullet.png ├── old │ ├── BDD Test Suite │ │ ├── Regression Test.properties │ │ ├── classes.html │ │ ├── groups.html │ │ ├── index.html │ │ ├── main.html │ │ ├── methods-alphabetical.html │ │ ├── methods-not-run.html │ │ ├── methods.html │ │ ├── reporter-output.html │ │ ├── testng.xml.html │ │ └── toc.html │ ├── Default suite │ │ ├── Default test.properties │ │ ├── classes.html │ │ ├── groups.html │ │ ├── index.html │ │ ├── main.html │ │ ├── methods-alphabetical.html │ │ ├── methods-not-run.html │ │ ├── methods.html │ │ ├── reporter-output.html │ │ ├── testng.xml.html │ │ └── toc.html │ └── index.html ├── passed.png ├── skipped.png ├── testng-failed.xml ├── testng-reports.css ├── testng-reports.js ├── testng-results.xml └── testng.css └── testNg.xml /Execution Demo.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/Execution Demo.mp4 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

# Cucumber-BDD-Automation-Framework

2 |

Behavior Driven Development Cucumber - Selenium based automation framework including Allure reports

3 | 4 |

This framework contains sample code containing:

5 | 6 | 9 | 10 |

Directory structure:

11 |
12 | 13 | 14 |
15 | 16 |

Steps to run at your system:

17 | 23 | 24 |

Cucumber Reports: net.masterthought - This will generate two reports

25 | 29 |
30 |

Folders for these reports:

31 |
32 | 33 |
34 | 35 |

Snapshots - Cucumber - Pretty - Report: See here

36 |
37 | 41 | 42 |

Snapshots - Cucumber - Advanced - Report: See here

43 |
44 | 48 | 49 |
50 | 51 |

See configuration in "pom.xml" file

52 | 53 | 54 | net.masterthought 55 | maven-cucumber-reporting 56 | 3.8.0 57 | 58 | 59 | execution 60 | verify 61 | 62 | generate 63 | 64 | 65 | MyProjectName 66 | 67 | target/cucumber-reports/advanced-reports 68 | target/cucumber-reports/CucumberTestReport.json 69 | 1 70 | false 71 | false 72 | true 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 |

Allure Report:

Allure reports will be generated based on the testcases json files when you'll run "mvn site". 82 |

Add this Allure dependency in pom.xml:

83 | 84 | 85 | ru.yandex.qatools.allure 86 | allure-cucumber-jvm-adaptor 87 | 1.6.2 88 | 89 | 90 | 91 |

Add this under Maven Surefire plugin:

92 | 93 | 94 | javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" -Dcucumber.options="--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter" 95 | And this under "project xml" tag 99 | 100 | 101 | true 102 | 103 | 104 | ru.yandex.qatools.allure 105 | allure-maven-plugin 106 | 2.5 107 | 108 | 109 | 110 | 111 |

112 |

You will be able to locate the report in folder : "target\site\allure-maven-plugin", the "Index.html" file.

113 | 114 |
115 | 116 |


117 |

You can either open it through Firefox or on a local server. I had used "Jetty server", using this command: "mvn jetty:run". And then open url in your any browser "http://localhost:8080" and there you go.

118 | 119 | MVN Jetty configuration is to be done in pom.xml if want to use it: 120 | 121 | 122 | 123 | org.eclipse.jetty 124 | jetty-maven-plugin 125 | 9.2.10.v20150310 126 | 127 | ${project.build.directory}/site/allure-maven-plugin 128 | stop 129 | 1234 130 | 131 | 132 | 133 |

Example snapshot of Allure report:

134 | 135 | 149 | 150 |

Added a sample Execution Video and Generated Reports, See here: 151 | Herexecution Video and Generated Reports

152 | 153 | -------------------------------------------------------------------------------- /automation.out: -------------------------------------------------------------------------------- 1 | 2019-08-04 02:08:872 INFO WaitHelper:21 - waiting for element visibilityOf.. 2 | 2019-08-04 02:08:87 INFO WaitHelper:24 - element is visible.. 3 | 2019-08-04 02:08:793 INFO WaitHelper:21 - waiting for element visibilityOf.. 4 | 2019-08-04 02:08:904 INFO WaitHelper:24 - element is visible.. 5 | 2019-08-04 02:08:125 INFO ServiceHooks:34 - Login into the application with valid credentials is Failed 6 | 2019-08-04 02:08:475 INFO WaitHelper:21 - waiting for element visibilityOf.. 7 | 2019-08-04 02:08:558 INFO WaitHelper:24 - element is visible.. 8 | 2019-08-04 02:08:273 INFO WaitHelper:21 - waiting for element visibilityOf.. 9 | 2019-08-04 02:08:344 INFO WaitHelper:24 - element is visible.. 10 | 2019-08-04 02:08:457 INFO ServiceHooks:43 - Searching different products after login is pass 11 | 2019-08-04 02:08:750 INFO WaitHelper:21 - waiting for element visibilityOf.. 12 | 2019-08-04 02:08:886 INFO WaitHelper:24 - element is visible.. 13 | 2019-08-04 02:08:405 INFO WaitHelper:21 - waiting for element visibilityOf.. 14 | 2019-08-04 02:08:497 INFO WaitHelper:24 - element is visible.. 15 | 2019-08-04 02:08:624 INFO ServiceHooks:43 - Searching different products after login is pass 16 | 2019-08-04 02:08:258 INFO WaitHelper:21 - waiting for element visibilityOf.. 17 | 2019-08-04 02:08:407 INFO WaitHelper:24 - element is visible.. 18 | 2019-08-04 02:08:170 INFO WaitHelper:21 - waiting for element visibilityOf.. 19 | 2019-08-04 02:08:297 INFO WaitHelper:24 - element is visible.. 20 | 2019-08-04 02:08:625 INFO ServiceHooks:43 - Searching different products after login is pass 21 | -------------------------------------------------------------------------------- /images/allure-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-graph.png -------------------------------------------------------------------------------- /images/allure-report.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-report.PNG -------------------------------------------------------------------------------- /images/allure-timeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-timeline.png -------------------------------------------------------------------------------- /images/allure-xunit.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-xunit.PNG -------------------------------------------------------------------------------- /images/allure-xunit1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-xunit1.PNG -------------------------------------------------------------------------------- /images/allure-xunit2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/allure-xunit2.PNG -------------------------------------------------------------------------------- /images/behavior1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/behavior1.PNG -------------------------------------------------------------------------------- /images/behavior2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/behavior2.PNG -------------------------------------------------------------------------------- /images/cucucmber-pretty.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucucmber-pretty.pdf -------------------------------------------------------------------------------- /images/cucumber-advance.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-advance.pdf -------------------------------------------------------------------------------- /images/cucumber-advance1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-advance1.png -------------------------------------------------------------------------------- /images/cucumber-advanced2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-advanced2.PNG -------------------------------------------------------------------------------- /images/cucumber-pretty-advanced.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-pretty-advanced.PNG -------------------------------------------------------------------------------- /images/cucumber-pretty1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-pretty1.PNG -------------------------------------------------------------------------------- /images/cucumber-pretty2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/cucumber-pretty2.png -------------------------------------------------------------------------------- /images/directoryStructure.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/images/directoryStructure.PNG -------------------------------------------------------------------------------- /log4j.properties: -------------------------------------------------------------------------------- 1 | # Define root logger with file appender 2 | log4j.rootLogger = INFO, FILE, stdout 3 | 4 | # Print log in File 5 | log4j.appender.FILE=org.apache.log4j.FileAppender 6 | log4j.appender.FILE.File=automation.out 7 | log4j.appender.FILE.Append=false 8 | log4j.appender.FILE.layout=org.apache.log4j.PatternLayout 9 | log4j.appender.FILE.layout.ConversionPattern=%d{yyyy-MM-dd HH:MM:SS} %-5p %c{1}:%L - %m%n 10 | 11 | # This will print log in console 12 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 13 | log4j.appender.stdout.Target=System.out 14 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 15 | log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:MM:SS} %-5p %c{1} :%L - %m%n 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | ru.yandex.qatools.allure 8 | allure-examples-parent 9 | 1.0 10 | 11 | 12 | com 13 | cucumberFramework 14 | 0.0.1-SNAPSHOT 15 | jar 16 | 17 | cucumberFramework 18 | http://maven.apache.org 19 | 20 | 21 | UTF-8 22 | 1.5.2 23 | 1.8.10 24 | 25 | 26 | 27 | 28 | 29 | 30 | ru.yandex.qatools.allure 31 | allure-cucumber-jvm-adaptor 32 | 1.6.2 33 | 34 | 35 | 36 | info.cukes 37 | cucumber-java 38 | 1.2.5 39 | 40 | 41 | info.cukes 42 | cucumber-testng 43 | 1.2.5 44 | 45 | 46 | junit 47 | junit 48 | 49 | 50 | 51 | 52 | 53 | 54 | org.seleniumhq.selenium 55 | selenium-java 56 | 3.11.0 57 | 58 | 59 | 60 | net.masterthought 61 | cucumber-reporting 62 | 3.8.0 63 | 64 | 65 | 66 | 67 | log4j 68 | log4j 69 | 1.2.17 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | org.apache.maven.plugins 78 | maven-resources-plugin 79 | 2.4 80 | 81 | 82 | org.apache.maven.plugins 83 | maven-surefire-plugin 84 | 2.19.1 85 | 86 | false 87 | 88 | 89 | testNg.xml 90 | 91 | 92 | 93 | -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" 94 | -Dcucumber.options="--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter" 95 | 96 | 97 | 98 | 99 | 100 | 101 | org.aspectj 102 | aspectjweaver 103 | ${aspectj.version} 104 | 105 | 106 | 107 | 108 | 109 | 111 | 112 | org.eclipse.jetty 113 | jetty-maven-plugin 114 | 9.2.10.v20150310 115 | 116 | ${project.build.directory}/site/allure-maven-plugin 117 | stop 118 | 1234 119 | 120 | 121 | 122 | 123 | net.masterthought 124 | maven-cucumber-reporting 125 | 3.8.0 126 | 127 | 128 | execution 129 | verify 130 | 131 | generate 132 | 133 | 134 | MyProjectName 135 | target/cucumber-reports/advanced-reports 136 | target/cucumber-reports/CucumberTestReport.json 137 | 1 138 | false 139 | false 140 | true 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | true 153 | 154 | 155 | ru.yandex.qatools.allure 156 | allure-maven-plugin 157 | 2.5 158 | 159 | 160 | 161 | 162 | 163 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/enums/Browsers.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.enums; 2 | 3 | 4 | public enum Browsers { 5 | 6 | CHROME, 7 | FIREFOX, 8 | IE 9 | 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/enums/OS.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.enums; 2 | 3 | public enum OS { 4 | 5 | WINDOW, 6 | MAC 7 | 8 | } 9 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/helper/Constants.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.helper; 2 | 3 | 4 | public class Constants { 5 | 6 | 7 | public final static String userName = "admin"; 8 | public final static String password = "password"; 9 | 10 | public final static long explicitWait = 100; 11 | public final static long impliciteWait = 100; 12 | 13 | public static String getUsername() { 14 | return userName; 15 | } 16 | public static String getPassword() { 17 | return password; 18 | } 19 | public static long getExplicitwait() { 20 | return explicitWait; 21 | } 22 | public static long getImplicitewait() { 23 | return impliciteWait; 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/helper/LoggerHelper.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.helper; 2 | 3 | import org.apache.log4j.Logger; 4 | import org.apache.log4j.PropertyConfigurator; 5 | 6 | public class LoggerHelper { 7 | 8 | private static boolean root=false; 9 | 10 | public static Logger getLogger(Class cls){ 11 | if(root){ 12 | return Logger.getLogger(cls); 13 | } 14 | PropertyConfigurator.configure("log4j.properties"); 15 | root = true; 16 | return Logger.getLogger(cls); 17 | } 18 | 19 | public static void main(String[] args) { 20 | Logger log = LoggerHelper.getLogger(LoggerHelper.class); 21 | log.info("I am test"); 22 | log.info("I am test"); 23 | log.info("I am test"); 24 | 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/helper/WaitHelper.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.helper; 2 | 3 | import org.apache.log4j.Logger; 4 | import org.openqa.selenium.WebDriver; 5 | import org.openqa.selenium.WebElement; 6 | import org.openqa.selenium.support.ui.ExpectedConditions; 7 | import org.openqa.selenium.support.ui.WebDriverWait; 8 | 9 | 10 | public class WaitHelper { 11 | 12 | Logger logger = LoggerHelper.getLogger(WaitHelper.class); 13 | 14 | private WebDriver driver; 15 | 16 | public WaitHelper(WebDriver driver){ 17 | this.driver = driver; 18 | } 19 | 20 | public void WaitForElement(WebElement element,long timeOutInSeconds){ 21 | logger.info("waiting for element visibilityOf.."); 22 | WebDriverWait wait = new WebDriverWait(driver, timeOutInSeconds); 23 | wait.until(ExpectedConditions.visibilityOf(element)); 24 | logger.info("element is visible.."); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/pageObjects/LoginLogoutPage.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.pageObjects; 2 | 3 | import java.util.Iterator; 4 | import java.util.List; 5 | import java.util.Set; 6 | 7 | import org.openqa.selenium.By; 8 | import org.openqa.selenium.JavascriptExecutor; 9 | import org.openqa.selenium.WebDriver; 10 | import org.openqa.selenium.WebElement; 11 | import org.openqa.selenium.interactions.Actions; 12 | import org.openqa.selenium.support.FindBy; 13 | import org.openqa.selenium.support.PageFactory; 14 | import org.openqa.selenium.support.ui.Select; 15 | 16 | import com.cucumberFramework.helper.WaitHelper; 17 | 18 | public class LoginLogoutPage { 19 | 20 | private WebDriver driver; 21 | 22 | @FindBy(xpath="//input[@type='email']") 23 | public WebElement userName; 24 | 25 | @FindBy(xpath="//input[@id='continue']") 26 | WebElement Continue; 27 | 28 | @FindBy(xpath="//input[@type='password']") 29 | public WebElement password; 30 | 31 | @FindBy(xpath="//input[@id='signInSubmit']") 32 | WebElement loginButton; 33 | 34 | @FindBy(xpath="//div[@id='nav-tools']/a[@data-nav-role='signin']") 35 | WebElement SignInfromNav; 36 | 37 | @FindBy(xpath="//span[contains(text(),'Sign')]/parent::a") 38 | public WebElement logoutBtn; 39 | 40 | @FindBy(xpath="//div[@id='nav-shop']/a") 41 | public WebElement allShopNav; 42 | 43 | @FindBy(xpath="//span[@data-nav-panelkey='TvApplElecPanel']") 44 | public WebElement TvApplElecPanel; 45 | 46 | @FindBy(xpath="//span[contains(text(),'Headphones')]/parent::a") 47 | public WebElement headPhonesCatLnk; 48 | 49 | @FindBy(xpath="//div[@id='mainResults']/ul/li[1]/div/div/div/a[contains(@class,'access-detail-page')]") 50 | public WebElement firstHeadPhoneLnk; 51 | 52 | @FindBy(xpath="//input[@id='add-to-cart-button']") 53 | public WebElement addToCartBtn; 54 | 55 | @FindBy(xpath="//a[@id='nav-cart']") 56 | public WebElement cartButton; 57 | 58 | @FindBy(xpath="//form[@id='activeCartViewForm']/div[@data-name='Active Items' or contains(@class,'sc-list-body')]//input[@value='Delete']") 59 | public List itemList; 60 | 61 | //form[@id='activeCartViewForm']/div[@data-name='Active Items' or contains(@class,'sc-list-body')]//input[@value='Delete'] 62 | 63 | @FindBy(xpath="//div[contains(@class,'nav-search-field')]/input") 64 | public WebElement itemSearchField; 65 | 66 | @FindBy(xpath="//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a") 67 | public WebElement secondMacbookItem; 68 | 69 | @FindBy(xpath="//select[@id='quantity' or @name='quantity']") 70 | public List qtyField; 71 | 72 | 73 | WaitHelper waitHelper; 74 | 75 | public LoginLogoutPage(WebDriver driver){ 76 | this.driver = driver; 77 | PageFactory.initElements(driver, this); 78 | waitHelper = new WaitHelper(driver); 79 | //waitHelper.WaitForElement(userName, 60); 80 | } 81 | 82 | public void enterUserName(String userName){ 83 | this.userName.sendKeys(userName); 84 | } 85 | 86 | public void enterPassword(String password){ 87 | this.password.sendKeys(password); 88 | } 89 | 90 | public void clickLoginButton(){ 91 | loginButton.click(); 92 | } 93 | 94 | public void enterSearchItemandAddToCart(String item){ 95 | String mainWindow=driver.getWindowHandle(); 96 | this.itemSearchField.sendKeys(item); 97 | this.itemSearchField.submit(); 98 | secondMacbookItem.click(); 99 | Set set =driver.getWindowHandles(); 100 | Iterator itr= set.iterator(); 101 | while(itr.hasNext()){ 102 | String childWindow=itr.next(); 103 | if(!mainWindow.equals(childWindow)){ 104 | driver.switchTo().window(childWindow); 105 | System.out.println(driver.switchTo().window(childWindow).getTitle()); 106 | if(qtyField.size()>=1){ 107 | 108 | Select sel = new Select(qtyField.get(0)); 109 | sel.selectByValue("2"); 110 | } 111 | 112 | JavascriptExecutor js = (JavascriptExecutor)driver; 113 | js.executeScript("arguments[0].scrollIntoView(true);",addToCartBtn); 114 | js.executeScript("arguments[0].click();", addToCartBtn); 115 | if(driver.findElements(By.xpath("//div[@class='a-popover-inner']//button[contains(text(),'Skip')]")).size()>=1){ 116 | 117 | driver.findElements(By.xpath("//div[@class='a-popover-inner']//button[contains(text(),'Skip')]")).get(0).click(); 118 | } 119 | //addToCartBtn.click(); 120 | //driver.close(); 121 | } 122 | } 123 | driver.switchTo().window(mainWindow); 124 | } 125 | 126 | public void clickSignInButton(){ 127 | Actions builder = new Actions(driver); 128 | builder.moveToElement(SignInfromNav).build().perform(); 129 | SignInfromNav.click(); 130 | } 131 | 132 | public void clearCartItemifExist(){ 133 | cartButton.click(); 134 | int i = itemList.size(); 135 | if(i>=1){ 136 | itemList.get(0).click(); 137 | i = itemList.size(); 138 | } 139 | } 140 | 141 | public void clickHeadphonesLnk(){ 142 | Actions builder = new Actions(driver); 143 | builder.moveToElement(allShopNav).build().perform(); 144 | builder.moveToElement(TvApplElecPanel).build().perform(); 145 | JavascriptExecutor js = (JavascriptExecutor)driver; 146 | js.executeScript("arguments[0].click();", headPhonesCatLnk); 147 | 148 | } 149 | 150 | public void AddHeadphoneToCart(){ 151 | 152 | firstHeadPhoneLnk.click(); 153 | JavascriptExecutor js = (JavascriptExecutor)driver; 154 | js.executeScript("arguments[0].click();", addToCartBtn); 155 | } 156 | 157 | public void clickContinueButton(){ 158 | Continue.click(); 159 | } 160 | 161 | 162 | 163 | public void clickLogoutButton(){ 164 | Actions builder = new Actions(driver); 165 | builder.moveToElement(SignInfromNav).build().perform(); 166 | JavascriptExecutor js = (JavascriptExecutor)driver; 167 | js.executeScript("arguments[0].click();", logoutBtn);; 168 | } 169 | } 170 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/stepdefinitions/ServiceHooks.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.stepdefinitions; 2 | 3 | import org.apache.log4j.Logger; 4 | import org.openqa.selenium.OutputType; 5 | import org.openqa.selenium.TakesScreenshot; 6 | import org.openqa.selenium.WebDriverException; 7 | 8 | import com.cucumberFramework.enums.Browsers; 9 | import com.cucumberFramework.helper.LoggerHelper; 10 | import com.cucumberFramework.testBase.TestBase; 11 | 12 | import cucumber.api.Scenario; 13 | import cucumber.api.java.After; 14 | import cucumber.api.java.Before; 15 | 16 | 17 | public class ServiceHooks { 18 | 19 | TestBase testBase; 20 | 21 | Logger log = LoggerHelper.getLogger(ServiceHooks.class); 22 | 23 | @Before 24 | public void initializeTest() { 25 | testBase = new TestBase(); 26 | testBase.selectBrowser(Browsers.CHROME.name()); 27 | } 28 | 29 | @After 30 | public void endTest(Scenario scenario) { 31 | if (scenario.isFailed()) { 32 | 33 | try { 34 | log.info(scenario.getName() + " is Failed"); 35 | final byte[] screenshot = ((TakesScreenshot) TestBase.driver).getScreenshotAs(OutputType.BYTES); 36 | scenario.embed(screenshot, "image/png"); // ... and embed it in 37 | } catch (WebDriverException e) { 38 | e.printStackTrace(); 39 | } 40 | 41 | } else { 42 | try { 43 | log.info(scenario.getName() + " is pass"); 44 | scenario.embed(((TakesScreenshot) TestBase.driver).getScreenshotAs(OutputType.BYTES), "image/png"); 45 | } catch (Exception e) { 46 | e.printStackTrace(); 47 | } 48 | } 49 | 50 | TestBase.driver.quit(); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/stepdefinitions/loginLogoutPageStepDefinitions.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.stepdefinitions; 2 | 3 | import org.openqa.selenium.By; 4 | import org.openqa.selenium.JavascriptExecutor; 5 | 6 | import com.cucumberFramework.helper.WaitHelper; 7 | import com.cucumberFramework.pageObjects.LoginLogoutPage; 8 | import com.cucumberFramework.testBase.TestBase; 9 | 10 | import cucumber.api.java.en.Given; 11 | import cucumber.api.java.en.Then; 12 | import cucumber.api.java.en.When; 13 | 14 | 15 | public class loginLogoutPageStepDefinitions extends TestBase { 16 | 17 | LoginLogoutPage loginPage = new LoginLogoutPage(driver); 18 | WaitHelper waitHelper = new WaitHelper(driver); 19 | 20 | @Given("^I am on the Login page URL \"([^\"]*)\"$") 21 | public void i_am_on_the_Login_page_URL(String arg1) throws Throwable { 22 | driver.get(arg1); 23 | //waitHelper = new WaitHelper(driver); 24 | } 25 | 26 | @Then("^I click on sign in button and wait for sign in page$") 27 | public void i_click_on_sign_in_button_and_wait_for_sign_in_page() throws Throwable { 28 | loginPage.clickSignInButton(); 29 | waitHelper.WaitForElement(loginPage.userName, 60); 30 | } 31 | 32 | @Then("^I should see Sign In Page$") 33 | public void i_should_see_Sign_In_Page() throws Throwable { 34 | loginPage.userName.isDisplayed(); 35 | } 36 | 37 | @When("^I enter username as \"([^\"]*)\"$") 38 | public void i_enter_username_as(String arg1) throws Throwable { 39 | loginPage.enterUserName(arg1); 40 | } 41 | 42 | @When("^I Click on Continue button$") 43 | public void i_Click_on_Continue_button() throws Throwable { 44 | loginPage.clickContinueButton(); 45 | waitHelper.WaitForElement(loginPage.password, 60); 46 | } 47 | 48 | @When("^I enter password as \"([^\"]*)\"$") 49 | public void i_enter_password_as(String arg1) throws Throwable { 50 | loginPage.enterPassword(arg1); 51 | } 52 | 53 | @When("^click on login button$") 54 | public void click_on_login_button() throws Throwable { 55 | loginPage.clickLoginButton(); 56 | } 57 | 58 | @When("^I am logged in$") 59 | public void i_am_already_logged_in() throws Throwable { 60 | loginPage.logoutBtn.isDisplayed(); 61 | } 62 | 63 | @When("^I Click on Sign out$") 64 | public void i_Click_on_Sign_out() throws Throwable { 65 | loginPage.clickLogoutButton(); 66 | waitHelper.WaitForElement(loginPage.userName, 60); 67 | } 68 | 69 | @Then("^I got log out from the application and land on sign in page$") 70 | public void i_got_log_out_from_the_application_and_land_on_sign_in_page() throws Throwable { 71 | loginPage.userName.isDisplayed(); 72 | } 73 | 74 | @Then("^I choose Electronincs>Headphones and headphones list out$") 75 | public void i_choose_Electronincs_Headphones_and_headphones_list_out() throws Throwable { 76 | loginPage.clickHeadphonesLnk(); 77 | } 78 | 79 | @Then("^I add first availabe headphone to cart$") 80 | public void i_add_first_availabe_headphone_to_cart() throws Throwable { 81 | loginPage.AddHeadphoneToCart(); 82 | } 83 | 84 | @Then("^I search \"([^\"]*)\" and add second available item to cart$") 85 | public void i_search_and_add_nd_available_item_to_cart(String arg1) throws Throwable { 86 | loginPage.enterSearchItemandAddToCart(arg1); 87 | } 88 | 89 | @Then("^I clear cart items if any$") 90 | public void i_clear_cart_items_if_any() throws Throwable { 91 | loginPage.clearCartItemifExist(); 92 | } 93 | 94 | @Then("^I Select cart from home and remove the earlier added headphones$") 95 | public void i_Select_cart_from_home_and_remove_the_earlier_added_headphones() throws Throwable { 96 | loginPage.cartButton.click(); 97 | loginPage.itemList.get(1).click(); 98 | } 99 | 100 | @Then("^I Reduce the Quantity of the macbook pro product to one and proceed to checkout$") 101 | public void i_Reduce_the_Quantity_of_the_macbook_pro_product_to_one_and_proceed_to_checkout() throws Throwable { 102 | JavascriptExecutor js = (JavascriptExecutor)driver; 103 | js.executeScript("arguments[0].innerText='1'",driver.findElement(By.className("a-dropdown-prompt"))); 104 | } 105 | 106 | @Then("^I search different \"([^\"]*)\" from the search bar$") 107 | public void i_search_different_from_the_search_bar(String arg1) throws Throwable { 108 | loginPage.itemSearchField.sendKeys(arg1); 109 | loginPage.itemSearchField.submit(); 110 | Thread.sleep(5000); 111 | } 112 | 113 | } -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/testBase/TestBase.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.testBase; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.chrome.ChromeDriver; 5 | import org.openqa.selenium.firefox.FirefoxDriver; 6 | 7 | import com.cucumberFramework.enums.Browsers; 8 | import com.cucumberFramework.enums.OS; 9 | 10 | 11 | public class TestBase { 12 | 13 | public static WebDriver driver; 14 | 15 | 16 | public WebDriver selectBrowser(String browser) { 17 | if (System.getProperty("os.name").toLowerCase().contains(OS.WINDOW.name().toLowerCase())) { 18 | if (browser.equalsIgnoreCase(Browsers.CHROME.name())) { 19 | System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + "/src/test/resources/drivers/chromedriver.exe"); 20 | driver = new ChromeDriver(); 21 | driver.manage().window().maximize(); 22 | } else if (browser.equalsIgnoreCase(Browsers.FIREFOX.name())) { 23 | System.setProperty("webdriver.gecko.driver", System.getProperty("user.dir") + "/src/test/resources/drivers/geckodriver.exe"); 24 | driver = new FirefoxDriver(); 25 | } 26 | } else if (System.getProperty("os.name").toLowerCase().contains(OS.MAC.name().toLowerCase())) { 27 | if (browser.equalsIgnoreCase(Browsers.CHROME.name())) { 28 | System.setProperty("webdriver.chrome.driver", System.getProperty("user.dir") + "/src/test/resources/drivers/chromedriver"); 29 | driver = new ChromeDriver(); 30 | } else if (browser.equalsIgnoreCase(Browsers.FIREFOX.name())) { 31 | System.setProperty("webdriver.firefox.marionette", System.getProperty("user.dir") + "/src/test/resources/drivers/geckodriver"); 32 | driver = new FirefoxDriver(); 33 | } 34 | } 35 | return driver; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/com/cucumberFramework/testRunner/TestRunner.java: -------------------------------------------------------------------------------- 1 | package com.cucumberFramework.testRunner; 2 | 3 | import org.testng.annotations.AfterClass; 4 | import org.testng.annotations.BeforeClass; 5 | import org.testng.annotations.DataProvider; 6 | import org.testng.annotations.Test; 7 | 8 | import cucumber.api.CucumberOptions; 9 | import cucumber.api.testng.CucumberFeatureWrapper; 10 | import cucumber.api.testng.TestNGCucumberRunner; 11 | 12 | 13 | @CucumberOptions(features = "src/test/resources/features/login/login_logout.feature", glue = { "com/cucumberFramework/stepdefinitions" }, plugin = { "pretty", "html:target/cucumber-reports/cucumber-pretty", 14 | "json:target/cucumber-reports/CucumberTestReport.json", "rerun:target/cucumber-reports/rerun.txt" }, 15 | monochrome = true, dryRun = false) 16 | public class TestRunner { 17 | 18 | private TestNGCucumberRunner testNGCucumberRunner; 19 | 20 | @BeforeClass(alwaysRun = true) 21 | public void setUpClass() { 22 | testNGCucumberRunner = new TestNGCucumberRunner(this.getClass()); 23 | } 24 | 25 | @Test(groups = "cucumber", description = "Runs cucmber Features", dataProvider = "features") 26 | public void feature(CucumberFeatureWrapper cucumberFeature) { 27 | testNGCucumberRunner.runCucumber(cucumberFeature.getCucumberFeature()); 28 | } 29 | 30 | @DataProvider 31 | public Object[][] features() { 32 | return testNGCucumberRunner.provideFeatures(); 33 | } 34 | 35 | @AfterClass(alwaysRun = true) 36 | public void testDownClass() { 37 | testNGCucumberRunner.finish(); 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/test/resources/drivers/chromedriver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/src/test/resources/drivers/chromedriver -------------------------------------------------------------------------------- /src/test/resources/drivers/chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/src/test/resources/drivers/chromedriver.exe -------------------------------------------------------------------------------- /src/test/resources/features/login/login_logout.feature: -------------------------------------------------------------------------------- 1 | Feature: As a Amazon user I should be able to login and logout with valid credentials 2 | 3 | Scenario: Login into the application with valid credentials 4 | Given I am on the Login page URL "https://www.amazon.in/" 5 | Then I click on sign in button and wait for sign in page 6 | Then I should see Sign In Page 7 | When I enter username as "testusername" 8 | And I Click on Continue button 9 | And I enter password as "testpassword" 10 | And click on login button 11 | Then I am logged in 12 | And I clear cart items if any 13 | Then I choose Electronincs>Headphones and headphones list out 14 | Then I add first availabe headphone to cart 15 | Then I search "Macbook pro" and add second available item to cart 16 | Then I Select cart from home and remove the earlier added headphones 17 | Then I Reduce the Quantity of the macbook pro product to one and proceed to checkout 18 | And I Click on Sign out 19 | Then I got log out from the application and land on sign in page 20 | 21 | 22 | Scenario Outline: Searching different products after login 23 | Given I am on the Login page URL "https://www.amazon.in/" 24 | Then I click on sign in button and wait for sign in page 25 | Then I should see Sign In Page 26 | When I enter username as "testusername" 27 | And I Click on Continue button 28 | And I enter password as "testpassword" 29 | And click on login button 30 | Then I am logged in 31 | And I search different "" from the search bar 32 | 33 | Examples: 34 | | products | 35 | | laptops | 36 | | pendrive | 37 | | led tv | 38 | 39 | 40 | -------------------------------------------------------------------------------- /target/allure-results/174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png -------------------------------------------------------------------------------- /target/allure-results/2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png -------------------------------------------------------------------------------- /target/allure-results/552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png -------------------------------------------------------------------------------- /target/allure-results/5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png -------------------------------------------------------------------------------- /target/allure-results/71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png -------------------------------------------------------------------------------- /target/allure-results/77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png -------------------------------------------------------------------------------- /target/allure-results/789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png -------------------------------------------------------------------------------- /target/allure-results/c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/allure-results/c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png -------------------------------------------------------------------------------- /target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: NegiRo 3 | Build-Jdk: 1.8.0_181 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /target/classes/META-INF/maven/com/cucumberFramework/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Aug 04 02:31:16 IST 2019 3 | version=0.0.1-SNAPSHOT 4 | groupId=com 5 | m2e.projectName=cucumberFramework 6 | m2e.projectLocation=C\:\\Eclipse\\Workspace\\CucumberAutomationDemo\\latestCucumberSeleniumFramework-master 7 | artifactId=cucumberFramework 8 | -------------------------------------------------------------------------------- /target/classes/META-INF/maven/com/cucumberFramework/pom.xml: -------------------------------------------------------------------------------- 1 | 3 | 4.0.0 4 | 5 | 6 | 7 | ru.yandex.qatools.allure 8 | allure-examples-parent 9 | 1.0 10 | 11 | 12 | com 13 | cucumberFramework 14 | 0.0.1-SNAPSHOT 15 | jar 16 | 17 | cucumberFramework 18 | http://maven.apache.org 19 | 20 | 21 | UTF-8 22 | 1.5.2 23 | 1.8.10 24 | 25 | 26 | 27 | 28 | 29 | 30 | ru.yandex.qatools.allure 31 | allure-cucumber-jvm-adaptor 32 | 1.6.2 33 | 34 | 35 | 36 | info.cukes 37 | cucumber-java 38 | 1.2.5 39 | 40 | 41 | info.cukes 42 | cucumber-testng 43 | 1.2.5 44 | 45 | 46 | junit 47 | junit 48 | 49 | 50 | 51 | 52 | 53 | 54 | org.seleniumhq.selenium 55 | selenium-java 56 | 3.11.0 57 | 58 | 59 | 60 | net.masterthought 61 | cucumber-reporting 62 | 3.8.0 63 | 64 | 65 | 66 | 67 | log4j 68 | log4j 69 | 1.2.17 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | org.apache.maven.plugins 78 | maven-resources-plugin 79 | 2.4 80 | 81 | 82 | org.apache.maven.plugins 83 | maven-surefire-plugin 84 | 2.19.1 85 | 86 | false 87 | 88 | 89 | testNg.xml 90 | 91 | 92 | 93 | -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" 94 | -Dcucumber.options="--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter" 95 | 96 | 97 | 98 | 99 | 100 | 101 | org.aspectj 102 | aspectjweaver 103 | ${aspectj.version} 104 | 105 | 106 | 107 | 108 | 109 | 111 | 112 | org.eclipse.jetty 113 | jetty-maven-plugin 114 | 9.2.10.v20150310 115 | 116 | ${project.build.directory}/site/allure-maven-plugin 117 | stop 118 | 1234 119 | 120 | 121 | 122 | 123 | net.masterthought 124 | maven-cucumber-reporting 125 | 3.8.0 126 | 127 | 128 | execution 129 | verify 130 | 131 | generate 132 | 133 | 134 | MyProjectName 135 | target/cucumber-reports/advanced-reports 136 | target/cucumber-reports/CucumberTestReport.json 137 | 1 138 | false 139 | false 140 | true 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | true 153 | 154 | 155 | ru.yandex.qatools.allure 156 | allure-maven-plugin 157 | 2.5 158 | 159 | 160 | 161 | 162 | 163 | -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/enums/Browsers.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/enums/Browsers.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/enums/OS.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/enums/OS.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/helper/Constants.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/helper/Constants.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/helper/LoggerHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/helper/LoggerHelper.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/helper/WaitHelper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/helper/WaitHelper.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/pageObjects/LoginLogoutPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/pageObjects/LoginLogoutPage.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/stepdefinitions/ServiceHooks.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/stepdefinitions/ServiceHooks.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/stepdefinitions/loginLogoutPageStepDefinitions.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/stepdefinitions/loginLogoutPageStepDefinitions.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/testBase/TestBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/testBase/TestBase.class -------------------------------------------------------------------------------- /target/classes/com/cucumberFramework/testRunner/TestRunner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/classes/com/cucumberFramework/testRunner/TestRunner.class -------------------------------------------------------------------------------- /target/cucumber-reports/advanced-reports/cucumber-html-reports/css/cucumber.css: -------------------------------------------------------------------------------- 1 | body { 2 | /* Shifts body so navigation bar does not overlap it. 3 | Make sure to include this after the core Bootstrap CSS. */ 4 | padding-top: 60px; 5 | } 6 | 7 | h2 { 8 | font-size: 24px; 9 | } 10 | 11 | a { 12 | color: #0097da; 13 | } 14 | 15 | a:hover { 16 | color: #00587f; 17 | } 18 | 19 | .header-tag-name { 20 | color: gray; 21 | font-style: italic; 22 | } 23 | 24 | .keyword { 25 | font-weight: bold; 26 | } 27 | 28 | .indention { 29 | padding-left: 3px; 30 | } 31 | 32 | .inner-level { 33 | margin-top: 5px; 34 | margin-left: 20px; 35 | padding-bottom: 2px; 36 | padding-left: 1px; 37 | } 38 | 39 | .element { 40 | margin-bottom: 15px; 41 | padding-left: 3px; 42 | } 43 | 44 | /* left line along each section */ 45 | .element, .steps, .hooks-after, .hooks-before { 46 | box-shadow: -1px 0 lightgray; 47 | transition: box-shadow 0.3s; 48 | } 49 | .element:hover, .steps:hover, .hooks-after:hover, .hooks-before:hover { 50 | box-shadow: -3px 0 #6ce; 51 | } 52 | 53 | .description { 54 | font-style: italic; 55 | background-color: beige; 56 | white-space: pre; 57 | } 58 | 59 | .message, .output, .embedding { 60 | background-color: #dfdfdf; 61 | overflow: auto; 62 | } 63 | 64 | /* 65 | same as
 from bootstrap library.
 66 |    padding and overflow-x added.
 67 | */
 68 | .embedding-content {
 69 |     padding: 10px;
 70 |     margin-left: 10px;
 71 |     margin-right: 10px;
 72 |     margin-bottom: 10px;
 73 |     font-size: 13px;
 74 |     overflow-x: auto;
 75 |     line-height: 1.42857143;
 76 |     color: #333;
 77 |     word-break: break-all;
 78 |     word-wrap: break-word;
 79 |     background-color: #f5f5f5;
 80 |     border: 1px solid #ccc;
 81 |     border-radius: 4px;
 82 | }
 83 | 
 84 | .html-content {
 85 |     position: relative;
 86 |     /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
 87 |     padding: 0 0 56.25%;
 88 |     height: 0;
 89 |     overflow: hidden;
 90 | }
 91 | 
 92 | .html-content iframe {
 93 |     position: absolute;
 94 |     top: 0;
 95 |     left: 0;
 96 |     width: 100%;
 97 |     height: 100%;
 98 |     border:none;
 99 | }
100 | 
101 | .download-button {
102 |     float: right;
103 |     margin-right: 10px;
104 |     color: #333;
105 | }
106 | 
107 | /* names of those classes must be the same as name of the statuses (to lower case) in Status class  */
108 | .passed {
109 |     background-color: #92DD96;
110 | }
111 | 
112 | .failed {
113 |     background-color: #F2928C;
114 | }
115 | 
116 | .skipped {
117 |     background-color: #8AF;
118 | }
119 | 
120 | .pending {
121 |     background-color: #F5F28F;
122 | }
123 | 
124 | .undefined {
125 |     background-color: #F5B975;
126 | }
127 | 
128 | .lead-duration {
129 |     float: right;
130 |     padding-right: 15px;
131 | }
132 | 
133 | table.stats-table {
134 |     background-color: white;
135 |     color: black;
136 |     margin-bottom: 20px;
137 |     width: 100%;
138 | }
139 | 
140 | table.stats-table th, table.stats-table td {
141 |     border: 1px solid gray;
142 |     padding: 5px;
143 |     text-align: center;
144 | }
145 | 
146 | table.stats-table tr.header {
147 |     background-color: #66CCEE;
148 | }
149 | 
150 | table.stats-table tfoot {
151 |     font-weight: bold;
152 | }
153 | 
154 | tfoot.total, td.total, th.total {
155 |     background-color: lightgray;
156 | }
157 | 
158 | table.stats-table td.duration {
159 |     text-align: right;
160 |     white-space: nowrap;
161 | }
162 | 
163 | table.stats-table td.tagname {
164 |     text-align: left;
165 | }
166 | 
167 | table.stats-table td.location, .location {
168 |     font-family: monospace;
169 |     text-align: left;
170 | }
171 | 
172 | table.step-arguments {
173 |     margin-bottom: 5px;
174 |     margin-left: 25px;
175 |     margin-top: 3px;
176 | }
177 | 
178 | table.step-arguments th, table.step-arguments td {
179 |     border: 1px solid gray;
180 |     padding: 3px;
181 |     text-align: left;
182 | }
183 | 
184 | table#tablesorter thead tr:not(.dont-sort) th {
185 |     cursor: pointer;
186 | }
187 | 
188 | tr:hover {
189 |     transition: background-color 0.3s;
190 | }
191 | 
192 | .collapsable-control {
193 |     cursor: pointer;
194 | }
195 | 
196 | .chevron:after {
197 |     content: "\f078";
198 | }
199 | 
200 | .collapsed .chevron:after {
201 |     content: "\f054";
202 | }
203 | 
204 | .footer {
205 |     font-size: smaller;
206 |     text-align: center;
207 |     margin-top: 30px;
208 | }
209 | 
210 | 
211 | 
212 | /* Custom Bootstrap CSS overloading. */
213 | .carousel-indicators {
214 |     bottom: 0;
215 | }
216 | 
217 | .carousel-indicators li {
218 |     border: 1px solid black;
219 | }
220 | 
221 | .carousel-indicators .active {
222 |     background-color: black;
223 | }
224 | 
225 | .carousel-control {
226 |     font-size: 40px;
227 |     padding-top: 150px;;
228 | }
229 | 
230 | .carousel-control.right, .carousel-control.left {
231 |     background-image: none;
232 |     color: #eee;
233 | }
234 | 
235 | pre {
236 |     margin: 10px;
237 | }
238 | 


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_-941236087.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_-941236087.png


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_1572204334.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_1572204334.png


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_89814534.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_89814534.png


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_917744814.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/embeddings/embedding_917744814.png


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/FontAwesome.otf


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.eot


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.ttf


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.woff


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/fontawesome-webfont.woff2


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.eot


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.ttf


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.woff


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/fonts/glyphicons-halflings-regular.woff2


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/images/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/advanced-reports/cucumber-html-reports/images/favicon.png


--------------------------------------------------------------------------------
/target/cucumber-reports/advanced-reports/cucumber-html-reports/overview-failures.html:
--------------------------------------------------------------------------------
  1 | 
  2 | 
  3 | 
  4 |   
  5 | 
  6 | 
  7 | 
  8 | 
  9 | 
 10 | 
 11 | 
 12 | 
 13 | 
 14 | 
 15 | 
 16 | 
 17 | 
 18 | 
 33 | 
 34 | 
 35 | 
 36 | 
 37 | 
 38 | 
 39 | 
 40 | 
 41 | 
 42 | 
 43 | 
 44 |   
 45 | Cucumber Reports (no 1) - Failures Overview
 46 | 
 47 | 
 48 | 
 49 | 
 50 | 
 51 | 
 64 | 
 65 | 
 66 | 
67 |
68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 |
ProjectNumberDate
MyProjectName112 Apr 2019, 12:01
85 | 86 |
87 |
88 |
89 |
90 | 91 | 92 |
93 |
94 |

Failures Overview

95 |

The following summary displays scenarios that failed.

96 |
97 |
98 | 99 | 100 |
101 |
102 |
103 | 105 | 107 |
108 |
109 |
110 | 111 | 112 |
113 |
114 |
115 | 116 |

You have no failed scenarios in your Cucumber report

117 | 118 |
119 |
120 |
121 | 122 | 123 |
124 |
125 |
126 | 128 | 130 |
131 |
132 |
133 | 134 |
135 | 136 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /target/cucumber-reports/advanced-reports/cucumber-html-reports/overview-tags.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | Cucumber Reports (no 1) - Tags Overview 46 | 47 | 48 | 101 | 102 | 103 | 104 | 117 | 118 | 119 |
120 |
121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 |
ProjectNumberDate
MyProjectName112 Apr 2019, 12:01
138 | 139 |
140 |
141 |
142 |
143 | 144 | 145 |
146 |
147 |

Tags Statistics

148 |

The following graph shows passing and failing statistics for tags

149 |
150 |
151 | 152 | 153 | 154 |
155 |
156 |
157 |
158 |

You have no tags in your cucumber report

159 |
160 |
161 |
162 | 163 | 175 | 176 | 177 | 178 | -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/embedded0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/cucumber-pretty/embedded0.png -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/embedded1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/cucumber-pretty/embedded1.png -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/embedded2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/cucumber-pretty/embedded2.png -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/embedded3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/cucumber-pretty/embedded3.png -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Cucumber Features 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /target/cucumber-reports/cucumber-pretty/style.css: -------------------------------------------------------------------------------- 1 | .cucumber-report .body { 2 | font-family: Helvetica,Arial,sans-serif; 3 | } 4 | 5 | .cucumber-report .keyword { 6 | font-weight: bold; 7 | } 8 | 9 | .cucumber-report .description { 10 | font-style: italic; 11 | margin-left: 20px; 12 | } 13 | 14 | .cucumber-report details > section { 15 | margin-left: 20px; 16 | } 17 | 18 | .cucumber-report ol.steps { 19 | list-style-type: none; 20 | margin-top: 0; 21 | margin-bottom: 0; 22 | } 23 | 24 | .cucumber-report .step .embedded-text { 25 | background: #dddddd; 26 | } 27 | 28 | .cucumber-report .doc_string { 29 | margin: 0 0 0 20px; 30 | } 31 | 32 | .cucumber-report table { 33 | border-collapse: collapse; 34 | border: 1px; 35 | border-style: solid; 36 | } 37 | 38 | .cucumber-report td, .cucumber-report th { 39 | border: 1px; 40 | border-style: solid; 41 | padding-left: 4px; 42 | padding-right: 4px; 43 | } 44 | 45 | .cucumber-report table { 46 | margin-left: 20px; 47 | } 48 | 49 | .cucumber-report thead { 50 | background-color: #C0C0C0; 51 | } 52 | 53 | .cucumber-report .passed { 54 | background-color: #C5D88A; 55 | } 56 | 57 | .cucumber-report .undefined, .cucumber-report .pending { 58 | background-color: #EAEC2D; 59 | } 60 | 61 | .cucumber-report .skipped { 62 | background-color: #2DEAEC; 63 | } 64 | 65 | .cucumber-report .failed { 66 | background-color: #D88A8A; 67 | } 68 | 69 | .cucumber-report .tags { 70 | display: inline; 71 | } 72 | 73 | .cucumber-report .tag { 74 | margin-right: 0.25em; 75 | color: #246ac1; 76 | } 77 | 78 | .cucumber-report .comments { 79 | display: inline; 80 | } 81 | 82 | .cucumber-report .comment { 83 | margin 0; 84 | padding 0; 85 | } 86 | 87 | .cucumber-report .error { 88 | margin: .2em .75em; 89 | padding: .2em; 90 | border: 1px solid #900; 91 | background-color: #EDBBBB; 92 | } 93 | 94 | #cucumber-templates { 95 | display: none; 96 | } 97 | -------------------------------------------------------------------------------- /target/cucumber-reports/rerun.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/cucumber-reports/rerun.txt -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | com\cucumberFramework\helper\Constants.class 2 | com\cucumberFramework\stepdefinitions\loginLogoutPageStepDefinitions.class 3 | com\cucumberFramework\enums\Browsers.class 4 | com\cucumberFramework\helper\WaitHelper.class 5 | com\cucumberFramework\stepdefinitions\ServiceHooks.class 6 | com\cucumberFramework\testBase\TestBase.class 7 | com\cucumberFramework\pageObjects\LoginLogoutPage.class 8 | com\cucumberFramework\testRunner\TestRunner.class 9 | com\cucumberFramework\helper\LoggerHelper.class 10 | com\cucumberFramework\enums\OS.class 11 | -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst: -------------------------------------------------------------------------------- 1 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\stepdefinitions\ServiceHooks.java 2 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\enums\OS.java 3 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\helper\LoggerHelper.java 4 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\helper\Constants.java 5 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\helper\WaitHelper.java 6 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\stepdefinitions\loginLogoutPageStepDefinitions.java 7 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\testBase\TestBase.java 8 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\pageObjects\LoginLogoutPage.java 9 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\enums\Browsers.java 10 | C:\Eclipse\Workspace\CucumberAutomationDemo\latestCucumberSeleniumFramework-master\src\main\java\com\cucumberFramework\testRunner\TestRunner.java 11 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | cucumberFramework - Allure 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 26 | 41 |
42 | 62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 | 81 | 82 | 83 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/1e07e63bbecccb93b06ffd6b43b46e4d.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/3fb9611bab3151e965e023162e86089a.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/61aae920ab2f8fe604ba57b135aa9919.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/61aae920ab2f8fe604ba57b135aa9919.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/64b1e3c3d94863c86e92e89aea3a5c99.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/674f50d287a8c48dc19ba404d20fe713.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/674f50d287a8c48dc19ba404d20fe713.eot -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/af7ae505a9eed503f8b8e6982036873e.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/af7ae505a9eed503f8b8e6982036873e.woff2 -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/b06871f281fee6b241d60582ae9369b9.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/b06871f281fee6b241d60582ae9369b9.ttf -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/215067456f4409ae-testcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "215067456f4409ae", 3 | "name" : "Searching different products after login", 4 | "title" : "Searching different products after login", 5 | "time" : { 6 | "start" : 1564864490843, 7 | "stop" : 1564864519797, 8 | "duration" : 28954 9 | }, 10 | "summary" : { 11 | "attachments" : 1, 12 | "steps" : 9 13 | }, 14 | "failure" : null, 15 | "description" : { 16 | "value" : null, 17 | "type" : "TEXT" 18 | }, 19 | "severity" : "NORMAL", 20 | "status" : "PASSED", 21 | "suite" : { 22 | "uid" : "75616540e63606ea", 23 | "name" : "As a Amazon user I should be able to login and logout with valid credentials", 24 | "title" : "As a amazon user I should be able to login and logout with valid credentials" 25 | }, 26 | "steps" : [ { 27 | "name" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 28 | "title" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 29 | "time" : { 30 | "start" : 1564864495524, 31 | "stop" : 1564864499805, 32 | "duration" : 4281 33 | }, 34 | "summary" : { 35 | "attachments" : 0, 36 | "steps" : 0 37 | }, 38 | "status" : "PASSED", 39 | "attachments" : [ ], 40 | "steps" : [ ] 41 | }, { 42 | "name" : "Then I click on sign in button and wait for sign in page", 43 | "title" : "Then I click on sign in button and wait for sign in page", 44 | "time" : { 45 | "start" : 1564864499805, 46 | "stop" : 1564864502887, 47 | "duration" : 3082 48 | }, 49 | "summary" : { 50 | "attachments" : 0, 51 | "steps" : 0 52 | }, 53 | "status" : "PASSED", 54 | "attachments" : [ ], 55 | "steps" : [ ] 56 | }, { 57 | "name" : "Then I should see Sign In Page", 58 | "title" : "Then I should see Sign In Page", 59 | "time" : { 60 | "start" : 1564864502888, 61 | "stop" : 1564864502932, 62 | "duration" : 44 63 | }, 64 | "summary" : { 65 | "attachments" : 0, 66 | "steps" : 0 67 | }, 68 | "status" : "PASSED", 69 | "attachments" : [ ], 70 | "steps" : [ ] 71 | }, { 72 | "name" : "When I enter username as \"testusername\"", 73 | "title" : "When I enter username as \"testusername\"", 74 | "time" : { 75 | "start" : 1564864502932, 76 | "stop" : 1564864503232, 77 | "duration" : 300 78 | }, 79 | "summary" : { 80 | "attachments" : 0, 81 | "steps" : 0 82 | }, 83 | "status" : "PASSED", 84 | "attachments" : [ ], 85 | "steps" : [ ] 86 | }, { 87 | "name" : "And I Click on Continue button", 88 | "title" : "And I Click on Continue button", 89 | "time" : { 90 | "start" : 1564864503232, 91 | "stop" : 1564864504497, 92 | "duration" : 1265 93 | }, 94 | "summary" : { 95 | "attachments" : 0, 96 | "steps" : 0 97 | }, 98 | "status" : "PASSED", 99 | "attachments" : [ ], 100 | "steps" : [ ] 101 | }, { 102 | "name" : "And I enter password as \"testpassword\"", 103 | "title" : "And I enter password as \"testpassword\"", 104 | "time" : { 105 | "start" : 1564864504498, 106 | "stop" : 1564864504679, 107 | "duration" : 181 108 | }, 109 | "summary" : { 110 | "attachments" : 0, 111 | "steps" : 0 112 | }, 113 | "status" : "PASSED", 114 | "attachments" : [ ], 115 | "steps" : [ ] 116 | }, { 117 | "name" : "And click on login button", 118 | "title" : "And click on login button", 119 | "time" : { 120 | "start" : 1564864504679, 121 | "stop" : 1564864509005, 122 | "duration" : 4326 123 | }, 124 | "summary" : { 125 | "attachments" : 0, 126 | "steps" : 0 127 | }, 128 | "status" : "PASSED", 129 | "attachments" : [ ], 130 | "steps" : [ ] 131 | }, { 132 | "name" : "Then I am logged in", 133 | "title" : "Then I am logged in", 134 | "time" : { 135 | "start" : 1564864509006, 136 | "stop" : 1564864509110, 137 | "duration" : 104 138 | }, 139 | "summary" : { 140 | "attachments" : 0, 141 | "steps" : 0 142 | }, 143 | "status" : "PASSED", 144 | "attachments" : [ ], 145 | "steps" : [ ] 146 | }, { 147 | "name" : "And I search different \"pendrive\" from the search bar", 148 | "title" : "And I search different \"pendrive\" from the search bar", 149 | "time" : { 150 | "start" : 1564864509111, 151 | "stop" : 1564864517624, 152 | "duration" : 8513 153 | }, 154 | "summary" : { 155 | "attachments" : 0, 156 | "steps" : 0 157 | }, 158 | "status" : "PASSED", 159 | "attachments" : [ ], 160 | "steps" : [ ] 161 | } ], 162 | "attachments" : [ { 163 | "title" : "attachment2", 164 | "source" : "77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png", 165 | "type" : "image/png", 166 | "size" : 446056, 167 | "uid" : "12cc78f16d085dc4" 168 | } ], 169 | "issues" : [ ], 170 | "testIds" : [ ], 171 | "labels" : [ { 172 | "name" : "language", 173 | "value" : "JAVA" 174 | }, { 175 | "name" : "feature", 176 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 177 | }, { 178 | "name" : "story", 179 | "value" : "Searching different products after login" 180 | }, { 181 | "name" : "suite-name", 182 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 183 | }, { 184 | "name" : "suite-title", 185 | "value" : null 186 | }, { 187 | "name" : "thread", 188 | "value" : "17436@A303598.main(1)" 189 | }, { 190 | "name" : "host", 191 | "value" : "A303598" 192 | }, { 193 | "name" : "framework", 194 | "value" : "CucumberJVM" 195 | } ], 196 | "parameters" : [ ] 197 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/27da5f7fbd7cdaa-testcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "27da5f7fbd7cdaa", 3 | "name" : "Searching different products after login", 4 | "title" : "Searching different products after login", 5 | "time" : { 6 | "start" : 1564864519798, 7 | "stop" : 1564864550547, 8 | "duration" : 30749 9 | }, 10 | "summary" : { 11 | "attachments" : 1, 12 | "steps" : 9 13 | }, 14 | "failure" : null, 15 | "description" : { 16 | "value" : null, 17 | "type" : "TEXT" 18 | }, 19 | "severity" : "NORMAL", 20 | "status" : "PASSED", 21 | "suite" : { 22 | "uid" : "75616540e63606ea", 23 | "name" : "As a Amazon user I should be able to login and logout with valid credentials", 24 | "title" : "As a amazon user I should be able to login and logout with valid credentials" 25 | }, 26 | "steps" : [ { 27 | "name" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 28 | "title" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 29 | "time" : { 30 | "start" : 1564864524495, 31 | "stop" : 1564864528976, 32 | "duration" : 4481 33 | }, 34 | "summary" : { 35 | "attachments" : 0, 36 | "steps" : 0 37 | }, 38 | "status" : "PASSED", 39 | "attachments" : [ ], 40 | "steps" : [ ] 41 | }, { 42 | "name" : "Then I click on sign in button and wait for sign in page", 43 | "title" : "Then I click on sign in button and wait for sign in page", 44 | "time" : { 45 | "start" : 1564864528976, 46 | "stop" : 1564864531408, 47 | "duration" : 2432 48 | }, 49 | "summary" : { 50 | "attachments" : 0, 51 | "steps" : 0 52 | }, 53 | "status" : "PASSED", 54 | "attachments" : [ ], 55 | "steps" : [ ] 56 | }, { 57 | "name" : "Then I should see Sign In Page", 58 | "title" : "Then I should see Sign In Page", 59 | "time" : { 60 | "start" : 1564864531408, 61 | "stop" : 1564864531456, 62 | "duration" : 48 63 | }, 64 | "summary" : { 65 | "attachments" : 0, 66 | "steps" : 0 67 | }, 68 | "status" : "PASSED", 69 | "attachments" : [ ], 70 | "steps" : [ ] 71 | }, { 72 | "name" : "When I enter username as \"testusername\"", 73 | "title" : "When I enter username as \"testusername\"", 74 | "time" : { 75 | "start" : 1564864531456, 76 | "stop" : 1564864531793, 77 | "duration" : 337 78 | }, 79 | "summary" : { 80 | "attachments" : 0, 81 | "steps" : 0 82 | }, 83 | "status" : "PASSED", 84 | "attachments" : [ ], 85 | "steps" : [ ] 86 | }, { 87 | "name" : "And I Click on Continue button", 88 | "title" : "And I Click on Continue button", 89 | "time" : { 90 | "start" : 1564864531793, 91 | "stop" : 1564864533297, 92 | "duration" : 1504 93 | }, 94 | "summary" : { 95 | "attachments" : 0, 96 | "steps" : 0 97 | }, 98 | "status" : "PASSED", 99 | "attachments" : [ ], 100 | "steps" : [ ] 101 | }, { 102 | "name" : "And I enter password as \"testpassword\"", 103 | "title" : "And I enter password as \"testpassword\"", 104 | "time" : { 105 | "start" : 1564864533298, 106 | "stop" : 1564864533507, 107 | "duration" : 209 108 | }, 109 | "summary" : { 110 | "attachments" : 0, 111 | "steps" : 0 112 | }, 113 | "status" : "PASSED", 114 | "attachments" : [ ], 115 | "steps" : [ ] 116 | }, { 117 | "name" : "And click on login button", 118 | "title" : "And click on login button", 119 | "time" : { 120 | "start" : 1564864533507, 121 | "stop" : 1564864538688, 122 | "duration" : 5181 123 | }, 124 | "summary" : { 125 | "attachments" : 0, 126 | "steps" : 0 127 | }, 128 | "status" : "PASSED", 129 | "attachments" : [ ], 130 | "steps" : [ ] 131 | }, { 132 | "name" : "Then I am logged in", 133 | "title" : "Then I am logged in", 134 | "time" : { 135 | "start" : 1564864538688, 136 | "stop" : 1564864538759, 137 | "duration" : 71 138 | }, 139 | "summary" : { 140 | "attachments" : 0, 141 | "steps" : 0 142 | }, 143 | "status" : "PASSED", 144 | "attachments" : [ ], 145 | "steps" : [ ] 146 | }, { 147 | "name" : "And I search different \"led tv\" from the search bar", 148 | "title" : "And I search different \"led tv\" from the search bar", 149 | "time" : { 150 | "start" : 1564864538759, 151 | "stop" : 1564864548625, 152 | "duration" : 9866 153 | }, 154 | "summary" : { 155 | "attachments" : 0, 156 | "steps" : 0 157 | }, 158 | "status" : "PASSED", 159 | "attachments" : [ ], 160 | "steps" : [ ] 161 | } ], 162 | "attachments" : [ { 163 | "title" : "attachment3", 164 | "source" : "174a1f3d-4f45-4048-91c9-c6b20dbd3b87-attachment.png", 165 | "type" : "image/png", 166 | "size" : 656405, 167 | "uid" : "e306873182b3bdd9" 168 | } ], 169 | "issues" : [ ], 170 | "testIds" : [ ], 171 | "labels" : [ { 172 | "name" : "language", 173 | "value" : "JAVA" 174 | }, { 175 | "name" : "feature", 176 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 177 | }, { 178 | "name" : "story", 179 | "value" : "Searching different products after login" 180 | }, { 181 | "name" : "suite-name", 182 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 183 | }, { 184 | "name" : "suite-title", 185 | "value" : null 186 | }, { 187 | "name" : "thread", 188 | "value" : "17436@A303598.main(1)" 189 | }, { 190 | "name" : "host", 191 | "value" : "A303598" 192 | }, { 193 | "name" : "framework", 194 | "value" : "CucumberJVM" 195 | } ], 196 | "parameters" : [ ] 197 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/552e1c3f-ff78-42a2-85a8-fd90e294dd60-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/5ae4eb98-65ac-4803-b647-24b0861160cf-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/6c351f2514930faa-testcase.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid" : "6c351f2514930faa", 3 | "name" : "Searching different products after login", 4 | "title" : "Searching different products after login", 5 | "time" : { 6 | "start" : 1564864459576, 7 | "stop" : 1564864490836, 8 | "duration" : 31260 9 | }, 10 | "summary" : { 11 | "attachments" : 1, 12 | "steps" : 9 13 | }, 14 | "failure" : null, 15 | "description" : { 16 | "value" : null, 17 | "type" : "TEXT" 18 | }, 19 | "severity" : "NORMAL", 20 | "status" : "PASSED", 21 | "suite" : { 22 | "uid" : "75616540e63606ea", 23 | "name" : "As a Amazon user I should be able to login and logout with valid credentials", 24 | "title" : "As a amazon user I should be able to login and logout with valid credentials" 25 | }, 26 | "steps" : [ { 27 | "name" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 28 | "title" : "Given I am on the Login page URL \"https://www.amazon.in/\"", 29 | "time" : { 30 | "start" : 1564864464395, 31 | "stop" : 1564864470108, 32 | "duration" : 5713 33 | }, 34 | "summary" : { 35 | "attachments" : 0, 36 | "steps" : 0 37 | }, 38 | "status" : "PASSED", 39 | "attachments" : [ ], 40 | "steps" : [ ] 41 | }, { 42 | "name" : "Then I click on sign in button and wait for sign in page", 43 | "title" : "Then I click on sign in button and wait for sign in page", 44 | "time" : { 45 | "start" : 1564864470108, 46 | "stop" : 1564864472558, 47 | "duration" : 2450 48 | }, 49 | "summary" : { 50 | "attachments" : 0, 51 | "steps" : 0 52 | }, 53 | "status" : "PASSED", 54 | "attachments" : [ ], 55 | "steps" : [ ] 56 | }, { 57 | "name" : "Then I should see Sign In Page", 58 | "title" : "Then I should see Sign In Page", 59 | "time" : { 60 | "start" : 1564864472559, 61 | "stop" : 1564864472594, 62 | "duration" : 35 63 | }, 64 | "summary" : { 65 | "attachments" : 0, 66 | "steps" : 0 67 | }, 68 | "status" : "PASSED", 69 | "attachments" : [ ], 70 | "steps" : [ ] 71 | }, { 72 | "name" : "When I enter username as \"testusername\"", 73 | "title" : "When I enter username as \"testusername\"", 74 | "time" : { 75 | "start" : 1564864472594, 76 | "stop" : 1564864472984, 77 | "duration" : 390 78 | }, 79 | "summary" : { 80 | "attachments" : 0, 81 | "steps" : 0 82 | }, 83 | "status" : "PASSED", 84 | "attachments" : [ ], 85 | "steps" : [ ] 86 | }, { 87 | "name" : "And I Click on Continue button", 88 | "title" : "And I Click on Continue button", 89 | "time" : { 90 | "start" : 1564864472984, 91 | "stop" : 1564864474344, 92 | "duration" : 1360 93 | }, 94 | "summary" : { 95 | "attachments" : 0, 96 | "steps" : 0 97 | }, 98 | "status" : "PASSED", 99 | "attachments" : [ ], 100 | "steps" : [ ] 101 | }, { 102 | "name" : "And I enter password as \"testpassword\"", 103 | "title" : "And I enter password as \"testpassword\"", 104 | "time" : { 105 | "start" : 1564864474345, 106 | "stop" : 1564864474489, 107 | "duration" : 144 108 | }, 109 | "summary" : { 110 | "attachments" : 0, 111 | "steps" : 0 112 | }, 113 | "status" : "PASSED", 114 | "attachments" : [ ], 115 | "steps" : [ ] 116 | }, { 117 | "name" : "And click on login button", 118 | "title" : "And click on login button", 119 | "time" : { 120 | "start" : 1564864474489, 121 | "stop" : 1564864479103, 122 | "duration" : 4614 123 | }, 124 | "summary" : { 125 | "attachments" : 0, 126 | "steps" : 0 127 | }, 128 | "status" : "PASSED", 129 | "attachments" : [ ], 130 | "steps" : [ ] 131 | }, { 132 | "name" : "Then I am logged in", 133 | "title" : "Then I am logged in", 134 | "time" : { 135 | "start" : 1564864479103, 136 | "stop" : 1564864479264, 137 | "duration" : 161 138 | }, 139 | "summary" : { 140 | "attachments" : 0, 141 | "steps" : 0 142 | }, 143 | "status" : "PASSED", 144 | "attachments" : [ ], 145 | "steps" : [ ] 146 | }, { 147 | "name" : "And I search different \"laptops\" from the search bar", 148 | "title" : "And I search different \"laptops\" from the search bar", 149 | "time" : { 150 | "start" : 1564864479264, 151 | "stop" : 1564864488457, 152 | "duration" : 9193 153 | }, 154 | "summary" : { 155 | "attachments" : 0, 156 | "steps" : 0 157 | }, 158 | "status" : "PASSED", 159 | "attachments" : [ ], 160 | "steps" : [ ] 161 | } ], 162 | "attachments" : [ { 163 | "title" : "attachment1", 164 | "source" : "2d2921ff-c1d3-43e6-872a-65c76a32a84a-attachment.png", 165 | "type" : "image/png", 166 | "size" : 565750, 167 | "uid" : "5ff590f84f08b388" 168 | } ], 169 | "issues" : [ ], 170 | "testIds" : [ ], 171 | "labels" : [ { 172 | "name" : "language", 173 | "value" : "JAVA" 174 | }, { 175 | "name" : "feature", 176 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 177 | }, { 178 | "name" : "story", 179 | "value" : "Searching different products after login" 180 | }, { 181 | "name" : "suite-name", 182 | "value" : "As a Amazon user I should be able to login and logout with valid credentials" 183 | }, { 184 | "name" : "suite-title", 185 | "value" : null 186 | }, { 187 | "name" : "thread", 188 | "value" : "17436@A303598.main(1)" 189 | }, { 190 | "name" : "host", 191 | "value" : "A303598" 192 | }, { 193 | "name" : "framework", 194 | "value" : "CucumberJVM" 195 | } ], 196 | "parameters" : [ ] 197 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/71cfe494-e278-4ef0-a457-fd96822b92d0-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/77534ed3-5114-42e3-bd58-3205df25e53b-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/789ee847-a4ef-4bd8-9a54-7ca80aa1c2c5-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/behaviors.json: -------------------------------------------------------------------------------- 1 | { 2 | "features" : [ { 3 | "title" : "As a Amazon user I should be able to login and logout with valid credentials", 4 | "statistic" : { 5 | "total" : 4, 6 | "passed" : 3, 7 | "pending" : 0, 8 | "canceled" : 0, 9 | "failed" : 0, 10 | "broken" : 1 11 | }, 12 | "stories" : [ { 13 | "uid" : "24e18f2788f15bd4", 14 | "title" : "Login into the application with valid credentials", 15 | "statistic" : { 16 | "total" : 1, 17 | "passed" : 0, 18 | "pending" : 0, 19 | "canceled" : 0, 20 | "failed" : 0, 21 | "broken" : 1 22 | }, 23 | "testCases" : [ { 24 | "uid" : "c64b0dcacfd90108", 25 | "name" : "Login into the application with valid credentials", 26 | "title" : "Login into the application with valid credentials", 27 | "time" : { 28 | "start" : 1564864411437, 29 | "stop" : 1564864459569, 30 | "duration" : 48132 31 | }, 32 | "severity" : "NORMAL", 33 | "status" : "BROKEN" 34 | } ] 35 | }, { 36 | "uid" : "9e0756278963cdff", 37 | "title" : "Searching different products after login", 38 | "statistic" : { 39 | "total" : 3, 40 | "passed" : 3, 41 | "pending" : 0, 42 | "canceled" : 0, 43 | "failed" : 0, 44 | "broken" : 0 45 | }, 46 | "testCases" : [ { 47 | "uid" : "6c351f2514930faa", 48 | "name" : "Searching different products after login", 49 | "title" : "Searching different products after login", 50 | "time" : { 51 | "start" : 1564864459576, 52 | "stop" : 1564864490836, 53 | "duration" : 31260 54 | }, 55 | "severity" : "NORMAL", 56 | "status" : "PASSED" 57 | }, { 58 | "uid" : "215067456f4409ae", 59 | "name" : "Searching different products after login", 60 | "title" : "Searching different products after login", 61 | "time" : { 62 | "start" : 1564864490843, 63 | "stop" : 1564864519797, 64 | "duration" : 28954 65 | }, 66 | "severity" : "NORMAL", 67 | "status" : "PASSED" 68 | }, { 69 | "uid" : "27da5f7fbd7cdaa", 70 | "name" : "Searching different products after login", 71 | "title" : "Searching different products after login", 72 | "time" : { 73 | "start" : 1564864519798, 74 | "stop" : 1564864550547, 75 | "duration" : 30749 76 | }, 77 | "severity" : "NORMAL", 78 | "status" : "PASSED" 79 | } ] 80 | } ] 81 | } ] 82 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/data/c119fc0f-cce5-4ac0-8499-0cdad18db7c4-attachment.png -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/defects.json: -------------------------------------------------------------------------------- 1 | { 2 | "defectsList" : [ { 3 | "title" : "Product defects", 4 | "status" : "FAILED", 5 | "defects" : [ ] 6 | }, { 7 | "title" : "Test defects", 8 | "status" : "BROKEN", 9 | "defects" : [ { 10 | "uid" : "ff37178e98713812", 11 | "failure" : { 12 | "message" : "NoSuchElementException: no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a\"}\n (Session info: chrome=75.0.3770.142)\n (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 0 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'\nSystem info: host: 'A303598', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.38.552522 (437e6fbedfa876..., userDataDir: C:\\Users\\negiro\\AppData\\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 75.0.3770.142, webStorageEnabled: true}\nSession ID: 87457ddf04dcb99a23faaec0f18c5201\n*** Element info: {Using=xpath, value=//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a}", 13 | "stackTrace" : "org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a\"}\n (Session info: chrome=75.0.3770.142)\n (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 0 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'\nSystem info: host: 'A303598', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.38.552522 (437e6fbedfa876..., userDataDir: C:\\Users\\negiro\\AppData\\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 75.0.3770.142, webStorageEnabled: true}\nSession ID: 87457ddf04dcb99a23faaec0f18c5201\n*** Element info: {Using=xpath, value=//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a}\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)\n\tat org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\n\tat org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:421)\n\tat org.openqa.selenium.By$ByXPath.findElement(By.java:361)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:311)\n\tat org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69)\n\tat org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38)\n\tat com.sun.proxy.$Proxy18.click(Unknown Source)\n\tat com.cucumberFramework.pageObjects.LoginLogoutPage.enterSearchItemandAddToCart(LoginLogoutPage.java:98)\n\tat com.cucumberFramework.stepdefinitions.loginLogoutPageStepDefinitions.i_search_and_add_nd_available_item_to_cart(loginLogoutPageStepDefinitions.java:86)\n\tat ✽.Then I search \"Macbook pro\" and add second available item to cart(src/test/resources/features/login/login_logout.feature:15)\n" 14 | }, 15 | "testCases" : [ { 16 | "uid" : "c64b0dcacfd90108", 17 | "name" : "Login into the application with valid credentials", 18 | "title" : "Login into the application with valid credentials", 19 | "time" : { 20 | "start" : 1564864411437, 21 | "stop" : 1564864459569, 22 | "duration" : 48132 23 | }, 24 | "severity" : "NORMAL", 25 | "status" : "BROKEN" 26 | } ] 27 | } ] 28 | } ] 29 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/environment.json: -------------------------------------------------------------------------------- 1 | { 2 | "id" : "81e53be6-1dc5-4f97-8bf5-da4d85d25690", 3 | "name" : "Allure Test Pack", 4 | "url" : null, 5 | "parameter" : [ ] 6 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/graph.json: -------------------------------------------------------------------------------- 1 | { 2 | "testCases" : [ { 3 | "uid" : "c64b0dcacfd90108", 4 | "name" : "Login into the application with valid credentials", 5 | "title" : "Login into the application with valid credentials", 6 | "time" : { 7 | "start" : 1564864411437, 8 | "stop" : 1564864459569, 9 | "duration" : 48132 10 | }, 11 | "severity" : "NORMAL", 12 | "status" : "BROKEN" 13 | }, { 14 | "uid" : "6c351f2514930faa", 15 | "name" : "Searching different products after login", 16 | "title" : "Searching different products after login", 17 | "time" : { 18 | "start" : 1564864459576, 19 | "stop" : 1564864490836, 20 | "duration" : 31260 21 | }, 22 | "severity" : "NORMAL", 23 | "status" : "PASSED" 24 | }, { 25 | "uid" : "215067456f4409ae", 26 | "name" : "Searching different products after login", 27 | "title" : "Searching different products after login", 28 | "time" : { 29 | "start" : 1564864490843, 30 | "stop" : 1564864519797, 31 | "duration" : 28954 32 | }, 33 | "severity" : "NORMAL", 34 | "status" : "PASSED" 35 | }, { 36 | "uid" : "27da5f7fbd7cdaa", 37 | "name" : "Searching different products after login", 38 | "title" : "Searching different products after login", 39 | "time" : { 40 | "start" : 1564864519798, 41 | "stop" : 1564864550547, 42 | "duration" : 30749 43 | }, 44 | "severity" : "NORMAL", 45 | "status" : "PASSED" 46 | } ] 47 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/plugins.json: -------------------------------------------------------------------------------- 1 | [ "total", "defects", "xunit", "behaviors", "graph", "timeline", "environment" ] -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/report.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "Allure Test Pack", 3 | "id" : "81e53be6-1dc5-4f97-8bf5-da4d85d25690", 4 | "url" : null, 5 | "size" : 46311, 6 | "time" : 2459 7 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/timeline.json: -------------------------------------------------------------------------------- 1 | { 2 | "hosts" : [ { 3 | "title" : "A303598", 4 | "threads" : [ { 5 | "title" : "17436@A303598.main(1)", 6 | "testCases" : [ { 7 | "uid" : "c64b0dcacfd90108", 8 | "name" : "Login into the application with valid credentials", 9 | "title" : "Login into the application with valid credentials", 10 | "time" : { 11 | "start" : 1564864411437, 12 | "stop" : 1564864459569, 13 | "duration" : 48132 14 | }, 15 | "severity" : "NORMAL", 16 | "status" : "BROKEN" 17 | }, { 18 | "uid" : "6c351f2514930faa", 19 | "name" : "Searching different products after login", 20 | "title" : "Searching different products after login", 21 | "time" : { 22 | "start" : 1564864459576, 23 | "stop" : 1564864490836, 24 | "duration" : 31260 25 | }, 26 | "severity" : "NORMAL", 27 | "status" : "PASSED" 28 | }, { 29 | "uid" : "215067456f4409ae", 30 | "name" : "Searching different products after login", 31 | "title" : "Searching different products after login", 32 | "time" : { 33 | "start" : 1564864490843, 34 | "stop" : 1564864519797, 35 | "duration" : 28954 36 | }, 37 | "severity" : "NORMAL", 38 | "status" : "PASSED" 39 | }, { 40 | "uid" : "27da5f7fbd7cdaa", 41 | "name" : "Searching different products after login", 42 | "title" : "Searching different products after login", 43 | "time" : { 44 | "start" : 1564864519798, 45 | "stop" : 1564864550547, 46 | "duration" : 30749 47 | }, 48 | "severity" : "NORMAL", 49 | "status" : "PASSED" 50 | } ] 51 | } ] 52 | } ] 53 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/total.json: -------------------------------------------------------------------------------- 1 | { 2 | "statistic" : { 3 | "total" : 4, 4 | "passed" : 3, 5 | "pending" : 0, 6 | "canceled" : 0, 7 | "failed" : 0, 8 | "broken" : 1 9 | }, 10 | "time" : { 11 | "start" : 1564864411437, 12 | "stop" : 1564864550547, 13 | "duration" : 139110 14 | } 15 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/widgets.json: -------------------------------------------------------------------------------- 1 | { 2 | "hash" : "e7105c43ada45c9f6e0006854ef1a1d95249231d", 3 | "plugins" : { 4 | "total" : { 5 | "statistic" : { 6 | "total" : 4, 7 | "passed" : 3, 8 | "pending" : 0, 9 | "canceled" : 0, 10 | "failed" : 0, 11 | "broken" : 1 12 | }, 13 | "time" : { 14 | "start" : 1564864411437, 15 | "stop" : 1564864550547, 16 | "duration" : 139110 17 | } 18 | }, 19 | "defects" : { 20 | "totalCount" : 1, 21 | "items" : [ { 22 | "count" : 1, 23 | "uid" : "ff37178e98713812", 24 | "message" : "NoSuchElementException: no such element: Unable to locate element: {\"method\":\"xpath\",\"selector\":\"//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a\"}\n (Session info: chrome=75.0.3770.142)\n (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 0 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z'\nSystem info: host: 'A303598', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181'\nDriver info: org.openqa.selenium.chrome.ChromeDriver\nCapabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.38.552522 (437e6fbedfa876..., userDataDir: C:\\Users\\negiro\\AppData\\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 75.0.3770.142, webStorageEnabled: true}\nSession ID: 87457ddf04dcb99a23faaec0f18c5201\n*** Element info: {Using=xpath, value=//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a}", 25 | "status" : "BROKEN" 26 | } ] 27 | }, 28 | "xunit" : { 29 | "totalCount" : 1, 30 | "items" : [ { 31 | "uid" : "75616540e63606ea", 32 | "title" : "As a amazon user I should be able to login and logout with valid credentials", 33 | "statistic" : { 34 | "total" : 4, 35 | "passed" : 3, 36 | "pending" : 0, 37 | "canceled" : 0, 38 | "failed" : 0, 39 | "broken" : 1 40 | } 41 | } ] 42 | }, 43 | "behaviors" : { 44 | "totalCount" : 1, 45 | "items" : [ { 46 | "title" : "As a Amazon user I should be able to login and logout with valid credentials", 47 | "statistic" : { 48 | "total" : 4, 49 | "passed" : 3, 50 | "pending" : 0, 51 | "canceled" : 0, 52 | "failed" : 0, 53 | "broken" : 1 54 | } 55 | } ] 56 | }, 57 | "environment" : [ ] 58 | } 59 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/data/xunit.json: -------------------------------------------------------------------------------- 1 | { 2 | "time" : { 3 | "start" : 1564864411437, 4 | "stop" : 1564864550547, 5 | "duration" : 139110 6 | }, 7 | "testSuites" : [ { 8 | "uid" : "75616540e63606ea", 9 | "name" : "As a Amazon user I should be able to login and logout with valid credentials", 10 | "title" : "As a amazon user I should be able to login and logout with valid credentials", 11 | "time" : { 12 | "start" : 1564864411437, 13 | "stop" : 1564864550547, 14 | "duration" : 139110 15 | }, 16 | "statistic" : { 17 | "total" : 4, 18 | "passed" : 3, 19 | "pending" : 0, 20 | "canceled" : 0, 21 | "failed" : 0, 22 | "broken" : 1 23 | }, 24 | "description" : null, 25 | "testCases" : [ { 26 | "uid" : "c64b0dcacfd90108", 27 | "name" : "Login into the application with valid credentials", 28 | "title" : "Login into the application with valid credentials", 29 | "time" : { 30 | "start" : 1564864411437, 31 | "stop" : 1564864459569, 32 | "duration" : 48132 33 | }, 34 | "severity" : "NORMAL", 35 | "status" : "BROKEN" 36 | }, { 37 | "uid" : "6c351f2514930faa", 38 | "name" : "Searching different products after login", 39 | "title" : "Searching different products after login", 40 | "time" : { 41 | "start" : 1564864459576, 42 | "stop" : 1564864490836, 43 | "duration" : 31260 44 | }, 45 | "severity" : "NORMAL", 46 | "status" : "PASSED" 47 | }, { 48 | "uid" : "215067456f4409ae", 49 | "name" : "Searching different products after login", 50 | "title" : "Searching different products after login", 51 | "time" : { 52 | "start" : 1564864490843, 53 | "stop" : 1564864519797, 54 | "duration" : 28954 55 | }, 56 | "severity" : "NORMAL", 57 | "status" : "PASSED" 58 | }, { 59 | "uid" : "27da5f7fbd7cdaa", 60 | "name" : "Searching different products after login", 61 | "title" : "Searching different products after login", 62 | "time" : { 63 | "start" : 1564864519798, 64 | "stop" : 1564864550547, 65 | "duration" : 30749 66 | }, 67 | "severity" : "NORMAL", 68 | "status" : "PASSED" 69 | } ] 70 | } ] 71 | } -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/f8ddfbfcb1a4e191ee1fa7f98417280e.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/fa4b5e31eae6378a0dfa9e10cfb9262f.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/favicon.ico -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/fee66e712a8a08eef5805a46892932ad.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/allure-maven-plugin/fee66e712a8a08eef5805a46892932ad.woff -------------------------------------------------------------------------------- /target/site/allure-maven-plugin/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Allure 6 | 7 | 8 | 9 | 10 |
11 |
12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /target/site/css/maven-base.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px; 3 | padding: 0px; 4 | } 5 | img { 6 | border:none; 7 | } 8 | table { 9 | padding:0px; 10 | width: 100%; 11 | margin-left: -2px; 12 | margin-right: -2px; 13 | } 14 | acronym { 15 | cursor: help; 16 | border-bottom: 1px dotted #feb; 17 | } 18 | table.bodyTable th, table.bodyTable td { 19 | padding: 2px 4px 2px 4px; 20 | vertical-align: top; 21 | } 22 | div.clear{ 23 | clear:both; 24 | visibility: hidden; 25 | } 26 | div.clear hr{ 27 | display: none; 28 | } 29 | #bannerLeft, #bannerRight { 30 | font-size: xx-large; 31 | font-weight: bold; 32 | } 33 | #bannerLeft img, #bannerRight img { 34 | margin: 0px; 35 | } 36 | .xleft, #bannerLeft img { 37 | float:left; 38 | } 39 | .xright, #bannerRight { 40 | float:right; 41 | } 42 | #banner { 43 | padding: 0px; 44 | } 45 | #banner img { 46 | border: none; 47 | } 48 | #breadcrumbs { 49 | padding: 3px 10px 3px 10px; 50 | } 51 | #leftColumn { 52 | width: 170px; 53 | float:left; 54 | overflow: auto; 55 | } 56 | #bodyColumn { 57 | margin-right: 1.5em; 58 | margin-left: 197px; 59 | } 60 | #legend { 61 | padding: 8px 0 8px 0; 62 | } 63 | #navcolumn { 64 | padding: 8px 4px 0 8px; 65 | } 66 | #navcolumn h5 { 67 | margin: 0; 68 | padding: 0; 69 | font-size: small; 70 | } 71 | #navcolumn ul { 72 | margin: 0; 73 | padding: 0; 74 | font-size: small; 75 | } 76 | #navcolumn li { 77 | list-style-type: none; 78 | background-image: none; 79 | background-repeat: no-repeat; 80 | background-position: 0 0.4em; 81 | padding-left: 16px; 82 | list-style-position: outside; 83 | line-height: 1.2em; 84 | font-size: smaller; 85 | } 86 | #navcolumn li.expanded { 87 | background-image: url(../images/expanded.gif); 88 | } 89 | #navcolumn li.collapsed { 90 | background-image: url(../images/collapsed.gif); 91 | } 92 | #navcolumn li.none { 93 | text-indent: -1em; 94 | margin-left: 1em; 95 | } 96 | #poweredBy { 97 | text-align: center; 98 | } 99 | #navcolumn img { 100 | margin-top: 10px; 101 | margin-bottom: 3px; 102 | } 103 | #poweredBy img { 104 | display:block; 105 | margin: 20px 0 20px 17px; 106 | } 107 | #search img { 108 | margin: 0px; 109 | display: block; 110 | } 111 | #search #q, #search #btnG { 112 | border: 1px solid #999; 113 | margin-bottom:10px; 114 | } 115 | #search form { 116 | margin: 0px; 117 | } 118 | #lastPublished { 119 | font-size: x-small; 120 | } 121 | .navSection { 122 | margin-bottom: 2px; 123 | padding: 8px; 124 | } 125 | .navSectionHead { 126 | font-weight: bold; 127 | font-size: x-small; 128 | } 129 | .section { 130 | padding: 4px; 131 | } 132 | #footer { 133 | padding: 3px 10px 3px 10px; 134 | font-size: x-small; 135 | } 136 | #breadcrumbs { 137 | font-size: x-small; 138 | margin: 0pt; 139 | } 140 | .source { 141 | padding: 12px; 142 | margin: 1em 7px 1em 7px; 143 | } 144 | .source pre { 145 | margin: 0px; 146 | padding: 0px; 147 | } 148 | #navcolumn img.imageLink, .imageLink { 149 | padding-left: 0px; 150 | padding-bottom: 0px; 151 | padding-top: 0px; 152 | padding-right: 2px; 153 | border: 0px; 154 | margin: 0px; 155 | } 156 | -------------------------------------------------------------------------------- /target/site/css/maven-theme.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding: 0px 0px 10px 0px; 3 | } 4 | body, td, select, input, li{ 5 | font-family: Verdana, Helvetica, Arial, sans-serif; 6 | font-size: 13px; 7 | } 8 | code{ 9 | font-family: Courier, monospace; 10 | font-size: 13px; 11 | } 12 | a { 13 | text-decoration: none; 14 | } 15 | a:link { 16 | color:#36a; 17 | } 18 | a:visited { 19 | color:#47a; 20 | } 21 | a:active, a:hover { 22 | color:#69c; 23 | } 24 | #legend li.externalLink { 25 | background: url(../images/external.png) left top no-repeat; 26 | padding-left: 18px; 27 | } 28 | a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover { 29 | background: url(../images/external.png) right center no-repeat; 30 | padding-right: 18px; 31 | } 32 | #legend li.newWindow { 33 | background: url(../images/newwindow.png) left top no-repeat; 34 | padding-left: 18px; 35 | } 36 | a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover { 37 | background: url(../images/newwindow.png) right center no-repeat; 38 | padding-right: 18px; 39 | } 40 | h2 { 41 | padding: 4px 4px 4px 6px; 42 | border: 1px solid #999; 43 | color: #900; 44 | background-color: #ddd; 45 | font-weight:900; 46 | font-size: x-large; 47 | } 48 | h3 { 49 | padding: 4px 4px 4px 6px; 50 | border: 1px solid #aaa; 51 | color: #900; 52 | background-color: #eee; 53 | font-weight: normal; 54 | font-size: large; 55 | } 56 | h4 { 57 | padding: 4px 4px 4px 6px; 58 | border: 1px solid #bbb; 59 | color: #900; 60 | background-color: #fff; 61 | font-weight: normal; 62 | font-size: large; 63 | } 64 | h5 { 65 | padding: 4px 4px 4px 6px; 66 | color: #900; 67 | font-size: normal; 68 | } 69 | p { 70 | line-height: 1.3em; 71 | font-size: small; 72 | } 73 | #breadcrumbs { 74 | border-top: 1px solid #aaa; 75 | border-bottom: 1px solid #aaa; 76 | background-color: #ccc; 77 | } 78 | #leftColumn { 79 | margin: 10px 0 0 5px; 80 | border: 1px solid #999; 81 | background-color: #eee; 82 | } 83 | #navcolumn h5 { 84 | font-size: smaller; 85 | border-bottom: 1px solid #aaaaaa; 86 | padding-top: 2px; 87 | color: #000; 88 | } 89 | 90 | table.bodyTable th { 91 | color: white; 92 | background-color: #bbb; 93 | text-align: left; 94 | font-weight: bold; 95 | } 96 | 97 | table.bodyTable th, table.bodyTable td { 98 | font-size: 1em; 99 | } 100 | 101 | table.bodyTable tr.a { 102 | background-color: #ddd; 103 | } 104 | 105 | table.bodyTable tr.b { 106 | background-color: #eee; 107 | } 108 | 109 | .source { 110 | border: 1px solid #999; 111 | } 112 | dl { 113 | padding: 4px 4px 4px 6px; 114 | border: 1px solid #aaa; 115 | background-color: #ffc; 116 | } 117 | dt { 118 | color: #900; 119 | } 120 | #organizationLogo img, #projectLogo img, #projectLogo span{ 121 | margin: 8px; 122 | } 123 | #banner { 124 | border-bottom: 1px solid #fff; 125 | } 126 | .errormark, .warningmark, .donemark, .infomark { 127 | background: url(../images/icon_error_sml.gif) no-repeat; 128 | } 129 | 130 | .warningmark { 131 | background-image: url(../images/icon_warning_sml.gif); 132 | } 133 | 134 | .donemark { 135 | background-image: url(../images/icon_success_sml.gif); 136 | } 137 | 138 | .infomark { 139 | background-image: url(../images/icon_info_sml.gif); 140 | } 141 | 142 | -------------------------------------------------------------------------------- /target/site/css/print.css: -------------------------------------------------------------------------------- 1 | #banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn { 2 | display: none !important; 3 | } 4 | #bodyColumn, body.docs div.docs { 5 | margin: 0 !important; 6 | border: none !important 7 | } 8 | -------------------------------------------------------------------------------- /target/site/css/site.css: -------------------------------------------------------------------------------- 1 | /* You can override this file with your own styles */ -------------------------------------------------------------------------------- /target/site/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/collapsed.gif -------------------------------------------------------------------------------- /target/site/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/expanded.gif -------------------------------------------------------------------------------- /target/site/images/external.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/external.png -------------------------------------------------------------------------------- /target/site/images/icon_error_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/icon_error_sml.gif -------------------------------------------------------------------------------- /target/site/images/icon_info_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/icon_info_sml.gif -------------------------------------------------------------------------------- /target/site/images/icon_success_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/icon_success_sml.gif -------------------------------------------------------------------------------- /target/site/images/icon_warning_sml.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/icon_warning_sml.gif -------------------------------------------------------------------------------- /target/site/images/logos/build-by-maven-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/logos/build-by-maven-black.png -------------------------------------------------------------------------------- /target/site/images/logos/build-by-maven-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/logos/build-by-maven-white.png -------------------------------------------------------------------------------- /target/site/images/logos/maven-feather.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/logos/maven-feather.png -------------------------------------------------------------------------------- /target/site/images/newwindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/site/images/newwindow.png -------------------------------------------------------------------------------- /target/site/project-reports.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | cucumberFramework - Generated Reports 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 26 |
41 |
42 | 62 |
63 |
64 |
65 |
66 |

Generated Reports

67 |

This document provides an overview of the various reports that are automatically generated by Maven . Each report is briefly described below.

68 |
69 |

Overview

70 | 71 | 72 | 73 | 74 | 75 | 76 |
DocumentDescription
AllureExtended report on the test results of the project.
77 |
78 |
79 |
80 |
81 |
82 | 92 | 93 | 94 | -------------------------------------------------------------------------------- /target/surefire-reports/BDD Test Suite/testng-failed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /target/surefire-reports/TestSuite.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: TestSuite 3 | ------------------------------------------------------------------------------- 4 | Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 143.117 sec <<< FAILURE! - in TestSuite 5 | feature(com.cucumberFramework.testRunner.TestRunner) Time elapsed: 139.64 sec <<< FAILURE! 6 | cucumber.runtime.CucumberException: 7 | org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a"} 8 | (Session info: chrome=75.0.3770.142) 9 | (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information) 10 | Command duration or timeout: 0 milliseconds 11 | For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html 12 | Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' 13 | System info: host: 'A303598', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' 14 | Driver info: org.openqa.selenium.chrome.ChromeDriver 15 | Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.38.552522 (437e6fbedfa876..., userDataDir: C:\Users\negiro\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 75.0.3770.142, webStorageEnabled: true} 16 | Session ID: 87457ddf04dcb99a23faaec0f18c5201 17 | *** Element info: {Using=xpath, value=//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a} 18 | at com.cucumberFramework.testRunner.TestRunner.feature(TestRunner.java:27) 19 | Caused by: org.openqa.selenium.NoSuchElementException: 20 | no such element: Unable to locate element: {"method":"xpath","selector":"//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a"} 21 | (Session info: chrome=75.0.3770.142) 22 | (Driver info: chromedriver=2.38.552522 (437e6fbedfa8762dec75e2c5b3ddb86763dc9dcb),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information) 23 | Command duration or timeout: 0 milliseconds 24 | For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html 25 | Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:26:55.152Z' 26 | System info: host: 'A303598', ip: '192.168.137.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' 27 | Driver info: org.openqa.selenium.chrome.ChromeDriver 28 | Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.38.552522 (437e6fbedfa876..., userDataDir: C:\Users\negiro\AppData\Loc...}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 75.0.3770.142, webStorageEnabled: true} 29 | Session ID: 87457ddf04dcb99a23faaec0f18c5201 30 | *** Element info: {Using=xpath, value=//div[starts-with(@class,'sg-col-4')]/div[@class='sg-col-inner']/div/h5/a} 31 | 32 | -------------------------------------------------------------------------------- /target/surefire-reports/bullet_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/bullet_point.png -------------------------------------------------------------------------------- /target/surefire-reports/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/collapseall.gif -------------------------------------------------------------------------------- /target/surefire-reports/failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/failed.png -------------------------------------------------------------------------------- /target/surefire-reports/navigator-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/navigator-bullet.png -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Regression Test] -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
Class nameMethod nameGroups
com.cucumberFramework.testRunner.TestRunner  
@Test
 featurecucumber
@BeforeClass
 setUpClass 
@BeforeMethod
@AfterMethod
@AfterClass
 testDownClass 
38 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

2 | 3 |
Group nameMethods
cucumberTestRunner.feature(cucumber.api.testng.CucumberFeatureWrapper)[pri:0, instance:com.cucumberFramework.testRunner.TestRunner@3e850122]
4 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/index.html: -------------------------------------------------------------------------------- 1 | Results for BDD Test Suite 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/main.html: -------------------------------------------------------------------------------- 1 | Results for BDD Test Suite 2 | Select a result on the left-hand pane. 3 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/methods-alphabetical.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


BDD Test Suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/08/04 02:03:31 0      featuremain@1368193098
19/08/04 02:03:29 -1664   >>setUpClass    main@1368193098
19/08/04 02:05:50 139646   <<testDownClass    main@1368193098
11 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/methods-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/methods.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


BDD Test Suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/08/04 02:03:29 0   >>setUpClass    main@1368193098
19/08/04 02:03:31 1664      featuremain@1368193098
19/08/04 02:05:50 141310   <<testDownClass    main@1368193098
11 | -------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/reporter-output.html: -------------------------------------------------------------------------------- 1 |

Reporter output

-------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/testng.xml.html: -------------------------------------------------------------------------------- 1 | testng.xml for BDD Test Suite<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" verbose="0" name="BDD Test Suite">
  <test name="Regression Test">
    <classes>
      <class name="com.cucumberFramework.testRunner.TestRunner"/>
    </classes>
  </test> <!-- Regression Test -->
</suite> <!-- BDD Test Suite -->
-------------------------------------------------------------------------------- /target/surefire-reports/old/BDD Test Suite/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Results for BDD Test Suite 4 | 5 | 6 | 7 | 8 |

Results for
BDD Test Suite

9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 22 |
1 test1 class1 method:
14 |   chronological
15 |   alphabetical
16 |   not run (0)
1 groupreporter outputtestng.xml
23 | 24 |

29 |

25 |
Regression Test (0/1/0) 26 | Results 27 |
28 |
30 | -------------------------------------------------------------------------------- /target/surefire-reports/old/index.html: -------------------------------------------------------------------------------- 1 | 2 | Test results 3 | 4 | 5 |

Test results

6 | 7 | 8 | 9 |
SuitePassedFailedSkippedtestng.xml
Total010 
BDD Test Suite010Link
10 | -------------------------------------------------------------------------------- /target/surefire-reports/passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/passed.png -------------------------------------------------------------------------------- /target/surefire-reports/skipped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/surefire-reports/skipped.png -------------------------------------------------------------------------------- /target/surefire-reports/testng-failed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /target/surefire-reports/testng-reports.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px 0px 5px 5px; 3 | } 4 | 5 | ul { 6 | margin: 0px; 7 | } 8 | 9 | li { 10 | list-style-type: none; 11 | } 12 | 13 | a { 14 | text-decoration: none; 15 | } 16 | 17 | a:hover { 18 | text-decoration: underline; 19 | } 20 | 21 | .navigator-selected { 22 | background: #ffa500; 23 | } 24 | 25 | .wrapper { 26 | position: absolute; 27 | top: 60px; 28 | bottom: 0; 29 | left: 400px; 30 | right: 0; 31 | overflow: auto; 32 | } 33 | 34 | .navigator-root { 35 | position: absolute; 36 | top: 60px; 37 | bottom: 0; 38 | left: 0; 39 | width: 400px; 40 | overflow-y: auto; 41 | } 42 | 43 | .suite { 44 | margin: 0px 10px 10px 0px; 45 | background-color: #fff8dc; 46 | } 47 | 48 | .suite-name { 49 | padding-left: 10px; 50 | font-size: 25px; 51 | font-family: Times; 52 | } 53 | 54 | .main-panel-header { 55 | padding: 5px; 56 | background-color: #9FB4D9; //afeeee; 57 | font-family: monospace; 58 | font-size: 18px; 59 | } 60 | 61 | .main-panel-content { 62 | padding: 5px; 63 | margin-bottom: 10px; 64 | background-color: #DEE8FC; //d0ffff; 65 | } 66 | 67 | .rounded-window { 68 | border-radius: 10px; 69 | border-style: solid; 70 | border-width: 1px; 71 | } 72 | 73 | .rounded-window-top { 74 | border-top-right-radius: 10px 10px; 75 | border-top-left-radius: 10px 10px; 76 | border-style: solid; 77 | border-width: 1px; 78 | overflow: auto; 79 | } 80 | 81 | .light-rounded-window-top { 82 | border-top-right-radius: 10px 10px; 83 | border-top-left-radius: 10px 10px; 84 | } 85 | 86 | .rounded-window-bottom { 87 | border-style: solid; 88 | border-width: 0px 1px 1px 1px; 89 | border-bottom-right-radius: 10px 10px; 90 | border-bottom-left-radius: 10px 10px; 91 | overflow: auto; 92 | } 93 | 94 | .method-name { 95 | font-size: 12px; 96 | font-family: monospace; 97 | } 98 | 99 | .method-content { 100 | border-style: solid; 101 | border-width: 0px 0px 1px 0px; 102 | margin-bottom: 10; 103 | padding-bottom: 5px; 104 | width: 80%; 105 | } 106 | 107 | .parameters { 108 | font-size: 14px; 109 | font-family: monospace; 110 | } 111 | 112 | .stack-trace { 113 | white-space: pre; 114 | font-family: monospace; 115 | font-size: 12px; 116 | font-weight: bold; 117 | margin-top: 0px; 118 | margin-left: 20px; 119 | } 120 | 121 | .testng-xml { 122 | font-family: monospace; 123 | } 124 | 125 | .method-list-content { 126 | margin-left: 10px; 127 | } 128 | 129 | .navigator-suite-content { 130 | margin-left: 10px; 131 | font: 12px 'Lucida Grande'; 132 | } 133 | 134 | .suite-section-title { 135 | margin-top: 10px; 136 | width: 80%; 137 | border-style: solid; 138 | border-width: 1px 0px 0px 0px; 139 | font-family: Times; 140 | font-size: 18px; 141 | font-weight: bold; 142 | } 143 | 144 | .suite-section-content { 145 | list-style-image: url(bullet_point.png); 146 | } 147 | 148 | .top-banner-root { 149 | position: absolute; 150 | top: 0; 151 | height: 45px; 152 | left: 0; 153 | right: 0; 154 | padding: 5px; 155 | margin: 0px 0px 5px 0px; 156 | background-color: #0066ff; 157 | font-family: Times; 158 | color: #fff; 159 | text-align: center; 160 | } 161 | 162 | .top-banner-title-font { 163 | font-size: 25px; 164 | } 165 | 166 | .test-name { 167 | font-family: 'Lucida Grande'; 168 | font-size: 16px; 169 | } 170 | 171 | .suite-icon { 172 | padding: 5px; 173 | float: right; 174 | height: 20; 175 | } 176 | 177 | .test-group { 178 | font: 20px 'Lucida Grande'; 179 | margin: 5px 5px 10px 5px; 180 | border-width: 0px 0px 1px 0px; 181 | border-style: solid; 182 | padding: 5px; 183 | } 184 | 185 | .test-group-name { 186 | font-weight: bold; 187 | } 188 | 189 | .method-in-group { 190 | font-size: 16px; 191 | margin-left: 80px; 192 | } 193 | 194 | table.google-visualization-table-table { 195 | width: 100%; 196 | } 197 | 198 | .reporter-method-name { 199 | font-size: 14px; 200 | font-family: monospace; 201 | } 202 | 203 | .reporter-method-output-div { 204 | padding: 5px; 205 | margin: 0px 0px 5px 20px; 206 | font-size: 12px; 207 | font-family: monospace; 208 | border-width: 0px 0px 0px 1px; 209 | border-style: solid; 210 | } 211 | 212 | .ignored-class-div { 213 | font-size: 14px; 214 | font-family: monospace; 215 | } 216 | 217 | .ignored-methods-div { 218 | padding: 5px; 219 | margin: 0px 0px 5px 20px; 220 | font-size: 12px; 221 | font-family: monospace; 222 | border-width: 0px 0px 0px 1px; 223 | border-style: solid; 224 | } 225 | 226 | .border-failed { 227 | border-top-left-radius: 10px 10px; 228 | border-bottom-left-radius: 10px 10px; 229 | border-style: solid; 230 | border-width: 0px 0px 0px 10px; 231 | border-color: #f00; 232 | } 233 | 234 | .border-skipped { 235 | border-top-left-radius: 10px 10px; 236 | border-bottom-left-radius: 10px 10px; 237 | border-style: solid; 238 | border-width: 0px 0px 0px 10px; 239 | border-color: #edc600; 240 | } 241 | 242 | .border-passed { 243 | border-top-left-radius: 10px 10px; 244 | border-bottom-left-radius: 10px 10px; 245 | border-style: solid; 246 | border-width: 0px 0px 0px 10px; 247 | border-color: #19f52d; 248 | } 249 | 250 | .times-div { 251 | text-align: center; 252 | padding: 5px; 253 | } 254 | 255 | .suite-total-time { 256 | font: 16px 'Lucida Grande'; 257 | } 258 | 259 | .configuration-suite { 260 | margin-left: 20px; 261 | } 262 | 263 | .configuration-test { 264 | margin-left: 40px; 265 | } 266 | 267 | .configuration-class { 268 | margin-left: 60px; 269 | } 270 | 271 | .configuration-method { 272 | margin-left: 80px; 273 | } 274 | 275 | .test-method { 276 | margin-left: 100px; 277 | } 278 | 279 | .chronological-class { 280 | background-color: #0ccff; 281 | border-style: solid; 282 | border-width: 0px 0px 1px 1px; 283 | } 284 | 285 | .method-start { 286 | float: right; 287 | } 288 | 289 | .chronological-class-name { 290 | padding: 0px 0px 0px 5px; 291 | color: #008; 292 | } 293 | 294 | .after, .before, .test-method { 295 | font-family: monospace; 296 | font-size: 14px; 297 | } 298 | 299 | .navigator-suite-header { 300 | font-size: 22px; 301 | margin: 0px 10px 5px 0px; 302 | background-color: #deb887; 303 | text-align: center; 304 | } 305 | 306 | .collapse-all-icon { 307 | padding: 5px; 308 | float: right; 309 | } 310 | -------------------------------------------------------------------------------- /target/surefire-reports/testng-reports.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('a.navigator-link').click(function() { 3 | // Extract the panel for this link 4 | var panel = getPanelName($(this)); 5 | 6 | // Mark this link as currently selected 7 | $('.navigator-link').parent().removeClass('navigator-selected'); 8 | $(this).parent().addClass('navigator-selected'); 9 | 10 | showPanel(panel); 11 | }); 12 | 13 | installMethodHandlers('failed'); 14 | installMethodHandlers('skipped'); 15 | installMethodHandlers('passed', true); // hide passed methods by default 16 | 17 | $('a.method').click(function() { 18 | showMethod($(this)); 19 | return false; 20 | }); 21 | 22 | // Hide all the panels and display the first one (do this last 23 | // to make sure the click() will invoke the listeners) 24 | $('.panel').hide(); 25 | $('.navigator-link').first().click(); 26 | 27 | // Collapse/expand the suites 28 | $('a.collapse-all-link').click(function() { 29 | var contents = $('.navigator-suite-content'); 30 | if (contents.css('display') == 'none') { 31 | contents.show(); 32 | } else { 33 | contents.hide(); 34 | } 35 | }); 36 | }); 37 | 38 | // The handlers that take care of showing/hiding the methods 39 | function installMethodHandlers(name, hide) { 40 | function getContent(t) { 41 | return $('.method-list-content.' + name + "." + t.attr('panel-name')); 42 | } 43 | 44 | function getHideLink(t, name) { 45 | var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); 46 | return $(s); 47 | } 48 | 49 | function getShowLink(t, name) { 50 | return $('a.show-methods.' + name + "." + t.attr('panel-name')); 51 | } 52 | 53 | function getMethodPanelClassSel(element, name) { 54 | var panelName = getPanelName(element); 55 | var sel = '.' + panelName + "-class-" + name; 56 | return $(sel); 57 | } 58 | 59 | $('a.hide-methods.' + name).click(function() { 60 | var w = getContent($(this)); 61 | w.hide(); 62 | getHideLink($(this), name).hide(); 63 | getShowLink($(this), name).show(); 64 | getMethodPanelClassSel($(this), name).hide(); 65 | }); 66 | 67 | $('a.show-methods.' + name).click(function() { 68 | var w = getContent($(this)); 69 | w.show(); 70 | getHideLink($(this), name).show(); 71 | getShowLink($(this), name).hide(); 72 | showPanel(getPanelName($(this))); 73 | getMethodPanelClassSel($(this), name).show(); 74 | }); 75 | 76 | if (hide) { 77 | $('a.hide-methods.' + name).click(); 78 | } else { 79 | $('a.show-methods.' + name).click(); 80 | } 81 | } 82 | 83 | function getHashForMethod(element) { 84 | return element.attr('hash-for-method'); 85 | } 86 | 87 | function getPanelName(element) { 88 | return element.attr('panel-name'); 89 | } 90 | 91 | function showPanel(panelName) { 92 | $('.panel').hide(); 93 | var panel = $('.panel[panel-name="' + panelName + '"]'); 94 | panel.show(); 95 | } 96 | 97 | function showMethod(element) { 98 | var hashTag = getHashForMethod(element); 99 | var panelName = getPanelName(element); 100 | showPanel(panelName); 101 | var current = document.location.href; 102 | var base = current.substring(0, current.indexOf('#')) 103 | document.location.href = base + '#' + hashTag; 104 | var newPosition = $(document).scrollTop() - 65; 105 | $(document).scrollTop(newPosition); 106 | } 107 | 108 | function drawTable() { 109 | for (var i = 0; i < suiteTableInitFunctions.length; i++) { 110 | window[suiteTableInitFunctions[i]](); 111 | } 112 | 113 | for (var k in window.suiteTableData) { 114 | var v = window.suiteTableData[k]; 115 | var div = v.tableDiv; 116 | var data = v.tableData 117 | var table = new google.visualization.Table(document.getElementById(div)); 118 | table.draw(data, { 119 | showRowNumber : false 120 | }); 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /target/surefire-reports/testng.css: -------------------------------------------------------------------------------- 1 | .invocation-failed, .test-failed { background-color: #DD0000; } 2 | .invocation-percent, .test-percent { background-color: #006600; } 3 | .invocation-passed, .test-passed { background-color: #00AA00; } 4 | .invocation-skipped, .test-skipped { background-color: #CCCC00; } 5 | 6 | .main-page { 7 | font-size: x-large; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /target/test-classes/drivers/chromedriver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/test-classes/drivers/chromedriver -------------------------------------------------------------------------------- /target/test-classes/drivers/chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/target/test-classes/drivers/chromedriver.exe -------------------------------------------------------------------------------- /target/test-classes/features/login/login_logout.feature: -------------------------------------------------------------------------------- 1 | Feature: As a Amazon user I should be able to login and logout with valid credentials 2 | 3 | Scenario: Login into the application with valid credentials 4 | Given I am on the Login page URL "https://www.amazon.in/" 5 | Then I click on sign in button and wait for sign in page 6 | Then I should see Sign In Page 7 | When I enter username as "testusername" 8 | And I Click on Continue button 9 | And I enter password as "testpassword" 10 | And click on login button 11 | Then I am logged in 12 | And I clear cart items if any 13 | Then I choose Electronincs>Headphones and headphones list out 14 | Then I add first availabe headphone to cart 15 | Then I search "Macbook pro" and add second available item to cart 16 | Then I Select cart from home and remove the earlier added headphones 17 | Then I Reduce the Quantity of the macbook pro product to one and proceed to checkout 18 | And I Click on Sign out 19 | Then I got log out from the application and land on sign in page 20 | 21 | 22 | Scenario Outline: Searching different products after login 23 | Given I am on the Login page URL "https://www.amazon.in/" 24 | Then I click on sign in button and wait for sign in page 25 | Then I should see Sign In Page 26 | When I enter username as "testusername" 27 | And I Click on Continue button 28 | And I enter password as "testpassword" 29 | And click on login button 30 | Then I am logged in 31 | And I search different "" from the search bar 32 | 33 | Examples: 34 | | products | 35 | | laptops | 36 | | pendrive | 37 | | led tv | 38 | 39 | 40 | -------------------------------------------------------------------------------- /test-output/BDD Test Suite/Regression Test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestNG: Regression Test 4 | 5 | 6 | 7 | 16 | 58 | 59 | 60 | 61 |

Regression Test

62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 |
Tests passed/Failed/Skipped:1/0/0
Started on:Thu Apr 11 15:29:37 IST 2019
Total time:0 seconds (469 ms)
Included groups:
Excluded groups:
84 |

85 | (Hover the method name to see the test class 86 | name) 87 |

88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 103 | 104 | 105 | 106 | 107 |
PASSED TESTS
Test methodExceptionTime (seconds)Instance
feature
Test 100 | class: com.cucumberFramework.testRunner.TestRunner
Test 101 | method: Runs cucmber Features
Parameters: As a Amazon user I 102 | should be able to login and logout with valid credentials
0com.cucumberFramework.testRunner.TestRunner@7d9d1a19
108 |

109 | 110 | -------------------------------------------------------------------------------- /test-output/BDD Test Suite/Regression Test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /test-output/BDD Test Suite/testng-failed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test-output/Default suite/Default test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | TestNG: Default test 4 | 5 | 6 | 7 | 16 | 58 | 59 | 60 | 61 |

Default test

62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 |
Tests passed/Failed/Skipped:1/0/0
Started on:Fri Apr 12 11:10:09 IST 2019
Total time:225 seconds (225302 ms)
Included groups:
Excluded groups:
84 |

85 | (Hover the method name to see the test class 86 | name) 87 |

88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 103 | 104 | 105 | 106 | 107 |
PASSED TESTS
Test methodExceptionTime (seconds)Instance
feature
Test 100 | class: com.cucumberFramework.testRunner.TestRunner
Test 101 | method: Runs cucmber Features
Parameters: As a Amazon user I 102 | should be able to login and logout with valid credentials
224com.cucumberFramework.testRunner.TestRunner@7d9d1a19
108 |

109 | 110 | -------------------------------------------------------------------------------- /test-output/Default suite/Default test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/Default suite/testng-failed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test-output/bullet_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/bullet_point.png -------------------------------------------------------------------------------- /test-output/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/collapseall.gif -------------------------------------------------------------------------------- /test-output/emailable-report.html: -------------------------------------------------------------------------------- 1 | 2 | TestNG Report
Test# Passed# Skipped# FailedTime (ms)Included GroupsExcluded Groups
Default suite
Default test100225,302
ClassMethodStartTime (ms)
Default suite
Default test — passed
com.cucumberFramework.testRunner.TestRunnerfeature1555047609915224543

Default test

com.cucumberFramework.testRunner.TestRunner#feature

Parameter #1
As a Amazon user I should be able to login and logout with valid credentials

back to summary

-------------------------------------------------------------------------------- /test-output/failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/failed.png -------------------------------------------------------------------------------- /test-output/junitreports/TEST-com.cucumberFramework.testRunner.TestRunner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/navigator-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/navigator-bullet.png -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Regression Test] -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
Class nameMethod nameGroups
com.cucumberFramework.testRunner.TestRunner  
@Test
 featurecucumber
@BeforeClass
 setUpClass 
@BeforeMethod
@AfterMethod
@AfterClass
 testDownClass 
38 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

2 | 3 |
Group nameMethods
cucumberTestRunner.feature(cucumber.api.testng.CucumberFeatureWrapper)[pri:0, instance:com.cucumberFramework.testRunner.TestRunner@7d9d1a19]
4 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/index.html: -------------------------------------------------------------------------------- 1 | Results for BDD Test Suite 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/main.html: -------------------------------------------------------------------------------- 1 | Results for BDD Test Suite 2 | Select a result on the left-hand pane. 3 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/methods-alphabetical.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


BDD Test Suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/04/11 15:29:37 0      featuremain@422250493
19/04/11 15:29:37 -328   >>setUpClass    main@422250493
19/04/11 15:29:37 47   <<testDownClass    main@422250493
11 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/methods-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/methods.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


BDD Test Suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/04/11 15:29:37 0   >>setUpClass    main@422250493
19/04/11 15:29:37 328      featuremain@422250493
19/04/11 15:29:37 375   <<testDownClass    main@422250493
11 | -------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/reporter-output.html: -------------------------------------------------------------------------------- 1 |

Reporter output

-------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/testng.xml.html: -------------------------------------------------------------------------------- 1 | testng.xml for BDD Test Suite<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" name="BDD Test Suite">
  <test name="Regression Test">
    <classes>
      <class name="com.cucumberFramework.testRunner.TestRunner"/>
    </classes>
  </test> <!-- Regression Test -->
</suite> <!-- BDD Test Suite -->
-------------------------------------------------------------------------------- /test-output/old/BDD Test Suite/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Results for BDD Test Suite 4 | 5 | 6 | 7 | 8 |

Results for
BDD Test Suite

9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 22 |
1 test1 class1 method:
14 |   chronological
15 |   alphabetical
16 |   not run (0)
1 groupreporter outputtestng.xml
23 | 24 |

29 |

25 |
Regression Test (1/0/0) 26 | Results 27 |
28 |
30 | -------------------------------------------------------------------------------- /test-output/old/Default suite/Default test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Default test] -------------------------------------------------------------------------------- /test-output/old/Default suite/classes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 |
Class nameMethod nameGroups
com.cucumberFramework.testRunner.TestRunner  
@Test
 featurecucumber
@BeforeClass
 setUpClass 
@BeforeMethod
@AfterMethod
@AfterClass
 testDownClass 
38 | -------------------------------------------------------------------------------- /test-output/old/Default suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

2 | 3 |
Group nameMethods
cucumberTestRunner.feature(cucumber.api.testng.CucumberFeatureWrapper)[pri:0, instance:com.cucumberFramework.testRunner.TestRunner@7d9d1a19]
4 | -------------------------------------------------------------------------------- /test-output/old/Default suite/index.html: -------------------------------------------------------------------------------- 1 | Results for Default suite 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/old/Default suite/main.html: -------------------------------------------------------------------------------- 1 | Results for Default suite 2 | Select a result on the left-hand pane. 3 | -------------------------------------------------------------------------------- /test-output/old/Default suite/methods-alphabetical.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


Default suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/04/12 11:10:09 0      featuremain@422250493
19/04/12 11:10:09 -552   >>setUpClass    main@422250493
19/04/12 11:13:54 224545   <<testDownClass    main@422250493
11 | -------------------------------------------------------------------------------- /test-output/old/Default suite/methods-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /test-output/old/Default suite/methods.html: -------------------------------------------------------------------------------- 1 |

Methods run, sorted chronologically

>> means before, << means after


Default suite

(Hover the method name to see the test class name)

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
TimeDelta (ms)Suite
configuration
Test
configuration
Class
configuration
Groups
configuration
Method
configuration
Test
method
ThreadInstances
19/04/12 11:10:09 0   >>setUpClass    main@422250493
19/04/12 11:10:09 552      featuremain@422250493
19/04/12 11:13:54 225097   <<testDownClass    main@422250493
11 | -------------------------------------------------------------------------------- /test-output/old/Default suite/reporter-output.html: -------------------------------------------------------------------------------- 1 |

Reporter output

-------------------------------------------------------------------------------- /test-output/old/Default suite/testng.xml.html: -------------------------------------------------------------------------------- 1 | testng.xml for Default suite<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite guice-stage="DEVELOPMENT" name="Default suite">
  <test verbose="2" name="Default test">
    <classes>
      <class name="com.cucumberFramework.testRunner.TestRunner"/>
    </classes>
  </test> <!-- Default test -->
</suite> <!-- Default suite -->
-------------------------------------------------------------------------------- /test-output/old/Default suite/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Results for Default suite 4 | 5 | 6 | 7 | 8 |

Results for
Default suite

9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 22 |
1 test1 class1 method:
14 |   chronological
15 |   alphabetical
16 |   not run (0)
1 groupreporter outputtestng.xml
23 | 24 |

29 |

25 |
Default test (1/0/0) 26 | Results 27 |
28 |
30 | -------------------------------------------------------------------------------- /test-output/old/index.html: -------------------------------------------------------------------------------- 1 | 2 | Test results 3 | 4 | 5 |

Test results

6 | 7 | 8 | 9 |
SuitePassedFailedSkippedtestng.xml
Total100 
Default suite100Link
10 | -------------------------------------------------------------------------------- /test-output/passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/passed.png -------------------------------------------------------------------------------- /test-output/skipped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rohinegi548/Cucumber-BDD-Automation-Framework/49fad85f83d18f752fc4e5c479eaaa9781ceb5e0/test-output/skipped.png -------------------------------------------------------------------------------- /test-output/testng-failed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /test-output/testng-reports.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0px 0px 5px 5px; 3 | } 4 | 5 | ul { 6 | margin: 0px; 7 | } 8 | 9 | li { 10 | list-style-type: none; 11 | } 12 | 13 | a { 14 | text-decoration: none; 15 | } 16 | 17 | a:hover { 18 | text-decoration: underline; 19 | } 20 | 21 | .navigator-selected { 22 | background: #ffa500; 23 | } 24 | 25 | .wrapper { 26 | position: absolute; 27 | top: 60px; 28 | bottom: 0; 29 | left: 400px; 30 | right: 0; 31 | overflow: auto; 32 | } 33 | 34 | .navigator-root { 35 | position: absolute; 36 | top: 60px; 37 | bottom: 0; 38 | left: 0; 39 | width: 400px; 40 | overflow-y: auto; 41 | } 42 | 43 | .suite { 44 | margin: 0px 10px 10px 0px; 45 | background-color: #fff8dc; 46 | } 47 | 48 | .suite-name { 49 | padding-left: 10px; 50 | font-size: 25px; 51 | font-family: Times; 52 | } 53 | 54 | .main-panel-header { 55 | padding: 5px; 56 | background-color: #9FB4D9; //afeeee; 57 | font-family: monospace; 58 | font-size: 18px; 59 | } 60 | 61 | .main-panel-content { 62 | padding: 5px; 63 | margin-bottom: 10px; 64 | background-color: #DEE8FC; //d0ffff; 65 | } 66 | 67 | .rounded-window { 68 | border-radius: 10px; 69 | border-style: solid; 70 | border-width: 1px; 71 | } 72 | 73 | .rounded-window-top { 74 | border-top-right-radius: 10px 10px; 75 | border-top-left-radius: 10px 10px; 76 | border-style: solid; 77 | border-width: 1px; 78 | overflow: auto; 79 | } 80 | 81 | .light-rounded-window-top { 82 | border-top-right-radius: 10px 10px; 83 | border-top-left-radius: 10px 10px; 84 | } 85 | 86 | .rounded-window-bottom { 87 | border-style: solid; 88 | border-width: 0px 1px 1px 1px; 89 | border-bottom-right-radius: 10px 10px; 90 | border-bottom-left-radius: 10px 10px; 91 | overflow: auto; 92 | } 93 | 94 | .method-name { 95 | font-size: 12px; 96 | font-family: monospace; 97 | } 98 | 99 | .method-content { 100 | border-style: solid; 101 | border-width: 0px 0px 1px 0px; 102 | margin-bottom: 10; 103 | padding-bottom: 5px; 104 | width: 80%; 105 | } 106 | 107 | .parameters { 108 | font-size: 14px; 109 | font-family: monospace; 110 | } 111 | 112 | .stack-trace { 113 | white-space: pre; 114 | font-family: monospace; 115 | font-size: 12px; 116 | font-weight: bold; 117 | margin-top: 0px; 118 | margin-left: 20px; 119 | } 120 | 121 | .testng-xml { 122 | font-family: monospace; 123 | } 124 | 125 | .method-list-content { 126 | margin-left: 10px; 127 | } 128 | 129 | .navigator-suite-content { 130 | margin-left: 10px; 131 | font: 12px 'Lucida Grande'; 132 | } 133 | 134 | .suite-section-title { 135 | margin-top: 10px; 136 | width: 80%; 137 | border-style: solid; 138 | border-width: 1px 0px 0px 0px; 139 | font-family: Times; 140 | font-size: 18px; 141 | font-weight: bold; 142 | } 143 | 144 | .suite-section-content { 145 | list-style-image: url(bullet_point.png); 146 | } 147 | 148 | .top-banner-root { 149 | position: absolute; 150 | top: 0; 151 | height: 45px; 152 | left: 0; 153 | right: 0; 154 | padding: 5px; 155 | margin: 0px 0px 5px 0px; 156 | background-color: #0066ff; 157 | font-family: Times; 158 | color: #fff; 159 | text-align: center; 160 | } 161 | 162 | .top-banner-title-font { 163 | font-size: 25px; 164 | } 165 | 166 | .test-name { 167 | font-family: 'Lucida Grande'; 168 | font-size: 16px; 169 | } 170 | 171 | .suite-icon { 172 | padding: 5px; 173 | float: right; 174 | height: 20; 175 | } 176 | 177 | .test-group { 178 | font: 20px 'Lucida Grande'; 179 | margin: 5px 5px 10px 5px; 180 | border-width: 0px 0px 1px 0px; 181 | border-style: solid; 182 | padding: 5px; 183 | } 184 | 185 | .test-group-name { 186 | font-weight: bold; 187 | } 188 | 189 | .method-in-group { 190 | font-size: 16px; 191 | margin-left: 80px; 192 | } 193 | 194 | table.google-visualization-table-table { 195 | width: 100%; 196 | } 197 | 198 | .reporter-method-name { 199 | font-size: 14px; 200 | font-family: monospace; 201 | } 202 | 203 | .reporter-method-output-div { 204 | padding: 5px; 205 | margin: 0px 0px 5px 20px; 206 | font-size: 12px; 207 | font-family: monospace; 208 | border-width: 0px 0px 0px 1px; 209 | border-style: solid; 210 | } 211 | 212 | .ignored-class-div { 213 | font-size: 14px; 214 | font-family: monospace; 215 | } 216 | 217 | .ignored-methods-div { 218 | padding: 5px; 219 | margin: 0px 0px 5px 20px; 220 | font-size: 12px; 221 | font-family: monospace; 222 | border-width: 0px 0px 0px 1px; 223 | border-style: solid; 224 | } 225 | 226 | .border-failed { 227 | border-top-left-radius: 10px 10px; 228 | border-bottom-left-radius: 10px 10px; 229 | border-style: solid; 230 | border-width: 0px 0px 0px 10px; 231 | border-color: #f00; 232 | } 233 | 234 | .border-skipped { 235 | border-top-left-radius: 10px 10px; 236 | border-bottom-left-radius: 10px 10px; 237 | border-style: solid; 238 | border-width: 0px 0px 0px 10px; 239 | border-color: #edc600; 240 | } 241 | 242 | .border-passed { 243 | border-top-left-radius: 10px 10px; 244 | border-bottom-left-radius: 10px 10px; 245 | border-style: solid; 246 | border-width: 0px 0px 0px 10px; 247 | border-color: #19f52d; 248 | } 249 | 250 | .times-div { 251 | text-align: center; 252 | padding: 5px; 253 | } 254 | 255 | .suite-total-time { 256 | font: 16px 'Lucida Grande'; 257 | } 258 | 259 | .configuration-suite { 260 | margin-left: 20px; 261 | } 262 | 263 | .configuration-test { 264 | margin-left: 40px; 265 | } 266 | 267 | .configuration-class { 268 | margin-left: 60px; 269 | } 270 | 271 | .configuration-method { 272 | margin-left: 80px; 273 | } 274 | 275 | .test-method { 276 | margin-left: 100px; 277 | } 278 | 279 | .chronological-class { 280 | background-color: #0ccff; 281 | border-style: solid; 282 | border-width: 0px 0px 1px 1px; 283 | } 284 | 285 | .method-start { 286 | float: right; 287 | } 288 | 289 | .chronological-class-name { 290 | padding: 0px 0px 0px 5px; 291 | color: #008; 292 | } 293 | 294 | .after, .before, .test-method { 295 | font-family: monospace; 296 | font-size: 14px; 297 | } 298 | 299 | .navigator-suite-header { 300 | font-size: 22px; 301 | margin: 0px 10px 5px 0px; 302 | background-color: #deb887; 303 | text-align: center; 304 | } 305 | 306 | .collapse-all-icon { 307 | padding: 5px; 308 | float: right; 309 | } 310 | -------------------------------------------------------------------------------- /test-output/testng-reports.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('a.navigator-link').click(function() { 3 | // Extract the panel for this link 4 | var panel = getPanelName($(this)); 5 | 6 | // Mark this link as currently selected 7 | $('.navigator-link').parent().removeClass('navigator-selected'); 8 | $(this).parent().addClass('navigator-selected'); 9 | 10 | showPanel(panel); 11 | }); 12 | 13 | installMethodHandlers('failed'); 14 | installMethodHandlers('skipped'); 15 | installMethodHandlers('passed', true); // hide passed methods by default 16 | 17 | $('a.method').click(function() { 18 | showMethod($(this)); 19 | return false; 20 | }); 21 | 22 | // Hide all the panels and display the first one (do this last 23 | // to make sure the click() will invoke the listeners) 24 | $('.panel').hide(); 25 | $('.navigator-link').first().click(); 26 | 27 | // Collapse/expand the suites 28 | $('a.collapse-all-link').click(function() { 29 | var contents = $('.navigator-suite-content'); 30 | if (contents.css('display') == 'none') { 31 | contents.show(); 32 | } else { 33 | contents.hide(); 34 | } 35 | }); 36 | }); 37 | 38 | // The handlers that take care of showing/hiding the methods 39 | function installMethodHandlers(name, hide) { 40 | function getContent(t) { 41 | return $('.method-list-content.' + name + "." + t.attr('panel-name')); 42 | } 43 | 44 | function getHideLink(t, name) { 45 | var s = 'a.hide-methods.' + name + "." + t.attr('panel-name'); 46 | return $(s); 47 | } 48 | 49 | function getShowLink(t, name) { 50 | return $('a.show-methods.' + name + "." + t.attr('panel-name')); 51 | } 52 | 53 | function getMethodPanelClassSel(element, name) { 54 | var panelName = getPanelName(element); 55 | var sel = '.' + panelName + "-class-" + name; 56 | return $(sel); 57 | } 58 | 59 | $('a.hide-methods.' + name).click(function() { 60 | var w = getContent($(this)); 61 | w.hide(); 62 | getHideLink($(this), name).hide(); 63 | getShowLink($(this), name).show(); 64 | getMethodPanelClassSel($(this), name).hide(); 65 | }); 66 | 67 | $('a.show-methods.' + name).click(function() { 68 | var w = getContent($(this)); 69 | w.show(); 70 | getHideLink($(this), name).show(); 71 | getShowLink($(this), name).hide(); 72 | showPanel(getPanelName($(this))); 73 | getMethodPanelClassSel($(this), name).show(); 74 | }); 75 | 76 | if (hide) { 77 | $('a.hide-methods.' + name).click(); 78 | } else { 79 | $('a.show-methods.' + name).click(); 80 | } 81 | } 82 | 83 | function getHashForMethod(element) { 84 | return element.attr('hash-for-method'); 85 | } 86 | 87 | function getPanelName(element) { 88 | return element.attr('panel-name'); 89 | } 90 | 91 | function showPanel(panelName) { 92 | $('.panel').hide(); 93 | var panel = $('.panel[panel-name="' + panelName + '"]'); 94 | panel.show(); 95 | } 96 | 97 | function showMethod(element) { 98 | var hashTag = getHashForMethod(element); 99 | var panelName = getPanelName(element); 100 | showPanel(panelName); 101 | var current = document.location.href; 102 | var base = current.substring(0, current.indexOf('#')) 103 | document.location.href = base + '#' + hashTag; 104 | var newPosition = $(document).scrollTop() - 65; 105 | $(document).scrollTop(newPosition); 106 | } 107 | 108 | function drawTable() { 109 | for (var i = 0; i < suiteTableInitFunctions.length; i++) { 110 | window[suiteTableInitFunctions[i]](); 111 | } 112 | 113 | for (var k in window.suiteTableData) { 114 | var v = window.suiteTableData[k]; 115 | var div = v.tableDiv; 116 | var data = v.tableData 117 | var table = new google.visualization.Table(document.getElementById(div)); 118 | table.draw(data, { 119 | showRowNumber : false 120 | }); 121 | } 122 | } 123 | -------------------------------------------------------------------------------- /test-output/testng-results.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /test-output/testng.css: -------------------------------------------------------------------------------- 1 | .invocation-failed, .test-failed { background-color: #DD0000; } 2 | .invocation-percent, .test-percent { background-color: #006600; } 3 | .invocation-passed, .test-passed { background-color: #00AA00; } 4 | .invocation-skipped, .test-skipped { background-color: #CCCC00; } 5 | 6 | .main-page { 7 | font-size: x-large; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /testNg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | --------------------------------------------------------------------------------