Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
c48c1ab
Update .gitignore
sharif-jobayed Jul 6, 2024
8756cf0
Setup project
sharif-jobayed Jul 6, 2024
7b950e4
Setup DriverTools.java
sharif-jobayed Jul 6, 2024
ba3e481
Indent DriverTools.java
sharif-jobayed Jul 6, 2024
e9965ea
Update DriverTools.java
sharif-jobayed Jul 6, 2024
5b1709b
Update Constants.java
sharif-jobayed Jul 6, 2024
6d46d3b
Set up BaseTest.java
sharif-jobayed Jul 6, 2024
db048c1
Setting up BaseElement.java
sharif-jobayed Jul 6, 2024
9b6b84f
Set up framework
sharif-jobayed Jul 6, 2024
723ef4c
Indent code
sharif-jobayed Jul 6, 2024
0f065f4
Set up Gradle
sharif-jobayed Jul 7, 2024
e97b92f
Set up Gradle
sharif-jobayed Jul 7, 2024
a59da30
Delete gradlew
sharif-jobayed Jul 7, 2024
382f88b
Delete gradle directory
sharif-jobayed Jul 7, 2024
ce139c7
Delete gradlew.bat
sharif-jobayed Jul 7, 2024
ae26af4
Update .gitignore
sharif-jobayed Jul 7, 2024
11e78aa
Merge remote-tracking branch 'origin/TestNG_TheInternetHerokuApp-0001…
sharif-jobayed Jul 7, 2024
ac1abee
Update framework
sharif-jobayed Jul 7, 2024
f116369
Remove empty variable
sharif-jobayed Jul 7, 2024
2e45c1e
Change TestNG annotation
sharif-jobayed Jul 7, 2024
ab20702
Working on HomePageTest.java
sharif-jobayed Jul 7, 2024
ef4bb1b
Remove unnecessary imports
sharif-jobayed Jul 7, 2024
fea40d4
Remove unnecessary method
sharif-jobayed Jul 7, 2024
a34fdbe
Make getPagesList() static
sharif-jobayed Jul 7, 2024
8f3d085
Remove unnecessary imports
sharif-jobayed Jul 7, 2024
bc0eb34
Pass A/B Testing
sharif-jobayed Jul 7, 2024
2d3986a
Pass A/B Testing link & page
sharif-jobayed Jul 7, 2024
3a54261
Declare allure steps
sharif-jobayed Jul 7, 2024
ef47af7
Add page status assertions
sharif-jobayed Jul 8, 2024
4262f63
Add line gaps between steps
sharif-jobayed Jul 8, 2024
6095176
Remove unnecessary wait
sharif-jobayed Jul 8, 2024
a2ac230
Correct indentation
sharif-jobayed Jul 8, 2024
8960e39
Remove unnecessary import
sharif-jobayed Jul 8, 2024
4e5ab4a
Complete setting up the framework
sharif-jobayed Aug 14, 2024
b416537
Connect tests
sharif-jobayed Aug 15, 2024
091d33d
Simplify hasTargetText()
sharif-jobayed Aug 15, 2024
7c106d2
Rename test method
sharif-jobayed Aug 15, 2024
94ab102
Update GitIgnore
sharif-jobayed Sep 21, 2024
14cdd6c
Run parallel tests
sharif-jobayed Sep 30, 2024
2af4c84
Add headless drivers
sharif-jobayed Oct 22, 2024
a321456
Accept JS Alert
sharif-jobayed Oct 22, 2024
86b7d54
Handle iFrame
sharif-jobayed Oct 22, 2024
4b59b8e
Add method returnToDefaultContent()
sharif-jobayed Oct 22, 2024
5499e7c
Run testng.xml
sharif-jobayed Oct 22, 2024
6e6057a
Run parallel test
sharif-jobayed Oct 22, 2024
c83aa21
Run testng groups
sharif-jobayed Oct 22, 2024
f2090aa
Migrate scroll to JS Executor
sharif-jobayed Oct 23, 2024
ddadd95
...
sharif-jobayed Oct 23, 2024
bb5d072
Apply Actions class
sharif-jobayed May 14, 2025
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
202 changes: 158 additions & 44 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,73 +1,187 @@
# =========================
# System Files
# =========================
.DS_Store
Thumbs.db
$RECYCLE.BIN/
Desktop.ini

# macOS
.AppleDouble
.LSOverride

# Windows
*.bak
*.swp
*.swo

# Linux
*~

# =========================
# Logs
# =========================
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# =========================
# Environment Variables
# =========================
.env
.env.local
.env.*.local
*.env

# =========================
# Package Managers and Dependencies
# =========================
node_modules/
package-lock.json
yarn.lock
pnpm-lock.yaml
.npm/

# =========================
# Build Directories (Common for Java, JavaScript, etc.)
# =========================
dist/
build/
target/
out/
tmp/
logs/

# =========================
# IDEs and Editors
# =========================

# IntelliJ IDEA
.idea/
*.iws
*.iml
*.ipr
out/

# VS Code
.vscode/
# NetBeans
nbproject/private/

# Eclipse IDE
# Eclipse
.project
.classpath
.settings/
bin/

# NetBeans IDE
nbproject/private/
nbbuild/
dist/
nbdist/
.nb-gradle/
# VSCode
.vscode/
.history/

# Java
# =========================
# Java (Maven, Gradle, and General)
# =========================
*.class
*.jar
*.war
*.ear
*.jcache
*.jfr

# NodeJS
node_modules/
npm-debug.log
yarn-error.log

# Gradle
.gradle/
build/
!gradle-wrapper.jar

# Maven
target/
# Maven-specific
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

# Allure Report
allure-results/
allure-report/
# Gradle-specific
/gradle/
.gradle/
gradle-app.setting
gradle/wrapper/gradle-wrapper.properties
gradle/wrapper/gradle-wrapper.jar

# TestNG
test-output/
# =========================
# JavaScript and Frameworks (React, Vite, etc.)
# =========================
*.js
*.jsx
*.ts
*.tsx
*.map

# Babel
.babelrc
.babelrc.js
.babelrc.json
.babelignore
babel.config.js
babel.config.json

# Vite
.vite/

# Cucumber
cucumber-report/
# Webpack and Parcel (optional, depending on your bundler)
.cache/
.parcel-cache/
*.webpack/

# Selenium
# Tailwind CSS
tailwind.config.js
tailwind.config.ts

# =========================
# Selenium and WebdriverIO
# =========================
selenium-server-standalone-*.jar
selenium.log
webdriverio-report/

# General
.DS_Store
Thumbs.db
*.swp
*.swo
*.bak
*.tmp
*.log
*.out
# =========================
# TestNG, Cucumber, and Testing Tools
# =========================
test-output/
.cucumber/
rerun.txt

# Temporary files
tmp/
temp/
# =========================
# Jenkins
# =========================
*.lastStable
*.lastSuccessful
*.lastUnstable
*.lastUnsuccessful
*.buildNumbers
*.fingerprint
*.jenkins/
workspace/
builds/
config.xml
jobs/*/config.xml

# =========================
# Allure and Extent Report
# =========================
allure-results/
allure-report/
extent-report/
extent-results/

# =========================
# Coverage Reports
# =========================
coverage/
*.lcov
.nyc_output/

# =========================
# Miscellaneous
# =========================
# Ignore private files
secrets.yml
secret-key.txt

# Temporary files and backups
*.tmp
34 changes: 34 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
plugins {
id 'java'
}

group = 'SeleniumWebdriver'
version = '1.0-SNAPSHOT'

repositories {
mavenCentral()
}

def allureVersion = "2.24.0"
def aspectJVersion = "1.9.20.1"

configurations {
agent {
canBeResolved = true
canBeConsumed = true
}
}

dependencies {
testImplementation 'org.seleniumhq.selenium:selenium-java:4.23.1'
testImplementation 'org.testng:testng:7.10.2'
testImplementation 'com.google.code.gson:gson:2.11.0'
testImplementation platform("io.qameta.allure:allure-bom:$allureVersion")
testImplementation "io.qameta.allure:allure-testng"
agent "org.aspectj:aspectjweaver:$aspectJVersion"
}

test {
useTestNG()
jvmArgs = ["-javaagent:${configurations.agent.singleFile}"]
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Tue Aug 13 11:40:03 BDT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading