Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

How to simulate perception for an existing Holographic app

Hi,

I am very new to Hololens testing. I have installed the Hololens emulator. Now, what I would like to do is to Write automated tests to test one of our existing holographic apps.

Pl guide me achieve this. It would be helpful, if you can also guide me to write integration tests to test our app.

Comments

  • Options

    What kind of automated tests? What exactly do you want to make sure works? What does the app do?

    Taqtile

  • Options
    SwathiJSwathiJ
    edited July 2017

    Hi,

    By automated tests, I mean being able to simulate the entire app workflow starting from sign in, validating the signin.
    Being able to place the 3 D model and interact with the model etc..

    What I would like to achieve is
    1. Install the app on the emulator->Launch the app
    2. Identify the gameobjects->Interact with the gameObjects->Assert for the results

    What I have tried till now is Create a Console Project->Simulate a few gestures. I would like to do something similar to what UnityTestTools does..

  • Options

    Try using the InputManager prefab from the Holotoolkit. It contains a few scripts that map air tap, camera movement, and user movement to keyboard keys. The controls aren't too difficult to figure out: WASD to move in space, use the mouse to change where your camera is facing, and hold down spacebar + click the left mouse button to air tap (and hold both to drag). You could write a script that simulated gestures with keypresses.

  • Options

    Hi George,

    Thanks for the input. The app had been developed from Unity and built as a Windows holographic D3D solution.

    I am able to launch this application in VS 2015, and run on Emulator.
    Now, how do I start writing UI tests for this application? Is there a way to achieve this?

Sign In or Register to comment.