Tests built from what already works in your system
Test scripts take time to write and are often out of date by the next release. Offwidth builds tests with you in a conversation, keeps them, and runs them again whenever something changes.
YouI need a test for creating a standard sales order for a domestic customer.
OffwidthI found three recent orders of that type in the test system and used them as the pattern: order type, sales area, a material with stock, the pricing that applies.
The test creates the order and reads it back. It passed. Should the net value be something that must match, or only recorded?
Steal with pride
A document that already went through a process is a good template for testing it. Offwidth reads existing orders, materials and postings in your system and uses them as the pattern for a new test. Every test is saved with its versions, so you can see what changed and when.
See it work in Fiori
In the Offwidth desktop app, the Fiori screen sits next to the conversation. In this example Offwidth sets up a purchasing info record, creates the purchase order, checks the price and posts the goods receipt. It asks for your approval once, before it changes anything. You can take over at any point.
You decide what good looks like
A test should check more than that nothing crashed. Over time you add the things that matter to the business.
- Success criteria in plain words. Mark each one as must pass or record only, with a tolerance where a small difference is fine.
- Refined by talking. Say what should be checked and Offwidth updates the test. Each change is a new version.
- Less work each time. You build the first tests in conversation. Later you start a run and read the result.
Single tests, flows and runs
Start small and connect the pieces as you go.
- Single tests One business step, such as creating an order or posting a goods receipt, with the result read back and checked.
- Flows Single tests chained together, with data passed from one step to the next.
- Runs A set of tests and flows run against a set of data. A run continues in the background after you start it, with up to two lanes in parallel.
A flow, step by step
In this example a test flow buys a new material from a new vendor. Each step passes what it created to the next one. Before the goods receipt is posted, the price check compares the purchase order with the info record, and that check must pass.
Through the API, or through Fiori
- Through SAP APIs. Tests call the system's OData services. That is quicker and more robust than clicking through screens, and it is the default.
- Through Fiori. Where a step only exists on screen, Offwidth works in the Fiori app itself, in the Offwidth desktop app on your own machine. You can watch and take over at any time.
When a test fails, you get the reason
A failed step shows what was expected, what came back and the message SAP actually gave. Offwidth looks into a blocked step with you in the conversation, and writes up the run as a report when you ask for one.
Careful with live systems
Every system is classified, and a system nobody has classified is treated as production. Anything that writes to a live system waits for a person's approval.