How to write effective GUI test automation code using Selenium and Java
Lars Trachsler, Ulrich Freyer-Hirtz
Dieser Vortrag steht als PDF-Dokument zur Verfügung.
Selenium is a popular open source framework for GUI test automation of web applications. With its capture-replay mechanism it lets us get quickly started with GUI test automation. With Selenium RC we get the power to script our tests in a language of our choice. As with all GUI test automation tools, it is just a tool that needs be used intelligently. Writing automated tests is programming, so the same rules are valid for tests and code to write robust, flexible, reusable and meaningful code. During work in several projects we indentified 7 rules for writing powerful test automation suites, which help us to minimize the effort for monkey testing and gives us time for more complex test cases.
After explaining these 7 rules with their implementation in SeleniumRC and Java we’ll show a running live example.
Die Referenten:
Lars Trachsler (SIX Group, Zürich) is a computer scientist working at the SIX Group in Zürich since ten years. For several years he worked in the application maintenance as Professional Application Development Engineer, responsible for miscellaneous financial applications developed by SIX Group. Actually he is team leader in the QA department and responsible for the testing of about 15 applications. In his free time he plays the drum in a “Guggemusik” marching band. Contact: lars.trachsler.tcl@six-group.com.
Ulrich Freyer-Hirtz (SQS AG, Köln) is a learned engineer and started his career developing embedded systems (face recognition). As a consultant he has more than ten years experience in most roles along the software development life cycle. He works for SQS AG in the competence centre "Application Intelligence". As champion of the innovation group "Agile QA", he coordinates the agile activities of the SQS AG in the DACH (German, Austria and Switzerland) region. Contact: u.f.h@gmx.de.
