├── .gitignore ├── .idea ├── .gitignore ├── compiler.xml ├── encodings.xml ├── libraries │ ├── Maven__com_beust_jcommander_1_72.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_core_2_9_8.xml │ ├── Maven__com_fasterxml_jackson_core_jackson_databind_2_9_8.xml │ ├── Maven__com_github_javafaker_javafaker_1_0_1.xml │ ├── Maven__com_github_mifmif_generex_1_0_2.xml │ ├── Maven__com_github_virtuald_curvesapi_1_06.xml │ ├── Maven__com_google_code_findbugs_jsr305_1_3_9.xml │ ├── Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml │ ├── Maven__com_google_guava_guava_25_0_jre.xml │ ├── Maven__com_google_j2objc_j2objc_annotations_1_1.xml │ ├── Maven__com_googlecode_json_simple_json_simple_1_1_1.xml │ ├── Maven__com_opencsv_opencsv_5_0.xml │ ├── Maven__com_squareup_okhttp3_okhttp_3_11_0.xml │ ├── Maven__com_squareup_okio_okio_1_14_0.xml │ ├── Maven__commons_beanutils_commons_beanutils_1_9_4.xml │ ├── Maven__commons_codec_commons_codec_1_13.xml │ ├── Maven__commons_collections_commons_collections_3_2_2.xml │ ├── Maven__commons_logging_commons_logging_1_2.xml │ ├── Maven__dk_brics_automaton_automaton_1_11_8.xml │ ├── Maven__info_cukes_cucumber_core_1_2_5.xml │ ├── Maven__info_cukes_cucumber_html_0_2_3.xml │ ├── Maven__info_cukes_cucumber_java_1_2_5.xml │ ├── Maven__info_cukes_cucumber_jvm_deps_1_0_5.xml │ ├── Maven__info_cukes_cucumber_testng_1_2_5.xml │ ├── Maven__info_cukes_gherkin_2_12_2.xml │ ├── Maven__io_qameta_allure_allure_java_commons_2_13_1.xml │ ├── Maven__io_qameta_allure_allure_model_2_13_1.xml │ ├── Maven__io_qameta_allure_allure_testng_2_13_1.xml │ ├── Maven__junit_junit_4_10.xml │ ├── Maven__net_bytebuddy_byte_buddy_1_8_15.xml │ ├── Maven__org_apache_commons_commons_collections4_4_4.xml │ ├── Maven__org_apache_commons_commons_compress_1_19.xml │ ├── Maven__org_apache_commons_commons_exec_1_3.xml │ ├── Maven__org_apache_commons_commons_lang3_3_5.xml │ ├── Maven__org_apache_commons_commons_math3_3_6_1.xml │ ├── Maven__org_apache_commons_commons_text_1_7.xml │ ├── Maven__org_apache_extras_beanshell_bsh_2_0b6.xml │ ├── Maven__org_apache_poi_poi_4_1_1.xml │ ├── Maven__org_apache_poi_poi_ooxml_4_1_1.xml │ ├── Maven__org_apache_poi_poi_ooxml_schemas_4_1_1.xml │ ├── Maven__org_apache_tika_tika_core_1_20.xml │ ├── Maven__org_apache_xmlbeans_xmlbeans_3_1_0.xml │ ├── Maven__org_checkerframework_checker_compat_qual_2_0_0.xml │ ├── Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml │ ├── Maven__org_hamcrest_hamcrest_core_1_1.xml │ ├── Maven__org_jooq_joor_java_8_0_9_10.xml │ ├── Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml │ ├── Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml │ ├── Maven__org_slf4j_slf4j_api_1_7_25.xml │ ├── Maven__org_testng_testng_6_14_3.xml │ └── Maven__org_yaml_snakeyaml_android_1_23.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── .metadata ├── .lock ├── .log ├── .mylyn │ └── repositories.xml.zip ├── .plugins │ ├── org.eclipse.core.resources │ │ ├── .root │ │ │ ├── .indexes │ │ │ │ ├── history.version │ │ │ │ ├── properties.index │ │ │ │ └── properties.version │ │ │ └── 1.tree │ │ └── .safetable │ │ │ └── org.eclipse.core.resources │ ├── org.eclipse.core.runtime │ │ └── .settings │ │ │ ├── org.eclipse.core.resources.prefs │ │ │ ├── org.eclipse.epp.logging.aeri.ide.prefs │ │ │ ├── org.eclipse.jdt.ui.prefs │ │ │ ├── org.eclipse.jst.j2ee.webservice.ui.prefs │ │ │ ├── org.eclipse.m2e.discovery.prefs │ │ │ ├── org.eclipse.mylyn.context.core.prefs │ │ │ ├── org.eclipse.mylyn.monitor.ui.prefs │ │ │ ├── org.eclipse.mylyn.tasks.ui.prefs │ │ │ ├── org.eclipse.rse.core.prefs │ │ │ ├── org.eclipse.rse.ui.prefs │ │ │ ├── org.eclipse.team.ui.prefs │ │ │ ├── org.eclipse.ui.editors.prefs │ │ │ ├── org.eclipse.ui.ide.prefs │ │ │ └── org.eclipse.ui.workbench.prefs │ ├── org.eclipse.e4.workbench │ │ └── workbench.xmi │ ├── org.eclipse.jdt.core │ │ ├── assumedExternalFilesCache │ │ ├── externalFilesCache │ │ ├── index.db │ │ ├── nonChainingJarsCache │ │ └── variablesAndContainers.dat │ ├── org.eclipse.jdt.ui │ │ ├── OpenTypeHistory.xml │ │ └── QualifiedTypeNameHistory.xml │ ├── org.eclipse.m2e.logback.configuration │ │ ├── 0.log │ │ └── logback.1.8.3.20180227-2137.xml │ ├── org.eclipse.oomph.setup │ │ └── workspace.setup │ ├── org.eclipse.pde.core │ │ └── .cache │ │ │ └── clean-cache.properties │ ├── org.eclipse.rse.core │ │ ├── .log │ │ └── initializerMarks │ │ │ └── org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark │ ├── org.eclipse.rse.ui │ │ └── .log │ ├── org.eclipse.tm.terminal.view.ui │ │ └── .executables │ │ │ └── data.properties │ ├── org.eclipse.ui.ide │ │ └── dialog_settings.xml │ ├── org.eclipse.ui.intro │ │ └── introstate │ └── org.eclipse.ui.workbench │ │ └── dialog_settings.xml └── version.ini ├── .settings ├── org.eclipse.core.resources.prefs ├── org.eclipse.jdt.core.prefs └── org.eclipse.m2e.core.prefs ├── Downloads ├── ahmed.pdf ├── order_1034.pdf ├── order_1035.pdf ├── order_1100.pdf ├── order_1101.pdf ├── order_1102.pdf ├── order_1103.pdf ├── order_1105.pdf ├── order_1245.pdf ├── order_1246.pdf ├── order_1265.pdf ├── order_2981.pdf ├── order_2982.pdf ├── order_2983.pdf └── order_2984.pdf ├── Jenkinsfile ├── Jenkinsfile2 ├── README.md ├── RemoteSystemsTempFiles ├── .project └── RemoteSystemsTempFiles.iml ├── Screenshots ├── RegisteredUserCanLogin.png ├── RegisteredUserCanLogout.png ├── RegisteredUserCanSendProductToEmail.png ├── RegisteredUserCanaddReview.png ├── UserCanAddProductToShoppingCart.png ├── UserCanCheckoutProduct.png ├── UserCanClearCompareList.png ├── UserCanCompareProducts.png ├── UserCanRegisterSuccessfully.png ├── UserCanRemoveProductFromCart.png ├── UserCanSearchForProducts.png ├── UserCanSelectSubCategoryFromMenue.png ├── UsercanuseContactUs.png ├── addQunatity.png ├── backToHomePage.png └── feature.png ├── allure-results ├── 00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2-result.json ├── 170e3819-cc07-4646-b573-c755f714aabd-result.json ├── 19be7f46-415b-4e64-9d19-ad3ca14fb1df-container.json ├── 1e75e330-0c3f-49cd-adc1-82e2e904f3f1-container.json ├── 238cf710-a856-421b-ac32-d288d4d25e81-result.json ├── 3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c-result.json ├── 3361c54d-e1c9-446b-a0bc-94929edcf34e-container.json ├── 34be03fb-a2b8-4eb9-9632-1a23d50f05f4-container.json ├── 353ef916-0152-471f-997f-8132942bf1c4-result.json ├── 43813588-1eed-4cdc-8f87-e55a644e4f9b-container.json ├── 452e3a85-e54c-4b8d-8a74-590d757d859d-container.json ├── 468c8095-dded-4ff8-98ce-d4bbb72aa91e-result.json ├── 5e83a38f-0e92-4473-aa66-8f240c912f8c-container.json ├── 603363e1-cbf0-4c8c-ae90-5e3e98752d11-container.json ├── 6b031d41-72b9-47d3-a79e-c834ac8c6539-container.json ├── 7849c40c-3eb2-4391-ac18-038023675040-container.json ├── 7fb8f969-c62d-4f89-81f7-b2f7d205f5d0-container.json ├── 8285d0a2-6b7c-4a35-89eb-30079eb4bd42-container.json ├── 8cde30f8-7fb7-4a44-b03f-1d2c85e9958e-result.json ├── 8f3b3de3-5504-43c6-9374-0409d7133082-result.json ├── 96dcfca3-2a97-417b-8996-a314371a4652-container.json ├── 98b686d6-4fa1-4ff6-a0ff-6f2ff8d7bb17-container.json ├── 9e3bb997-43f1-4b95-81d1-dcdfb0fa8106-container.json ├── a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7-result.json ├── a4af01fb-fe50-4be7-b835-eabfd523e1e3-container.json ├── aa3c7fdc-6fd7-40be-9924-46403b102b0b-result.json ├── b3b980d6-3e0a-48d7-a30c-a7e7db68ef29-container.json ├── b424c7b6-2c62-4769-90f5-6b34d5892532-container.json ├── b5e59bfd-2eb6-4f0d-b6ae-aa6b70cad75a-container.json ├── c7ab418d-63c4-428c-9d30-045540672002-container.json ├── cb9bc8a9-21cb-4dca-ac24-bbbf4bed26c5-container.json ├── d2260f3b-4350-4adf-9bb1-4ed09ac69937-container.json ├── d4b9497c-0677-4941-8eeb-7c7cf2ba3beb-container.json ├── ea2d08ce-509a-43c1-b132-054ff257ea5e-container.json ├── f03ce8f5-5048-45f6-95fc-33bbf389bf55-container.json ├── f2d62f03-53c1-4309-9a80-78c1f7c60fe2-container.json ├── f3d04cfd-3cc8-4012-ac8f-e4ef89e6469c-container.json └── fbddfea8-8793-4181-bcce-3f76cd126fa4-container.json ├── drivers ├── IEDriverServer.exe ├── chromedriver.exe └── geckodriver.exe ├── pom.xml ├── regressionSuite.xml ├── src ├── main │ └── java │ │ ├── pages │ │ ├── CheckoutPage.java │ │ ├── ComparePage.java │ │ ├── ContactUsPage.java │ │ ├── EmailPage.java │ │ ├── HomePage.java │ │ ├── LoginPage.java │ │ ├── MyAccountPage.java │ │ ├── OrderDetailsPage.java │ │ ├── PageBase.java │ │ ├── ProductDetailsPage.java │ │ ├── ProductReviewPage.java │ │ ├── SearchPage.java │ │ ├── ShoppingCartPage.java │ │ ├── UserRegisterationPage.java │ │ └── WishListPage.java │ │ └── properties │ │ ├── saucelabsUser.properties │ │ └── userdata.properties └── test │ └── java │ ├── data │ ├── ExcelReader.java │ ├── JsonDataReader.java │ ├── LoadProperties.java │ ├── UserData.csv │ ├── UserData.json │ └── UserData.xlsx │ ├── features │ ├── End2End_Tests.feature │ └── UserRegisteration.feature │ ├── runner │ └── TestRunner.java │ ├── steps │ ├── E2ETests.java │ └── UserRegisteration.java │ ├── tests │ ├── AddProductReviewTest.java │ ├── AddProductToCompareTest.java │ ├── AddProductToShoppingCartTest.java │ ├── AddProductToShoppingCartTestPT.java │ ├── AddProductToWishListTest.java │ ├── ChangeCurrencyTest.java │ ├── ContactUsTest.java │ ├── EmailFriendTest.java │ ├── GuestCheckoutTest.java │ ├── MyAccountTest.java │ ├── ProductHoverMenuText.java │ ├── RegisteredUserCheckoutProduct.java │ ├── SearchProductPT.java │ ├── SearchProductTest.java │ ├── SearchProductUsingAutomSuggest.java │ ├── TestBase.java │ ├── TestBase2.java │ ├── UserRegisterationParallelTesting.java │ ├── UserRegisterationTest.java │ ├── UserRegisterationTestWithJavaFaker.java │ ├── UserRegisterationTestwithDDTAndCSV.java │ ├── UserRegisterationTestwithDDTAndJSON.java │ ├── UserRegisterationTestwithDDTandExcel.java │ ├── UserRegisterationwithDDTandPropertiesFile.java │ └── UserRegisterationwithDTTAndDataProvider.java │ └── utilities │ └── Helper.java ├── taf.iml ├── target ├── classes │ └── pages │ │ ├── CheckoutPage.class │ │ ├── ComparePage.class │ │ ├── ContactUsPage.class │ │ ├── EmailPage.class │ │ ├── HomePage.class │ │ ├── LoginPage.class │ │ ├── MyAccountPage.class │ │ ├── OrderDetailsPage.class │ │ ├── PageBase.class │ │ ├── ProductDetailsPage.class │ │ ├── ProductReviewPage.class │ │ ├── SearchPage.class │ │ ├── ShoppingCartPage.class │ │ ├── UserRegisterationPage.class │ │ └── WishListPage.class ├── maven-status │ └── maven-compiler-plugin │ │ ├── compile │ │ └── default-compile │ │ │ ├── createdFiles.lst │ │ │ └── inputFiles.lst │ │ └── testCompile │ │ └── default-testCompile │ │ ├── createdFiles.lst │ │ └── inputFiles.lst ├── surefire-reports │ ├── TEST-TestSuite.xml │ ├── TestSuite.txt │ ├── bullet_point.png │ ├── collapseall.gif │ ├── emailable-report.html │ ├── failed.png │ ├── index.html │ ├── jquery-1.7.1.min.js │ ├── navigator-bullet.png │ ├── nopcommerce Regression Suite │ │ ├── Regression Test.html │ │ └── Regression Test.xml │ ├── old │ │ ├── index.html │ │ └── nopcommerce Regression 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 │ ├── passed.png │ ├── skipped.png │ ├── testng-reports.css │ ├── testng-reports.js │ ├── testng-results.xml │ └── testng.css └── test-classes │ ├── data │ ├── ExcelReader.class │ ├── JsonDataReader.class │ └── LoadProperties.class │ ├── runner │ └── TestRunner.class │ ├── steps │ ├── E2ETests.class │ └── UserRegisteration.class │ ├── tests │ ├── AddProductReviewTest.class │ ├── AddProductToCompareTest.class │ ├── AddProductToShoppingCartTest.class │ ├── AddProductToWishListTest.class │ ├── ChangeCurrencyTest.class │ ├── ContactUsTest.class │ ├── EmailFriendTest.class │ ├── GuestCheckoutTest.class │ ├── MyAccountTest.class │ ├── ProductHoverMenuText.class │ ├── RegisteredUserCheckoutProduct.class │ ├── SearchProductTest.class │ ├── SearchProductUsingAutomSuggest.class │ ├── TestBase.class │ ├── UserRegisterationTest.class │ ├── UserRegisterationTestWithJavaFaker.class │ ├── UserRegisterationTestwithDDTAndCSV.class │ ├── UserRegisterationTestwithDDTAndJSON.class │ ├── UserRegisterationTestwithDDTandExcel.class │ ├── UserRegisterationwithDDTandPropertiesFile.class │ └── UserRegisterationwithDTTAndDataProvider.class │ └── utilities │ └── Helper.class ├── test-output ├── 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-runner.TestRunner.xml │ ├── TEST-tests.AddProductReviewTest.xml │ ├── TEST-tests.AddProductToCompareTest.xml │ ├── TEST-tests.AddProductToShoppingCartTest.xml │ ├── TEST-tests.AddProductToShoppingCartTestPT.xml │ ├── TEST-tests.AddProductToWishListTest.xml │ ├── TEST-tests.ChangeCurrencyTest.xml │ ├── TEST-tests.ContactUsTest.xml │ ├── TEST-tests.EmailFriendTest.xml │ ├── TEST-tests.GuestCheckoutTest.xml │ ├── TEST-tests.MyAccountTest.xml │ ├── TEST-tests.ProductHoverMenuText.xml │ ├── TEST-tests.RegisteredUserCheckoutProduct.xml │ ├── TEST-tests.SearchProductPT.xml │ ├── TEST-tests.SearchProductTest.xml │ ├── TEST-tests.SearchProductUsingAutomSuggest.xml │ ├── TEST-tests.UserRegisterationParallelTesting.xml │ ├── TEST-tests.UserRegisterationTest.xml │ ├── TEST-tests.UserRegisterationTestWithJavaFaker.xml │ ├── TEST-tests.UserRegisterationTestwithDDTAndCSV.xml │ ├── TEST-tests.UserRegisterationTestwithDDTAndJSON.xml │ ├── TEST-tests.UserRegisterationTestwithDDTandExcel.xml │ ├── TEST-tests.UserRegisterationwithDDTandPropertiesFile.xml │ └── TEST-tests.UserRegisterationwithDTTAndDataProvider.xml ├── navigator-bullet.png ├── nopcommerce Regression Suite │ ├── Chrome Regression Test.html │ ├── Chrome Regression Test.xml │ ├── Firefox Regression Test.html │ ├── Firefox Regression Test.xml │ ├── Regression Test.html │ ├── Regression Test.xml │ └── testng-failed.xml ├── old │ ├── 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 │ └── nopcommerce Regression Suite │ │ ├── Chrome Regression Test.properties │ │ ├── Firefox Regression Test.properties │ │ ├── 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 ├── passed.png ├── skipped.png ├── testng-failed.xml ├── testng-reports.css ├── testng-reports.js ├── testng-results.xml └── testng.css ├── testng.xml └── testngParallelTesting.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /workspace.xml 3 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_beust_jcommander_1_72.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_9_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_9_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_javafaker_javafaker_1_0_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_mifmif_generex_1_0_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_github_virtuald_curvesapi_1_06.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_code_findbugs_jsr305_1_3_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_guava_guava_25_0_jre.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_googlecode_json_simple_json_simple_1_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_opencsv_opencsv_5_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_squareup_okhttp3_okhttp_3_11_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__com_squareup_okio_okio_1_14_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_9_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_codec_commons_codec_1_13.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__commons_logging_commons_logging_1_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__dk_brics_automaton_automaton_1_11_8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_cucumber_core_1_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_cucumber_html_0_2_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_cucumber_java_1_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_cucumber_jvm_deps_1_0_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_cucumber_testng_1_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__info_cukes_gherkin_2_12_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_qameta_allure_allure_java_commons_2_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_qameta_allure_allure_model_2_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__io_qameta_allure_allure_testng_2_13_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__junit_junit_4_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__net_bytebuddy_byte_buddy_1_8_15.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_collections4_4_4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_compress_1_19.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_exec_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_lang3_3_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_math3_3_6_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_commons_commons_text_1_7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_extras_beanshell_bsh_2_0b6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_poi_poi_4_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_poi_poi_ooxml_4_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_poi_poi_ooxml_schemas_4_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_tika_tika_core_1_20.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_apache_xmlbeans_xmlbeans_3_1_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_checkerframework_checker_compat_qual_2_0_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_jooq_joor_java_8_0_9_10.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_api_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_chrome_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_edge_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_firefox_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_ie_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_java_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_opera_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_remote_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_safari_driver_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_seleniumhq_selenium_selenium_support_3_141_59.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_testng_testng_6_14_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/libraries/Maven__org_yaml_snakeyaml_android_1_23.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.metadata/.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.lock -------------------------------------------------------------------------------- /.metadata/.mylyn/repositories.xml.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.mylyn/repositories.xml.zip -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/history.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.index: -------------------------------------------------------------------------------- 1 | /org.eclipse.core.resourcescontentCacheState1contentCacheTimestamp 1575476257272org.eclipse.jdt.corestateVersionNumber30 -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/.indexes/properties.version: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.root/1.tree: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.core.resources/.root/1.tree -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.core.resources/.safetable/org.eclipse.core.resources -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | version=1 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.epp.logging.aeri.ide.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | resetSendMode=KEEP 3 | resetSendModeOn=0 4 | sendMode=NOTIFY 5 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.ui.prefs: -------------------------------------------------------------------------------- 1 | content_assist_favorite_static_members=org.testng.Assert.* 2 | content_assist_proposals_background=255,255,255 3 | content_assist_proposals_foreground=0,0,0 4 | eclipse.preferences.version=1 5 | org.eclipse.jdt.internal.ui.navigator.layout=2 6 | org.eclipse.jdt.internal.ui.navigator.librariesnode=true 7 | org.eclipse.jdt.ui.formatterprofiles.version=13 8 | spelling_locale_initialized=true 9 | useAnnotationsPrefPage=true 10 | useQuickDiffPrefPage=true 11 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.j2ee.webservice.ui.prefs: -------------------------------------------------------------------------------- 1 | areThereWebServices=false 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.m2e.discovery.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.m2e.discovery.pref.projects= 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.context.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | mylyn.attention.migrated=true 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.monitor.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.mylyn.tasks.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | migrated.task.repositories.secure.store=true 3 | org.eclipse.mylyn.tasks.ui.filters.nonmatching=true 4 | org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true 5 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.core.prefs: -------------------------------------------------------------------------------- 1 | activeuserprofiles=DESKTOP-TD6L0N5;Team 2 | eclipse.preferences.version=1 3 | org.eclipse.rse.systemtype.local.systemType.defaultUserId=hp 4 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.rse.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.rse.preferences.order.connections=DESKTOP-TD6L0N5.Local 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.team.ui.first_time=false 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.editors.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | overviewRuler_migration=migrated_3.1 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.ide.prefs: -------------------------------------------------------------------------------- 1 | PROBLEMS_FILTERS_MIGRATE=true 2 | eclipse.preferences.version=1 3 | platformState=1575476257272 4 | quickStart=false 5 | tipsAndTricks=true 6 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs: -------------------------------------------------------------------------------- 1 | //org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false 2 | //org.eclipse.ui.commands/state/org.eclipse.wst.xml.views.XPathView.processor.xpathprocessor/org.eclipse.ui.commands.radioState=xpath10 3 | PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery; 4 | eclipse.preferences.version=1 5 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/assumedExternalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/externalFilesCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/index.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.jdt.core/index.db -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/nonChainingJarsCache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.core/variablesAndContainers.dat: -------------------------------------------------------------------------------- 1 | JRE_LIB TESTNG_HOMEJRE_SRC JRE_SRCROOT 2 | JUNIT_HOME ECLIPSE_HOMEJUNIT_SRC_HOMEM2_REPO -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.ui/OpenTypeHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.jdt.ui/QualifiedTypeNameHistory.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.m2e.logback.configuration/0.log: -------------------------------------------------------------------------------- 1 | 2019-12-31 20:57:44,282 [Worker-0] INFO c.g.t.t.d.PublishedGradleVersions - Gradle version information cache is up-to-date. Trying to read. 2 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.oomph.setup/workspace.setup: -------------------------------------------------------------------------------- 1 | 2 | 7 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.pde.core/.cache/clean-cache.properties: -------------------------------------------------------------------------------- 1 | #Cached timestamps 2 | #Tue Dec 31 20:58:39 EET 2019 3 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.core/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.rse.core/.log -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.rse.core/initializerMarks/org.eclipse.rse.internal.core.RSELocalConnectionInitializer.mark -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.rse.ui/.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/.metadata/.plugins/org.eclipse.rse.ui/.log -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.tm.terminal.view.ui/.executables/data.properties: -------------------------------------------------------------------------------- 1 | #Tue Dec 31 20:57:36 EET 2019 2 | 0.Path=C\:\\Program Files\\Git\\bin\\sh.exe 3 | 0.Name=Git Bash 4 | 0.Args=--login -i 5 | 0.Translate=true 6 | 0.Icon=C\:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico 7 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.ui.ide/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 |
7 |
8 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.ui.intro/introstate: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.metadata/.plugins/org.eclipse.ui.workbench/dialog_settings.xml: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 |
16 | -------------------------------------------------------------------------------- /.metadata/version.ini: -------------------------------------------------------------------------------- 1 | #Tue Dec 31 20:57:33 EET 2019 2 | org.eclipse.core.runtime=2 3 | org.eclipse.platform=4.7.3.v20180330-0640 4 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate 4 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 5 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 6 | org.eclipse.jdt.core.compiler.compliance=1.8 7 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 8 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 9 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 10 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.source=1.8 14 | -------------------------------------------------------------------------------- /.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /Downloads/ahmed.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/ahmed.pdf -------------------------------------------------------------------------------- /Downloads/order_1034.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1034.pdf -------------------------------------------------------------------------------- /Downloads/order_1035.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1035.pdf -------------------------------------------------------------------------------- /Downloads/order_1100.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1100.pdf -------------------------------------------------------------------------------- /Downloads/order_1101.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1101.pdf -------------------------------------------------------------------------------- /Downloads/order_1102.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1102.pdf -------------------------------------------------------------------------------- /Downloads/order_1103.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1103.pdf -------------------------------------------------------------------------------- /Downloads/order_1105.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1105.pdf -------------------------------------------------------------------------------- /Downloads/order_1245.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1245.pdf -------------------------------------------------------------------------------- /Downloads/order_1246.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1246.pdf -------------------------------------------------------------------------------- /Downloads/order_1265.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_1265.pdf -------------------------------------------------------------------------------- /Downloads/order_2981.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_2981.pdf -------------------------------------------------------------------------------- /Downloads/order_2982.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_2982.pdf -------------------------------------------------------------------------------- /Downloads/order_2983.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_2983.pdf -------------------------------------------------------------------------------- /Downloads/order_2984.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Downloads/order_2984.pdf -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | node { 2 | def mvnHome 3 | stage('Checkout') { // for display purposes 4 | // Get some code from a GitHub repository 5 | git 'https://github.com/ahelshal/Automation-Testing-of-ECommerce-WebsiteUsingSelenium.git' 6 | // Get the Maven tool. 7 | // ** NOTE: This 'M3' Maven tool must be configured 8 | // ** in the global configuration. 9 | mvnHome = tool 'MAVEN_HOME' 10 | } 11 | stage('Build') { 12 | // Run the maven build 13 | withEnv(["MVN_HOME=$mvnHome"]) { 14 | if (isUnix()) { 15 | sh '"$MVN_HOME/bin/mvn" test -Pregression' 16 | } else { 17 | bat(/"%MVN_HOME%\bin\mvn" test -Pregression/) 18 | } 19 | } 20 | } 21 | stage('Results') { 22 | junit '**/target/surefire-reports/TEST-*.xml' 23 | archiveArtifacts 'target/*.jar' 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Jenkinsfile2: -------------------------------------------------------------------------------- 1 | pipeline { 2 | try{ 3 | notifyBuild('STARTED') 4 | stage('Preparation') { 5 | git 'https://github.com/ahelshal/Automation-Testing-of-ECommerce-WebsiteUsingSelenium.git' 6 | 7 | mvnHome = tool 'MAVEN_HOME' 8 | } 9 | stage('Build') { 10 | bat(/"${mvnHome}\bin\mvn" test -Pregression/) 11 | } 12 | stage('Results') { 13 | junit '**/target/surefire-reports/TEST-*.xml' 14 | archive 'target/*.jar' 15 | } 16 | } catch (e) { 17 | // If there was an exception thrown, the build failed 18 | currentBuild.result = "FAILED" 19 | throw e 20 | 21 | } finally { 22 | // Success or failure, always send notifications 23 | notifyBuild(currentBuild.result) 24 | } 25 | } 26 | 27 | def notifyBuild(String buildStatus = 'STARTED') { 28 | // build status of null means successful 29 | buildStatus = buildStatus ?: 'SUCCESSFUL' 30 | 31 | // Default values 32 | def colorName = 'RED' 33 | def colorCode = '#FF0000' 34 | def subject = "${buildStatus}: Job '${env.JOB_NAME} [${env.BUILD_NUMBER}]'" 35 | def summary = "${subject} (${env.BUILD_URL})" 36 | 37 | // Override default values based on build status 38 | if (buildStatus == 'STARTED') { 39 | color = 'YELLOW' 40 | colorCode = '#FFFF00' 41 | } else if (buildStatus == 'SUCCESSFUL') { 42 | color = 'GREEN' 43 | colorCode = '#00FF00' 44 | } else { 45 | color = 'RED' 46 | colorCode = '#FF0000' 47 | } 48 | 49 | // Send notifications 50 | slackSend (color: colorCode, message: summary) 51 | } 52 | 53 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Automation-Testing-of-ECommerce-WebsiteUsingSelenium 2 | - Java 3 | - Maven 4 | - TestNG 5 | - BDD 6 | - DDT 7 | - POM (Page Object Model) 8 | - Selenium Grid 9 | - Sauce Labs 10 | - Zalenium 11 | - Docker 12 | - Allure Test Report 13 | - Jenkins Pipeline 14 | - Slack Integration into Jenkins File 15 | # Integrated Development Environment 16 | - Eclipse IDEA 17 | - IntelliJ IDEA 18 | 19 | - It’s demo project https://demo.nopcommerce.com/ , I used Selenium Framework in this project. 20 | 21 | -------------------------------------------------------------------------------- /RemoteSystemsTempFiles/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | RemoteSystemsTempFiles 4 | 5 | 6 | 7 | 8 | 9 | 10 | org.eclipse.rse.ui.remoteSystemsTempNature 11 | 12 | 13 | -------------------------------------------------------------------------------- /RemoteSystemsTempFiles/RemoteSystemsTempFiles.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Screenshots/RegisteredUserCanLogin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/RegisteredUserCanLogin.png -------------------------------------------------------------------------------- /Screenshots/RegisteredUserCanLogout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/RegisteredUserCanLogout.png -------------------------------------------------------------------------------- /Screenshots/RegisteredUserCanSendProductToEmail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/RegisteredUserCanSendProductToEmail.png -------------------------------------------------------------------------------- /Screenshots/RegisteredUserCanaddReview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/RegisteredUserCanaddReview.png -------------------------------------------------------------------------------- /Screenshots/UserCanAddProductToShoppingCart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanAddProductToShoppingCart.png -------------------------------------------------------------------------------- /Screenshots/UserCanCheckoutProduct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanCheckoutProduct.png -------------------------------------------------------------------------------- /Screenshots/UserCanClearCompareList.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanClearCompareList.png -------------------------------------------------------------------------------- /Screenshots/UserCanCompareProducts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanCompareProducts.png -------------------------------------------------------------------------------- /Screenshots/UserCanRegisterSuccessfully.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanRegisterSuccessfully.png -------------------------------------------------------------------------------- /Screenshots/UserCanRemoveProductFromCart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanRemoveProductFromCart.png -------------------------------------------------------------------------------- /Screenshots/UserCanSearchForProducts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanSearchForProducts.png -------------------------------------------------------------------------------- /Screenshots/UserCanSelectSubCategoryFromMenue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UserCanSelectSubCategoryFromMenue.png -------------------------------------------------------------------------------- /Screenshots/UsercanuseContactUs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/UsercanuseContactUs.png -------------------------------------------------------------------------------- /Screenshots/addQunatity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/addQunatity.png -------------------------------------------------------------------------------- /Screenshots/backToHomePage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/backToHomePage.png -------------------------------------------------------------------------------- /Screenshots/feature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/Screenshots/feature.png -------------------------------------------------------------------------------- /allure-results/00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UsercanuseContactUs","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","description":"Contact US Test Case","steps":[],"attachments":[],"parameters":[],"start":1578920105909,"stop":1578920109265,"uuid":"00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2","historyId":"ae59ed2b00efd4c7c6a12e52f6e55229","fullName":"tests.ContactUsTest.UsercanuseContactUs","labels":[{"name":"package","value":"tests.ContactUsTest"},{"name":"testClass","value":"tests.ContactUsTest"},{"name":"testMethod","value":"UsercanuseContactUs"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium"},{"name":"subSuite","value":"tests.ContactUsTest"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"6864@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"severity","value":"critical"}],"links":[{"name":"Jira","url":"https://google.com","type":"custom"}]} -------------------------------------------------------------------------------- /allure-results/170e3819-cc07-4646-b573-c755f714aabd-result.json: -------------------------------------------------------------------------------- 1 | {"name":"addQunatity","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578922106869,"stop":1578922148707,"uuid":"170e3819-cc07-4646-b573-c755f714aabd","historyId":"da63050d9ce040b2a1876febbda3f68a","fullName":"tests.RegisteredUserCheckoutProduct.addQunatity","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"addQunatity"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"2108@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/19be7f46-415b-4e64-9d19-ad3ca14fb1df-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"19be7f46-415b-4e64-9d19-ad3ca14fb1df","name":"tests.RegisteredUserCheckoutProduct","children":["aa3c7fdc-6fd7-40be-9924-46403b102b0b","a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7","170e3819-cc07-4646-b573-c755f714aabd","468c8095-dded-4ff8-98ce-d4bbb72aa91e","3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922081846,"stop":1578922082341}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922175945,"stop":1578922175960}],"links":[],"start":1578922081821,"stop":1578922176105} -------------------------------------------------------------------------------- /allure-results/1e75e330-0c3f-49cd-adc1-82e2e904f3f1-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"1e75e330-0c3f-49cd-adc1-82e2e904f3f1","name":"Default Suite","children":["98b686d6-4fa1-4ff6-a0ff-6f2ff8d7bb17"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578919705458,"stop":1578919717771}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578919722482,"stop":1578919722482}],"links":[],"start":1578919705405,"stop":1578919722483} -------------------------------------------------------------------------------- /allure-results/238cf710-a856-421b-ac32-d288d4d25e81-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UsercanuseContactUs","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","description":"Contact US Test Case","steps":[],"attachments":[],"parameters":[],"start":1578920584396,"stop":1578920588901,"uuid":"238cf710-a856-421b-ac32-d288d4d25e81","historyId":"ae59ed2b00efd4c7c6a12e52f6e55229","fullName":"tests.ContactUsTest.UsercanuseContactUs","labels":[{"name":"package","value":"tests.ContactUsTest"},{"name":"testClass","value":"tests.ContactUsTest"},{"name":"testMethod","value":"UsercanuseContactUs"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium"},{"name":"subSuite","value":"tests.ContactUsTest"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"12740@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"severity","value":"critical"}],"links":[{"name":"JIRA Ticket","url":"https://google.com","type":"custom"}]} -------------------------------------------------------------------------------- /allure-results/3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c-result.json: -------------------------------------------------------------------------------- 1 | {"name":"RegisteredUserCanLogout","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578922172665,"stop":1578922175915,"uuid":"3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c","historyId":"baf0c11c8d7d3a4b5c502daf641757f1","fullName":"tests.RegisteredUserCheckoutProduct.RegisteredUserCanLogout","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"RegisteredUserCanLogout"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"2108@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/3361c54d-e1c9-446b-a0bc-94929edcf34e-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"3361c54d-e1c9-446b-a0bc-94929edcf34e","name":"tests.TestBase.screenshotOnFailure","children":["00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920109457,"stop":1578920109457}],"links":[],"start":1578920109455,"stop":1578920109459} -------------------------------------------------------------------------------- /allure-results/34be03fb-a2b8-4eb9-9632-1a23d50f05f4-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"34be03fb-a2b8-4eb9-9632-1a23d50f05f4","name":"Regression Test","children":["aa3c7fdc-6fd7-40be-9924-46403b102b0b","a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7","170e3819-cc07-4646-b573-c755f714aabd","468c8095-dded-4ff8-98ce-d4bbb72aa91e","3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c"],"befores":[],"afters":[],"links":[],"start":1578922081821,"stop":1578922176095} -------------------------------------------------------------------------------- /allure-results/43813588-1eed-4cdc-8f87-e55a644e4f9b-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"43813588-1eed-4cdc-8f87-e55a644e4f9b","name":"Default Suite","children":["cb9bc8a9-21cb-4dca-ac24-bbbf4bed26c5"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920530717,"stop":1578920540557}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920544491,"stop":1578920544491}],"links":[],"start":1578920530672,"stop":1578920544491} -------------------------------------------------------------------------------- /allure-results/452e3a85-e54c-4b8d-8a74-590d757d859d-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"452e3a85-e54c-4b8d-8a74-590d757d859d","name":"tests.TestBase.screenshotOnFailure","children":["aa3c7fdc-6fd7-40be-9924-46403b102b0b"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922093485,"stop":1578922093485}],"links":[],"start":1578922093485,"stop":1578922093485} -------------------------------------------------------------------------------- /allure-results/468c8095-dded-4ff8-98ce-d4bbb72aa91e-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UserCanCheckoutProduct","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578922148732,"stop":1578922172625,"uuid":"468c8095-dded-4ff8-98ce-d4bbb72aa91e","historyId":"20f5e31be767c8385d61772c7355e5df","fullName":"tests.RegisteredUserCheckoutProduct.UserCanCheckoutProduct","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanCheckoutProduct"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"2108@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/5e83a38f-0e92-4473-aa66-8f240c912f8c-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"5e83a38f-0e92-4473-aa66-8f240c912f8c","name":"tests.ContactUsTest","children":["8cde30f8-7fb7-4a44-b03f-1d2c85e9958e"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578919717804,"stop":1578919718628}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578919722445,"stop":1578919722456}],"links":[],"start":1578919717776,"stop":1578919722470} -------------------------------------------------------------------------------- /allure-results/603363e1-cbf0-4c8c-ae90-5e3e98752d11-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"603363e1-cbf0-4c8c-ae90-5e3e98752d11","name":"tests.TestBase.screenshotOnFailure","children":["a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922106854,"stop":1578922106854}],"links":[],"start":1578922106854,"stop":1578922106854} -------------------------------------------------------------------------------- /allure-results/6b031d41-72b9-47d3-a79e-c834ac8c6539-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"6b031d41-72b9-47d3-a79e-c834ac8c6539","name":"tests.TestBase.screenshotOnFailure","children":["238cf710-a856-421b-ac32-d288d4d25e81"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920589117,"stop":1578920589117}],"links":[],"start":1578920589116,"stop":1578920589118} -------------------------------------------------------------------------------- /allure-results/7849c40c-3eb2-4391-ac18-038023675040-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"7849c40c-3eb2-4391-ac18-038023675040","name":"tests.TestBase.screenshotOnFailure","children":["170e3819-cc07-4646-b573-c755f714aabd"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922148717,"stop":1578922148717}],"links":[],"start":1578922148717,"stop":1578922148717} -------------------------------------------------------------------------------- /allure-results/7fb8f969-c62d-4f89-81f7-b2f7d205f5d0-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"7fb8f969-c62d-4f89-81f7-b2f7d205f5d0","name":"tests.TestBase.screenshotOnFailure","children":["8cde30f8-7fb7-4a44-b03f-1d2c85e9958e"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578919722401,"stop":1578919722401}],"links":[],"start":1578919722401,"stop":1578919722402} -------------------------------------------------------------------------------- /allure-results/8285d0a2-6b7c-4a35-89eb-30079eb4bd42-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"8285d0a2-6b7c-4a35-89eb-30079eb4bd42","name":"tests.ContactUsTest","children":["238cf710-a856-421b-ac32-d288d4d25e81"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920583595,"stop":1578920584312}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920589158,"stop":1578920589172}],"links":[],"start":1578920583557,"stop":1578920589188} -------------------------------------------------------------------------------- /allure-results/8cde30f8-7fb7-4a44-b03f-1d2c85e9958e-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UsercanuseContactUs","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1578919718717,"stop":1578919722231,"uuid":"8cde30f8-7fb7-4a44-b03f-1d2c85e9958e","historyId":"ae59ed2b00efd4c7c6a12e52f6e55229","fullName":"tests.ContactUsTest.UsercanuseContactUs","labels":[{"name":"package","value":"tests.ContactUsTest"},{"name":"testClass","value":"tests.ContactUsTest"},{"name":"testMethod","value":"UsercanuseContactUs"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium"},{"name":"subSuite","value":"tests.ContactUsTest"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"15464@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/8f3b3de3-5504-43c6-9374-0409d7133082-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UsercanuseContactUs","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":true},"stage":"finished","description":"Contact US Test Case","steps":[],"attachments":[],"parameters":[],"start":1578920460501,"stop":1578920463816,"uuid":"8f3b3de3-5504-43c6-9374-0409d7133082","historyId":"ae59ed2b00efd4c7c6a12e52f6e55229","fullName":"tests.ContactUsTest.UsercanuseContactUs","labels":[{"name":"package","value":"tests.ContactUsTest"},{"name":"testClass","value":"tests.ContactUsTest"},{"name":"testMethod","value":"UsercanuseContactUs"},{"name":"parentSuite","value":"Default Suite"},{"name":"suite","value":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium"},{"name":"subSuite","value":"tests.ContactUsTest"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"14864@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"epic","value":"Ep contact"},{"name":"severity","value":"critical"}],"links":[{"name":"JIRA Ticket","url":"https://google.com","type":"custom"}]} -------------------------------------------------------------------------------- /allure-results/96dcfca3-2a97-417b-8996-a314371a4652-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"96dcfca3-2a97-417b-8996-a314371a4652","name":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium","children":["238cf710-a856-421b-ac32-d288d4d25e81"],"befores":[],"afters":[],"links":[],"start":1578920583556,"stop":1578920589174} -------------------------------------------------------------------------------- /allure-results/98b686d6-4fa1-4ff6-a0ff-6f2ff8d7bb17-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"98b686d6-4fa1-4ff6-a0ff-6f2ff8d7bb17","name":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium","children":["8cde30f8-7fb7-4a44-b03f-1d2c85e9958e"],"befores":[],"afters":[],"links":[],"start":1578919717773,"stop":1578919722457} -------------------------------------------------------------------------------- /allure-results/9e3bb997-43f1-4b95-81d1-dcdfb0fa8106-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"9e3bb997-43f1-4b95-81d1-dcdfb0fa8106","name":"Default Suite","children":["ea2d08ce-509a-43c1-b132-054ff257ea5e"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920450972,"stop":1578920459668}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920464141,"stop":1578920464141}],"links":[],"start":1578920450927,"stop":1578920464141} -------------------------------------------------------------------------------- /allure-results/a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UserCanSearchWithAutoSuggest","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578922093515,"stop":1578922106844,"uuid":"a063e1ea-a88f-40b7-96fb-3fbce3c3ddf7","historyId":"a1dc635036a72315ebd6c53020c3c648","fullName":"tests.RegisteredUserCheckoutProduct.UserCanSearchWithAutoSuggest","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanSearchWithAutoSuggest"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"2108@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/a4af01fb-fe50-4be7-b835-eabfd523e1e3-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"a4af01fb-fe50-4be7-b835-eabfd523e1e3","name":"Default Suite","children":["b424c7b6-2c62-4769-90f5-6b34d5892532"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920095252,"stop":1578920104573}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920109559,"stop":1578920109559}],"links":[],"start":1578920095197,"stop":1578920109559} -------------------------------------------------------------------------------- /allure-results/aa3c7fdc-6fd7-40be-9924-46403b102b0b-result.json: -------------------------------------------------------------------------------- 1 | {"name":"UserCanRegisterSuccessfully","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[{"name":"browser","value":"firefox"}],"start":1578922082431,"stop":1578922093350,"uuid":"aa3c7fdc-6fd7-40be-9924-46403b102b0b","historyId":"d4a7102453ebc13cc20b78e4135256ff","fullName":"tests.RegisteredUserCheckoutProduct.UserCanRegisterSuccessfully","labels":[{"name":"package","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testClass","value":"tests.RegisteredUserCheckoutProduct"},{"name":"testMethod","value":"UserCanRegisterSuccessfully"},{"name":"parentSuite","value":"nopcommerce Regression Suite"},{"name":"suite","value":"Regression Test"},{"name":"subSuite","value":"tests.RegisteredUserCheckoutProduct"},{"name":"host","value":"DESKTOP-TD6L0N5"},{"name":"thread","value":"2108@DESKTOP-TD6L0N5.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[]} -------------------------------------------------------------------------------- /allure-results/b3b980d6-3e0a-48d7-a30c-a7e7db68ef29-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"b3b980d6-3e0a-48d7-a30c-a7e7db68ef29","name":"nopcommerce Regression Suite","children":["34be03fb-a2b8-4eb9-9632-1a23d50f05f4"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922048278,"stop":1578922081821}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922176110,"stop":1578922176110}],"links":[],"start":1578922048243,"stop":1578922176110} -------------------------------------------------------------------------------- /allure-results/b424c7b6-2c62-4769-90f5-6b34d5892532-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"b424c7b6-2c62-4769-90f5-6b34d5892532","name":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium","children":["00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2"],"befores":[],"afters":[],"links":[],"start":1578920104575,"stop":1578920109535} -------------------------------------------------------------------------------- /allure-results/b5e59bfd-2eb6-4f0d-b6ae-aa6b70cad75a-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"b5e59bfd-2eb6-4f0d-b6ae-aa6b70cad75a","name":"tests.ContactUsTest","children":["8f3b3de3-5504-43c6-9374-0409d7133082"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920459704,"stop":1578920460405}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920464043,"stop":1578920464062}],"links":[],"start":1578920459672,"stop":1578920464130} -------------------------------------------------------------------------------- /allure-results/c7ab418d-63c4-428c-9d30-045540672002-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"c7ab418d-63c4-428c-9d30-045540672002","name":"tests.ContactUsTest","children":["00a0ede9-3fdc-44f5-9cc0-abf39d2a5dc2"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920104592,"stop":1578920105833}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920109514,"stop":1578920109534}],"links":[],"start":1578920104576,"stop":1578920109547} -------------------------------------------------------------------------------- /allure-results/cb9bc8a9-21cb-4dca-ac24-bbbf4bed26c5-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"cb9bc8a9-21cb-4dca-ac24-bbbf4bed26c5","name":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium","children":["353ef916-0152-471f-997f-8132942bf1c4"],"befores":[],"afters":[],"links":[],"start":1578920540560,"stop":1578920544456} -------------------------------------------------------------------------------- /allure-results/d2260f3b-4350-4adf-9bb1-4ed09ac69937-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"d2260f3b-4350-4adf-9bb1-4ed09ac69937","name":"tests.TestBase.screenshotOnFailure","children":["353ef916-0152-471f-997f-8132942bf1c4"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920544077,"stop":1578920544421}],"links":[],"start":1578920544077,"stop":1578920544421} -------------------------------------------------------------------------------- /allure-results/d4b9497c-0677-4941-8eeb-7c7cf2ba3beb-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"d4b9497c-0677-4941-8eeb-7c7cf2ba3beb","name":"tests.ContactUsTest","children":["353ef916-0152-471f-997f-8132942bf1c4"],"befores":[{"name":"setUpClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920540593,"stop":1578920541259}],"afters":[{"name":"tearDownClass","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920544446,"stop":1578920544456}],"links":[],"start":1578920540562,"stop":1578920544476} -------------------------------------------------------------------------------- /allure-results/ea2d08ce-509a-43c1-b132-054ff257ea5e-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"ea2d08ce-509a-43c1-b132-054ff257ea5e","name":"Automation-Testing-of-ECommerce-WebsiteUsingSelenium","children":["8f3b3de3-5504-43c6-9374-0409d7133082"],"befores":[],"afters":[],"links":[],"start":1578920459670,"stop":1578920464063} -------------------------------------------------------------------------------- /allure-results/f03ce8f5-5048-45f6-95fc-33bbf389bf55-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"f03ce8f5-5048-45f6-95fc-33bbf389bf55","name":"Default Suite","children":["96dcfca3-2a97-417b-8996-a314371a4652"],"befores":[{"name":"startDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920571722,"stop":1578920583553}],"afters":[{"name":"stopDriver","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920589207,"stop":1578920589207}],"links":[],"start":1578920571677,"stop":1578920589207} -------------------------------------------------------------------------------- /allure-results/f2d62f03-53c1-4309-9a80-78c1f7c60fe2-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"f2d62f03-53c1-4309-9a80-78c1f7c60fe2","name":"tests.TestBase.screenshotOnFailure","children":["3141fdb1-c5a5-40c1-8ed1-b9f3463ff26c"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922175925,"stop":1578922175925}],"links":[],"start":1578922175925,"stop":1578922175925} -------------------------------------------------------------------------------- /allure-results/f3d04cfd-3cc8-4012-ac8f-e4ef89e6469c-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"f3d04cfd-3cc8-4012-ac8f-e4ef89e6469c","name":"tests.TestBase.screenshotOnFailure","children":["468c8095-dded-4ff8-98ce-d4bbb72aa91e"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578922172650,"stop":1578922172650}],"links":[],"start":1578922172650,"stop":1578922172650} -------------------------------------------------------------------------------- /allure-results/fbddfea8-8793-4181-bcce-3f76cd126fa4-container.json: -------------------------------------------------------------------------------- 1 | {"uuid":"fbddfea8-8793-4181-bcce-3f76cd126fa4","name":"tests.TestBase.screenshotOnFailure","children":["8f3b3de3-5504-43c6-9374-0409d7133082"],"description":"","befores":[],"afters":[{"name":"screenshotOnFailure","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1578920464010,"stop":1578920464010}],"links":[],"start":1578920464009,"stop":1578920464010} -------------------------------------------------------------------------------- /drivers/IEDriverServer.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/drivers/IEDriverServer.exe -------------------------------------------------------------------------------- /drivers/chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/drivers/chromedriver.exe -------------------------------------------------------------------------------- /drivers/geckodriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/drivers/geckodriver.exe -------------------------------------------------------------------------------- /regressionSuite.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/java/pages/ComparePage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import java.util.List; 4 | 5 | import org.openqa.selenium.WebDriver; 6 | import org.openqa.selenium.WebElement; 7 | import org.openqa.selenium.support.FindBy; 8 | 9 | public class ComparePage extends PageBase { 10 | 11 | public ComparePage(WebDriver driver) { 12 | super(driver); 13 | } 14 | 15 | @FindBy(css="a.clear-list") 16 | private WebElement clearListLink; 17 | 18 | @FindBy(css="div.no-data") 19 | public WebElement noDataLBL; 20 | 21 | @FindBy(css="table.compare-products-table") 22 | private WebElement compareTable; 23 | 24 | @FindBy(tagName="tr") 25 | public List allRows; 26 | 27 | @FindBy(tagName="td") 28 | public ListallCol; 29 | 30 | @FindBy(linkText="Apple MacBook Pro 13-inch") 31 | public WebElement FFirstProduct; 32 | 33 | @FindBy(linkText="Asus N551JK-XO076H Laptop") 34 | public WebElement SSecondProduct; 35 | 36 | public void clearCompareList() 37 | { 38 | clickButton(clearListLink); 39 | } 40 | public void compareProducts() 41 | //Get all Rows 42 | { 43 | System.out.println(allRows.size()); 44 | //Get data from each row 45 | for (WebElement row : allRows) 46 | { 47 | System.out.println(row.getText()+"\t"); 48 | for (WebElement col : allCol) 49 | { 50 | System.out.println(col.getText()+"\t"); 51 | } 52 | 53 | } 54 | 55 | } 56 | 57 | } 58 | -------------------------------------------------------------------------------- /src/main/java/pages/ContactUsPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class ContactUsPage extends PageBase { 8 | 9 | public ContactUsPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy (id="FullName") 13 | private WebElement fullNameTxt; 14 | 15 | @FindBy(id="Email") 16 | private WebElement emailTxt; 17 | 18 | @FindBy(id="Enquiry") 19 | private WebElement enquiryTxt; 20 | 21 | @FindBy(name="send-email") 22 | private WebElement submitBtn; 23 | 24 | @FindBy(css="div.result") 25 | public WebElement successMessage; 26 | 27 | public void ContactUs(String fullName, String email, String enquiry) 28 | { 29 | setTextElementText(fullNameTxt, fullName); 30 | setTextElementText(emailTxt, email); 31 | setTextElementText(enquiryTxt, enquiry); 32 | clickButton(submitBtn); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /src/main/java/pages/EmailPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class EmailPage extends PageBase { 8 | 9 | public EmailPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(id="FriendEmail") 13 | private WebElement emailFriendTxt; 14 | 15 | @FindBy(id="PersonalMessage") 16 | private WebElement personalMessageTxt; 17 | 18 | @FindBy(name="send-email") 19 | private WebElement sendEmailBtn; 20 | 21 | @FindBy(css="div.result") 22 | public WebElement messageNotification; 23 | 24 | public void SendEmailToFriend(String friendEmail, String personalMessage) 25 | { 26 | setTextElementText(emailFriendTxt, friendEmail); 27 | setTextElementText(personalMessageTxt, personalMessage); 28 | clickButton(sendEmailBtn); 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/pages/HomePage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.JavascriptExecutor; 4 | import org.openqa.selenium.WebDriver; 5 | import org.openqa.selenium.WebElement; 6 | import org.openqa.selenium.interactions.Actions; 7 | import org.openqa.selenium.support.FindBy; 8 | import org.openqa.selenium.support.ui.Select; 9 | 10 | public class HomePage extends PageBase { 11 | public HomePage(WebDriver driver) { 12 | super(driver); 13 | jse=(JavascriptExecutor) driver; 14 | action=new Actions(driver); 15 | } 16 | 17 | @FindBy(linkText="Register") 18 | WebElement registerLink; 19 | 20 | @FindBy(linkText="Log in") 21 | WebElement loginLink; 22 | @FindBy(linkText="Contact us") 23 | WebElement contactUsLink; 24 | 25 | @FindBy(id="customerCurrency") 26 | WebElement currencydrl; 27 | 28 | @FindBy(linkText="Computers") 29 | WebElement ComputerMenu; 30 | 31 | @FindBy(linkText="Notebooks") 32 | WebElement NotbookMenu; 33 | 34 | public void openRegisterationPage() 35 | { 36 | clickButton(registerLink); 37 | } 38 | public void openLoginPage() 39 | { 40 | clickButton(loginLink); 41 | } 42 | public void openContactUsPage() 43 | { 44 | scrollToBottom(); 45 | clickButton(contactUsLink); 46 | } 47 | public void changeCurrency() 48 | { 49 | select=new Select(currencydrl); 50 | select.selectByVisibleText("Euro"); 51 | 52 | } 53 | //public void selectNotebooksMenu() 54 | public void selectComputer() 55 | { 56 | //action.moveToElement(ComputerMenu).moveToElement(NotbookMenu).click().build().perform(); 57 | action.moveToElement(ComputerMenu).click().build().perform(); 58 | // action.contextClick(ComputerMenu).build().perform(); 59 | 60 | 61 | } 62 | public void selectNoteBook() 63 | { 64 | action.moveToElement(NotbookMenu).click().build().perform(); 65 | 66 | } 67 | 68 | } 69 | -------------------------------------------------------------------------------- /src/main/java/pages/LoginPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class LoginPage extends PageBase { 8 | 9 | public LoginPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(css="input.email") 13 | WebElement email ; 14 | 15 | @FindBy(css="input.password") 16 | WebElement password ; 17 | 18 | @FindBy(css="input.button-1.login-button") 19 | WebElement loginBtn; 20 | public void UserLogin(String emailBox,String pass) 21 | { 22 | setTextElementText(email, emailBox); 23 | setTextElementText(password, pass); 24 | clickButton(loginBtn); 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/pages/MyAccountPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class MyAccountPage extends PageBase { 8 | 9 | public MyAccountPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(linkText="Change password") 13 | WebElement changePasswordLink; 14 | @FindBy (id="OldPassword") 15 | WebElement oldPasswordTxt; 16 | @FindBy(id="NewPassword") 17 | WebElement newPasswordTxt; 18 | @FindBy(id="ConfirmNewPassword") 19 | WebElement confirmPasswordTxt; 20 | @FindBy(css="input.button-1.change-password-button") 21 | WebElement changePasswordBtn; 22 | @FindBy(css="div.result") 23 | public WebElement resultLbl; 24 | 25 | 26 | 27 | public void openChangePasswordPage() 28 | { 29 | clickButton(changePasswordLink); 30 | } 31 | public void ChangePassword(String oldPassword,String newPassword) 32 | { 33 | setTextElementText(oldPasswordTxt, oldPassword); 34 | setTextElementText(newPasswordTxt, newPassword); 35 | setTextElementText(confirmPasswordTxt, newPassword); 36 | clickButton(changePasswordBtn); 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/pages/OrderDetailsPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class OrderDetailsPage extends PageBase { 8 | 9 | public OrderDetailsPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(css="a.button-2.pdf-invoice-button") 13 | WebElement pdfInvoiceLink; 14 | 15 | @FindBy(css="a.button-2.print-order-button") 16 | WebElement printInvoiceLink; 17 | 18 | public void printOrderDetails() 19 | { 20 | clickButton(printInvoiceLink); 21 | } 22 | public void DownloadPdfInvoice() throws InterruptedException 23 | { 24 | clickButton(pdfInvoiceLink); 25 | Thread.sleep(2000); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/pages/PageBase.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.JavascriptExecutor; 4 | import org.openqa.selenium.WebDriver; 5 | import org.openqa.selenium.WebElement; 6 | import org.openqa.selenium.interactions.Actions; 7 | import org.openqa.selenium.support.PageFactory; 8 | import org.openqa.selenium.support.ui.Select; 9 | 10 | public class PageBase { 11 | protected WebDriver driver; 12 | public JavascriptExecutor jse; 13 | public Select select; 14 | public Actions action; 15 | 16 | //create constructor 17 | public PageBase(WebDriver driver) 18 | { 19 | 20 | PageFactory.initElements(driver, this); 21 | } 22 | protected static void clickButton(WebElement button) 23 | { 24 | button.click(); 25 | } 26 | protected static void setTextElementText(WebElement textElement,String value) 27 | { 28 | textElement.sendKeys(value); 29 | } 30 | public void scrollToBottom() 31 | { 32 | jse.executeScript("scrollBy(0,2500)"); 33 | } 34 | public void clearText(WebElement element) 35 | { 36 | element.clear(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/pages/ProductDetailsPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class ProductDetailsPage extends PageBase { 8 | 9 | public ProductDetailsPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(css="strong.current-item") 13 | public WebElement productNamebreadCrumb; 14 | 15 | @FindBy(css="input.button-2.email-a-friend-button") 16 | WebElement emailFriendBtn; 17 | 18 | @FindBy(css="span.price-value-4") 19 | public WebElement productPricelbl; 20 | 21 | @FindBy(linkText="Add your review") 22 | WebElement addReviewLink; 23 | @FindBy(id="add-to-wishlist-button-4") 24 | WebElement addToWishListBtn; 25 | 26 | @FindBy(css="input.button-2.add-to-compare-list-button") 27 | WebElement addToCompareBtn; 28 | 29 | @FindBy(id="add-to-cart-button-4") 30 | WebElement addToCartBtn; 31 | 32 | 33 | public void openSendEmail() 34 | { 35 | clickButton(emailFriendBtn); 36 | } 37 | public void openAddReviewPage() 38 | { 39 | clickButton(addReviewLink); 40 | } 41 | public void AddProductToWishlist() 42 | { 43 | clickButton(addToWishListBtn); 44 | } 45 | public void AddProductToCompare() 46 | { 47 | clickButton(addToCompareBtn); 48 | } 49 | public void AddToCart() 50 | { 51 | clickButton(addToCartBtn); 52 | } 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/pages/ProductReviewPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class ProductReviewPage extends PageBase { 8 | 9 | public ProductReviewPage(WebDriver driver) { 10 | super(driver); 11 | // TODO Auto-generated constructor stub 12 | } 13 | @FindBy(id="AddProductReview_Title") 14 | WebElement reviewTitleTxt; 15 | 16 | @FindBy(id="AddProductReview_ReviewText") 17 | WebElement reviewTxt; 18 | 19 | @FindBy(id="addproductrating_5") 20 | WebElement ratingRadioBtn; 21 | 22 | @FindBy(name="add-review") 23 | WebElement submitReviewBtn; 24 | 25 | @FindBy(css="div.result") 26 | public WebElement reviewNotification; 27 | 28 | public void addProductReview(String reviewTitle, String reviewMessage) 29 | { 30 | setTextElementText(reviewTitleTxt, reviewTitle); 31 | setTextElementText(reviewTxt, reviewMessage); 32 | clickButton(ratingRadioBtn); 33 | clickButton(submitReviewBtn); 34 | } 35 | 36 | } 37 | -------------------------------------------------------------------------------- /src/main/java/pages/SearchPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import java.util.List; 4 | 5 | import org.openqa.selenium.WebDriver; 6 | import org.openqa.selenium.WebElement; 7 | import org.openqa.selenium.support.FindBy; 8 | 9 | public class SearchPage extends PageBase { 10 | 11 | public SearchPage(WebDriver driver) { 12 | super(driver); 13 | } 14 | @FindBy(id="small-searchterms") 15 | WebElement SearchTextBox; 16 | 17 | @FindBy(css="input.button-1.search-box-button") 18 | WebElement searchBtn; 19 | 20 | @FindBy(id="ui-id-1") 21 | List ProductList; 22 | @FindBy(linkText="Apple MacBook Pro 13-inch") 23 | WebElement productTitle; 24 | 25 | public void ProductSearch(String productName) 26 | { 27 | setTextElementText(SearchTextBox, productName); 28 | clickButton(searchBtn); 29 | } 30 | 31 | public void openProductDetailsPage() 32 | { 33 | clickButton(productTitle); 34 | } 35 | public void productSearchUsingAutoSuggest(String searchTxt) 36 | { 37 | setTextElementText(SearchTextBox, searchTxt); 38 | try { 39 | Thread.sleep(2000); 40 | } catch (InterruptedException e) { 41 | // TODO Auto-generated catch block 42 | e.printStackTrace(); 43 | } 44 | 45 | ProductList.get(0).click(); 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/pages/ShoppingCartPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class ShoppingCartPage extends PageBase { 8 | 9 | public ShoppingCartPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | @FindBy(name="removefromcart") 13 | WebElement removeCheck; 14 | 15 | @FindBy(name="updatecart") 16 | WebElement updateCartBtn; 17 | 18 | @FindBy(css="input.qty-input") 19 | public WebElement quantityTxt; 20 | 21 | @FindBy(css="td.subtotal") 22 | public WebElement totalLbl; 23 | @FindBy(css="div.no-data") 24 | public WebElement removeSuccessfullyLbl; 25 | 26 | @FindBy(id="checkout") 27 | WebElement CheckoutBtn; 28 | 29 | @FindBy(id="termsofservice") 30 | WebElement agreeCheckbox; 31 | 32 | public void RemoveProductFromCart() 33 | { 34 | clickButton(removeCheck); 35 | clickButton(updateCartBtn); 36 | } 37 | public void UpdateProductQuantityInCart(String quantity) 38 | { 39 | //clear quantity textbox 40 | clearText(quantityTxt); 41 | setTextElementText(quantityTxt, quantity); 42 | clickButton(updateCartBtn); 43 | } 44 | public void openCheckoutPage() 45 | { 46 | clickButton(agreeCheckbox); 47 | clickButton(CheckoutBtn); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/pages/UserRegisterationPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class UserRegisterationPage extends PageBase 8 | { 9 | public UserRegisterationPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | 13 | @FindBy(id="gender-male") 14 | WebElement genderMale; 15 | 16 | @FindBy(id="FirstName") 17 | WebElement firstName; 18 | 19 | @FindBy(id="LastName") 20 | WebElement lastName ; 21 | 22 | @FindBy(id="Email") 23 | WebElement email ; 24 | 25 | @FindBy(id="Password") 26 | WebElement password ; 27 | 28 | @FindBy(id="ConfirmPassword") 29 | WebElement confirmPassword ; 30 | 31 | 32 | @FindBy(id="register-button") 33 | WebElement registerButton ; 34 | @FindBy(css="div.result") 35 | public WebElement successMessage; 36 | 37 | @FindBy(linkText="Log out") 38 | public WebElement logoutLink; 39 | @FindBy(linkText="My account") 40 | WebElement myAccountLink; 41 | 42 | 43 | public void userRegistration(String fName,String lName,String emailBox, String pass) 44 | { 45 | clickButton(genderMale); 46 | setTextElementText(firstName, fName); 47 | setTextElementText(lastName, lName); 48 | setTextElementText(email, emailBox); 49 | setTextElementText(password, pass); 50 | setTextElementText(confirmPassword, pass); 51 | clickButton(registerButton); 52 | } 53 | public void userLogout() 54 | { 55 | clickButton(logoutLink); 56 | } 57 | public void openMyAccountPage() 58 | { 59 | clickButton(myAccountLink); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /src/main/java/pages/WishListPage.java: -------------------------------------------------------------------------------- 1 | package pages; 2 | 3 | import org.openqa.selenium.WebDriver; 4 | import org.openqa.selenium.WebElement; 5 | import org.openqa.selenium.support.FindBy; 6 | 7 | public class WishListPage extends PageBase { 8 | 9 | public WishListPage(WebDriver driver) { 10 | super(driver); 11 | } 12 | 13 | @FindBy(css="td.product") 14 | public WebElement productCell; 15 | 16 | //@FindBy(css="div.page-title") or 17 | //@FindBy(tagName="h1") 18 | 19 | @FindBy(css="h1") 20 | public WebElement WishListHeader; 21 | 22 | @FindBy(name="updatecart") 23 | private WebElement updateWishlistBtn; 24 | 25 | @FindBy(name="removefromcart") 26 | private WebElement removeformCartCheck; 27 | 28 | @FindBy(css="div.no-data") 29 | public WebElement EmptyCartLbl; 30 | 31 | public void removeProductFromWhishlist() 32 | { 33 | clickButton(removeformCartCheck);; 34 | clickButton(updateWishlistBtn); 35 | 36 | } 37 | 38 | 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/properties/saucelabsUser.properties: -------------------------------------------------------------------------------- 1 | seleniumURL=@https://ondemand.saucelabs.com:443/wd/hub 2 | username=ahelshal2020 3 | accesskey=1fa5fca6-4f38-4241-9f21-1ab8e96314ae -------------------------------------------------------------------------------- /src/main/java/properties/userdata.properties: -------------------------------------------------------------------------------- 1 | firstname=ahmed 2 | lastname=elshal 3 | email=aa4amw@gmail.com 4 | password=147856 -------------------------------------------------------------------------------- /src/test/java/data/ExcelReader.java: -------------------------------------------------------------------------------- 1 | package data; 2 | 3 | import java.io.File; 4 | import java.io.FileInputStream; 5 | import java.io.FileNotFoundException; 6 | import java.io.IOException; 7 | 8 | import org.apache.poi.xssf.usermodel.XSSFRow; 9 | import org.apache.poi.xssf.usermodel.XSSFSheet; 10 | import org.apache.poi.xssf.usermodel.XSSFWorkbook; 11 | 12 | public class ExcelReader { 13 | static FileInputStream fis=null; 14 | public FileInputStream getFileInputStream() 15 | { 16 | String filePath=System.getProperty("user.dir")+"\\src\\test\\java\\data\\UserData.xlsx"; 17 | File srcFile=new File(filePath); 18 | try { 19 | fis =new FileInputStream(srcFile); 20 | } catch (FileNotFoundException e) { 21 | System.out.println("Test Data file not found. terminating Process !! check file path of TestData "); 22 | System.exit(0); 23 | } 24 | return fis; 25 | } 26 | public Object [][]getExcelData() throws IOException 27 | { 28 | fis=getFileInputStream(); 29 | XSSFWorkbook wb=new XSSFWorkbook(fis); 30 | XSSFSheet sheet=wb.getSheetAt(0); 31 | 32 | int TotalNumberofRows=(sheet.getLastRowNum()+1); 33 | int TotalNumberofCols=4; 34 | 35 | String [][] arrayExcelData=new String [TotalNumberofRows][TotalNumberofCols]; 36 | 37 | for (int i = 0; i < TotalNumberofRows; i++) 38 | { 39 | 40 | for (int j = 0; j " 7 | And choose to buy Two items 8 | And move to checkout cart and enter personal details on checkout page and place the order 9 | Then he can view the order and download the invoice 10 | 11 | 12 | Examples: 13 | | productName | 14 | | Apple MacBook Pro 13-inch | 15 | -------------------------------------------------------------------------------- /src/test/java/features/UserRegisteration.feature: -------------------------------------------------------------------------------- 1 | Feature: User Registeration 2 | I want to check that the user can register in our e-commerce website. 3 | 4 | Scenario Outline: User Registeration 5 | Given the user in home page 6 | When I click on register link 7 | And I entered "" , "" , "" , "" 8 | Then The registeration page displayed successfully 9 | 10 | Examples: 11 | 12 | | firstname | lastname | email | password | 13 | | ahelshal | morshedy | ahmkeor4sh2@gmail.com | 12355566 | 14 | | karimdd | elshadf | koqaei4ss@gmail.com | 695112222 | -------------------------------------------------------------------------------- /src/test/java/runner/TestRunner.java: -------------------------------------------------------------------------------- 1 | package runner; 2 | 3 | import cucumber.api.CucumberOptions; 4 | import tests.TestBase; 5 | 6 | 7 | 8 | @CucumberOptions(features="src/test/java/features",glue= {"steps"},plugin= {"pretty","html:target/cucumber-html-report"}) 9 | public class TestRunner extends TestBase 10 | { 11 | 12 | 13 | } 14 | -------------------------------------------------------------------------------- /src/test/java/steps/UserRegisteration.java: -------------------------------------------------------------------------------- 1 | package steps; 2 | 3 | import org.testng.Assert; 4 | 5 | import cucumber.api.java.en.Given; 6 | import cucumber.api.java.en.Then; 7 | import cucumber.api.java.en.When; 8 | import pages.HomePage; 9 | import pages.UserRegisterationPage; 10 | import tests.TestBase; 11 | 12 | public class UserRegisteration extends TestBase { 13 | 14 | HomePage homeObject; 15 | UserRegisterationPage registerObject; 16 | 17 | @Given("^the user in home page$") 18 | public void the_user_in_home_page() 19 | { 20 | homeObject=new HomePage(driver); 21 | homeObject.openRegisterationPage(); 22 | 23 | } 24 | 25 | @When("^I click on register link$") 26 | public void i_click_on_register_link() 27 | { 28 | Assert.assertTrue(driver.getCurrentUrl().contains("register")); 29 | } 30 | 31 | /*@When("^I entered the user data$") 32 | public void i_entered_the_user_data() 33 | { 34 | registerObject=new UserRegisterationPage(driver); 35 | registerObject.userRegistration("ahmeeed", "ssddss", "lo55do5@gmail.com", "12389ss4"); 36 | }*/ 37 | 38 | @When("^I entered \"([^\"]*)\" , \"([^\"]*)\" , \"([^\"]*)\" , \"([^\"]*)\"$") 39 | public void i_entered(String firstname, String lastname, String email, String password) 40 | { 41 | registerObject=new UserRegisterationPage(driver); 42 | registerObject.userRegistration(firstname, lastname, email, password); 43 | } 44 | 45 | @Then("^The registeration page displayed successfully$") 46 | public void the_registeration_page_displayed_successfully() 47 | { 48 | registerObject.userLogout(); 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /src/test/java/tests/AddProductToShoppingCartTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.ProductDetailsPage; 7 | import pages.SearchPage; 8 | import pages.ShoppingCartPage; 9 | 10 | public class AddProductToShoppingCartTest extends TestBase { 11 | 12 | String productName="Apple MacBook Pro 13-inch"; 13 | SearchPage searchObject; 14 | ProductDetailsPage detailsObject; 15 | ShoppingCartPage cartPage; 16 | 17 | @Test (priority=1) 18 | public void UserCanSearchWithAutoSuggest() 19 | { 20 | try { 21 | searchObject=new SearchPage(driver); 22 | searchObject.productSearchUsingAutoSuggest("Mac"); 23 | detailsObject=new ProductDetailsPage(driver); 24 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 25 | 26 | } catch (Exception e) { 27 | System.out.println("Error Occurred "+e.getMessage()); 28 | } 29 | } 30 | @Test(priority=2) 31 | public void UserCanAddProductToShoppingCart() throws InterruptedException 32 | { 33 | detailsObject=new ProductDetailsPage(driver); 34 | detailsObject.AddToCart(); 35 | Thread.sleep(2000); 36 | driver.navigate().to("https://demo.nopcommerce.com/"+"/cart"); 37 | 38 | } 39 | @Test(priority=3) 40 | 41 | public void addQunatity() 42 | { 43 | cartPage=new ShoppingCartPage(driver); 44 | cartPage.UpdateProductQuantityInCart("4"); 45 | Assert.assertTrue(cartPage.totalLbl.getText().contains("7,200.00")); 46 | System.out.println(cartPage.totalLbl.getText()); 47 | } 48 | 49 | @Test(priority=4) 50 | public void UserCanRemoveProductFromCart() 51 | { 52 | cartPage=new ShoppingCartPage(driver); 53 | cartPage.RemoveProductFromCart(); 54 | Assert.assertTrue(cartPage.removeSuccessfullyLbl.getText().contains("Your Shopping Cart is empty")); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /src/test/java/tests/AddProductToWishListTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.ProductDetailsPage; 7 | import pages.SearchPage; 8 | import pages.WishListPage; 9 | 10 | public class AddProductToWishListTest extends TestBase { 11 | 12 | String productName="Apple MacBook Pro 13-inch"; 13 | SearchPage searchObject; 14 | ProductDetailsPage detailsObject; 15 | WishListPage wishListObject; 16 | 17 | @Test (priority=1) 18 | public void UserCanSearchWithAutoSuggest() 19 | { 20 | try { 21 | searchObject=new SearchPage(driver); 22 | searchObject.productSearchUsingAutoSuggest("Mac"); 23 | detailsObject=new ProductDetailsPage(driver); 24 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 25 | 26 | } catch (Exception e) { 27 | System.out.println("Error Occurred "+e.getMessage()); 28 | } 29 | } 30 | @Test(priority=2) 31 | public void UserCanAddProductToWishlist() 32 | { 33 | detailsObject=new ProductDetailsPage(driver); 34 | detailsObject.AddProductToWishlist(); 35 | driver.navigate().to("https://demo.nopcommerce.com/"+"/wishlist"); 36 | wishListObject=new WishListPage(driver); 37 | Assert.assertTrue(wishListObject.WishListHeader.isDisplayed()); 38 | Assert.assertTrue(wishListObject.productCell.getText().contains(productName)); 39 | } 40 | @Test(priority=3) 41 | public void UserCanRemoveProductFromCart() 42 | { 43 | wishListObject=new WishListPage(driver); 44 | wishListObject.removeProductFromWhishlist(); 45 | Assert.assertTrue(wishListObject.EmptyCartLbl.getText().contains("empty")); 46 | 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /src/test/java/tests/ChangeCurrencyTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.HomePage; 7 | import pages.ProductDetailsPage; 8 | import pages.SearchPage; 9 | 10 | public class ChangeCurrencyTest extends TestBase { 11 | HomePage homeObject; 12 | ProductDetailsPage detailsObject; 13 | String productName="Apple MacBook Pro 13-inch"; 14 | SearchPage searchObject; 15 | @Test(priority=1) 16 | public void usercanChangeCurrency() 17 | { 18 | homeObject=new HomePage(driver); 19 | homeObject.changeCurrency(); 20 | 21 | } 22 | @Test(priority=2) 23 | public void UserCanSearchWithAutoSuggest() 24 | { 25 | try { 26 | searchObject=new SearchPage(driver); 27 | searchObject.productSearchUsingAutoSuggest("Mac"); 28 | detailsObject=new ProductDetailsPage(driver); 29 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 30 | Assert.assertTrue(detailsObject.productPricelbl.getText().contains("Ђ")); 31 | System.out.println(detailsObject.productPricelbl.getText()); 32 | } catch (Exception e) { 33 | System.out.println("Error Occurred "+e.getMessage()); 34 | } 35 | 36 | 37 | 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /src/test/java/tests/ContactUsTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import io.qameta.allure.*; 4 | import org.testng.Assert; 5 | import org.testng.annotations.Test; 6 | 7 | import pages.ContactUsPage; 8 | import pages.HomePage; 9 | 10 | public class ContactUsTest extends TestBase { 11 | 12 | HomePage home; 13 | ContactUsPage contactpage; 14 | String fullNamee="AhmdlMorJshedy"; 15 | String emaill="al4i4j4d55@gmail.com"; 16 | String enquiryy="hello admin please help me"; 17 | @Test 18 | @Severity(SeverityLevel.CRITICAL) 19 | @Description("Contact US Test Case") 20 | @Link(name="JIRA Ticket", url = "https://google.com") 21 | 22 | public void UsercanuseContactUs() 23 | { 24 | home=new HomePage(driver); 25 | home.openContactUsPage(); 26 | contactpage=new ContactUsPage(driver); 27 | contactpage.ContactUs(fullNamee, emaill, enquiryy); 28 | Assert.assertTrue(contactpage.successMessage.getText().contains("Your enquiry has been successfully sent to the store owner.")); 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/test/java/tests/ProductHoverMenuText.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.annotations.Test; 4 | 5 | import pages.HomePage; 6 | 7 | public class ProductHoverMenuText extends TestBase { 8 | HomePage homeObject; 9 | 10 | @Test(priority=1) 11 | public void UserCanSelectSubCategoryFromMenue() 12 | { 13 | homeObject=new HomePage(driver); 14 | homeObject.selectComputer(); 15 | //Assert.assertTrue(driver.getCurrentUrl().contains("notebooks")); 16 | } 17 | @Test(priority=2) 18 | public void runnotebook() 19 | { 20 | homeObject=new HomePage(driver); 21 | homeObject.selectNoteBook(); 22 | System.out.println(driver.getCurrentUrl()); 23 | 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/test/java/tests/SearchProductPT.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.ProductDetailsPage; 7 | import pages.SearchPage; 8 | 9 | public class SearchProductPT extends TestBase2 10 | { 11 | String productName="Apple MacBook Pro 13-inch"; 12 | SearchPage searchObject; 13 | ProductDetailsPage detailsObject; 14 | @Test 15 | public void UserCanSearchForProducts() 16 | { 17 | searchObject=new SearchPage(getDriver()); 18 | detailsObject=new ProductDetailsPage(getDriver()); 19 | searchObject.ProductSearch(productName); 20 | searchObject.openProductDetailsPage(); 21 | //Assert.assertTrue(detailsObject.productNamebreadCrumb.getText().equalsIgnoreCase(productName)); 22 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 23 | 24 | } 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/tests/SearchProductTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.ProductDetailsPage; 7 | import pages.SearchPage; 8 | 9 | public class SearchProductTest extends TestBase 10 | { 11 | String productName="Apple MacBook Pro 13-inch"; 12 | SearchPage searchObject; 13 | ProductDetailsPage detailsObject; 14 | @Test 15 | public void UserCanSearchForProducts() 16 | { 17 | searchObject=new SearchPage(driver); 18 | detailsObject=new ProductDetailsPage(driver); 19 | searchObject.ProductSearch(productName); 20 | searchObject.openProductDetailsPage(); 21 | //Assert.assertTrue(detailsObject.productNamebreadCrumb.getText().equalsIgnoreCase(productName)); 22 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 23 | 24 | } 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/test/java/tests/SearchProductUsingAutomSuggest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.ProductDetailsPage; 7 | import pages.SearchPage; 8 | 9 | public class SearchProductUsingAutomSuggest extends TestBase 10 | { 11 | String productName="Apple MacBook Pro 13-inch"; 12 | SearchPage searchObject; 13 | ProductDetailsPage detailsObject; 14 | 15 | @Test 16 | public void UserCanSearchWithAutoSuggest() 17 | { 18 | try { 19 | searchObject=new SearchPage(driver); 20 | searchObject.productSearchUsingAutoSuggest("Mac"); 21 | detailsObject=new ProductDetailsPage(driver); 22 | Assert.assertEquals(detailsObject.productNamebreadCrumb.getText(), productName); 23 | 24 | } catch (Exception e) { 25 | System.out.println("Error Occurred "+e.getMessage()); 26 | } 27 | 28 | 29 | 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationParallelTesting.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import com.github.javafaker.Faker; 7 | 8 | import pages.HomePage; 9 | import pages.LoginPage; 10 | import pages.UserRegisterationPage; 11 | 12 | public class UserRegisterationParallelTesting extends TestBase2 { 13 | 14 | HomePage homeObject; 15 | UserRegisterationPage registerObject; 16 | LoginPage loginObject; 17 | 18 | Faker fakeData=new Faker(); 19 | String firstname=fakeData.name().firstName(); 20 | String lastname=fakeData.name().lastName(); 21 | String email=fakeData.internet().emailAddress(); 22 | String password=fakeData.number().digits(8).toString(); 23 | 24 | 25 | @Test(priority=1,alwaysRun=true) 26 | public void UserCanRegisterSuccessfully() 27 | { 28 | 29 | homeObject=new HomePage(getDriver()); 30 | homeObject.openRegisterationPage(); 31 | registerObject=new UserRegisterationPage(getDriver()); 32 | registerObject.userRegistration(firstname,lastname,email,password); 33 | System.out.println("The user data is : "+firstname+" "+lastname+" "+email+" "+password); 34 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 35 | 36 | } 37 | 38 | @Test(dependsOnMethods= {"UserCanRegisterSuccessfully"}) 39 | public void RegisteredUserCanLogout() 40 | { 41 | registerObject.userLogout(); 42 | } 43 | @Test(dependsOnMethods= {"RegisteredUserCanLogout"}) 44 | public void RegisteredUserCanLogin() 45 | { 46 | homeObject.openLoginPage(); 47 | loginObject=new LoginPage(getDriver()); 48 | loginObject.UserLogin(email, password); 49 | 50 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationTest.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import pages.HomePage; 7 | import pages.LoginPage; 8 | import pages.UserRegisterationPage; 9 | 10 | public class UserRegisterationTest extends TestBase { 11 | HomePage homeObject; 12 | UserRegisterationPage registerObject; 13 | LoginPage loginObject; 14 | 15 | 16 | @Test(priority=1,alwaysRun=true) 17 | public void UserCanRegisterSuccessfully() 18 | { 19 | 20 | homeObject=new HomePage(driver); 21 | homeObject.openRegisterationPage(); 22 | registerObject=new UserRegisterationPage(driver); 23 | registerObject.userRegistration("ali","ahmed","ahe2204@gmail.com","123456ahmed"); 24 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 25 | 26 | } 27 | 28 | @Test(dependsOnMethods= {"UserCanRegisterSuccessfully"}) 29 | public void RegisteredUserCanLogout() 30 | { 31 | registerObject.userLogout(); 32 | } 33 | @Test(dependsOnMethods= {"RegisteredUserCanLogout"}) 34 | public void RegisteredUserCanLogin() 35 | { 36 | homeObject.openLoginPage(); 37 | loginObject=new LoginPage(driver); 38 | loginObject.UserLogin("ahelshal2014@gmail.com", "123456ahmed"); 39 | 40 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationTestWithJavaFaker.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import com.github.javafaker.Faker; 7 | 8 | import pages.HomePage; 9 | import pages.LoginPage; 10 | import pages.UserRegisterationPage; 11 | 12 | public class UserRegisterationTestWithJavaFaker extends TestBase { 13 | HomePage homeObject; 14 | UserRegisterationPage registerObject; 15 | LoginPage loginObject; 16 | 17 | Faker fakeData=new Faker(); 18 | String firstname=fakeData.name().firstName(); 19 | String lastname=fakeData.name().lastName(); 20 | String email=fakeData.internet().emailAddress(); 21 | String password=fakeData.number().digits(8).toString(); 22 | 23 | 24 | @Test(priority=1,alwaysRun=true) 25 | public void UserCanRegisterSuccessfully() 26 | { 27 | 28 | homeObject=new HomePage(driver); 29 | homeObject.openRegisterationPage(); 30 | registerObject=new UserRegisterationPage(driver); 31 | registerObject.userRegistration(firstname,lastname,email,password); 32 | System.out.println("The user data is : "+firstname+" "+lastname+" "+email+" "+password); 33 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 34 | 35 | } 36 | 37 | @Test(dependsOnMethods= {"UserCanRegisterSuccessfully"}) 38 | public void RegisteredUserCanLogout() 39 | { 40 | registerObject.userLogout(); 41 | } 42 | @Test(dependsOnMethods= {"RegisteredUserCanLogout"}) 43 | public void RegisteredUserCanLogin() 44 | { 45 | homeObject.openLoginPage(); 46 | loginObject=new LoginPage(driver); 47 | loginObject.UserLogin(email, password); 48 | 49 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationTestwithDDTAndJSON.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import java.io.FileNotFoundException; 4 | import java.io.IOException; 5 | 6 | import org.json.simple.parser.ParseException; 7 | import org.testng.Assert; 8 | import org.testng.annotations.Test; 9 | 10 | import data.JsonDataReader; 11 | import pages.HomePage; 12 | import pages.LoginPage; 13 | import pages.UserRegisterationPage; 14 | 15 | public class UserRegisterationTestwithDDTAndJSON extends TestBase { 16 | HomePage homeObject; 17 | UserRegisterationPage registerObject; 18 | LoginPage loginObject; 19 | 20 | 21 | @Test(priority=1,alwaysRun=true) 22 | public void UserCanRegisterSuccessfully() throws FileNotFoundException, IOException, ParseException 23 | { 24 | JsonDataReader jsonReader=new JsonDataReader(); 25 | jsonReader.JsonReader(); 26 | homeObject=new HomePage(driver); 27 | homeObject.openRegisterationPage(); 28 | registerObject=new UserRegisterationPage(driver); 29 | registerObject.userRegistration(jsonReader.firstname, jsonReader.lastname,jsonReader.email,jsonReader.password); 30 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 31 | registerObject.userLogout(); 32 | homeObject.openLoginPage(); 33 | loginObject=new LoginPage(driver); 34 | loginObject.UserLogin(jsonReader.email, jsonReader.password); 35 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 36 | registerObject.userLogout(); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationTestwithDDTandExcel.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import java.io.IOException; 4 | 5 | import org.testng.Assert; 6 | import org.testng.annotations.DataProvider; 7 | import org.testng.annotations.Test; 8 | 9 | import data.ExcelReader; 10 | import pages.HomePage; 11 | import pages.LoginPage; 12 | import pages.UserRegisterationPage; 13 | 14 | public class UserRegisterationTestwithDDTandExcel extends TestBase { 15 | HomePage homeObject; 16 | UserRegisterationPage registerObject; 17 | LoginPage loginObject; 18 | 19 | @DataProvider(name="ExcelData") 20 | public Object [][] userRegisterData() throws IOException 21 | { 22 | //get data from Excel Reader class 23 | ExcelReader ER=new ExcelReader(); 24 | return ER.getExcelData(); 25 | 26 | } 27 | 28 | 29 | @Test(priority=1,alwaysRun=true,dataProvider="ExcelData") 30 | public void UserCanRegisterSuccessfully(String firstname,String lastname,String email,String password) 31 | { 32 | 33 | homeObject=new HomePage(driver); 34 | homeObject.openRegisterationPage(); 35 | registerObject=new UserRegisterationPage(driver); 36 | registerObject.userRegistration(firstname,lastname,email,password); 37 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 38 | registerObject.userLogout(); 39 | homeObject.openLoginPage(); 40 | loginObject=new LoginPage(driver); 41 | loginObject.UserLogin(email, password); 42 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 43 | registerObject.userLogout(); 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationwithDDTandPropertiesFile.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.Test; 5 | 6 | import data.LoadProperties; 7 | import pages.HomePage; 8 | import pages.LoginPage; 9 | import pages.UserRegisterationPage; 10 | 11 | public class UserRegisterationwithDDTandPropertiesFile extends TestBase { 12 | HomePage homeObject; 13 | UserRegisterationPage registerObject; 14 | LoginPage loginObject; 15 | String firstnamee=LoadProperties.userData.getProperty("firstname"); 16 | String lastnamee=LoadProperties.userData.getProperty("lastname"); 17 | String emaill=LoadProperties.userData.getProperty("email"); 18 | String passwordd=LoadProperties.userData.getProperty("password"); 19 | 20 | 21 | 22 | 23 | @Test(priority=1,alwaysRun=true) 24 | public void UserCanRegisterSuccessfully() 25 | { 26 | 27 | homeObject=new HomePage(driver); 28 | homeObject.openRegisterationPage(); 29 | registerObject=new UserRegisterationPage(driver); 30 | registerObject.userRegistration(firstnamee,lastnamee,emaill,passwordd); 31 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 32 | 33 | } 34 | 35 | @Test(dependsOnMethods= {"UserCanRegisterSuccessfully"}) 36 | public void RegisteredUserCanLogout() 37 | { 38 | registerObject.userLogout(); 39 | } 40 | @Test(dependsOnMethods= {"RegisteredUserCanLogout"}) 41 | public void RegisteredUserCanLogin() 42 | { 43 | homeObject.openLoginPage(); 44 | loginObject=new LoginPage(driver); 45 | loginObject.UserLogin(emaill, passwordd); 46 | 47 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 48 | } 49 | 50 | } 51 | -------------------------------------------------------------------------------- /src/test/java/tests/UserRegisterationwithDTTAndDataProvider.java: -------------------------------------------------------------------------------- 1 | package tests; 2 | 3 | import org.testng.Assert; 4 | import org.testng.annotations.DataProvider; 5 | import org.testng.annotations.Test; 6 | 7 | import pages.HomePage; 8 | import pages.LoginPage; 9 | import pages.UserRegisterationPage; 10 | 11 | public class UserRegisterationwithDTTAndDataProvider extends TestBase { 12 | HomePage homeObject; 13 | UserRegisterationPage registerObject; 14 | LoginPage loginObject; 15 | 16 | @DataProvider(name="testData") 17 | public static Object [][] userData() 18 | { 19 | return new Object[][] { 20 | {"Moataz","Nabil","testtest2@gmail.com","12345678"}, 21 | {"Ahmed","Ali","testtest3@gmail.com","123457678"} 22 | }; 23 | } 24 | 25 | 26 | @Test(priority=1,alwaysRun=true,dataProvider="testData") 27 | public void UserCanRegisterSuccessfully(String fname,String lname,String email,String password) 28 | { 29 | homeObject=new HomePage(driver); 30 | homeObject.openRegisterationPage(); 31 | registerObject=new UserRegisterationPage(driver); 32 | registerObject.userRegistration(fname,lname,email,password); 33 | Assert.assertTrue(registerObject.successMessage.getText().contains("Your registration completed")); 34 | registerObject.userLogout(); 35 | homeObject.openLoginPage(); 36 | loginObject=new LoginPage(driver); 37 | loginObject.UserLogin(email, password); 38 | Assert.assertTrue(registerObject.logoutLink.getText().contains("Log out")); 39 | registerObject.userLogout(); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/test/java/utilities/Helper.java: -------------------------------------------------------------------------------- 1 | package utilities; 2 | 3 | import java.io.FileOutputStream; 4 | import java.io.IOException; 5 | import java.nio.file.Files; 6 | import java.nio.file.Path; 7 | import java.nio.file.Paths; 8 | 9 | import org.openqa.selenium.OutputType; 10 | import org.openqa.selenium.TakesScreenshot; 11 | import org.openqa.selenium.WebDriver; 12 | 13 | public class Helper { 14 | 15 | //Method to take screenshot when test case fail 16 | public static void captureScreenshot(WebDriver driver, String screenshotname) 17 | { 18 | Path dest=Paths.get("./Screenshots",screenshotname+".png"); 19 | try { 20 | Files.createDirectories(dest.getParent()); 21 | FileOutputStream out=new FileOutputStream(dest.toString()); 22 | out.write(((TakesScreenshot)driver).getScreenshotAs(OutputType.BYTES)); 23 | out.close(); 24 | } catch (IOException e) { 25 | System.out.println("Exception while taking screenshot"+e.getMessage()); 26 | } 27 | 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /target/classes/pages/CheckoutPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/CheckoutPage.class -------------------------------------------------------------------------------- /target/classes/pages/ComparePage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/ComparePage.class -------------------------------------------------------------------------------- /target/classes/pages/ContactUsPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/ContactUsPage.class -------------------------------------------------------------------------------- /target/classes/pages/EmailPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/EmailPage.class -------------------------------------------------------------------------------- /target/classes/pages/HomePage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/HomePage.class -------------------------------------------------------------------------------- /target/classes/pages/LoginPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/LoginPage.class -------------------------------------------------------------------------------- /target/classes/pages/MyAccountPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/MyAccountPage.class -------------------------------------------------------------------------------- /target/classes/pages/OrderDetailsPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/OrderDetailsPage.class -------------------------------------------------------------------------------- /target/classes/pages/PageBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/PageBase.class -------------------------------------------------------------------------------- /target/classes/pages/ProductDetailsPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/ProductDetailsPage.class -------------------------------------------------------------------------------- /target/classes/pages/ProductReviewPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/ProductReviewPage.class -------------------------------------------------------------------------------- /target/classes/pages/SearchPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/SearchPage.class -------------------------------------------------------------------------------- /target/classes/pages/ShoppingCartPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/ShoppingCartPage.class -------------------------------------------------------------------------------- /target/classes/pages/UserRegisterationPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/UserRegisterationPage.class -------------------------------------------------------------------------------- /target/classes/pages/WishListPage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/classes/pages/WishListPage.class -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | pages\ShoppingCartPage.class 2 | pages\ProductDetailsPage.class 3 | pages\EmailPage.class 4 | pages\LoginPage.class 5 | pages\WishListPage.class 6 | pages\HomePage.class 7 | pages\UserRegisterationPage.class 8 | pages\ContactUsPage.class 9 | pages\ProductReviewPage.class 10 | pages\ComparePage.class 11 | pages\SearchPage.class 12 | pages\CheckoutPage.class 13 | pages\PageBase.class 14 | pages\OrderDetailsPage.class 15 | pages\MyAccountPage.class 16 | -------------------------------------------------------------------------------- /target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst: -------------------------------------------------------------------------------- 1 | tests\UserRegisterationTestwithDDTandExcel.class 2 | data\LoadProperties.class 3 | tests\AddProductToShoppingCartTestPT.class 4 | tests\AddProductToCompareTest.class 5 | tests\UserRegisterationwithDDTandPropertiesFile.class 6 | steps\E2ETests.class 7 | tests\GuestCheckoutTest.class 8 | tests\UserRegisterationParallelTesting.class 9 | tests\MyAccountTest.class 10 | utilities\Helper.class 11 | tests\UserRegisterationTestwithDDTAndCSV.class 12 | tests\AddProductToWishListTest.class 13 | tests\SearchProductUsingAutomSuggest.class 14 | tests\ContactUsTest.class 15 | tests\AddProductReviewTest.class 16 | tests\SearchProductTest.class 17 | tests\TestBase.class 18 | steps\UserRegisteration.class 19 | tests\TestBase2.class 20 | tests\UserRegisterationTestwithDDTAndJSON.class 21 | data\ExcelReader.class 22 | data\JsonDataReader.class 23 | tests\ChangeCurrencyTest.class 24 | tests\UserRegisterationTestWithJavaFaker.class 25 | tests\ProductHoverMenuText.class 26 | tests\RegisteredUserCheckoutProduct.class 27 | tests\UserRegisterationTest.class 28 | tests\EmailFriendTest.class 29 | tests\AddProductToShoppingCartTest.class 30 | tests\SearchProductPT.class 31 | runner\TestRunner.class 32 | tests\UserRegisterationwithDTTAndDataProvider.class 33 | -------------------------------------------------------------------------------- /target/surefire-reports/TestSuite.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------- 2 | Test set: TestSuite 3 | ------------------------------------------------------------------------------- 4 | Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 129.832 s - in TestSuite 5 | -------------------------------------------------------------------------------- /target/surefire-reports/bullet_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/bullet_point.png -------------------------------------------------------------------------------- /target/surefire-reports/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/collapseall.gif -------------------------------------------------------------------------------- /target/surefire-reports/failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/failed.png -------------------------------------------------------------------------------- /target/surefire-reports/navigator-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/navigator-bullet.png -------------------------------------------------------------------------------- /target/surefire-reports/nopcommerce Regression Suite/Regression Test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /target/surefire-reports/old/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |

Test results

6 | 7 | 8 | 9 |
SuitePassedFailedSkippedtestng.xml
Total500 
nopcommerce Regression Suite500Link
10 | -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Regression Test] -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression 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 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
Class nameMethod nameGroups
tests.RegisteredUserCheckoutProduct  
@Test
 featurecucumber
 UserCanSearchWithAutoSuggest 
 RegisteredUserCanLogout 
 UserCanRegisterSuccessfully 
 UserCanCheckoutProduct 
 addQunatity 
@BeforeClass
 setUpClass 
@BeforeMethod
@AfterMethod
 screenshotOnFailure 
@AfterClass
 tearDownClass 
62 | -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

2 | 3 |
Group nameMethods
cucumberAbstractTestNGCucumberTests.feature(cucumber.api.testng.CucumberFeatureWrapper)[pri:0, instance:tests.RegisteredUserCheckoutProduct@568bf312]
4 | -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/index.html: -------------------------------------------------------------------------------- 1 | Results for nopcommerce Regression Suite 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/main.html: -------------------------------------------------------------------------------- 1 | Results for nopcommerce Regression Suite 2 | Select a result on the left-hand pane. 3 | -------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/methods-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/reporter-output.html: -------------------------------------------------------------------------------- 1 |

Reporter output

-------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/testng.xml.html: -------------------------------------------------------------------------------- 1 | testng.xml for nopcommerce Regression 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="nopcommerce Regression Suite">
  <parameter name="browser" value="firefox"/>
  <test thread-count="5" verbose="0" name="Regression Test">
    <classes>
      <class name="tests.RegisteredUserCheckoutProduct"/>
    </classes>
  </test> <!-- Regression Test -->
</suite> <!-- nopcommerce Regression Suite -->
-------------------------------------------------------------------------------- /target/surefire-reports/old/nopcommerce Regression Suite/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Results for nopcommerce Regression Suite 4 | 5 | 6 | 7 | 8 |

Results for
nopcommerce Regression Suite

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

29 |

25 |
Regression Test (5/0/0) 26 | Results 27 |
28 |
30 | -------------------------------------------------------------------------------- /target/surefire-reports/passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/passed.png -------------------------------------------------------------------------------- /target/surefire-reports/skipped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/surefire-reports/skipped.png -------------------------------------------------------------------------------- /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/data/ExcelReader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/data/ExcelReader.class -------------------------------------------------------------------------------- /target/test-classes/data/JsonDataReader.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/data/JsonDataReader.class -------------------------------------------------------------------------------- /target/test-classes/data/LoadProperties.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/data/LoadProperties.class -------------------------------------------------------------------------------- /target/test-classes/runner/TestRunner.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/runner/TestRunner.class -------------------------------------------------------------------------------- /target/test-classes/steps/E2ETests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/steps/E2ETests.class -------------------------------------------------------------------------------- /target/test-classes/steps/UserRegisteration.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/steps/UserRegisteration.class -------------------------------------------------------------------------------- /target/test-classes/tests/AddProductReviewTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/AddProductReviewTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/AddProductToCompareTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/AddProductToCompareTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/AddProductToShoppingCartTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/AddProductToShoppingCartTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/AddProductToWishListTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/AddProductToWishListTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/ChangeCurrencyTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/ChangeCurrencyTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/ContactUsTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/ContactUsTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/EmailFriendTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/EmailFriendTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/GuestCheckoutTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/GuestCheckoutTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/MyAccountTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/MyAccountTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/ProductHoverMenuText.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/ProductHoverMenuText.class -------------------------------------------------------------------------------- /target/test-classes/tests/RegisteredUserCheckoutProduct.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/RegisteredUserCheckoutProduct.class -------------------------------------------------------------------------------- /target/test-classes/tests/SearchProductTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/SearchProductTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/SearchProductUsingAutomSuggest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/SearchProductUsingAutomSuggest.class -------------------------------------------------------------------------------- /target/test-classes/tests/TestBase.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/TestBase.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationTest.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationTestWithJavaFaker.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationTestWithJavaFaker.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationTestwithDDTAndCSV.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationTestwithDDTAndCSV.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationTestwithDDTAndJSON.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationTestwithDDTAndJSON.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationTestwithDDTandExcel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationTestwithDDTandExcel.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationwithDDTandPropertiesFile.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationwithDDTandPropertiesFile.class -------------------------------------------------------------------------------- /target/test-classes/tests/UserRegisterationwithDTTAndDataProvider.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/tests/UserRegisterationwithDTTAndDataProvider.class -------------------------------------------------------------------------------- /target/test-classes/utilities/Helper.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/target/test-classes/utilities/Helper.class -------------------------------------------------------------------------------- /test-output/Default 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 | -------------------------------------------------------------------------------- /test-output/bullet_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/bullet_point.png -------------------------------------------------------------------------------- /test-output/collapseall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/collapseall.gif -------------------------------------------------------------------------------- /test-output/failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/failed.png -------------------------------------------------------------------------------- /test-output/junitreports/TEST-runner.TestRunner.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.AddProductReviewTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.AddProductToCompareTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.AddProductToShoppingCartTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.AddProductToShoppingCartTestPT.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.AddProductToWishListTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.ChangeCurrencyTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.ContactUsTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.EmailFriendTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.GuestCheckoutTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.MyAccountTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.ProductHoverMenuText.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.SearchProductPT.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.SearchProductTest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.SearchProductUsingAutomSuggest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.UserRegisterationTestwithDDTAndCSV.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.UserRegisterationTestwithDDTAndJSON.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.UserRegisterationTestwithDDTandExcel.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.UserRegisterationwithDDTandPropertiesFile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /test-output/junitreports/TEST-tests.UserRegisterationwithDTTAndDataProvider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/navigator-bullet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/navigator-bullet.png -------------------------------------------------------------------------------- /test-output/nopcommerce Regression Suite/Chrome Regression Test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /test-output/nopcommerce Regression Suite/Firefox Regression Test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/nopcommerce Regression Suite/Regression Test.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /test-output/nopcommerce Regression 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 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /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 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 |
Class nameMethod nameGroups
tests.UserRegisterationTestWithJavaFaker  
@Test
 featurecucumber
 RegisteredUserCanLogout 
 RegisteredUserCanLogin 
 UserCanRegisterSuccessfully 
@BeforeClass
 setUpClass 
@BeforeMethod
@AfterMethod
 screenshotOnFailure 
@AfterClass
 tearDownClass 
54 | -------------------------------------------------------------------------------- /test-output/old/Default suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

2 | 3 |
Group nameMethods
cucumberAbstractTestNGCucumberTests.feature(cucumber.api.testng.CucumberFeatureWrapper)[pri:0, instance:tests.UserRegisterationTestWithJavaFaker@1ab6718]
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-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /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 thread-count="5" verbose="2" name="Default test">
    <classes>
      <class name="tests.UserRegisterationTestWithJavaFaker"/>
    </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 class4 methods:
14 |   chronological
15 |   alphabetical
16 |   not run (0)
1 groupreporter outputtestng.xml
23 | 24 |

29 |

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

Test results

6 | 7 | 8 | 9 |
SuitePassedFailedSkippedtestng.xml
Total500 
nopcommerce Regression Suite500Link
10 | -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/Chrome Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Chrome Regression Test][SuiteResult context=Firefox Regression Test] -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/Firefox Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Chrome Regression Test][SuiteResult context=Firefox Regression Test] -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/Regression Test.properties: -------------------------------------------------------------------------------- 1 | [SuiteResult context=Regression Test] -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/groups.html: -------------------------------------------------------------------------------- 1 |

Groups used for this test run

-------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/index.html: -------------------------------------------------------------------------------- 1 | Results for nopcommerce Regression Suite 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/main.html: -------------------------------------------------------------------------------- 1 | Results for nopcommerce Regression Suite 2 | Select a result on the left-hand pane. 3 | -------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/methods-not-run.html: -------------------------------------------------------------------------------- 1 |

Methods that were not run

2 |
-------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/reporter-output.html: -------------------------------------------------------------------------------- 1 |

Reporter output

-------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/testng.xml.html: -------------------------------------------------------------------------------- 1 | testng.xml for nopcommerce Regression Suite<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite thread-count="2" guice-stage="DEVELOPMENT" name="nopcommerce Regression Suite" parallel="tests">
  <test thread-count="2" name="Chrome Regression Test" parallel="tests">
    <parameter name="browser" value="chrome"/>
    <classes>
      <class name="tests.SearchProductPT"/>
    </classes>
  </test> <!-- Chrome Regression Test -->
  <test thread-count="2" name="Firefox Regression Test" parallel="tests">
    <parameter name="browser" value="firefox"/>
    <classes>
      <class name="tests.AddProductToShoppingCartTestPT"/>
    </classes>
  </test> <!-- Firefox Regression Test -->
</suite> <!-- nopcommerce Regression Suite -->
-------------------------------------------------------------------------------- /test-output/old/nopcommerce Regression Suite/toc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Results for nopcommerce Regression Suite 4 | 5 | 6 | 7 | 8 |

Results for
nopcommerce Regression Suite

9 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | 20 | 21 | 22 |
2 tests2 classes5 methods:
14 |   chronological
15 |   alphabetical
16 |   not run (0)
0 groupreporter outputtestng.xml
23 | 24 |

29 |

25 |
Chrome Regression Test (1/0/0) 26 | Results 27 |
28 |
30 | 31 | 32 |

37 |

33 |
Firefox Regression Test (4/0/0) 34 | Results 35 |
36 |
38 | -------------------------------------------------------------------------------- /test-output/passed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/passed.png -------------------------------------------------------------------------------- /test-output/skipped.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ahmedelshal2/Automation-Testing-of-ECommerce-WebsiteUsingSelenium/850a8182334c26361b606d4073c0ab2ee9aa78f7/test-output/skipped.png -------------------------------------------------------------------------------- /test-output/testng-failed.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 | -------------------------------------------------------------------------------- /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 | 10 | -------------------------------------------------------------------------------- /testngParallelTesting.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | --------------------------------------------------------------------------------