Bytesalt Runpad
Tests
Code

Code

You can add code anywhere within a test. Here's how to add a new code step from within the test editor:

  1. Select a screen and add a step from the right panel.
  2. Choose 'New code step'. Code
  3. Write your code. Runpad supports JavaScript. Code
  4. Check out the snippets for commonly used code.
  5. Hit Test to ensure your code runs as expected.
  6. When you're done, hit Save.

You can also reuse a code step among different tests using Components. Read more here.