_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Automated UI Testing with Selenium WebDriver

22. 05. 2012 1 min read CORE SYSTEMSai
Automated UI Testing with Selenium WebDriver

Every release required two days of manual testing — 150 scenarios. With two releases per month, that was a quarter of a tester’s time. We decided to automate.

Page Object Pattern

Every page has a Java class encapsulating its elements and actions. A UI change means updating the Page Object; the tests remain unchanged.

Test Stability

Explicit waits instead of Thread.sleep(). Independent tests. Stable test data (DB snapshot). Headless mode (Xvfb) for CI.

Integration with Jenkins

Selenium tests run after deployment to the test server. 40 tests in 15 minutes.

What to Automate

Smoke tests, regression tests for critical flows, CRUD of main entities. Not: exploratory testing, UX review.

Results After 6 Months

40 tests, 60 percent coverage of critical scenarios. Manual testing reduced from 2 days to 4 hours. Regression bugs down by 40 percent.

seleniumtestingqaautomatizace
Share:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Need help with implementation?

Our experts can help with design, implementation, and operations. From architecture to production.

Contact us