AltTester® Unity SDK Logo
2.2.5

Table of contents:

  • Home Page
  • AltTester® Unity SDK
    • Overview
      • How it works
      • Key features
    • Get Started
      • Import AltTester® package in Unity Editor
        • Resolve dependencies
      • Instrument your app with AltTester® Unity SDK
      • Start the AltTester® Server Module
      • Run your app in Unity or on desired platform
      • Write and execute first test for your app
    • AltTester® Editor
      • Tests List
      • Build Settings
      • Test run Settings
      • Scene Manager
      • Build & Run Settings
    • API
      • AltDriver
        • Find Objects
          • FindObject
          • FindObjects
          • FindObjectWhichContains
          • FindObjectsWhichContain
          • FindObjectAtCoordinates
          • GetAllElements
          • WaitForObject
          • WaitForObjectWhichContains
          • WaitForObjectNotBePresent
        • SetCommandResponseTimeout
        • GetDelayAfterCommand
        • SetDelayAfterCommand
        • SetImplicitTimeout
        • GetImplicitTimeout
        • Input Actions
          • KeyDown
          • KeyUp
          • HoldButton
          • MoveMouse
          • PressKey
          • PressKeys
          • Scroll
          • Swipe
          • MultipointSwipe
          • BeginTouch
          • MoveTouch
          • EndTouch
          • Click
          • Tap
          • Tilt
          • ResetInput
        • Screenshot
          • GetPNGScreenshot
        • Unity Commands
          • PlayerPrefKeyType
          • GettingPlayerPrefs
          • SettingPlayerPrefs
          • DeleteKeyPlayerPref
          • DeletePlayerPref
          • GetCurrentScene
          • LoadScene
          • UnloadScene
          • GetAllLoadedScenes
          • WaitForCurrentSceneToBe
          • GetApplicationScreenSize
          • GetTimeScale
          • SetTimeScale
          • CallStaticMethod
          • GetStaticProperty
          • SetStaticProperty
        • Other
          • SetServerLogging
      • AltObject
        • FindObjectFromObject
        • CallComponentMethod
        • WaitForComponentProperty
        • GetComponentProperty
        • SetComponentProperty
        • GetText
        • SetText
        • Tap
        • Click
        • PointerDown
        • PointerUp
        • PointerEnter
        • PointerExit
        • UpdateObject
        • GetParent
        • GetScreenPosition
        • GetWorldPosition
        • GetVisualElementProperty [Non-GPL]
        • WaitForVisualElementProperty [Non-GPL]
      • BY-Selector
        • Escaping characters
        • AltId
      • AltReversePortForwarding
        • ReversePortForwardingAndroid
        • RemoveReversePortForwardingAndroid
        • RemoveAllReversePortForwardingsAndroid
    • Running tests together with Appium
      • Why use Appium together with AltTester® Unity SDK
      • AltTester® Unity SDK with Appium example
    • Running tests using device cloud services
      • BrowserStack
        • BrowserStack App Automate C# project example
          • Prerequisites
          • Steps for running tests on Android and iOS
        • BrowserStack with GitHub Actions C# project example
          • Local testing connection using BrowserStackLocal
          • Prerequisites
          • Setup steps
      • SauceLabs
        • SauceLabs C# project example
          • Prerequisites
          • Steps for running tests on Android and iOS
      • AWS Device Farm
        • AWS Device Farm Python project example
          • Preparation steps
          • Steps for running tests on Android using the remote connection
        • AWS Device Farm C# project example
          • Preparation steps
          • Steps for running tests on Android using the remote connection
      • BitBar
        • Brief description of the working setups
        • BitBar C# project example running server-side
          • Prerequisites for running AltTester® Server
          • Preparation steps
          • Steps for running the tests
        • BitBar C# project example running client-side
          • Prerequisites for running AltTester® Server (remote connection)
          • Preparation steps
          • Steps for running the tests
        • BitBar Python project example running server-side
          • Prerequisites for running AltTester® Server
          • Preparation steps
          • Steps for running the tests
        • BitBar Python project example running client-side
          • Prerequisites for running AltTester® Server (remote connection)
          • Preparation steps
          • Steps for running the tests
      • GitHub
        • GitHub Action documentation
        • Unity Builder
        • Example project for running tests on a public machine
    • Examples
    • Advanced Usage
      • AltTester® input
      • AltTester® input vs. regular input
      • Build apps from the command line
      • How to make a production build
      • Run tests from the command line
      • Run tests on a Continuous Integration Server
      • What is reverse port forwarding and when to use it
        • How to setup reverse port forwarding
          • In case of Android
          • In case of iOS
      • Connect AltTester® Unity SDK running inside the app to AltTester® Server
        • Establish connection when the instrumented app and the test code are running on the same machine
        • Establish connection when the app is running on a device connected via USB
        • Establish connection via IP when the app is running on a device
        • Establish connection when different instances of the same app are running on multiple devices
          • Connection through IP
          • Connection through USB
        • Establish connection when multiple instances of the same application are running on the same device
          • Connection through IP
          • Connection through USB
      • Execute tests concurrently
      • Using AltTester® Unity SDK in Release mode
      • Logging
        • AltTester® Unity SDK logging
        • AltDriver logging
      • Logging in WebGL
      • Code Stripping
      • Generate testing reports using Allure
        • NUnit
          • Prerequisites
          • Setup
          • How to run the tests to obtain an Allure report
          • How to check the results
          • Examples
        • Pytest
          • Prerequisites
          • Setup
          • How to run the tests to obtain an Allure report
          • How to obtain a single html report
          • Examples
        • Java
          • Prerequisites
          • Updating the pom.xml
          • How to run the tests to obtain an Allure report
          • How to obtain a single html report
          • Examples
    • Upgrade Guides
      • Upgrade from v1.6.6 to v1.7.0
        • Dotnet
        • Python
        • Java
      • Upgrade from v1.7.2 to v1.8.0
        • Unity
        • Python
        • Dotnet
        • Java
      • Upgrade from v2.2.2 to v2.2.5
        • Dotnet
    • FAQ
      • Troubleshooting
    • Known Issues
      • Driver
        • Calling GetPNGScreenshot throws StackOverflow error (.NET Driver)
      • New Input System
        • Touch or Mouse actions do not work in tests
        • The PressKey command does not work
        • Player Input is not working when connected to AltTester® Unity SDK/Desktop
      • AltTester® Editor
        • Playing in Editor throws EntryPointNotFoundException: WebSocketSetOnOpen assembly:<unknown assembly> type:<unknown type> member:(null)
        • Play in Editor does not start the instrumented app in the Unity Editor
        • Opening AltTester® Editor throws IndexOutOfRangeException: Index was outside the bounds of the array
      • BlueStacks
        • Instrumented app with AltTester® Unity SDK stops working in BlueStacks
      • Networking & Connectivity
        • AltTester® does not support proxy configurations
        • WegGL app disconnects
        • Impossibility to connect to AltTester® Desktop an IL2CPP instrumented app built with Managed Stripping Level higher than Minimal which throws InvalidCommandException: Unable to find a constructor to use for type AltTester.AltTesterSDK.Driver.Commands.AltGetServerVersionParams. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute
        • In BrowserStack can’t connect iOS devices with version greater than 16 to AltTester® Server
      • UI Toolkit
        • Input actions become unresponsive after using modifier keys and shifting application focus.
    • Contributing
      • Leave a review
      • Did you find a bug?
      • How to suggest a feature or enhancement?
      • Contributing changes
        • Preparing your Fork
        • Preparing a pull Request
    • License
  • AltTester® Unreal SDK
  • AltTester® Desktop

Community:

  • Discord

Useful Links:

  • AltTester® Blog
  • Source Code
  • PyPi Python
  • PyPi Robot
  • NuGet
  • Maven Repository
  • OpenUPM
  • Docker Hub
AltTester® Unity SDK
  • »
  • Search


© Copyright 2025, Altom Consulting.

Built with Sphinx using a theme provided by Read the Docs.
Other Versions latest
Versions
latest
2.1.0
2.1.1
2.1.2
2.2.0
2.2.2
2.2.4
2.2.5