├── src
├── main
│ ├── resources
│ │ ├── .env
│ │ └── data.properties
│ └── java
│ │ └── com
│ │ └── thetestingacademy
│ │ ├── utils
│ │ ├── Constants.java
│ │ ├── ENVReader.java
│ │ ├── ExcelReader.java
│ │ ├── JSONReader.java
│ │ ├── YAMLReader.java
│ │ └── PropertyReader.java
│ │ ├── pages
│ │ ├── PageFactory
│ │ │ ├── LoginPage_PF.java
│ │ │ └── DashboardPage_PF.java
│ │ └── PageObjectModel
│ │ │ ├── DashboardPage_POM.java
│ │ │ └── LoginPage_POM.java
│ │ ├── driver
│ │ ├── DriverManager.java
│ │ └── DriverManagerTL.java
│ │ └── base
│ │ └── CommonToAllPage.java
└── test
│ ├── java
│ └── com
│ │ └── thetestingacademy
│ │ ├── vwo
│ │ ├── LambdaTest
│ │ │ └── LoginTestRemote.java
│ │ └── LoginTests
│ │ │ └── LoginTest.java
│ │ └── basetest
│ │ └── CommonToAllTest.java
│ └── testNGxmls
│ ├── testng_parallel.xml
│ ├── testng_vwo.xml
│ ├── testng_vwo_smoke.xml
│ └── testng_vwo_regression.xml
├── allure-report
├── widgets
│ ├── executors.json
│ ├── launch.json
│ ├── environment.json
│ ├── behaviors.json
│ ├── retry-trend.json
│ ├── categories-trend.json
│ ├── duration-trend.json
│ ├── history-trend.json
│ ├── suites.json
│ ├── categories.json
│ ├── summary.json
│ ├── duration.json
│ ├── severity.json
│ └── status-chart.json
├── history
│ ├── retry-trend.json
│ ├── categories-trend.json
│ ├── duration-trend.json
│ ├── history-trend.json
│ └── history.json
├── favicon.ico
├── data
│ ├── categories.csv
│ ├── behaviors.csv
│ ├── suites.csv
│ ├── behaviors.json
│ ├── packages.json
│ ├── categories.json
│ ├── suites.json
│ ├── timeline.json
│ └── test-cases
│ │ ├── 7a9d54247e76852c.json
│ │ ├── d144af8e8c59a801.json
│ │ ├── be98e4f961ed876a.json
│ │ ├── 7166155252d1e42c.json
│ │ └── 5d85189475e4de7c.json
├── export
│ ├── mail.html
│ ├── prometheusData.txt
│ └── influxDbData.txt
├── plugin
│ ├── screen-diff
│ │ ├── styles.css
│ │ └── index.js
│ ├── packages
│ │ └── index.js
│ └── behaviors
│ │ └── index.js
└── index.html
├── .idea
├── .gitignore
├── vcs.xml
├── jpa-buddy.xml
├── encodings.xml
└── misc.xml
├── allure-results
├── 33dcf72c-5ca5-4352-88f5-4908fd8df98a-container.json
├── 7bd8bec7-d309-4b76-8bb1-98574c4e34fe-container.json
├── df6dcf7e-36bd-412a-8c8f-380c11317db8-container.json
├── 59ec9241-2e87-4d3d-801d-8526a1ce9b7f-container.json
├── 900d44d8-062f-434f-92b2-f7da5d09fa3b-container.json
├── 0ef9507a-4550-486c-a5ab-115a0f7172bd-container.json
├── ddcb48b8-a4bd-49f1-a469-ac6975d6489c-container.json
├── 0d2be43e-66a8-4f39-b47c-07e8f605d5bf-container.json
├── 5c0b9105-b00f-45b8-85fb-05897e434b0b-container.json
├── 5e1db2b3-ce51-41c5-ab4c-74d8794ad24e-container.json
├── 600133e6-aaa1-4920-8739-81640cf34aa4-container.json
├── 27ef0fef-2794-465b-aeeb-a2c6d3e696cf-container.json
├── 2fb60341-8b5b-4bea-b098-0f6ee459e688-container.json
├── 36579418-dd0d-4bee-a518-fb58d36c367d-container.json
├── 5f329f0e-68d9-4134-9e2f-239a91801105-container.json
├── 44bcdb27-cd85-4e26-b03b-c6c5d3c4f84e-container.json
├── 4e1787e1-489e-49d4-93e5-30a7713cdb31-container.json
├── 7c2b84d9-b566-4b0e-91d7-8f264a4ee781-container.json
├── 9793925c-1448-4c61-b889-58b84752b2b9-container.json
├── 9a6fe843-ae1e-4f2d-b9fb-6e39b5c07e14-container.json
├── 397bc255-0f30-4bfe-bff5-82c7346f1beb-container.json
├── 53f62c6b-baeb-44f2-a67f-4fa3687d3076-container.json
├── 9307c0d1-947d-417a-821b-10f157e60525-container.json
├── c12d2e7c-ad95-4322-bbad-dab8a8ad1a0f-container.json
├── c887c00e-f6eb-4d3e-8b1d-e45ef05df007-container.json
├── ca93116c-2c10-4fad-8082-373cd717d44c-container.json
├── e73b4e5c-02b1-42e9-ae75-f3dcad1d43d7-container.json
├── 0feee6fe-9ed8-4c79-a54e-c0f2027c7e71-result.json
├── 63d55437-cd82-41c8-989b-8f2c32705377-result.json
├── 874e687e-8ff0-4b52-9cff-f5b72dc87dfd-result.json
├── 44986b19-79cb-40b8-a911-fc58f0a47821-result.json
├── b3cf47bd-6067-42e9-940a-b81a461ce873-result.json
├── 5d9ba8ef-f7a9-4f34-af99-6814dd78ac52-container.json
├── ec6de8f0-c14d-4946-94e6-7f80c21d5720-container.json
├── 8d1d522e-c719-43d8-9227-be682e768425-result.json
├── 36afefb0-3104-4741-91d1-59ad7d15ad23-result.json
├── 8b5d2764-3c97-4970-af7b-df587bb05f1f-result.json
└── e3b028aa-2e95-4c69-888a-e60b08482270-result.json
├── testng.xml
├── README.md
├── pom.xml
└── .gitignore
/src/main/resources/.env:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/allure-report/widgets/executors.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/allure-report/widgets/launch.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/allure-report/widgets/environment.json:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/allure-report/widgets/behaviors.json:
--------------------------------------------------------------------------------
1 | {"total":2,"items":[]}
--------------------------------------------------------------------------------
/allure-report/history/retry-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"run":2,"retry":3}}]
--------------------------------------------------------------------------------
/allure-report/widgets/retry-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"run":2,"retry":3}}]
--------------------------------------------------------------------------------
/allure-report/history/categories-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"Test defects":1}}]
--------------------------------------------------------------------------------
/allure-report/history/duration-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"duration":74601}}]
--------------------------------------------------------------------------------
/allure-report/widgets/categories-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"Test defects":1}}]
--------------------------------------------------------------------------------
/allure-report/widgets/duration-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"duration":74601}}]
--------------------------------------------------------------------------------
/.idea/.gitignore:
--------------------------------------------------------------------------------
1 | # Default ignored files
2 | /shelf/
3 | /workspace.xml
4 |
--------------------------------------------------------------------------------
/allure-report/history/history-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"failed":0,"broken":1,"skipped":0,"passed":1,"unknown":0,"total":2}}]
--------------------------------------------------------------------------------
/allure-report/widgets/history-trend.json:
--------------------------------------------------------------------------------
1 | [{"data":{"failed":0,"broken":1,"skipped":0,"passed":1,"unknown":0,"total":2}}]
--------------------------------------------------------------------------------
/allure-report/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/PramodDutta/ATB4xSeleniumAdvanceFramework/HEAD/allure-report/favicon.ico
--------------------------------------------------------------------------------
/allure-report/data/categories.csv:
--------------------------------------------------------------------------------
1 | "Category","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
2 | "Test defects","0","1","0","0","0"
3 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/Constants.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | public class Constants {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/ENVReader.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | public class ENVReader {
4 | }
5 |
--------------------------------------------------------------------------------
/allure-report/data/behaviors.csv:
--------------------------------------------------------------------------------
1 | "Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
2 | "","","","0","1","1","0","0"
3 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/ExcelReader.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | public class ExcelReader {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/JSONReader.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | public class JSONReader {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/YAMLReader.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | public class YAMLReader {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/pages/PageFactory/LoginPage_PF.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.pages.PageFactory;
2 |
3 | public class LoginPage_PF {
4 | }
5 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/pages/PageFactory/DashboardPage_PF.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.pages.PageFactory;
2 |
3 | public class DashboardPage_PF {
4 | }
5 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/allure-report/widgets/suites.json:
--------------------------------------------------------------------------------
1 | {"total":1,"items":[{"uid":"7d0421919ebcae780c955830177c9415","name":"All Test Suite","statistic":{"failed":0,"broken":1,"skipped":0,"passed":1,"unknown":0,"total":2}}]}
--------------------------------------------------------------------------------
/allure-report/widgets/categories.json:
--------------------------------------------------------------------------------
1 | {"total":1,"items":[{"uid":"bdbf199525818fae7a8651db9eafe741","name":"Test defects","statistic":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1}}]}
--------------------------------------------------------------------------------
/src/test/java/com/thetestingacademy/vwo/LambdaTest/LoginTestRemote.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.vwo.LambdaTest;
2 |
3 | public class LoginTestRemote {
4 | // Test wil run on LambdaTest
5 | }
6 |
--------------------------------------------------------------------------------
/.idea/jpa-buddy.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/allure-report/export/mail.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Allure Report summary mail
6 |
7 |
8 | Mail body
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/main/resources/data.properties:
--------------------------------------------------------------------------------
1 | url=https://app.vwo.com
2 | username=contact+atb5x@thetestingacademy.com
3 | password=ATBx@1234
4 | expected_username=Aman
5 | error_message=Your email, password, IP address or location did not match
--------------------------------------------------------------------------------
/allure-results/33dcf72c-5ca5-4352-88f5-4908fd8df98a-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"33dcf72c-5ca5-4352-88f5-4908fd8df98a","name":"All Test Suite","children":["5e1db2b3-ce51-41c5-ab4c-74d8794ad24e"],"befores":[],"afters":[],"start":1700978724366,"stop":1700978762312}
--------------------------------------------------------------------------------
/allure-results/7bd8bec7-d309-4b76-8bb1-98574c4e34fe-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"7bd8bec7-d309-4b76-8bb1-98574c4e34fe","name":"All Test Suite","children":["59ec9241-2e87-4d3d-801d-8526a1ce9b7f"],"befores":[],"afters":[],"start":1700978318562,"stop":1700978340162}
--------------------------------------------------------------------------------
/allure-results/df6dcf7e-36bd-412a-8c8f-380c11317db8-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"df6dcf7e-36bd-412a-8c8f-380c11317db8","name":"All Test Suite","children":["0d2be43e-66a8-4f39-b47c-07e8f605d5bf"],"befores":[],"afters":[],"start":1700978791015,"stop":1700978820893}
--------------------------------------------------------------------------------
/allure-results/59ec9241-2e87-4d3d-801d-8526a1ce9b7f-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"59ec9241-2e87-4d3d-801d-8526a1ce9b7f","name":"ATB4xSeleniumAdvanceFramework","children":["0feee6fe-9ed8-4c79-a54e-c0f2027c7e71"],"befores":[],"afters":[],"start":1700978318570,"stop":1700978340152}
--------------------------------------------------------------------------------
/allure-report/widgets/summary.json:
--------------------------------------------------------------------------------
1 | {"reportName":"Allure Report","testRuns":[],"statistic":{"failed":0,"broken":1,"skipped":0,"passed":1,"unknown":0,"total":2},"time":{"start":1700978265006,"stop":1700978339607,"duration":74601,"minDuration":4,"maxDuration":16481,"sumDuration":16485}}
--------------------------------------------------------------------------------
/allure-results/900d44d8-062f-434f-92b2-f7da5d09fa3b-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"900d44d8-062f-434f-92b2-f7da5d09fa3b","name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":["0feee6fe-9ed8-4c79-a54e-c0f2027c7e71"],"befores":[],"afters":[],"start":1700978318571,"stop":1700978340156}
--------------------------------------------------------------------------------
/allure-results/0ef9507a-4550-486c-a5ab-115a0f7172bd-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"0ef9507a-4550-486c-a5ab-115a0f7172bd","name":"All Test Suite","children":["5c0b9105-b00f-45b8-85fb-05897e434b0b","8d1d522e-c719-43d8-9227-be682e768425"],"befores":[],"afters":[],"start":1700978259644,"stop":1700978265429}
--------------------------------------------------------------------------------
/allure-results/ddcb48b8-a4bd-49f1-a469-ac6975d6489c-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"ddcb48b8-a4bd-49f1-a469-ac6975d6489c","name":"All Test Suite","children":["600133e6-aaa1-4920-8739-81640cf34aa4","8b5d2764-3c97-4970-af7b-df587bb05f1f"],"befores":[],"afters":[],"start":1700978069548,"stop":1700978076169}
--------------------------------------------------------------------------------
/src/test/testNGxmls/testng_parallel.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/allure-results/0d2be43e-66a8-4f39-b47c-07e8f605d5bf-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"0d2be43e-66a8-4f39-b47c-07e8f605d5bf","name":"ATB4xSeleniumAdvanceFramework","children":["b3cf47bd-6067-42e9-940a-b81a461ce873","44986b19-79cb-40b8-a911-fc58f0a47821"],"befores":[],"afters":[],"start":1700978791026,"stop":1700978820879}
--------------------------------------------------------------------------------
/allure-results/5c0b9105-b00f-45b8-85fb-05897e434b0b-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"5c0b9105-b00f-45b8-85fb-05897e434b0b","name":"ATB4xSeleniumAdvanceFramework","children":["8d1d522e-c719-43d8-9227-be682e768425","36afefb0-3104-4741-91d1-59ad7d15ad23"],"befores":[],"afters":[],"start":1700978259656,"stop":1700978265297}
--------------------------------------------------------------------------------
/allure-results/5e1db2b3-ce51-41c5-ab4c-74d8794ad24e-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"5e1db2b3-ce51-41c5-ab4c-74d8794ad24e","name":"ATB4xSeleniumAdvanceFramework","children":["874e687e-8ff0-4b52-9cff-f5b72dc87dfd","63d55437-cd82-41c8-989b-8f2c32705377"],"befores":[],"afters":[],"start":1700978724377,"stop":1700978762302}
--------------------------------------------------------------------------------
/allure-results/600133e6-aaa1-4920-8739-81640cf34aa4-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"600133e6-aaa1-4920-8739-81640cf34aa4","name":"ATB4xSeleniumAdvanceFramework","children":["8b5d2764-3c97-4970-af7b-df587bb05f1f","e3b028aa-2e95-4c69-888a-e60b08482270"],"befores":[],"afters":[],"start":1700978069555,"stop":1700978076082}
--------------------------------------------------------------------------------
/allure-results/27ef0fef-2794-465b-aeeb-a2c6d3e696cf-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"27ef0fef-2794-465b-aeeb-a2c6d3e696cf","name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":["8d1d522e-c719-43d8-9227-be682e768425","36afefb0-3104-4741-91d1-59ad7d15ad23"],"befores":[],"afters":[],"start":1700978259658,"stop":1700978265371}
--------------------------------------------------------------------------------
/allure-results/2fb60341-8b5b-4bea-b098-0f6ee459e688-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"2fb60341-8b5b-4bea-b098-0f6ee459e688","name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":["b3cf47bd-6067-42e9-940a-b81a461ce873","44986b19-79cb-40b8-a911-fc58f0a47821"],"befores":[],"afters":[],"start":1700978791028,"stop":1700978820884}
--------------------------------------------------------------------------------
/allure-results/36579418-dd0d-4bee-a518-fb58d36c367d-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"36579418-dd0d-4bee-a518-fb58d36c367d","name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":["874e687e-8ff0-4b52-9cff-f5b72dc87dfd","63d55437-cd82-41c8-989b-8f2c32705377"],"befores":[],"afters":[],"start":1700978724378,"stop":1700978762307}
--------------------------------------------------------------------------------
/allure-results/5f329f0e-68d9-4134-9e2f-239a91801105-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"5f329f0e-68d9-4134-9e2f-239a91801105","name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":["8b5d2764-3c97-4970-af7b-df587bb05f1f","e3b028aa-2e95-4c69-888a-e60b08482270"],"befores":[],"afters":[],"start":1700978069557,"stop":1700978076142}
--------------------------------------------------------------------------------
/src/test/testNGxmls/testng_vwo.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/allure-report/widgets/duration.json:
--------------------------------------------------------------------------------
1 | [{"uid":"7a9d54247e76852c","name":"testLoginPositive","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"status":"passed","severity":"normal"},{"uid":"be98e4f961ed876a","name":"setUp","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"status":"broken","severity":"normal"}]
--------------------------------------------------------------------------------
/allure-report/widgets/severity.json:
--------------------------------------------------------------------------------
1 | [{"uid":"be98e4f961ed876a","name":"setUp","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"status":"broken","severity":"normal"},{"uid":"7a9d54247e76852c","name":"testLoginPositive","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"status":"passed","severity":"normal"}]
--------------------------------------------------------------------------------
/src/test/testNGxmls/testng_vwo_smoke.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/allure-report/widgets/status-chart.json:
--------------------------------------------------------------------------------
1 | [{"uid":"7a9d54247e76852c","name":"testLoginPositive","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"status":"passed","severity":"normal"},{"uid":"be98e4f961ed876a","name":"setUp","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"status":"broken","severity":"normal"}]
--------------------------------------------------------------------------------
/src/test/testNGxmls/testng_vwo_regression.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/allure-report/export/prometheusData.txt:
--------------------------------------------------------------------------------
1 | launch_status_failed 0
2 | launch_status_broken 1
3 | launch_status_passed 1
4 | launch_status_skipped 0
5 | launch_status_unknown 0
6 | launch_time_duration 74601
7 | launch_time_min_duration 4
8 | launch_time_max_duration 16481
9 | launch_time_sum_duration 16485
10 | launch_problems_test_defects 1
11 | launch_retries_retries 3
12 | launch_retries_run 2
13 |
--------------------------------------------------------------------------------
/testng.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/allure-results/44bcdb27-cd85-4e26-b03b-c6c5d3c4f84e-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"44bcdb27-cd85-4e26-b03b-c6c5d3c4f84e","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["0feee6fe-9ed8-4c79-a54e-c0f2027c7e71"],"description":"","befores":[{"name":"setUp","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978318617,"stop":1700978322981}],"afters":[],"start":1700978318617,"stop":1700978322981}
--------------------------------------------------------------------------------
/allure-results/4e1787e1-489e-49d4-93e5-30a7713cdb31-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"4e1787e1-489e-49d4-93e5-30a7713cdb31","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["874e687e-8ff0-4b52-9cff-f5b72dc87dfd"],"description":"","befores":[{"name":"setUp","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978724430,"stop":1700978730449}],"afters":[],"start":1700978724429,"stop":1700978730449}
--------------------------------------------------------------------------------
/allure-results/7c2b84d9-b566-4b0e-91d7-8f264a4ee781-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"7c2b84d9-b566-4b0e-91d7-8f264a4ee781","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["44986b19-79cb-40b8-a911-fc58f0a47821"],"description":"","befores":[{"name":"setUp","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978791113,"stop":1700978799057}],"afters":[],"start":1700978791111,"stop":1700978799057}
--------------------------------------------------------------------------------
/allure-results/9793925c-1448-4c61-b889-58b84752b2b9-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"9793925c-1448-4c61-b889-58b84752b2b9","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["b3cf47bd-6067-42e9-940a-b81a461ce873"],"description":"","befores":[{"name":"setUp","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978791113,"stop":1700978798996}],"afters":[],"start":1700978791112,"stop":1700978798997}
--------------------------------------------------------------------------------
/allure-results/9a6fe843-ae1e-4f2d-b9fb-6e39b5c07e14-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"9a6fe843-ae1e-4f2d-b9fb-6e39b5c07e14","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["63d55437-cd82-41c8-989b-8f2c32705377"],"description":"","befores":[{"name":"setUp","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978741174,"stop":1700978745455}],"afters":[],"start":1700978741174,"stop":1700978745455}
--------------------------------------------------------------------------------
/allure-results/397bc255-0f30-4bfe-bff5-82c7346f1beb-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"397bc255-0f30-4bfe-bff5-82c7346f1beb","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["e3b028aa-2e95-4c69-888a-e60b08482270"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"broken","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978076046,"stop":1700978076047}],"start":1700978076046,"stop":1700978076047}
--------------------------------------------------------------------------------
/allure-results/53f62c6b-baeb-44f2-a67f-4fa3687d3076-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"53f62c6b-baeb-44f2-a67f-4fa3687d3076","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["b3cf47bd-6067-42e9-940a-b81a461ce873"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978814702,"stop":1700978815153}],"start":1700978814701,"stop":1700978815153}
--------------------------------------------------------------------------------
/allure-results/9307c0d1-947d-417a-821b-10f157e60525-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"9307c0d1-947d-417a-821b-10f157e60525","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["44986b19-79cb-40b8-a911-fc58f0a47821"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978820331,"stop":1700978820876}],"start":1700978820331,"stop":1700978820876}
--------------------------------------------------------------------------------
/allure-results/c12d2e7c-ad95-4322-bbad-dab8a8ad1a0f-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"c12d2e7c-ad95-4322-bbad-dab8a8ad1a0f","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["874e687e-8ff0-4b52-9cff-f5b72dc87dfd"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978740625,"stop":1700978741137}],"start":1700978740624,"stop":1700978741137}
--------------------------------------------------------------------------------
/allure-results/c887c00e-f6eb-4d3e-8b1d-e45ef05df007-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"c887c00e-f6eb-4d3e-8b1d-e45ef05df007","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["63d55437-cd82-41c8-989b-8f2c32705377"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978761801,"stop":1700978762299}],"start":1700978761801,"stop":1700978762299}
--------------------------------------------------------------------------------
/allure-results/ca93116c-2c10-4fad-8082-373cd717d44c-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"ca93116c-2c10-4fad-8082-373cd717d44c","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["0feee6fe-9ed8-4c79-a54e-c0f2027c7e71"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"passed","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978339624,"stop":1700978340138}],"start":1700978339623,"stop":1700978340138}
--------------------------------------------------------------------------------
/allure-results/e73b4e5c-02b1-42e9-ae75-f3dcad1d43d7-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"e73b4e5c-02b1-42e9-ae75-f3dcad1d43d7","name":"com.thetestingacademy.basetest.CommonToAllTest.tearDown","children":["36afefb0-3104-4741-91d1-59ad7d15ad23"],"description":"","befores":[],"afters":[{"name":"tearDown","status":"broken","stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978265205,"stop":1700978265205}],"start":1700978265205,"stop":1700978265205}
--------------------------------------------------------------------------------
/allure-report/plugin/screen-diff/styles.css:
--------------------------------------------------------------------------------
1 | .screen-diff__switchers {
2 | margin-bottom: 1em;
3 | }
4 |
5 | .screen-diff__switchers label + label {
6 | margin-left: 1em;
7 | }
8 |
9 | .screen-diff__overlay {
10 | position: relative;
11 | cursor: col-resize;
12 | }
13 |
14 | .screen-diff__container {
15 | overflow-x: auto;
16 | }
17 |
18 | .screen-diff__image-over {
19 | top: 0;
20 | left: 0;
21 | bottom: 0;
22 | background: #fff;
23 | position: absolute;
24 | overflow: hidden;
25 | box-shadow: 2px 0 1px -1px #aaa;
26 | }
27 |
28 | .screen-diff-error {
29 | color: #fd5a3e;
30 | }
31 |
--------------------------------------------------------------------------------
/allure-report/export/influxDbData.txt:
--------------------------------------------------------------------------------
1 | launch_status failed=0 1700978360000000000
2 | launch_status broken=1 1700978360000000000
3 | launch_status passed=1 1700978360000000000
4 | launch_status skipped=0 1700978360000000000
5 | launch_status unknown=0 1700978360000000000
6 | launch_time duration=74601 1700978360000000000
7 | launch_time min_duration=4 1700978360000000000
8 | launch_time max_duration=16481 1700978360000000000
9 | launch_time sum_duration=16485 1700978360000000000
10 | launch_problems test_defects=1 1700978360000000000
11 | launch_retries retries=3 1700978360000000000
12 | launch_retries run=2 1700978360000000000
13 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/pages/PageObjectModel/DashboardPage_POM.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.pages.PageObjectModel;
2 |
3 | import com.thetestingacademy.base.CommonToAllPage;
4 | import org.openqa.selenium.By;
5 |
6 | public class DashboardPage_POM extends CommonToAllPage {
7 |
8 | DashboardPage_POM() {
9 | }
10 |
11 | By userNameOnDashboard = By.cssSelector("[data-qa=\"lufexuloga\"]");
12 |
13 | // Page Actions
14 | public String loggedInUserName() {
15 | presenceOfElement(userNameOnDashboard);
16 | return getElement(userNameOnDashboard).getText();
17 |
18 | }
19 |
20 |
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/allure-report/data/suites.csv:
--------------------------------------------------------------------------------
1 | "Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
2 | "passed","Sun Nov 26 11:28:43 IST 2023","Sun Nov 26 11:28:59 IST 2023","16481","All Test Suite","ATB4xSeleniumAdvanceFramework","com.thetestingacademy.vwo.LoginTests.LoginTest","com.thetestingacademy.vwo.LoginTests.LoginTest","testLoginPositive","testLoginPositive",""
3 | "broken","Sun Nov 26 11:27:45 IST 2023","Sun Nov 26 11:27:45 IST 2023","4","All Test Suite","ATB4xSeleniumAdvanceFramework","com.thetestingacademy.vwo.LoginTests.LoginTest","com.thetestingacademy.vwo.LoginTests.LoginTest","setUp","setUp",""
4 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/driver/DriverManager.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.driver;
2 | import org.openqa.selenium.WebDriver;
3 | import org.openqa.selenium.chrome.ChromeDriver;
4 | import org.testng.annotations.AfterMethod;
5 | import org.testng.annotations.BeforeMethod;
6 | public class DriverManager {
7 | static WebDriver driver;
8 |
9 | @BeforeMethod
10 | static void init(){
11 | if(driver ==null)
12 | driver = new ChromeDriver();
13 | }
14 |
15 | @AfterMethod
16 | static void down(){
17 | if(driver !=null){
18 | driver.quit();
19 | driver = null;
20 | }
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/allure-report/data/behaviors.json:
--------------------------------------------------------------------------------
1 | {"uid":"b1a8273437954620fa374b796ffaacdd","name":"behaviors","children":[{"name":"setUp","uid":"be98e4f961ed876a","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"broken","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":false,"parameters":[],"tags":[]},{"name":"testLoginPositive","uid":"7a9d54247e76852c","parentUid":"b1a8273437954620fa374b796ffaacdd","status":"passed","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":2,"retriesStatusChange":true,"parameters":[],"tags":[]}]}
--------------------------------------------------------------------------------
/src/test/java/com/thetestingacademy/basetest/CommonToAllTest.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.basetest;
2 |
3 | import org.testng.annotations.AfterMethod;
4 | import org.testng.annotations.BeforeMethod;
5 | import com.thetestingacademy.driver.DriverManagerTL;
6 |
7 | import java.net.MalformedURLException;
8 |
9 | public class CommonToAllTest {
10 |
11 | // To call the Start the Webdriver
12 | // Down the WebDriver
13 |
14 | // Who will start the Webdriver?
15 | @BeforeMethod
16 | protected void setUp() throws MalformedURLException {
17 | DriverManagerTL.init();
18 | }
19 |
20 | // Who will close the Webdriver
21 | @AfterMethod
22 | protected void tearDown(){
23 | DriverManagerTL.down();
24 | }
25 |
26 |
27 |
28 |
29 |
30 |
31 | }
32 |
--------------------------------------------------------------------------------
/allure-report/history/history.json:
--------------------------------------------------------------------------------
1 | {"b06728ede90349fb04c8fcb9d43f5846":{"statistic":{"failed":0,"broken":1,"skipped":0,"passed":0,"unknown":0,"total":1},"items":[{"uid":"be98e4f961ed876a","status":"broken","statusDetails":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","time":{"start":1700978265006,"stop":1700978265010,"duration":4}}]},"23d8051b95617db64274268a86892902":{"statistic":{"failed":0,"broken":0,"skipped":0,"passed":1,"unknown":0,"total":1},"items":[{"uid":"7a9d54247e76852c","status":"passed","time":{"start":1700978323126,"stop":1700978339607,"duration":16481}}]}}
--------------------------------------------------------------------------------
/allure-report/data/packages.json:
--------------------------------------------------------------------------------
1 | {"uid":"83edc06c07f9ae9e47eb6dd1b683e4e2","name":"packages","children":[{"name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":[{"name":"setUp","uid":"be98e4f961ed876a","parentUid":"f4d5df4b54c044678d6e57468cd7c0cb","status":"broken","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":false,"parameters":[],"tags":[]},{"name":"testLoginPositive","uid":"7a9d54247e76852c","parentUid":"f4d5df4b54c044678d6e57468cd7c0cb","status":"passed","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":2,"retriesStatusChange":true,"parameters":[],"tags":[]}],"uid":"com.thetestingacademy.vwo.LoginTests.LoginTest"}]}
--------------------------------------------------------------------------------
/allure-report/data/categories.json:
--------------------------------------------------------------------------------
1 | {"uid":"4b4757e66a1912dae1a509f688f20b0f","name":"categories","children":[{"name":"Test defects","children":[{"name":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","children":[{"name":"setUp","uid":"be98e4f961ed876a","parentUid":"cac2193d1d386140ab9c798ee7bacc01","status":"broken","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"cac2193d1d386140ab9c798ee7bacc01"}],"uid":"bdbf199525818fae7a8651db9eafe741"}]}
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Selenium Automation Framework(with Java)
2 | - Author - Pramod Dutta
3 |
4 | - Java, Selenium, TestNG
5 | - Maven, AssertJ, POM
6 | - Thread Local Support → Thread Safety
7 | - Allure Report
8 | - Excel Sheet for Test Data → Data Provider
9 | - Read the username and password from Properties-
10 | - TestNG, @Test, Before and After Method.
11 | - Cloud Grids
12 | - SonarLint, Java > 8
13 | - Run Local and on Selenoid Integration
14 |
15 |
16 |
17 |
18 | `mvn test -Dsurefire.suiteXmlFiles=testng.xml`
19 |
20 |
21 |
--------------------------------------------------------------------------------
/allure-report/data/suites.json:
--------------------------------------------------------------------------------
1 | {"uid":"98d3104e051c652961429bf95fa0b5d6","name":"suites","children":[{"name":"All Test Suite","children":[{"name":"ATB4xSeleniumAdvanceFramework","children":[{"name":"com.thetestingacademy.vwo.LoginTests.LoginTest","children":[{"name":"setUp","uid":"be98e4f961ed876a","parentUid":"2fdd79bbc4d692c4b6216af5ed56ccda","status":"broken","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":false,"parameters":[],"tags":[]},{"name":"testLoginPositive","uid":"7a9d54247e76852c","parentUid":"2fdd79bbc4d692c4b6216af5ed56ccda","status":"passed","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":2,"retriesStatusChange":true,"parameters":[],"tags":[]}],"uid":"2fdd79bbc4d692c4b6216af5ed56ccda"}],"uid":"b9be38c92441bc880f229a6de1eb04e1"}],"uid":"7d0421919ebcae780c955830177c9415"}]}
--------------------------------------------------------------------------------
/allure-results/0feee6fe-9ed8-4c79-a54e-c0f2027c7e71-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"0feee6fe-9ed8-4c79-a54e-c0f2027c7e71","historyId":"23d8051b95617db64274268a86892902","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40195@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPositive","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978323126,"stop":1700978339607}
--------------------------------------------------------------------------------
/allure-results/63d55437-cd82-41c8-989b-8f2c32705377-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"63d55437-cd82-41c8-989b-8f2c32705377","historyId":"23d8051b95617db64274268a86892902","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40678@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPositive","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978745482,"stop":1700978761798}
--------------------------------------------------------------------------------
/allure-results/874e687e-8ff0-4b52-9cff-f5b72dc87dfd-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"874e687e-8ff0-4b52-9cff-f5b72dc87dfd","historyId":"4c02137cb9d466d8b2b9b453e121c33f","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPNegative","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPNegative"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40678@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPNegative","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978730614,"stop":1700978740590}
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/allure-results/44986b19-79cb-40b8-a911-fc58f0a47821-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"44986b19-79cb-40b8-a911-fc58f0a47821","historyId":"23d8051b95617db64274268a86892902","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40797@MBP-C02DRR20MD6M.TestNG-test=ATB4xSeleniumAdvanceFramework-2(30)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPositive","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978799249,"stop":1700978820327}
--------------------------------------------------------------------------------
/allure-results/b3cf47bd-6067-42e9-940a-b81a461ce873-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"b3cf47bd-6067-42e9-940a-b81a461ce873","historyId":"4c02137cb9d466d8b2b9b453e121c33f","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPNegative","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPNegative"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40797@MBP-C02DRR20MD6M.TestNG-test=ATB4xSeleniumAdvanceFramework-1(29)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPNegative","status":"passed","statusDetails":{"known":false,"muted":false,"flaky":false},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978799250,"stop":1700978814664}
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/utils/PropertyReader.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.utils;
2 |
3 | import java.io.File;
4 | import java.io.FileInputStream;
5 | import java.io.FileNotFoundException;
6 | import java.io.IOException;
7 | import java.util.Objects;
8 | import java.util.Properties;
9 |
10 | public class PropertyReader {
11 |
12 | PropertyReader() {
13 | }
14 |
15 | public static String readKey(String key) throws Exception {
16 | FileInputStream fileInputStream = null;
17 | Properties p = null;
18 | try {
19 | fileInputStream = new FileInputStream(new File(System.getProperty("user.dir") + "/src/main/resources/data.properties"));
20 | p = new Properties();
21 | p.load(fileInputStream);
22 | } catch (IOException ex) {
23 | ex.printStackTrace();
24 | } finally {
25 | if (Objects.nonNull(fileInputStream)) {
26 | fileInputStream.close();
27 | }
28 | }
29 |
30 | if (p.getProperty(key) == null) {
31 | throw new Exception(p.getProperty(key) + " not found!!");
32 | } else {
33 | return p.getProperty(key);
34 | }
35 |
36 | }
37 |
38 |
39 |
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/allure-report/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Allure Report
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/driver/DriverManagerTL.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.driver;
2 |
3 | import org.openqa.selenium.WebDriver;
4 | import org.openqa.selenium.edge.EdgeDriver;
5 | import org.openqa.selenium.edge.EdgeOptions;
6 |
7 | import java.net.MalformedURLException;
8 | import java.util.Objects;
9 |
10 | public class DriverManagerTL {
11 |
12 |
13 | public static final ThreadLocal dr = new ThreadLocal<>();
14 |
15 |
16 | public static void setDriver(WebDriver driverRef){
17 | dr.set(driverRef);
18 | }
19 |
20 | public static WebDriver getDriver(){
21 | return dr.get();
22 | }
23 |
24 | // Unload
25 | public static void unload(){
26 | dr.remove();
27 | }
28 |
29 | public static void down() {
30 | if (Objects.nonNull(DriverManagerTL.getDriver())) {
31 | getDriver().quit();
32 | unload();
33 | }
34 | }
35 |
36 | public static void init() throws MalformedURLException {
37 | if (Objects.isNull(DriverManagerTL.getDriver())){
38 | EdgeOptions options = new EdgeOptions();
39 | options.addArguments("--guest");
40 | options.addArguments("--remote-allow-origins=*");
41 | WebDriver driver = new EdgeDriver(options);
42 | setDriver(driver);
43 | }
44 | }
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 | }
55 |
--------------------------------------------------------------------------------
/src/test/java/com/thetestingacademy/vwo/LoginTests/LoginTest.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.vwo.LoginTests;
2 |
3 | import com.thetestingacademy.basetest.CommonToAllTest;
4 | import com.thetestingacademy.pages.PageObjectModel.DashboardPage_POM;
5 | import com.thetestingacademy.pages.PageObjectModel.LoginPage_POM;
6 | import com.thetestingacademy.utils.PropertyReader;
7 | import org.testng.annotations.Test;
8 | import org.assertj.core.api.Assertions;
9 |
10 | public class LoginTest extends CommonToAllTest {
11 |
12 |
13 | @Test(priority = 1)
14 | public void testLoginPNegative() throws Exception {
15 |
16 | // How to enter the user, pass and go the Dashboard and verify
17 | LoginPage_POM pagePom = new LoginPage_POM();
18 | pagePom.openURL(PropertyReader.readKey("url"));
19 | String error_message = pagePom.loginToVWONegative();
20 | Assertions.assertThat(error_message )
21 | .isNotNull()
22 | .isNotBlank()
23 | .contains(PropertyReader.readKey("error_message"));
24 | }
25 |
26 | @Test(priority = 2)
27 | public void testLoginPositive() throws Exception {
28 |
29 | // How to enter the user, pass and go the Dashboard and verify
30 | LoginPage_POM pagePom = new LoginPage_POM();
31 | pagePom.openURL(PropertyReader.readKey("url"));
32 | DashboardPage_POM dashboardPagePom = pagePom.loginToVWOPositive().afterLogin();
33 | String expected_username = dashboardPagePom.loggedInUserName();
34 | Assertions.assertThat(expected_username)
35 | .isNotNull()
36 | .isNotBlank()
37 | .contains(PropertyReader.readKey("expected_username"));
38 |
39 | }
40 |
41 |
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/pages/PageObjectModel/LoginPage_POM.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.pages.PageObjectModel;
2 | import com.thetestingacademy.driver.DriverManagerTL;
3 | import com.thetestingacademy.utils.PropertyReader;
4 | import org.openqa.selenium.By;
5 | import com.thetestingacademy.base.CommonToAllPage;
6 |
7 | public class LoginPage_POM extends CommonToAllPage {
8 |
9 | public LoginPage_POM(){
10 | super();
11 | }
12 |
13 | // Page Locators
14 | By username = By.id("login-username");
15 | By password = By.id("login-password");
16 | By signButton = By.id("js-login-btn");
17 | By error_message = By.id("js-notification-box-msg");
18 |
19 | // Page Actions
20 |
21 | public LoginPage_POM loginToVWOPositive() throws Exception {
22 | enterInput(username, PropertyReader.readKey("username"));
23 | enterInput(password,PropertyReader.readKey("password"));
24 | clickElement(signButton);
25 | //DriverManager.getDriver().findElement(password).click();
26 | // Pass the control the DashboardPage
27 | return this;
28 | }
29 |
30 | public void openURL(String url){
31 | DriverManagerTL.getDriver().get(url);
32 | }
33 |
34 | public String loginToVWONegative() throws Exception {
35 | enterInput(username, "admin");
36 | enterInput(password,PropertyReader.readKey("password"));
37 | clickElement(signButton);
38 | // error String
39 | visibilityOfElement(error_message);
40 | return getElement(error_message).getText();
41 |
42 | }
43 |
44 | public DashboardPage_POM afterLogin(){
45 | return new DashboardPage_POM();
46 | }
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 | }
58 |
--------------------------------------------------------------------------------
/allure-report/data/timeline.json:
--------------------------------------------------------------------------------
1 | {"uid":"ab17fc5a4eb3bca4b216b548c7f9fcbc","name":"timeline","children":[{"name":"MBP-C02DRR20MD6M","children":[{"name":"39691@MBP-C02DRR20MD6M.main(1)","children":[{"name":"testLoginPositive","uid":"7166155252d1e42c","parentUid":"8dd6cbb87b1bac14a8e47659299715f0","status":"skipped","time":{"start":1700978265128,"stop":1700978265130,"duration":2},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]},{"name":"setUp","uid":"be98e4f961ed876a","parentUid":"8dd6cbb87b1bac14a8e47659299715f0","status":"broken","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":1,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"8dd6cbb87b1bac14a8e47659299715f0"},{"name":"39335@MBP-C02DRR20MD6M.main(1)","children":[{"name":"testLoginPositive","uid":"5d85189475e4de7c","parentUid":"fc3e723af43e7a83b2f67b0bf9e40048","status":"skipped","time":{"start":1700978076004,"stop":1700978076005,"duration":1},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]},{"name":"setUp","uid":"d144af8e8c59a801","parentUid":"fc3e723af43e7a83b2f67b0bf9e40048","status":"broken","time":{"start":1700978075943,"stop":1700978075946,"duration":3},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":0,"retriesStatusChange":false,"parameters":[],"tags":[]}],"uid":"fc3e723af43e7a83b2f67b0bf9e40048"},{"name":"40195@MBP-C02DRR20MD6M.main(1)","children":[{"name":"testLoginPositive","uid":"7a9d54247e76852c","parentUid":"6cb0cd2475e06fa3da5d15c8e9bdf462","status":"passed","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"flaky":false,"newFailed":false,"newPassed":false,"newBroken":false,"retriesCount":2,"retriesStatusChange":true,"parameters":[],"tags":[]}],"uid":"6cb0cd2475e06fa3da5d15c8e9bdf462"}],"uid":"2ea0ce863b4957a8cbf6bd1b6b7dc4f8"}]}
--------------------------------------------------------------------------------
/src/main/java/com/thetestingacademy/base/CommonToAllPage.java:
--------------------------------------------------------------------------------
1 | package com.thetestingacademy.base;
2 |
3 |
4 | import com.thetestingacademy.driver.DriverManagerTL;
5 | import org.openqa.selenium.By;
6 | import org.openqa.selenium.WebElement;
7 | import org.openqa.selenium.support.ui.ExpectedConditions;
8 | import org.openqa.selenium.support.ui.WebDriverWait;
9 |
10 | import java.time.Duration;
11 | import java.util.concurrent.TimeUnit;
12 |
13 | public class CommonToAllPage {
14 |
15 | public CommonToAllPage(){
16 | // If you want to call something before every Page Object Class call, Put your Code here");
17 | // Open File, Open Data Base Connection You can write code here
18 | }
19 |
20 | // This is common to all the Pages
21 |
22 |
23 | // Waits
24 | public void implicitWait() {
25 | DriverManagerTL.getDriver().manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
26 | }
27 | // Driver Call
28 |
29 | // Common Functions
30 | public void clickElement(By by){
31 | DriverManagerTL.getDriver().findElement(by).click();
32 | }
33 |
34 | public WebElement presenceOfElement(final By elementLocation) {
35 | return new WebDriverWait(DriverManagerTL.getDriver(), Duration.ofSeconds(20)).until(ExpectedConditions.presenceOfElementLocated(elementLocation));
36 | }
37 |
38 | public WebElement visibilityOfElement(final By elementLocation) {
39 | return new WebDriverWait(DriverManagerTL.getDriver(), Duration.ofSeconds(20)).until(ExpectedConditions.visibilityOfElementLocated(elementLocation));
40 | }
41 |
42 | protected void enterInput(By by, String key) {
43 | DriverManagerTL.getDriver().findElement(by).sendKeys(key);
44 | }
45 |
46 | protected WebElement getElement(By key) {
47 | return DriverManagerTL.getDriver().findElement(key);
48 | }
49 |
50 | public void iWaitForElementToBeVisible(WebElement loc,String url) {
51 | try {
52 | WebDriverWait wait = new WebDriverWait(DriverManagerTL.getDriver(), Duration.ofSeconds(20));
53 | wait.until(ExpectedConditions.visibilityOfAllElements(loc));
54 | wait.until(ExpectedConditions.urlContains(url));
55 | } catch (Exception e) {
56 | System.out.println("Failed to Wait!: " + e.toString());
57 | }
58 | }
59 |
60 |
61 | // Common Assertion Code here
62 |
63 |
64 |
65 |
66 |
67 |
68 | }
69 |
--------------------------------------------------------------------------------
/allure-report/data/test-cases/7a9d54247e76852c.json:
--------------------------------------------------------------------------------
1 | {"uid":"7a9d54247e76852c","name":"testLoginPositive","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","historyId":"23d8051b95617db64274268a86892902","time":{"start":1700978323126,"stop":1700978339607,"duration":16481},"status":"passed","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":2,"retriesStatusChange":true,"beforeStages":[{"name":"setUp","time":{"start":1700978318617,"stop":1700978322981,"duration":4364},"description":"","status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":false}],"afterStages":[{"name":"tearDown","time":{"start":1700978339624,"stop":1700978340138,"duration":514},"description":"","status":"passed","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":false}],"labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"40195@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"7166155252d1e42c","status":"skipped","statusDetails":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","time":{"start":1700978265128,"stop":1700978265130,"duration":2}},{"uid":"5d85189475e4de7c","status":"skipped","statusDetails":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","time":{"start":1700978076004,"stop":1700978076005,"duration":1}}],"categories":[],"tags":[]},"source":"7a9d54247e76852c.json","parameterValues":[]}
--------------------------------------------------------------------------------
/allure-report/plugin/packages/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | allure.api.addTranslation('en', {
4 | tab: {
5 | packages: {
6 | name: 'Packages'
7 | }
8 | }
9 | });
10 |
11 | allure.api.addTranslation('ru', {
12 | tab: {
13 | packages: {
14 | name: 'Пакеты'
15 | }
16 | }
17 | });
18 |
19 | allure.api.addTranslation('zh', {
20 | tab: {
21 | packages: {
22 | name: '包'
23 | }
24 | }
25 | });
26 |
27 | allure.api.addTranslation('de', {
28 | tab: {
29 | packages: {
30 | name: 'Pakete'
31 | }
32 | }
33 | });
34 |
35 | allure.api.addTranslation('nl', {
36 | tab: {
37 | packages: {
38 | name: 'Packages'
39 | }
40 | }
41 | });
42 |
43 | allure.api.addTranslation('he', {
44 | tab: {
45 | packages: {
46 | name: 'חבילות'
47 | }
48 | }
49 | });
50 |
51 | allure.api.addTranslation('br', {
52 | tab: {
53 | packages: {
54 | name: 'Pacotes'
55 | }
56 | }
57 | });
58 |
59 | allure.api.addTranslation('ja', {
60 | tab: {
61 | packages: {
62 | name: 'パッケージ'
63 | }
64 | }
65 | });
66 |
67 | allure.api.addTranslation('es', {
68 | tab: {
69 | packages: {
70 | name: 'Paquetes'
71 | }
72 | }
73 | });
74 |
75 | allure.api.addTranslation('kr', {
76 | tab: {
77 | packages: {
78 | name: '패키지'
79 | }
80 | }
81 | });
82 |
83 | allure.api.addTranslation('fr', {
84 | tab: {
85 | packages: {
86 | name: 'Paquets'
87 | }
88 | }
89 | });
90 |
91 | allure.api.addTranslation('pl', {
92 | tab: {
93 | packages: {
94 | name: 'Pakiety'
95 | }
96 | }
97 | });
98 |
99 | allure.api.addTranslation('az', {
100 | tab: {
101 | packages: {
102 | name: 'Paketlər'
103 | }
104 | }
105 | });
106 |
107 | allure.api.addTab('packages', {
108 | title: 'tab.packages.name', icon: 'fa fa-align-left',
109 | route: 'packages(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
110 | onEnter: (function (testGroup, testResult, testResultTab) {
111 | return new allure.components.TreeLayout({
112 | testGroup: testGroup,
113 | testResult: testResult,
114 | testResultTab: testResultTab,
115 | tabName: 'tab.packages.name',
116 | baseUrl: 'packages',
117 | url: 'data/packages.json'
118 | });
119 | })
120 | });
121 |
--------------------------------------------------------------------------------
/allure-results/5d9ba8ef-f7a9-4f34-af99-6814dd78ac52-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"5d9ba8ef-f7a9-4f34-af99-6814dd78ac52","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["36afefb0-3104-4741-91d1-59ad7d15ad23"],"description":"","befores":[{"name":"setUp","status":"broken","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978259739,"stop":1700978264707}],"afters":[],"start":1700978259737,"stop":1700978264708}
--------------------------------------------------------------------------------
/allure-results/ec6de8f0-c14d-4946-94e6-7f80c21d5720-container.json:
--------------------------------------------------------------------------------
1 | {"uuid":"ec6de8f0-c14d-4946-94e6-7f80c21d5720","name":"com.thetestingacademy.basetest.CommonToAllTest.setUp","children":["e3b028aa-2e95-4c69-888a-e60b08482270"],"description":"","befores":[{"name":"setUp","status":"broken","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","description":"","steps":[],"attachments":[],"parameters":[],"start":1700978069605,"stop":1700978075757}],"afters":[],"start":1700978069604,"stop":1700978075758}
--------------------------------------------------------------------------------
/allure-results/8d1d522e-c719-43d8-9227-be682e768425-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"8d1d522e-c719-43d8-9227-be682e768425","historyId":"b06728ede90349fb04c8fcb9d43f5846","fullName":"com.thetestingacademy.basetest.CommonToAllTest.setUp","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"setUp"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39691@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"AS_ID","value":"-1"}],"links":[],"name":"setUp","status":"broken","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978265006,"stop":1700978265010}
--------------------------------------------------------------------------------
/allure-results/36afefb0-3104-4741-91d1-59ad7d15ad23-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"36afefb0-3104-4741-91d1-59ad7d15ad23","historyId":"23d8051b95617db64274268a86892902","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39691@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPositive","status":"skipped","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978265128,"stop":1700978265130}
--------------------------------------------------------------------------------
/allure-results/8b5d2764-3c97-4970-af7b-df587bb05f1f-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"8b5d2764-3c97-4970-af7b-df587bb05f1f","historyId":"b06728ede90349fb04c8fcb9d43f5846","fullName":"com.thetestingacademy.basetest.CommonToAllTest.setUp","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"setUp"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39335@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"AS_ID","value":"-1"}],"links":[],"name":"setUp","status":"broken","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978075943,"stop":1700978075946}
--------------------------------------------------------------------------------
/allure-results/e3b028aa-2e95-4c69-888a-e60b08482270-result.json:
--------------------------------------------------------------------------------
1 | {"uuid":"e3b028aa-2e95-4c69-888a-e60b08482270","historyId":"23d8051b95617db64274268a86892902","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39335@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"}],"links":[],"name":"testLoginPositive","status":"skipped","statusDetails":{"known":false,"muted":false,"flaky":false,"message":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","trace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n"},"stage":"finished","steps":[],"attachments":[],"parameters":[],"start":1700978076004,"stop":1700978076005}
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 | 4.0.0
6 |
7 | com.thetestingacademy
8 | ATB4xSeleniumAdvanceFramework
9 | 1.0-SNAPSHOT
10 |
11 | ATB4xSeleniumAdvanceFramework
12 |
13 | http://www.app.vwo.com
14 |
15 |
16 | UTF-8
17 | 16
18 | 16
19 | 1.9.9.1
20 | 2.19.0
21 |
22 |
23 |
24 |
25 |
26 | org.seleniumhq.selenium
27 | selenium-java
28 | 4.7.2
29 | compile
30 |
31 |
32 | io.qameta.allure
33 | allure-testng
34 | ${allure.version}
35 | compile
36 |
37 |
38 | org.testng
39 | testng
40 | 7.6.1
41 | compile
42 |
43 |
44 | org.slf4j
45 | slf4j-simple
46 | 1.7.30
47 | test
48 |
49 |
50 |
51 | com.github.javafaker
52 | javafaker
53 | 1.0.2
54 |
55 |
56 |
57 | io.rest-assured
58 | rest-assured
59 | 5.3.0
60 | test
61 |
62 |
63 |
64 | org.apache.poi
65 | poi
66 | 5.2.3
67 |
68 |
69 |
70 | org.apache.poi
71 | poi-ooxml
72 | 5.2.3
73 |
74 |
75 |
76 |
77 | org.assertj
78 | assertj-core
79 | 3.24.0
80 | test
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 | maven-clean-plugin
92 | 3.1.0
93 |
94 |
95 |
96 | maven-resources-plugin
97 | 3.0.2
98 |
99 |
100 | maven-compiler-plugin
101 | 3.8.0
102 |
103 |
104 | maven-surefire-plugin
105 | 2.22.1
106 |
107 |
108 | maven-jar-plugin
109 | 3.0.2
110 |
111 |
112 | maven-install-plugin
113 | 2.5.2
114 |
115 |
116 | maven-deploy-plugin
117 | 2.8.2
118 |
119 |
120 |
121 | maven-site-plugin
122 | 3.7.1
123 |
124 |
125 | maven-project-info-reports-plugin
126 | 3.0.0
127 |
128 |
129 |
130 |
131 |
132 |
--------------------------------------------------------------------------------
/allure-report/data/test-cases/d144af8e8c59a801.json:
--------------------------------------------------------------------------------
1 | {"uid":"d144af8e8c59a801","name":"setUp","fullName":"com.thetestingacademy.basetest.CommonToAllTest.setUp","historyId":"b06728ede90349fb04c8fcb9d43f5846","time":{"start":1700978075943,"stop":1700978075946,"duration":3},"status":"broken","statusMessage":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[],"afterStages":[],"labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"setUp"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39335@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"AS_ID","value":"-1"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"d144af8e8c59a801.json","parameterValues":[]}
--------------------------------------------------------------------------------
/allure-report/plugin/behaviors/index.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | allure.api.addTranslation('en', {
4 | tab: {
5 | behaviors: {
6 | name: 'Behaviors'
7 | }
8 | },
9 | widget: {
10 | behaviors: {
11 | name: 'Features by stories',
12 | showAll: 'show all'
13 | }
14 | }
15 | });
16 |
17 | allure.api.addTranslation('ru', {
18 | tab: {
19 | behaviors: {
20 | name: 'Функциональность'
21 | }
22 | },
23 | widget: {
24 | behaviors: {
25 | name: 'Функциональность',
26 | showAll: 'показать все'
27 | }
28 | }
29 | });
30 |
31 | allure.api.addTranslation('zh', {
32 | tab: {
33 | behaviors: {
34 | name: '功能'
35 | }
36 | },
37 | widget: {
38 | behaviors: {
39 | name: '特性场景',
40 | showAll: '显示所有'
41 | }
42 | }
43 | });
44 |
45 | allure.api.addTranslation('de', {
46 | tab: {
47 | behaviors: {
48 | name: 'Verhalten'
49 | }
50 | },
51 | widget: {
52 | behaviors: {
53 | name: 'Features nach Stories',
54 | showAll: 'Zeige alle'
55 | }
56 | }
57 | });
58 |
59 | allure.api.addTranslation('nl', {
60 | tab: {
61 | behaviors: {
62 | name: 'Functionaliteit'
63 | }
64 | },
65 | widget: {
66 | behaviors: {
67 | name: 'Features en story’s',
68 | showAll: 'Toon alle'
69 | }
70 | }
71 | });
72 |
73 | allure.api.addTranslation('he', {
74 | tab: {
75 | behaviors: {
76 | name: 'התנהגויות'
77 | }
78 | },
79 | widget: {
80 | behaviors: {
81 | name: 'תכונות לפי סיפורי משתמש',
82 | showAll: 'הצג הכול'
83 | }
84 | }
85 | });
86 |
87 | allure.api.addTranslation('br', {
88 | tab: {
89 | behaviors: {
90 | name: 'Comportamentos'
91 | }
92 | },
93 | widget: {
94 | behaviors: {
95 | name: 'Funcionalidades por história',
96 | showAll: 'Mostrar tudo'
97 | }
98 | }
99 | });
100 |
101 | allure.api.addTranslation('ja', {
102 | tab: {
103 | behaviors: {
104 | name: '振る舞い'
105 | }
106 | },
107 | widget: {
108 | behaviors: {
109 | name: 'ストーリー別の機能',
110 | showAll: '全て表示'
111 | }
112 | }
113 | });
114 |
115 | allure.api.addTranslation('es', {
116 | tab: {
117 | behaviors: {
118 | name: 'Funcionalidades'
119 | }
120 | },
121 | widget: {
122 | behaviors: {
123 | name: 'Funcionalidades por Historias de Usuario',
124 | showAll: 'mostrar todo'
125 | }
126 | }
127 | });
128 |
129 | allure.api.addTranslation('kr', {
130 | tab: {
131 | behaviors: {
132 | name: '동작'
133 | }
134 | },
135 | widget: {
136 | behaviors: {
137 | name: '스토리별 기능',
138 | showAll: '전체 보기'
139 | }
140 | }
141 | });
142 |
143 | allure.api.addTranslation('fr', {
144 | tab: {
145 | behaviors: {
146 | name: 'Comportements'
147 | }
148 | },
149 | widget: {
150 | behaviors: {
151 | name: 'Thèmes par histoires',
152 | showAll: 'Montrer tout'
153 | }
154 | }
155 | });
156 |
157 | allure.api.addTranslation('pl', {
158 | tab: {
159 | behaviors: {
160 | name: 'Zachowania'
161 | }
162 | },
163 | widget: {
164 | behaviors: {
165 | name: 'Funkcje według historii',
166 | showAll: 'pokaż wszystko'
167 | }
168 | }
169 | });
170 |
171 | allure.api.addTranslation('az', {
172 | tab: {
173 | behaviors: {
174 | name: 'Davranışlar'
175 | }
176 | },
177 | widget: {
178 | behaviors: {
179 | name: 'Hekayələr üzrə xüsusiyyətlər',
180 | showAll: 'hamısını göstər'
181 | }
182 | }
183 | });
184 |
185 | allure.api.addTab('behaviors', {
186 | title: 'tab.behaviors.name', icon: 'fa fa-list',
187 | route: 'behaviors(/)(:testGroup)(/)(:testResult)(/)(:testResultTab)(/)',
188 | onEnter: (function (testGroup, testResult, testResultTab) {
189 | return new allure.components.TreeLayout({
190 | testGroup: testGroup,
191 | testResult: testResult,
192 | testResultTab: testResultTab,
193 | tabName: 'tab.behaviors.name',
194 | baseUrl: 'behaviors',
195 | url: 'data/behaviors.json',
196 | csvUrl: 'data/behaviors.csv'
197 | });
198 | })
199 | });
200 |
201 | allure.api.addWidget('widgets', 'behaviors', allure.components.WidgetStatusView.extend({
202 | rowTag: 'a',
203 | title: 'widget.behaviors.name',
204 | baseUrl: 'behaviors',
205 | showLinks: true
206 | }));
207 |
--------------------------------------------------------------------------------
/allure-report/data/test-cases/be98e4f961ed876a.json:
--------------------------------------------------------------------------------
1 | {"uid":"be98e4f961ed876a","name":"setUp","fullName":"com.thetestingacademy.basetest.CommonToAllTest.setUp","historyId":"b06728ede90349fb04c8fcb9d43f5846","time":{"start":1700978265006,"stop":1700978265010,"duration":4},"status":"broken","statusMessage":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":1,"retriesStatusChange":false,"beforeStages":[],"afterStages":[],"labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"setUp"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39691@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"AS_ID","value":"-1"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":false,"retry":false,"extra":{"severity":"normal","retries":[{"uid":"d144af8e8c59a801","status":"broken","statusDetails":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","time":{"start":1700978075943,"stop":1700978075946,"duration":3}}],"categories":[{"name":"Test defects","matchedStatuses":[],"flaky":false}],"tags":[]},"source":"be98e4f961ed876a.json","parameterValues":[]}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | target/
2 | !.mvn/wrapper/maven-wrapper.jar
3 | !**/src/main/**/target/
4 | !**/src/test/**/target/
5 |
6 | ### IntelliJ IDEA ###
7 | .idea/modules.xml
8 | .idea/jarRepositories.xml
9 | .idea/compiler.xml
10 | .idea/libraries/
11 | *.iws
12 | *.iml
13 | *.ipr
14 |
15 | ### Eclipse ###
16 | .apt_generated
17 | .classpath
18 | .factorypath
19 | .project
20 | .settings
21 | .springBeans
22 | .sts4-cache
23 |
24 | ### NetBeans ###
25 | /nbproject/private/
26 | /nbbuild/
27 | /dist/
28 | /nbdist/
29 | /.nb-gradle/
30 | build/
31 | !**/src/main/**/build/
32 | !**/src/test/**/build/
33 |
34 | ### VS Code ###
35 | .vscode/
36 |
37 | ### Mac OS ###
38 | .DS_Store
39 |
40 | # Created by https://www.toptal.com/developers/gitignore/api/intellij+all,java,maven,intellij
41 | # Edit at https://www.toptal.com/developers/gitignore?templates=intellij+all,java,maven,intellij
42 |
43 | ### Intellij ###
44 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
45 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
46 |
47 | # User-specific stuff
48 | .idea/**/workspace.xml
49 | .idea/**/tasks.xml
50 | .idea/**/usage.statistics.xml
51 | .idea/**/dictionaries
52 | .idea/**/shelf
53 |
54 | # AWS User-specific
55 | .idea/**/aws.xml
56 |
57 | # Generated files
58 | .idea/**/contentModel.xml
59 |
60 | # Sensitive or high-churn files
61 | .idea/**/dataSources/
62 | .idea/**/dataSources.ids
63 | .idea/**/dataSources.local.xml
64 | .idea/**/sqlDataSources.xml
65 | .idea/**/dynamic.xml
66 | .idea/**/uiDesigner.xml
67 | .idea/**/dbnavigator.xml
68 |
69 | # Gradle
70 | .idea/**/gradle.xml
71 | .idea/**/libraries
72 |
73 | # Gradle and Maven with auto-import
74 | # When using Gradle or Maven with auto-import, you should exclude module files,
75 | # since they will be recreated, and may cause churn. Uncomment if using
76 | # auto-import.
77 | # .idea/artifacts
78 | # .idea/compiler.xml
79 | # .idea/jarRepositories.xml
80 | # .idea/modules.xml
81 | # .idea/*.iml
82 | # .idea/modules
83 | # *.iml
84 | # *.ipr
85 |
86 | # CMake
87 | cmake-build-*/
88 |
89 | # Mongo Explorer plugin
90 | .idea/**/mongoSettings.xml
91 |
92 | # File-based project format
93 | *.iws
94 |
95 | # IntelliJ
96 | out/
97 |
98 | # mpeltonen/sbt-idea plugin
99 | .idea_modules/
100 |
101 | # JIRA plugin
102 | atlassian-ide-plugin.xml
103 |
104 | # Cursive Clojure plugin
105 | .idea/replstate.xml
106 |
107 | # SonarLint plugin
108 | .idea/sonarlint/
109 |
110 | # Crashlytics plugin (for Android Studio and IntelliJ)
111 | com_crashlytics_export_strings.xml
112 | crashlytics.properties
113 | crashlytics-build.properties
114 | fabric.properties
115 |
116 | # Editor-based Rest Client
117 | .idea/httpRequests
118 |
119 | # Android studio 3.1+ serialized cache file
120 | .idea/caches/build_file_checksums.ser
121 |
122 | ### Intellij Patch ###
123 | # Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
124 |
125 | # *.iml
126 | # modules.xml
127 | # .idea/misc.xml
128 | # *.ipr
129 |
130 | # Sonarlint plugin
131 | # https://plugins.jetbrains.com/plugin/7973-sonarlint
132 | .idea/**/sonarlint/
133 |
134 | # SonarQube Plugin
135 | # https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
136 | .idea/**/sonarIssues.xml
137 |
138 | # Markdown Navigator plugin
139 | # https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
140 | .idea/**/markdown-navigator.xml
141 | .idea/**/markdown-navigator-enh.xml
142 | .idea/**/markdown-navigator/
143 |
144 | # Cache file creation bug
145 | # See https://youtrack.jetbrains.com/issue/JBR-2257
146 | .idea/$CACHE_FILE$
147 |
148 | # CodeStream plugin
149 | # https://plugins.jetbrains.com/plugin/12206-codestream
150 | .idea/codestream.xml
151 |
152 | # Azure Toolkit for IntelliJ plugin
153 | # https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
154 | .idea/**/azureSettings.xml
155 |
156 | ### Intellij+all ###
157 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
158 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
159 |
160 | # User-specific stuff
161 |
162 | # AWS User-specific
163 |
164 | # Generated files
165 |
166 | # Sensitive or high-churn files
167 |
168 | # Gradle
169 |
170 | # Gradle and Maven with auto-import
171 | # When using Gradle or Maven with auto-import, you should exclude module files,
172 | # since they will be recreated, and may cause churn. Uncomment if using
173 | # auto-import.
174 | # .idea/artifacts
175 | # .idea/compiler.xml
176 | # .idea/jarRepositories.xml
177 | # .idea/modules.xml
178 | # .idea/*.iml
179 | # .idea/modules
180 | # *.iml
181 | # *.ipr
182 |
183 | # CMake
184 |
185 | # Mongo Explorer plugin
186 |
187 | # File-based project format
188 |
189 | # IntelliJ
190 |
191 | # mpeltonen/sbt-idea plugin
192 |
193 | # JIRA plugin
194 |
195 | # Cursive Clojure plugin
196 |
197 | # SonarLint plugin
198 |
199 | # Crashlytics plugin (for Android Studio and IntelliJ)
200 |
201 | # Editor-based Rest Client
202 |
203 | # Android studio 3.1+ serialized cache file
204 |
205 | ### Intellij+all Patch ###
206 | # Ignore everything but code style settings and run configurations
207 | # that are supposed to be shared within teams.
208 |
209 | .idea/*
210 |
211 | !.idea/codeStyles
212 | !.idea/runConfigurations
213 |
214 | ### Java ###
215 | # Compiled class file
216 | *.class
217 |
218 | # Log file
219 | *.log
220 |
221 | # BlueJ files
222 | *.ctxt
223 |
224 | # Mobile Tools for Java (J2ME)
225 | .mtj.tmp/
226 |
227 | # Package Files #
228 | *.jar
229 | *.war
230 | *.nar
231 | *.ear
232 | *.zip
233 | *.tar.gz
234 | *.rar
235 |
236 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
237 | hs_err_pid*
238 | replay_pid*
239 |
240 | ### Maven ###
241 | target/
242 | pom.xml.tag
243 | pom.xml.releaseBackup
244 | pom.xml.versionsBackup
245 | pom.xml.next
246 | release.properties
247 | dependency-reduced-pom.xml
248 | buildNumber.properties
249 | .mvn/timing.properties
250 | # https://github.com/takari/maven-wrapper#usage-without-binary-jar
251 | .mvn/wrapper/maven-wrapper.jar
252 |
253 | # Eclipse m2e generated files
254 | # Eclipse Core
255 | .project
256 | # JDT-specific (Eclipse Java Development Tools)
257 | .classpath
258 |
259 | # End of https://www.toptal.com/developers/gitignore/api/intellij+all,java,maven,intellij
--------------------------------------------------------------------------------
/allure-report/plugin/screen-diff/index.js:
--------------------------------------------------------------------------------
1 | (function () {
2 | var settings = allure.getPluginSettings('screen-diff', { diffType: 'diff' });
3 |
4 | function renderImage(src) {
5 | return (
6 | '' +
7 | '

' +
10 | '
'
11 | );
12 | }
13 |
14 | function findImage(data, name) {
15 | if (data.testStage && data.testStage.attachments) {
16 | var matchedImage = data.testStage.attachments.filter(function (attachment) {
17 | return attachment.name === name;
18 | })[0];
19 | if (matchedImage) {
20 | return 'data/attachments/' + matchedImage.source;
21 | }
22 | }
23 | return null;
24 | }
25 |
26 | function renderDiffContent(type, diffImage, actualImage, expectedImage) {
27 | if (type === 'diff') {
28 | if (diffImage) {
29 | return renderImage(diffImage);
30 | }
31 | }
32 | if (type === 'overlay' && expectedImage) {
33 | return (
34 | '' +
35 | '

' +
38 | '
' +
39 | '

' +
42 | '
' +
43 | '
'
44 | );
45 | }
46 | if (actualImage) {
47 | return renderImage(actualImage);
48 | }
49 | return 'No diff data provided';
50 | }
51 |
52 | var TestResultView = Backbone.Marionette.View.extend({
53 | regions: {
54 | subView: '.screen-diff-view',
55 | },
56 | template: function () {
57 | return '';
58 | },
59 | onRender: function () {
60 | var data = this.model.toJSON();
61 | var testType = data.labels.filter(function (label) {
62 | return label.name === 'testType';
63 | })[0];
64 | var diffImage = findImage(data, 'diff');
65 | var actualImage = findImage(data, 'actual');
66 | var expectedImage = findImage(data, 'expected');
67 | if (!testType || testType.value !== 'screenshotDiff') {
68 | return;
69 | }
70 | this.showChildView(
71 | 'subView',
72 | new ScreenDiffView({
73 | diffImage: diffImage,
74 | actualImage: actualImage,
75 | expectedImage: expectedImage,
76 | }),
77 | );
78 | },
79 | });
80 | var ErrorView = Backbone.Marionette.View.extend({
81 | templateContext: function () {
82 | return this.options;
83 | },
84 | template: function (data) {
85 | return '' + data.error + '
';
86 | },
87 | });
88 | var AttachmentView = Backbone.Marionette.View.extend({
89 | regions: {
90 | subView: '.screen-diff-view',
91 | },
92 | template: function () {
93 | return '';
94 | },
95 | onRender: function () {
96 | jQuery
97 | .getJSON(this.options.sourceUrl)
98 | .then(this.renderScreenDiffView.bind(this), this.renderErrorView.bind(this));
99 | },
100 | renderErrorView: function (error) {
101 | console.log(error);
102 | this.showChildView(
103 | 'subView',
104 | new ErrorView({
105 | error: error.statusText,
106 | }),
107 | );
108 | },
109 | renderScreenDiffView: function (data) {
110 | this.showChildView(
111 | 'subView',
112 | new ScreenDiffView({
113 | diffImage: data.diff,
114 | actualImage: data.actual,
115 | expectedImage: data.expected,
116 | }),
117 | );
118 | },
119 | });
120 |
121 | var ScreenDiffView = Backbone.Marionette.View.extend({
122 | className: 'pane__section',
123 | events: function () {
124 | return {
125 | ['click [name="screen-diff-type-' + this.cid + '"]']: 'onDiffTypeChange',
126 | 'mousemove .screen-diff__overlay': 'onOverlayMove',
127 | };
128 | },
129 | initialize: function (options) {
130 | this.diffImage = options.diffImage;
131 | this.actualImage = options.actualImage;
132 | this.expectedImage = options.expectedImage;
133 | this.radioName = 'screen-diff-type-' + this.cid;
134 | },
135 | templateContext: function () {
136 | return {
137 | diffType: settings.get('diffType'),
138 | diffImage: this.diffImage,
139 | actualImage: this.actualImage,
140 | expectedImage: this.expectedImage,
141 | radioName: this.radioName,
142 | };
143 | },
144 | template: function (data) {
145 | if (!data.diffImage && !data.actualImage && !data.expectedImage) {
146 | return '';
147 | }
148 |
149 | return (
150 | 'Screen Diff
' +
151 | ''
167 | );
168 | },
169 | adjustImageSize: function (event) {
170 | var overImage = this.$(event.target);
171 | overImage.width(overImage.width());
172 | },
173 | onRender: function () {
174 | const diffType = settings.get('diffType');
175 | this.$('[name="' + this.radioName + '"][value="' + diffType + '"]').prop(
176 | 'checked',
177 | true,
178 | );
179 | if (diffType === 'overlay') {
180 | this.$('.screen-diff__image-over img').on('load', this.adjustImageSize.bind(this));
181 | }
182 | },
183 | onOverlayMove: function (event) {
184 | var pageX = event.pageX;
185 | var containerScroll = this.$('.screen-diff__container').scrollLeft();
186 | var elementX = event.currentTarget.getBoundingClientRect().left;
187 | var delta = pageX - elementX + containerScroll;
188 | this.$('.screen-diff__image-over').width(delta);
189 | },
190 | onDiffTypeChange: function (event) {
191 | settings.save('diffType', event.target.value);
192 | this.render();
193 | },
194 | });
195 | allure.api.addTestResultBlock(TestResultView, { position: 'before' });
196 | allure.api.addAttachmentViewer('application/vnd.allure.image.diff', {
197 | View: AttachmentView,
198 | icon: 'fa fa-exchange',
199 | });
200 | })();
201 |
--------------------------------------------------------------------------------
/allure-report/data/test-cases/7166155252d1e42c.json:
--------------------------------------------------------------------------------
1 | {"uid":"7166155252d1e42c","name":"testLoginPositive","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","historyId":"23d8051b95617db64274268a86892902","time":{"start":1700978265128,"stop":1700978265130,"duration":2},"status":"skipped","statusMessage":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"setUp","time":{"start":1700978259739,"stop":1700978264707,"duration":4968},"description":"","status":"broken","statusMessage":"Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60854/devtools/browser/8d59d957-0311-4d61-9f33-dde1cb90d39f\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:40)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":true}],"afterStages":[{"name":"tearDown","time":{"start":1700978265205,"stop":1700978265205,"duration":0},"description":"","status":"broken","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":false}],"labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39691@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"7166155252d1e42c.json","parameterValues":[]}
--------------------------------------------------------------------------------
/allure-report/data/test-cases/5d85189475e4de7c.json:
--------------------------------------------------------------------------------
1 | {"uid":"5d85189475e4de7c","name":"testLoginPositive","fullName":"com.thetestingacademy.vwo.LoginTests.LoginTest.testLoginPositive","historyId":"23d8051b95617db64274268a86892902","time":{"start":1700978076004,"stop":1700978076005,"duration":1},"status":"skipped","statusMessage":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","flaky":false,"newFailed":false,"newBroken":false,"newPassed":false,"retriesCount":0,"retriesStatusChange":false,"beforeStages":[{"name":"setUp","time":{"start":1700978069605,"stop":1700978075757,"duration":6152},"description":"","status":"broken","statusMessage":"Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver","statusTrace":"org.openqa.selenium.remote.http.ConnectionFailedException: Unable to establish websocket connection to http://localhost:60724/devtools/browser/9a9cfef0-cc6c-4f3d-a4a4-46a55a022b32\nBuild info: version: '4.7.2', revision: '4d4020c3b7'\nSystem info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '12.5', java.version: '19.0.1'\nDriver info: driver.version: EdgeDriver\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.(NettyWebSocket.java:102)\n\tat org.openqa.selenium.remote.http.netty.NettyWebSocket.lambda$create$3(NettyWebSocket.java:128)\n\tat org.openqa.selenium.remote.http.netty.NettyClient.openSocket(NettyClient.java:107)\n\tat org.openqa.selenium.devtools.Connection.(Connection.java:78)\n\tat org.openqa.selenium.chromium.ChromiumDriver.lambda$new$2(ChromiumDriver.java:116)\n\tat java.base/java.util.Optional.map(Optional.java:260)\n\tat org.openqa.selenium.chromium.ChromiumDriver.(ChromiumDriver.java:114)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:54)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:46)\n\tat org.openqa.selenium.edge.EdgeDriver.(EdgeDriver.java:42)\n\tat com.thetestingacademy.driver.DriverManagerTL.init(DriverManagerTL.java:37)\n\tat com.thetestingacademy.basetest.CommonToAllTest.setUp(CommonToAllTest.java:17)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)\n\tat java.base/java.lang.reflect.Method.invoke(Method.java:578)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)\n\tat org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:361)\n\tat org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:296)\n\tat org.testng.internal.invokers.TestInvoker.runConfigMethods(TestInvoker.java:816)\n\tat org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:590)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)\n\tat org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)\n\tat org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)\n\tat org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)\n\tat org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)\n\tat org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)\n\tat java.base/java.util.ArrayList.forEach(ArrayList.java:1511)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:806)\n\tat org.testng.TestRunner.run(TestRunner.java:601)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:433)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:330)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1176)\n\tat org.testng.TestNG.runSuites(TestNG.java:1099)\n\tat org.testng.TestNG.run(TestNG.java:1067)\n\tat com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66)\n\tat com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105)\n","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":true,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":true}],"afterStages":[{"name":"tearDown","time":{"start":1700978076046,"stop":1700978076047,"duration":1},"description":"","status":"broken","steps":[],"attachments":[],"parameters":[],"shouldDisplayMessage":false,"stepsCount":0,"attachmentsCount":0,"attachmentStep":false,"hasContent":false}],"labels":[{"name":"package","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testClass","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"testMethod","value":"testLoginPositive"},{"name":"parentSuite","value":"All Test Suite"},{"name":"suite","value":"ATB4xSeleniumAdvanceFramework"},{"name":"subSuite","value":"com.thetestingacademy.vwo.LoginTests.LoginTest"},{"name":"host","value":"MBP-C02DRR20MD6M"},{"name":"thread","value":"39335@MBP-C02DRR20MD6M.main(1)"},{"name":"framework","value":"testng"},{"name":"language","value":"java"},{"name":"resultFormat","value":"allure2"}],"parameters":[],"links":[],"hidden":true,"retry":true,"extra":{"categories":[],"tags":[]},"source":"5d85189475e4de7c.json","parameterValues":[]}
--------------------------------------------------------------------------------