Stb-tester supports all Roku models, including the Streaming Sticks.

Roku HTTP remote control#

All Roku models except for the Streaming Sticks support infrared remote control. To control the Roku Streaming Sticks, you can use the Roku’s HTTP API instead.


  1. The Roku device and the Stb-tester Node must be on the same network.

  2. On the Roku, go to Settings > Network > About. Note the Roku’s IP address.

  3. On the Roku, go to Settings > System > Advanced system settings > Control by mobile apps > Network access. Make sure that it is set to “Default” or “Permissive”.

  4. In your test-pack, create a configuration file for each Stb-tester Node under config/test-farm/, for example config/test-farm/stb-tester-xxxxxxxxxxxx.conf (for more details see Configuration Reference: Node-specific configuration files).

  5. In the configuration file for the relevant Stb-tester Node, specify test_pack.default_remote_control=roku_http and device_under_test.ip_address= (change the actual IP address to the one you noted in step 2 above). For example:

    default_remote_control = roku_http
    ip_address =

Key names#

In your test scripts you can use the following key names:

  • "KEY_BACK"

  • "KEY_HOME"

  • "KEY_UP"

  • "KEY_DOWN"

  • "KEY_LEFT"


  • "KEY_OK"

  • "KEY_AGAIN" (instant replay)

  • "KEY_INFO" (star, options)




You can also use the raw key names of Roku’s HTTP protocol directly (for example, "Lit_a" to enter the letter “a” when an on-screen keyboard is present).


We have tested 60,000 keypresses over 3 days without a single missed keypress (we validate that each and every keypress had the expected effect in the Roku’s UI).

Roku devices never really go to sleep, so you won’t have any issues in waking the device using the HTTP control mechanism.