-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0b0fabb
commit fb0c519
Showing
10 changed files
with
200 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,94 @@ | ||
2024-12-04 22:04:30 DEBUG TestNG - suiteXmlPath: "C:\Users\lenovo\IdeaProjects\Ellithium\TestNGRunner.xml" | ||
2024-12-04 22:04:31 INFO logsUtils - [94mGetting Timestamp: 2024-12-04[0m | ||
2024-12-04 22:04:31 INFO logsUtils - [94mReading value for key: LastRunDate from JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-04 22:04:31 INFO logsUtils - [92mSuccessfully read value for key: LastRunDate from JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-04 22:04:31 INFO logsUtils - [94mSetting value for key: LastRunDate in JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-04 22:04:31 INFO logsUtils - [92mSuccessfully updated JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-11 22:58:48 DEBUG TestNG - suiteXmlPath: "C:\Users\lenovo\IdeaProjects\Ellithium\TestNGRunner.xml" | ||
2024-12-11 22:58:49 INFO Logger - [94mGetting Timestamp: 2024-12-11[0m | ||
2024-12-11 22:58:49 INFO Logger - [94mReading value for key: LastRunDate from JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid e0aa492b-0fe3-42ae-bc21-d1f4011c53dd not found | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully read value for key: LastRunDate from JSON file: Test-Output\UpdateChecker\checker[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid bd753d9c-b012-4919-af6f-45ea5e89bf1f not found | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\config[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid f5108031-3522-4425-aec3-1012c7873255 not found | ||
2024-12-11 22:58:49 INFO Logger - [92mInitialize default Timeout for Element [0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid d6c03f7c-128a-4b57-9295-ae37b7896a6a not found | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\config[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid 64d411a4-746c-4437-91d3-f490dec5d5a7 not found | ||
2024-12-11 22:58:49 INFO Logger - [92mInitialize default Polling Time for Element [0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid 8f8affe7-0a62-4858-8eae-6d14c238d0b6 not found | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\config[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid af0dfe93-706b-4663-ba7e-647d86440594 not found | ||
2024-12-11 22:58:49 INFO Logger - [92mInitialize default Implicit Wait for the Driver [0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid 747c97a6-f635-4219-9df2-a5227288bdb8 not found | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\config[0m | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not start step: no test case running | ||
2024-12-11 22:58:49 ERROR AllureLifecycle - Could not stop step: step with uuid 48fbd617-398d-4465-89d5-4f66fb565531 not found | ||
2024-12-11 22:58:49 INFO Logger - [94m---------------------------------------------[0m | ||
2024-12-11 22:58:49 INFO Logger - [96m------- Ellithium Engine Setup -------------[0m | ||
2024-12-11 22:58:49 INFO Logger - [94m---------------------------------------------[0m | ||
2024-12-11 22:58:49 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\allure[0m | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ADDING NODE BaseRemote.Setup()[pri:0, instance:null] -152046584 | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ================ SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] =============== DONE SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== SORTED NODES | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== END SORTED NODES | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ADDING NODE BaseRemote.tareDown()[pri:0, instance:null] 391358389 | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ================ SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] =============== DONE SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== SORTED NODES | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== END SORTED NODES | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ADDING NODE loginTestsRemote.validLogin()[pri:2, instance:Tests.loginTestsRemote@46d9aec8] 832491811 | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ADDING NODE loginTestsRemote.invalidLogin(java.lang.String,java.lang.String,java.lang.String)[pri:1, instance:Tests.loginTestsRemote@46d9aec8] -686925744 | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ================ SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] =============== DONE SORTING | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== SORTED NODES | ||
2024-12-11 22:58:49 TRACE Graph - [Graph] ====== END SORTED NODES | ||
2024-12-11 22:58:49 INFO Logger - [38;5;200m[SUITE STARTED]: FRAMEWORK TEST [SUITE STARTED][0m | ||
2024-12-11 22:58:49 INFO Logger - [95m[ALL TESTS STARTED]: WEB UI TEST CHROME [ALL TESTS STARTED][0m | ||
2024-12-11 22:58:49 INFO Logger - [92mChrome Options Configured[0m | ||
2024-12-11 22:58:52 INFO Logger - [92mDriver Created[0m | ||
2024-12-11 22:58:52 ERROR AllureLifecycle - Could not update test case: no test case running | ||
2024-12-11 22:58:52 INFO Logger - [94m[START] TESTCASE invalidLogin [STARTED][0m | ||
2024-12-11 22:58:52 INFO Logger - [94mNavigating to URL: https://the-internet.herokuapp.com/[0m | ||
2024-12-11 22:58:55 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:58:55 INFO Logger - [94mSent Data: "tomsmith" into Username.[0m | ||
2024-12-11 22:58:56 INFO Logger - [94mSent Data: "hamada" into Password.[0m | ||
2024-12-11 22:58:57 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:58:57 INFO Logger - [92m[PASSED] TESTCASE invalidLogin [PASSED][0m | ||
2024-12-11 22:58:57 INFO Logger - [94m[START] TESTCASE invalidLogin [STARTED][0m | ||
2024-12-11 22:58:57 INFO Logger - [94mNavigating to URL: https://the-internet.herokuapp.com/[0m | ||
2024-12-11 22:58:57 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:58:58 INFO Logger - [94mSent Data: "hamada" into Username.[0m | ||
2024-12-11 22:58:58 INFO Logger - [94mSent Data: "SuperSecretPassword!" into Password.[0m | ||
2024-12-11 22:58:58 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:58:58 INFO Logger - [92m[PASSED] TESTCASE invalidLogin [PASSED][0m | ||
2024-12-11 22:58:58 INFO Logger - [94m[START] TESTCASE validLogin [STARTED][0m | ||
2024-12-11 22:58:58 INFO Logger - [94mNavigating to URL: https://the-internet.herokuapp.com/[0m | ||
2024-12-11 22:58:59 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:58:59 INFO Logger - [94mSent Data: "SuperSecretPassword!" into Password.[0m | ||
2024-12-11 22:58:59 INFO Logger - [94mSent Data: "tomsmith" into Username.[0m | ||
2024-12-11 22:59:00 INFO Logger - [94mClicked on element: [0m | ||
2024-12-11 22:59:00 INFO Logger - [92m[PASSED] TESTCASE validLogin [PASSED][0m | ||
2024-12-11 22:59:00 INFO Logger - [94mWebDriver quit[0m | ||
2024-12-11 22:59:00 ERROR AllureLifecycle - Could not update test case: no test case running | ||
2024-12-11 22:59:00 INFO Logger - [95m[ALL TESTS COMPLETED]: WEB UI TEST CHROME [ALL TESTS COMPLETED][0m | ||
2024-12-11 22:59:00 INFO Logger - [38;5;200m[SUITE FINISHED]: FRAMEWORK TEST [SUITE FINISHED][0m | ||
2024-12-11 22:59:01 INFO Logger - [94mTotal Execution Time is: 0 Min 11 Sec 602 Mills[0m | ||
2024-12-11 22:59:01 INFO Logger - [94m------------------------------------------[0m | ||
2024-12-11 22:59:01 INFO Logger - [96m------- Ellithium Engine TearDown -------[0m | ||
2024-12-11 22:59:01 INFO Logger - [94m------------------------------------------[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\allure[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\allure[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\allure[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mAllure folder exists at: C:\Users\lenovo\.m2\repository\allure-Ellithium[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mFound Allure binary directory: C:\Users\lenovo\.m2\repository\allure-Ellithium\-2.30.0\bin[0m | ||
2024-12-11 22:59:01 INFO Logger - [92mAttempting to execute command: C:\Users\lenovo\.m2\repository\allure-Ellithium\-2.30.0\bin\allure generate --single-file --name "Test Report" -o .\LastReport\ .\Test-Output/Reports/Allure/allure-results\[0m | ||
2024-12-11 22:59:03 INFO Logger - [92mCommand executed successfully. Exit code: 0[0m | ||
2024-12-11 22:59:03 INFO Logger - [94mGetting Timestamp: 2024-12-11-10-59-03PM[0m | ||
2024-12-11 22:59:03 INFO Logger - [92mSuccessfully loaded properties file: src\main\resources\properties\allure[0m | ||
2024-12-11 22:59:03 INFO Logger - [92mAttempting to execute command: start Test-Output\Reports\Allure\allure-report\Ellithium-Test-Report-2024-12-11-10-59-03PM.html[0m | ||
2024-12-11 22:59:03 INFO Logger - [92mCommand executed successfully. Exit code: 0[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"LastRunDate": "2024-12-04" | ||
"LastRunDate": "2024-12-11" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package Base; | ||
|
||
import Ellithium.core.driver.DriverFactory; | ||
import Ellithium.core.driver.DriverType; | ||
import Pages.HomPage; | ||
import org.openqa.selenium.WebDriver; | ||
import org.openqa.selenium.chrome.ChromeOptions; | ||
import org.openqa.selenium.remote.DesiredCapabilities; | ||
import org.openqa.selenium.remote.RemoteWebDriver; | ||
import org.testng.annotations.AfterClass; | ||
import org.testng.annotations.BeforeClass; | ||
|
||
import java.net.MalformedURLException; | ||
import java.net.URL; | ||
|
||
public class BaseRemote { | ||
protected WebDriver driver; | ||
protected HomPage home; | ||
@BeforeClass | ||
public void Setup() throws MalformedURLException { | ||
DesiredCapabilities capabilities=new DesiredCapabilities(); | ||
driver= DriverFactory.getNewRemoteWebDriver(DriverType.REMOTE_Chrome ,new URL("http://localhost:4444/wd/hub"),capabilities); | ||
home=new HomPage(driver); | ||
} | ||
@AfterClass | ||
public void tareDown(){ | ||
driver.quit();; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.