Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cbdfd42
JUnit Test Framework Design
Ismet-8-3 Nov 8, 2024
0bcb009
Merge pull request #1 from Ismet-8-3/Junit-Testing-Framework-Design
Ismet-8-3 Nov 8, 2024
e4473dd
JUnit Test Framework Design
Ismet-8-3 Nov 10, 2024
84d6e70
Merge pull request #2 from Ismet-8-3/page-object-model-design
Ismet-8-3 Nov 10, 2024
f89423a
TestNG Annotation and attributes.
Ismet-8-3 Nov 10, 2024
372c64d
Merge pull request #3 from Ismet-8-3/master
Ismet-8-3 Nov 10, 2024
8067605
Merge pull request #4 from Ismet-8-3/page-object-model-design
Ismet-8-3 Nov 10, 2024
4d4f8c9
TestNG Annotation and attributes.
Ismet-8-3 Nov 13, 2024
a7be9a7
Merge remote-tracking branch 'origin/master'
Ismet-8-3 Nov 13, 2024
1db862e
TestNG Annotation and attributes.
Ismet-8-3 Nov 14, 2024
e271149
mahara login
Ismet-8-3 Nov 14, 2024
f0d316e
mahara login
Ismet-8-3 Nov 14, 2024
8d93be0
mahara login
Ismet-8-3 Nov 14, 2024
8dc2f05
mahara login
Ismet-8-3 Nov 18, 2024
5cfa6cc
mahara login
Ismet-8-3 Nov 18, 2024
adac6ca
TestNG Annotation and attributes.
Ismet-8-3 Nov 18, 2024
a4a85e9
TestNG Annotation and attributes.
Ismet-8-3 Nov 18, 2024
b9ecebb
TestNG Annotation and attributes.
Ismet-8-3 Nov 21, 2024
2f9a45e
TestNG Annotation and attributes.
Ismet-8-3 Nov 25, 2024
e711d6a
TestNG Annotation and attributes.
Ismet-8-3 Nov 25, 2024
d7ef437
TestNG Annotation and attributes.
Ismet-8-3 Nov 26, 2024
da67467
TestNG Annotation and attributes.
Ismet-8-3 Nov 27, 2024
1e18ad5
TestNG Annotation and attributes.
Ismet-8-3 Nov 29, 2024
8441e5f
TestNG Annotation and attributes.
Ismet-8-3 Dec 8, 2024
dae9908
Merge pull request #5 from Ismet-8-3/Selenium-Advanced-actions-Code
Ismet-8-3 Dec 8, 2024
171635c
TestNG Annotation and attributes.
Ismet-8-3 Dec 17, 2024
05cc95b
TestNG Annotation and attributes.Actions
Ismet-8-3 Dec 17, 2024
472100b
TestNG Annotation and attributes.Actions
Ismet-8-3 Jan 8, 2025
ffdb12a
TestNG Annotation and attributes.Actions
Ismet-8-3 Jan 16, 2025
7eee1e4
TestNG Annotation and attributes.Actions
Ismet-8-3 Feb 15, 2026
1ea89aa
TestNG Annotation and attributes.Actions
Ismet-8-3 Feb 16, 2026
c2168cc
TestNG Annotation and attributes.Actions
Ismet-8-3 Feb 16, 2026
1b81a97
TestNG Annotation and attributes.Actions.go
Ismet-8-3 Feb 17, 2026
d6b0955
TestNG Annotation and attributes.
Ismet-8-3 Feb 18, 2026
a79756a
TestNG Annotation and attributes.
Ismet-8-3 Feb 18, 2026
c0b8f91
TestNG Annotation and attributes.
Ismet-8-3 Feb 18, 2026
e05db1e
TestNG Annotation and attributes.
Ismet-8-3 Feb 19, 2026
733e793
TestNG Annotation and attributes.
Ismet-8-3 Feb 19, 2026
3cdec00
Merge pull request #7 from Ismet-8-3/Selenium-Advanced-actions-Code
Ismet-8-3 Feb 19, 2026
9b303ef
TestNG Annotation and attributes.
Ismet-8-3 Feb 19, 2026
b7f89ea
TestNG Annotation and attributes.
Ismet-8-3 Feb 19, 2026
21dae6f
Merge pull request #8 from Ismet-8-3/mahara
Ismet-8-3 Feb 19, 2026
8cfc8a2
TestNG Annotation and attributes.
Ismet-8-3 Feb 19, 2026
6d7646a
Merge remote-tracking branch 'origin/master'
Ismet-8-3 Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target/
.idea/
SeleniumJavaTests.iml/
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

395 changes: 185 additions & 210 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions SeleniumJavaTests.iml

This file was deleted.

16 changes: 11 additions & 5 deletions config.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#Sat Dec 05 11:59:50 EET 2020
produrl=
password=automation123!
password=automation!123
qaurl=1
qa=1
url=https://cubecart.united.com
timeout=10
username=testautomation
imagefolder=screenshot
username=testautomation2
filefoler=CubeCartTest1
dburl=92.205.12.67
dbPort=3306
dbUserName=uctsd
dbPassword=automation!123
defaultDataBase=i9362396_cc1
uri=https://fakerestapi.azurewebsites.net/index.html

20 changes: 20 additions & 0 deletions parallel-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">

<suite name="CubeCart Application Test" parallel="tests" thread-count="2" verbose="3">
<listeners>
<listener class-name="org.testng.reporters.EmailableReporter2"></listener>
</listeners>
<test name="Customer Module Test">
<classes>
<class name="testngframework.DataProviderDemo2"></class>

</classes>
</test>

<test name="Pruduct Test">
<classes>
<class name="testngframework.DataProviderDemo1"></class>
</classes>
</test>

</suite>
163 changes: 119 additions & 44 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,61 +5,136 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.example</groupId>
<artifactId>SeleniumJavaTests</artifactId>
<artifactId>CubeCart202311</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.9</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.13.0</version>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>4.14.1</version>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>5.3.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.16.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>5.2.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.16.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.rest-assured/json-path -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>json-path</artifactId>
<version>5.3.1</version>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.8</version>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>4.1.2</version>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-xml -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.11.3</version>
<groupId>net.datafaker</groupId>
<artifactId>datafaker</artifactId>
<version>2.4.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.rest-assured/json-path -->
<!-- https://mvnrepository.com/artifact/org.testng/testng -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>json-path</artifactId>
<version>4.3.1</version>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.10.2</version>
<scope>test</scope>
</dependency>



</dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/joda-time/joda-time -->
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.12.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.33</version>
</dependency>
<!-- https://mvnrepository.com/artifact/net.sourceforge.jtds/jtds -->
<dependency>
<groupId>net.sourceforge.jtds</groupId>
<artifactId>jtds</artifactId>
<version>1.3.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.rest-assured/rest-assured -->
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>
<version>5.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>7.20.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit-platform-engine</artifactId>
<version>7.20.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.11.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
Expand Down
19 changes: 19 additions & 0 deletions regresisontest-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE suite SYSTEM "https://testng.org/testng-1.0.dtd">
<suite name="Regression Test" verbose="1">
<listeners>
<listener class-name="org.testng.reporters.EmailableReporter2"></listener>
</listeners>
<test name="test packages">
<groups>
<run>
<include name="regression test"/>
</run>
</groups>
<packages><package name="testngframework"></package>

</packages>

</test>


</suite>
51 changes: 0 additions & 51 deletions src/main/java/com/unitedcoder/classconcepts/BankAccountStatic.java

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/java/com/unitedcoder/classconcepts/BankAccountTest.java

This file was deleted.

45 changes: 0 additions & 45 deletions src/main/java/com/unitedcoder/classconcepts/Calculator.java

This file was deleted.

19 changes: 0 additions & 19 deletions src/main/java/com/unitedcoder/classconcepts/CalculatorTest.java

This file was deleted.

Loading