Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Selenoid + Allure - How to use these tools together?

1,223 views

Published on

In this presentation I showed how to use Allure with Selenoid together. Presentation was in Warsaw for conference "Automatyzacja testowania - prawdy i mity" (Unfortunately, animations from presentation don't work)

Published in: Engineering
  • Be the first to comment

  • Be the first to like this

Selenoid + Allure - How to use these tools together?

  1. 1. Selenoid Allure
  2. 2. mail: kontakt@testingplus.me Software Developer In Test –Artist Growth Vice-leader - PtaQ (ptaq.org) Blog – testingplus.me Workshops, consultations ABOUT ME
  3. 3. Agenda • What is it Allure? • What is it Selenoid? • Advantages • How you can use it together? • Demo
  4. 4. Site for automation test http://testpagefor.home.blog
  5. 5. Scenarios to implement
  6. 6. 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)Ś
  7. 7. Allure - example report https://demo.qameta.io/allure/
  8. 8. 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)
  9. 9. Allure -report • Support for CI – Jenkins, Bamboo, TeamCity • Run without CI
  10. 10. Setup Allure on Jenkins
  11. 11. Allure on the code
  12. 12. STANDARD SELENIUM GRID
  13. 13. Selenoid • Supported by Yandex • Alternative to default Selenium Grid
  14. 14. Advantages Faster then normally selenium grid It’s possible to set timezone for browser Open Source and maintated Support by big company – Yandex Docker easy to increase size Video from test VNC during test
  15. 15. Setup Selenoid
  16. 16. Selenoid UI ./cm selenoid-ui start
  17. 17. BROWSER.JSON
  18. 18. SELENOID IN THE CODE
  19. 19. BROWSERS.JS ON – MORE ADVANCED
  20. 20. STATUS SELENOID curl -s http://example.com:4444/pi ng
  21. 21. ./cm • Manager for selenoid
  22. 22. Useful commands Update last five browsers ./cm selenoid update --last-versions 5 —vnc Logs to Selenoid http://urlToSelenoid:4444/logs/
  23. 23. Video Available on http://urlToSelenoid:4444/video
  24. 24. Remove video older then 120 mins
  25. 25. VNC It’s from default 01 It’s possible to follow scenarios 02 Help to debug 03
  26. 26. Nunit Console Runner • Run tests from console by .dll
  27. 27. Allure + Selenoid + Tests - demo
  28. 28. 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
  29. 29. LINK TO GITHUB https://github.com/testingplusme/WordpressTests
  30. 30. Q&A

×