Skip to content

Commit

Permalink
updatepom.xml with github url
Browse files Browse the repository at this point in the history
  • Loading branch information
GowthamReddy-E committed Jan 11, 2024
1 parent 7294e6a commit 8a4e5ec
Show file tree
Hide file tree
Showing 161 changed files with 714 additions and 504 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@
</dependencies>
<distributionManagement>
<repository>
<id>github</id>
<id>OrangeHRM_Automation</id>
<name>OrangeHRM_Automation</name>
<url>https://github.com/GowthamReddy-E/OrangeHRM_Automation</url>
<url>https://maven.pkg.github.com/GowthamReddy-E/OrangeHRM_Automation</url>
</repository>
</distributionManagement>
</project>
304 changes: 304 additions & 0 deletions reports/Regression_CreateEmployee_edge_0111109.html

Large diffs are not rendered by default.

304 changes: 0 additions & 304 deletions reports/Regression_CreateEmployee_edge_0193120.html

This file was deleted.

Binary file added screenshots/HomePage Menu Options 1_01111022.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/HomePage Menu Options 1_0193137.png
Binary file not shown.
Binary file added screenshots/LoginPage_01111018.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed screenshots/LoginPage_0193133.png
Binary file not shown.
4 changes: 2 additions & 2 deletions src/test/java/com/satwa/pages/LoginPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public static LoginPage get() {
}


@FindBy(xpath = "//input[@placeholder='Username']")
@FindBy(xpath = "/html[1]/body[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[2]/form[1]/div[1]/div[1]/div[2]/input[1]")
private WebElement txtUserName;

@FindBy(xpath ="//input[@placeholder='Password']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[2]/div[2]/form[1]/div[2]/div[1]/div[2]/input[1]")
private WebElement txtPassword;

@FindBy(xpath="//button[@type='submit']")
Expand Down
12 changes: 6 additions & 6 deletions src/test/java/com/satwa/pages/PimPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,25 @@ public PimPage(WebDriver driver) {
@FindBy(xpath = "//a[normalize-space()='Add Employee']")
private WebElement btnAddEmployee;

@FindBy(xpath ="//input[@placeholder='First Name']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[2]/input[1]")
private WebElement txtEmpFirstName;

@FindBy(xpath ="//input[@placeholder='Middle Name']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[2]/div[2]/input[1]")
private WebElement txtEmpMiddleName;

@FindBy(xpath ="//input[@placeholder='Last Name']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/div[3]/div[2]/input[1]")
private WebElement txtEmpLastName;

@FindBy(xpath ="//span[@class='oxd-switch-input oxd-switch-input--active --label-right']")
private WebElement rdBtnCreateLogin;

@FindBy(xpath ="//body/div[@id='app']/div[@class='oxd-layout']/div[@class='oxd-layout-container']/div[@class='oxd-layout-context']/div[@class='orangehrm-background-container']/div[@class='orangehrm-card-container']/form[@class='oxd-form']/div[@class='orangehrm-employee-container']/div[@class='orangehrm-employee-form']/div[@class='oxd-form-row']/div[1]/div[1]/div[1]/div[2]/input[1]")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[3]/div[1]/div[1]/div[1]/div[2]/input[1]")
private WebElement txtUserName;

@FindBy(xpath ="//div[@class='oxd-grid-item oxd-grid-item--gutters user-password-cell']//div[@class='oxd-input-group oxd-input-field-bottom-space']//div//input[@type='password']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[4]/div[1]/div[1]/div[1]/div[2]/input[1]")
private WebElement btnPasswd;

@FindBy(xpath ="//div[@class='oxd-grid-item oxd-grid-item--gutters']//div[@class='oxd-input-group oxd-input-field-bottom-space']//div//input[@type='password']")
@FindBy(xpath ="/html[1]/body[1]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/form[1]/div[1]/div[2]/div[4]/div[1]/div[2]/div[1]/div[2]/input[1]")
private WebElement btnCnfrmPasswd;

@FindBy(xpath ="//button[normalize-space()='Save']")
Expand Down
Binary file removed target/OrangeHRM_Automation-0.0.1-SNAPSHOT.war
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 0 additions & 4 deletions target/OrangeHRM_Automation-0.0.1-SNAPSHOT/WEB-INF/web.xml

This file was deleted.

3 changes: 0 additions & 3 deletions target/maven-archiver/pom.properties

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Created at 2024-01-01T21:31:19.354
# Created at 2024-01-11T12:54:08.169
Boot Manifest-JAR contains absolute paths in classpath 'F:\gowthamCodingProjects\GOWTHAM\OrangeHRMAutomation\target\test-classes'
Hint: <argLine>-Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
'other' has different root
Expand Down
53 changes: 46 additions & 7 deletions target/surefire-reports/Regression_CreateEmployee/edge.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,20 @@
<body>
<h2 align='center'>edge</h2><table border='1' align="center">
<tr>
<td>Tests passed/Failed/Skipped:</td><td>1/0/0</td>
<td>Tests passed/Failed/Skipped:</td><td>0/1/0</td>
</tr><tr>
<td>Started on:</td><td>Mon Jan 01 21:31:20 IST 2024</td>
<td>Started on:</td><td>Thu Jan 11 12:54:09 IST 2024</td>
</tr>
<tr><td>Total time:</td><td>26 seconds (26424 ms)</td>
<tr><td>Total time:</td><td>73 seconds (73025 ms)</td>
</tr><tr>
<td>Included groups:</td><td></td>
</tr><tr>
<td>Excluded groups:</td><td></td>
</tr>
</table><p/>
<small><i>(Hover the method name to see the test class name)</i></small><p/>
<table width='100%' border='1' class='invocation-passed'>
<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
<table width='100%' border='1' class='invocation-failed'>
<tr><td colspan='4' align='center'><b>FAILED TESTS</b></td></tr>
<tr><td><b>Test method</b></td>
<td><b>Attribute(s)</b></td>
<td width="30%"><b>Exception</b></td>
Expand All @@ -77,8 +77,47 @@ <h2 align='center'>edge</h2><table border='1' align="center">
</tr>
<tr>
<td title='com.satwa.tests.CreateEmployee.AddEmployee01_AddEmployeeWithUsernameAndPassword()'><b>AddEmployee01_AddEmployeeWithUsernameAndPassword</b><br>Test class: com.satwa.tests.CreateEmployee</td>
<td></td>
<td>12</td>
<td><div><pre>java.lang.AssertionError: Login page is not displayed on launching the application
at com.satwa.tests.CreateEmployee.AddEmployee01_AddEmployeeWithUsernameAndPassword(CreateEmployee.java:23)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
... Removed 32 stack frames</pre></div><a href='#' onClick='toggleBox("stack-trace1933471223", this, "Click to show all stack frames", "Click to hide stack frames")'>Click to show all stack frames</a>
<div class='stack-trace' id='stack-trace1933471223'><pre>java.lang.AssertionError: Login page is not displayed on launching the application
at org.testng.Assert.fail(Assert.java:110)
at com.satwa.tests.CreateEmployee.AddEmployee01_AddEmployeeWithUsernameAndPassword(CreateEmployee.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:962)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at org.testng.TestRunner.privateRun(TestRunner.java:806)
at org.testng.TestRunner.run(TestRunner.java:601)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
at org.testng.SuiteRunner.run(SuiteRunner.java:330)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
at org.testng.TestNG.runSuites(TestNG.java:1099)
at org.testng.TestNG.run(TestNG.java:1067)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:324)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:74)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:123)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
</pre></div></td>
<td>60</td>
<td>com.satwa.tests.CreateEmployee@cb0755b</td></tr>
</table><p>
</body>
Expand Down
11 changes: 9 additions & 2 deletions target/surefire-reports/Regression_CreateEmployee/edge.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by org.testng.reporters.JUnitXMLReporter -->
<testsuite ignored="0" hostname="Gowtham" failures="0" tests="1" name="edge" time="26.424" errors="0" timestamp="2024-01-01T21:31:47 IST">
<testcase classname="com.satwa.tests.CreateEmployee" name="AddEmployee01_AddEmployeeWithUsernameAndPassword" time="12.823"/>
<testsuite ignored="0" hostname="Gowtham" failures="1" tests="1" name="edge" time="73.025" errors="0" timestamp="2024-01-11T12:55:22 IST">
<testcase classname="com.satwa.tests.CreateEmployee" name="AddEmployee01_AddEmployeeWithUsernameAndPassword" time="60.501">
<failure type="java.lang.AssertionError" message="Login page is not displayed on launching the application">
<![CDATA[java.lang.AssertionError: Login page is not displayed on launching the application
at com.satwa.tests.CreateEmployee.AddEmployee01_AddEmployeeWithUsernameAndPassword(CreateEmployee.java:23)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
... Removed 32 stack frames]]>
</failure>
</testcase> <!-- AddEmployee01_AddEmployeeWithUsernameAndPassword -->
</testsuite> <!-- edge -->
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Failed suite [Regression_CreateEmployee]" guice-stage="DEVELOPMENT" verbose="0">
<parameter name="env" value="qa"/>
<test thread-count="5" name="edge(failed)" verbose="0">
<parameter name="browser" value="chrome"/>
<classes>
<class name="com.satwa.tests.CreateEmployee">
<methods>
<include name="finalizeExecution"/>
<include name="setUpExecution"/>
<include name="AddEmployee01_AddEmployeeWithUsernameAndPassword"/>
<include name="intializeTest"/>
<include name="afterMethod"/>
<include name="initializeReport"/>
<include name="setUpPages"/>
</methods>
</class> <!-- com.satwa.tests.CreateEmployee -->
</classes>
</test> <!-- edge(failed) -->
</suite> <!-- Failed suite [Regression_CreateEmployee] -->
Loading

0 comments on commit 8a4e5ec

Please sign in to comment.