Page Object Model utilities for Selenide.
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
dependencies {
testImplementation 'com.github.qky666:selenide-pom:<selenide-pom version>'
// should add 'selenide' or 'selenide-appium' too
// testImplementation("com.codeborne:selenide:<selenide version>")
// testImplementation("com.codeborne:selenide-appium:<selenide version>")
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.qky666</groupId>
<artifactId>selenide-pom</artifactId>
<version>[selenide-pom version]</version>
</dependency>
<!-- should add 'selenide' or 'selenide-appium' too
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide</artifactId>
<version>[selenide version]</version>
</dependency>
<dependency>
<groupId>com.codeborne</groupId>
<artifactId>selenide-appium</artifactId>
<version>[selenide version]</version>
</dependency>
-->
https://jitpack.io/com/github/qky666/selenide-pom/latest/javadoc/
[] (https://jitpack.io/#qky666/selenide-pom)
Template for a Selenium Kotlin automation project using selenide-pom.
See cookiecutter documentation.
cookiecutter gh:qky666/selenide-pom --directory cookiecutter
Documentation: https://kotlinlang.org/
Installed with IntelliJ IDEA
Documentation: https://www.python.org/
Required by allure-combine.
TestNG: https://testng.org/doc/index.html
Log4j: https://logging.apache.org/log4j/2.x/#
Allure: https://docs.qameta.io/allure-report/
allure-combine: https://github.com/MihanEntalpo/allure-single-html-file
Cucumber: https://cucumber.io/
Selenide: https://selenide.org/index.html
Selenide-POM: https://github.com/qky666/selenide-pom
Versions used to test selenide-pom:
selenide-pom version | selenide version | Gradle version | Java version |
---|---|---|---|
0.28.1 | 7.3.3 | 8.8 | 21 |
0.28.2 | 7.3.3 | 8.8 | 21 |
0.28.3 | 7.5.1 | 8.10.2 | 21 |
0.28.4 | 7.5.1 | 8.10.2 | 21 |
0.29.0 | 7.5.1 | 8.10.2 | 21 |
See scoop homepage for details.
To install scoop, open a PowerShell terminal and run:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
Some basic scoop configuration and packages:
scoop install git sudo
C:\Users\<user>\scoop\apps\7zip\current\install-context.reg
git config --global credential.helper manager
C:\Users\<user>\scoop\apps\git\current\install-context.reg
C:\Users\<user>\scoop\apps\git\current\install-file-associations.reg
scoop update
# The next 3 commands may need Admin rights:
sudo Set-ItemProperty 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1
scoop install innounp
scoop install dark
# It is also recommended to activate developer mode in Windows configuration.
Some basic packages for Selenium/Selenide:
scoop bucket add extras
scoop bucket add java
scoop install openjdk python cookiecutter allure idea
To check potential problems in scoop:
scoop checkup
After executing this command, scoop will suggest you actions to fix problems found.
To update scoop:
scoop update
To know if any package needs update:
scoop status
To update all installed packages:
scoop update -a
To clean cache and old apps:
scoop cleanup -k -a