Skip to content
All projects

TestFactory: a single automation platform for an entire operator

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
Hundreds of automated scripts were created in different tools and nobody knows how many of them work.
Approach
We build TestFactory: a shared framework, a repository of business steps, a test data catalog and a run schedule.
Goal
Full regression time: from days to hours, target ≤ 8 h; Share of automated regression cases: ≥ 70% of critical paths.

Client context

Telecom operators serve millions of customers on BSS/OSS systems that have grown over decades. Every change to a tariff, number porting process or service activation touches many systems at once. The client is a telecom operator with a dozen or so teams developing BSS/OSS systems, a customer portal and an app, each with its own test scripts.

Challenge

Hundreds of automated scripts were created in different tools and nobody knows how many of them work. End-to-end tests of processes (service activation, number porting, tariff change) require coordination across several teams.

Requirements and constraints

  • The Polish Electronic Communications Law regulates, among other things, the confidentiality of communications, number portability, protection of traffic data and information obligations toward subscribers. Changes to BSS/OSS systems must preserve these processes without interruption. (source)
  • The GDPR, i.e. Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, data processing agreements and, for high-risk processing, a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
  • NIS2, i.e. Directive (EU) 2022/2555, and the amendment to the Polish National Cybersecurity System Act (KSC) require essential and important entities to implement cybersecurity risk management measures, supply chain security and incident reporting within short deadlines (early warning within 24 hours). Management is personally liable, so documenting decisions is part of the product. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, every deliverable accompanied by documentation that the client's team can take over.

Approach and architecture

We build automation following the test pyramid: the most tests at the unit and API level, fewer at the UI level, and end-to-end scenarios only for critical business paths. The framework is built as a product (with code reviews, versioning and documentation) and runs in the CI pipeline from the first sprint, so the development team gets feedback in minutes, not after a week.

We build TestFactory: a shared framework, a repository of business steps, a test data catalog and a run schedule. We review the existing scripts and migrate only those that have value. End-to-end processes are assembled from steps maintained by the owning teams.

Key elements of the solution:

  • A shared framework with a step library per system
  • A test data catalog (numbers, subscribers, SIM cards) with reservations
  • Orchestration of end-to-end tests across systems
  • A quality dashboard for every team and process

Team and roles

RoleCountResponsibility
Solution architect1target architecture, ADR decisions, technical reviews
QA lead1organizing testers' work, test case reviews, defect metrics
Test automation engineer5framework, scripts, CI integration
DevOps engineer1CI/CD pipeline, infrastructure as code
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Regression audit and candidate selection1–4automation map, cost-benefit analysis
2. Framework build and CI integration5–11framework, pipeline, test code standard
3. Automating critical paths12–24smoke and regression suites
4. Stabilization and reporting25–31quality dashboard, quarantine of flaky tests
5. Handover and team training32–36documentation, workshops, maintenance plan

Technology stack

Java, Selenium, REST Assured, Robot Framework, Jenkins, PostgreSQL, Grafana.

Risks and how we mitigate them

RiskHow we mitigate it
Low adoption by userschampions in each department, training on their own cases, usage measured from day one
Flaky automated teststest quarantine, root cause analysis, stable selectors and independent data
Unavailable or unstable test environmentsenvironment booking schedule, virtualization of external services (mocks), a daily environment smoke test
No test data without personal dataa synthetic data generator and masking that preserves referential integrity; a ban on copying production into tests

Measurable goals and KPIs

The values below are targets that we set with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Full regression timefrom days to hours, target ≤ 8 hsuite execution time in CI
Share of automated regression cases≥ 70% of critical pathstest repository
Share of flaky tests< 2%pipeline report (tests with varying results)

Lessons learned and good practices

A shared framework makes sense only if the teams own their steps. A test data catalog with reservations eliminates conflicts between teams testing in parallel. A flaky test is worse than no test, because it undermines trust in the whole suite.

Why B2B.net

B2B.net S.A. has operated since 2015 and has worked for more than 50 brands, mostly where audits are a daily reality: in banks, insurers and critical infrastructure. We are an accredited exam center, so testing methodology is not a claim for us but a working standard. We give a first proposal of engineers within 24 hours, and a team can start in 5 business days.

Acceptance criteria

Each phase ends with formal acceptance against criteria agreed at the start. In this implementation, acceptance covers: automation map, cost-benefit analysis; framework, pipeline, test code standard; smoke and regression suites; quality dashboard, quarantine of flaky tests; documentation, workshops, maintenance plan. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.

Next step

Facing a similar challenge? Write to office@b2bnetwork.pl or call +48 577 317 312. You get a first proposal of engineers or a plan for the first step within 24 hours.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Telecommunications