Your transformation toolkit

Advance your enterprise testing strategy with our transformation toolkit.

Learn more

Case Study


How Tricentis Tosca helps Preem to achieve better control of their business systems while saving time and money
times return per 1 hour of investment
top systems to be integrated with tool within 2020
minute manual test cases take 30 seconds to run automatically

“With a recorded flow, you can pick different variants at low cost and get incredibly solid tests that no human hand could accomplish. In addition to saving time and money, we could do tests that would be perceived as far too monotonous for a human to perform.”

Magnus Sundset, Quality Manager for Requirements, Test and Release


Preem is Sweden’s largest fuel company. The company’s vision is to lead the transformation towards a sustainable society. Preem has 570 gas stations spread across Sweden and two refineries. The company refines almost 18 million tons of crude oil per year, refines renewable raw materials and has sales of fuel products to oil companies operating in Sweden and in the international market. About two-thirds of the production goes to exports, which makes Preem one of the largest Swedish exporters. Preem currently has two IT departments: Process IT at the refineries and Admin-IT, which handles, among other things, payroll and ordering systems. It is also Admin-IT who has decided to use Tricentis Tosca solution in order to save time and reduce costs when investigating how their own business processes work. With automated user-centric testing, the quality of Preem’s complex system landscape improved and the delivery speed increased. This is of importance to Preem as the company has relatively few service windows during the year.

A new system for evaluating business processes saves time and money

Preem previously used a manual testing tool to test the company’s business processes. When performing the tests, Preem used a variety of so-called regression tests which were used for upgrades and changes in those systems against which tests are performed. Some test cases may have about 100 test steps and therefore it took quite a while to complete them. “The problem is that when we do end-2-end tests, it becomes difficult to manage to run different variants of each test case and to go through an entire test suite. Long flows with different roles take a long time to execute manually and it is these user-centric tests that we need to automate to increase the quality of our complex system landscape, as well as increase the speed of delivery, as we only have a few opportunities to do tests throughout a year. But with Tosca we expect to have a very short time to perform tests on business-critical systems”, explains Magnus Sundset, Quality Manager for Requirements, Test and Release at Preem in Sweden.

The solution: A platform for continuous, automated software testing which does not require any coding and could be used by anyone

Preem chose Tricentis Tosca for test automation as well as Tricentis TDM studio for synthesizing data and producing test data. The system was easy to implement and to use. In addition, Preem can document as well as record employee processes to study in more detail how they use the system. This way Preem could conduct very stable tests. “With a recorded flow, you can pick different variants at low cost and get incredibly solid tests that no human hand could accomplish. In addition to saving time and money, we could do tests that would be perceived as far too monotonous for a human to perform. In addition, as I said, it was very easy to use and easy to maintain,” explains Magnus Sundset.

User friendly and easily reusable data

All Preem employees can use Tosca because:

  • The solution can be used on 70 percent of the internal system processes via the standard user interface
  • The tool has been well received by the employees
  • Users don’t need programming experience
  • Exploratory tests can be performed by all employees
  • The tool can reuse previous information because everything is updated in all places (if it is updated in one place it is automatically synchronized in other places)
  • Modules can be used, which makes it easier to maintain the test automation over time

The result: A user-friendly, automated and scalable solution which saves time as well as money

With the implementation of Tosca, the execution of test cases was accelerated and is now more stable. “A very important result is that we can now produce hundreds of versions of the same test case and thus test and validate the functionality in a completely different way than before,” explains Magnus Sundset. Another tangible result is that Preem has been able to eliminate long lines of work, such as crediting invoices. “In just a few hours, we could credit hundreds of invoices that would have taken hundreds of hours to do for a human being. By automating these systems, we can now deliver faster and release resources in the organization, since we do not have to carry out these steps manually”, he adds. The system has also become more scalable as Preem now has an end-to-end flow which can reuse previous information as everything is updated in all places. “It is also possible to reuse modules, which is great. This has meant that we save both time and money”, says Magnus Sundset.

The technology: Tosca is easily installed locally and runs together with the systems to be tested

Interoperable systems during test runs are Tosca as well as the system itself being tested. Tosca is installed at Test Automation Engineer locally on the computer. Then you log on to a server which provides the test cases you generate. The user logs in to the system to be tested, scans the user interface and then accesses an underlying code with the fields, which for instance, are being filled with data in a form. Then the user can easily enter the parameters needed to run a regular flow in the user interface, and then insert several variants on the same flow, thus verifying that error messages and others are triggered as they should.

The future: High expectations on the new solution

For Preem, automation is now already being built in when the development of the new functionalities takes shape. “Once you build, you want to get the automation into the system. We will work on this in several teams and in several areas. Then we can focus on providing added value with a new functionality and testing the old one. We can see what the tests reveal and send automatic reports to make it easier to see how it looks”, Magnus Sundset says and adds: “We will continue to implement and incorporate our top 20 systems by the end of 2020. A test case you do manually can take 15 minutes, but 30 seconds to run automatically – and you can run it as often as you like. This way we save 30 times 1 minute in 30 minutes. It does take some time to interview people, but we are already reaching break even on the fifth-sixth run. The rest is just profit.” Preem expects the new solution to produce a test result both before and after a production is being done, so one can act quickly before errors reach production. This also saves time because Preem does not have to carry out tests to the same extent as before. By doing so, Preem can release resources and increases the quality of its systems.

The Benefits

  • Faster and more secure testing of important applications
  • Reduced time required
  • Reduced consulting costs
  • Increased availability of internal resources
  • Increased productivity among employees
  • Increased productivity through application integration
  • Easier maintanance


Preem’s Admin-IT department has chosen to use Tricentis Tosca solution to save time and reduce costs when researching and testing their own business processes. With automated user-centric testing, the quality of Preem’s complex system landscape increases, but also the speed of delivery. With the new solution, Preem very quickly receives information on how the business systems work. Preem expects Tricentis to return five times per hour invested.