Selenoid
Allure
mail:
kontakt@testingplus.me
Software Developer In Test –Artist Growth
Vice-leader - PtaQ (ptaq.org)
Blog – testingplus.me
Workshops, consultations
ABOUT ME
Agenda
• What is it Allure?
• What is it Selenoid?
• Advantages
• How you can use it together?
• Demo
Site for
automation
test
http://testpagefor.home.blog
Allure
• Html report from execution tests
• Support technologies Java, Python, Js, C#, Ruby
• Support by Yandex
• Possible to add attachments such as (e.g. -.html,
.xml, .mp4, .png, .txt, .json, .pdf)
Allure - example report
https://github.com/allure-framework/allure-demo
Allure
on the code
• Two applications:
• Package for project which is creating
allure-results directory
• Allure CommandLine - create report
from allure-results directory (Also, as
Jenkins plugin)
Allure -report
• Support for CI – Jenkins, Bamboo, TeamCity
• Run on CI without plugin
• Run without CI
Setup Allure on Jenkins
Allure on the code
STANDARD SELENIUM GRID
Selenoid
• Supported by Yandex
• Alternative to default Selenium Grid
Advantages Faster then
normally selenium
grid
It’s possible to set
timezone for
browser
Open Source and
maintained
Support by big
company – Yandex
Docker easy to
increase size
Video from test
VNC during test
Setup Selenoid
Selenoid UI
./cm selenoid-ui start
BROWSER.JSON
SELENOID IN THE
CODE
BROWSERS.JS
ON – MORE
ADVANCED
STATUS SELENOID
curl -s
http://example.com:4444/pi
ng
./cm
• Manager for selenoid
Useful commands
Update last five browsers
./cm selenoid update --last-versions 5 —vnc
Logs to Selenoid
http://urlToSelenoid:4444/logs/
Video
Available on http://urlToSelenoid:4444/video
Remove
video older
then 120
mins
VNC
It’s from default
01
It’s possible to follow
scenarios
02
Help to debug
03
Nunit Console Runner
• Run tests from console by .dll (Windows)
Allure + Selenoid
+ Tests - demo
Selenoid + GGR
GGR it’s load
balancer for
Selenium
01
Possible to have a
lot container ( e.g.
100 nodes)
02
Cheaper option
then
BrowserStack,
SauceLabs
03
Basic Auth
04
LINK TO
GITHUB
https://github.com/testingplusme/WordpressTests
Q&A
Selenoid i Allure - jak używać tych narzędzi razem

Selenoid i Allure - jak używać tych narzędzi razem