Web Content Test Application (CTA) overview

This topic covers the list of developer tools which are available on xbox.com/play/dev-tools. These tools have been designed for use with the Edge and Chrome browsers on Windows, and with Safari on Mac, iOS and iPadOS.

Developer Home Page

To start using the developer tools, simply visit xbox.com/play/dev-tools.

On iOS or iPad OS, you can save this page as a progressive web app (PWA) by clicking the share button and selecting "Add to Home Screen". Once it is setup, this PWA will remember your account and configuration making it easy to return to later to continue testing.

  • For retail accounts, simply leave the sandbox blank and log in using the same account that is logged into the Xbox Development Kit or configured to access a private offering.

Note

For sandbox test accounts, remember to fill in the sandbox id before signing in. If this is not done, some features may not work appropriately as these accounts don't have access to retail features. In this case, it may be necessary manually log out of the account by visiting a different microsoft website like outlook.com and then try again with the correct sandbox ID.

Screenshot of sign in dialog

Once Signed in, this landing page has links to quickly get access to remote play and private offering selection. Depending on if the signed in account has been associated with a Xbox Development Kit or granted access to a private offering, some of the options may be disabled. If the account doesn't have access to any developer scenarios, an error message will be displayed with information on how to get setup. The below sections go into more detail on specific account setup requirements.

Screenshot of landing page

Screenshot of landing page error

Offering Selection

To use a specific offering, go to xbox.com/play/dev-tools/select-offering or click on "Select Offering" from the developer home page. On the offering selection page, the offerings you have access to will be pre-populated in the dropdown list. You can then select the offering, and click connect. If for some reason your desired offering is not in the dropdown list, you can manually enter it in the input box above, and click "Add offering".

After you click connect, you will be directed to the main catalog page configured for your offering. There will be text on the page which indicates that you are now using a custom offering. If you are unable to access the offering, ensure you are signed in to an account which is authorized to use that specific offering.

Note

Offerings currently do not automatically route users to the closest available data center. In order to control this, use the user.region query parameter to set the region to stream from. For more information contact your Microsoft representative.

Screenshot of offering selection page

Remote Connect

Xbox Development Kit setup

  • Note that you must do this part before attempting to log in to remote connect website - if you have not yet configured a Xbox Development Kit for remote use with your account, the remote connect page will redirect you back to the xbox.com/play landing page.
  • Log in to the Xbox Development Kit with the account (including a sandbox account) that you will use from the website
  • If you want, give the Xbox Development Kit a name so that you can easily identify it
  • Go to Dev Home -> Streaming -> under "Remote Connect" select your account.
    • As an alternative, remote connect can also be enabled via the consumer settings: Go to Dev Home -> Settings -> Launch Settings -> Devices & Connections -> Remote Features -> Enable Remote Features to enable remote connect

Screenshot of Streaming Remote Connect page

Getting Started on your remote device

Ensure you have completed the above step of setting up your Xbox Development Kit before proceeding. If you have not enabled remote features on your Xbox Development Kit, then instead of the remote connect page, you will get redirected back to the xbox.com/play page.

Make sure the client device you are connecting to your Xbox Development Kit from is on the same network as your Xbox Development Kit. Connections will also work over a VPN. Network traffic to the Xbox Development Kit will flow on UDP port 9002 so this port should also be unblocked by network configuration.

  • For sandbox accounts, append the sandbox ID for the account that is logged into the Xbox Development Kit to the following URL: xbox.com/play/dev-tools/direct-connect?sandboxId=. For example, if your sandbox ID is TestSandbox, your URL will be xbox.com/play/dev-tools/direct-connect?sandboxId=TestSandbox. Navigate to the connection string you have constructed, when prompted for credentials, log in with the sandbox account that is currently logged into the Xbox Development Kit which you are trying to connect to. If you are prompted to choose between a work and personal account, choose personal.
  • For retail accounts, navigate to xbox.com/play/dev-tools/direct-connect or click on "Remote Connect" from the developer home page. When prompted for credentials, log in using the same account that is logged into your Xbox Development Kit.

On iOS and iPadOS you will be able to save this page as a progressive web app (PWA) by clicking the share button and selecting "Add to Home Screen". This PWA will remember your sandbox ID when launched.

Once you are on the direct connect page, you may select the Xbox Development Kit that you are interested in connecting to, and click "Connect" below its icon to initiate a streaming session.

Screenshot of remote connect

Dev Settings Menu

When using a custom offering or connecting to a remote Xbox Development Kit, you will find a set of developer settings accessible from the gear icon in the top right of the xbox.com/play page. These developer settings include the ability to return to the developer tools homepage, change private offerings, and adjust stream configuration settings. Stream Configuration Overview includes more information about the specific stream configuration settings that can be overridden.

  • Enable TAK sideload
  • Sideload server address
  • Enable automatic refresh: enable automatic refresh for TAK sideload
  • Allow mouse interaction: allow mouse interaction on streaming with TAK

This dev settings menu is additionally always enabled on the xbox.com/play/dev-tools/select-offering and xbox.com/play/dev-tools/direct-connect pages.

Screenshot of dev mode

Dev Tools Menu

When streaming from a custom offering or from a Xbox Development Kit, you will have access to the developer menu, which can be found in the bottom left corner of the stream. After you click on this menu, you will have the ability to switch the active TAK layout if you are using the TAK CLI to sideload your layouts.

Screenshot of dev menu

Mouse and Keyboard

Mouse and Keyboard unlocks the gameplay experience that users have grown accustomed to and offers the opportunity for users to play games that only support mouse and keyboard. In addition, this enables users to play Mouse and Keyboard supported titles when they don't have a controller. For developers, supporting keyboard unlocks their ability to access internal debugging commands.

Make sure your CTA is setup for testing, you can follow the instructions here: Configure your web CTA

How to test Mouse and Keyboard

Once your Content Test Application (CTA) is setup, you can test your Mouse and Keyboard implementation by going to the account icon and navigating to the Developer tab as shown in the following screenshot.

Homepage on web CTA

After navigating to the Developer tab, toggle on "Mouse and Keyboard" to enable the feature.

Note

It is recommended to keep "Emulate touch with mouse" under the touch adaption section toggled OFF while testing Mouse and Keyboard. During a stream if both are on, mouse clicks will be interpreted as touch. However, tapping F9 will still enter and exit Mouse and Keyboard mode.

Settings on web CTA

Note

Players can use a shortcut key, typically F9, to enter and exit keyboard mode. While it is possible for players to remap this key, please avoid using F9 for critical game functionality if possible or allow players to remap keys within the game.

To enter Mouse and Keyboard mode you can left click on the screen once a stream is initiated, or tap F9. To exit Mouse and Keyboard mode tap F9.

Please reach out to your Microsoft account representative when you have completed testing and are ready to enable Mouse and Keyboard for all users.