WILL IT PASS OR NOT? #2

A FEW WORDS ABOUT AUTOMATION

Bartłomiej Kania

AGENDA

  • Tools
  • Selenium
  • Selenium Grid
  • TestNG
  • Examples

welcome

Tools

tools

Selenium

selenium

Selenium Grid

grid

Source: https://www.guru99.com/introduction-to-selenium-grid.html

Selenium Grid

grid1

Selenium Grid

grid2

TestNG

  • JUnit vs TestNG
  • Annotations
  • Parallel browser testing and how it works
  • Simple example with testng.xml

TESTNG.XML

testng

Example #1

example1

Example #2

example2

Example #3

https://username:password@railwaymen.org

Example #4

example4

Example #5

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.957 s
[INFO] Finished at: 2017-10-19T17:48:41+02:00
[INFO] Final Memory: 23M/144M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project test1: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\Bartomiej Kania\IdeaProjects\test1\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] The forked VM terminated without properly saying goodbye. VM crash or System.exit called?

Thank you!

thx