Code
You can add code anywhere within a test. Here's how to add a new code step from within the test editor:
- Select a screen and add a step from the right panel.
- Choose 'New code step'.
- Write your code. Runpad supports JavaScript.
- Check out the snippets for commonly used code.
- Hit Test to ensure your code runs as expected.
- When you're done, hit Save.
You can also reuse a code step among different tests using Components. Read more here.