For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content

Advanced Settings in KaneAI Test Case

KaneAI allows you to edit the advanced settings of an existing test case directly from the Test Summary page. This gives you the flexibility to update configurations like network settings, resolution, timezone, Chrome options, and custom headers after a test has already been authored, without having to recreate it from scratch.

When authoring an iOS mobile app test, you can also configure App Permissions in Advanced Settings before starting the session.

Editing advanced settings is supported across Desktop Web, Mobile App, and Mobile Web. Individual settings depend on the platform.

Overview​

When you edit advanced settings for a test case, you have two options:

  • Apply Settings: Saves the updated settings and generates a new version of the test case with regenerated code. Use this when the setting changes do not affect the test steps themselves.
  • Edit Test Steps: Saves the updated settings and opens the playground so you can make relevant changes to your test steps. Use this when the updated settings may require modifications to the test flow.

Platform-Specific Advanced Settings​

The available settings vary depending on the platform of your test case. Refer to the relevant section below for the complete list of configurable options.

Desktop Web​

SettingControl TypeDescription
Network ConfigurationDropdown (Tunnel / Inactive)Select tunnel or proxy for accessing applications behind firewalls
ResolutionDropdownSet the browser window size at 100% scaling: 1440 x 900 (Default), 1920 x 1080, 1366 x 768, or 1280 x 720
TimezoneDropdownSet the timezone where your tests will run
Chrome OptionsToggle + multi-inputAdd up to 10 Chrome browser command-line flags
Custom HeadersToggle + multi-inputAdd up to 10 custom HTTP headers to inject in your test case
EnvironmentDropdownSelect the variable environment the test is authored against. See Select an Environment for an Authoring Session
note

Resolution applies only to Desktop Web authoring and editing sessions. Test runs use the resolution specified in their execution configurations.

Android App​

Top-level settings:

SettingControl TypeDescription
Network ConfigurationDropdown (Tunnel / Inactive)Select tunnel or proxy for accessing apps behind firewalls
Auto-login through GoogleToggle + credentialsStart session pre-authenticated with a Google account
GPS LocationToggle + lat/long inputMock GPS coordinates on real device

Session settings:

SettingControl TypeDescription
Auto-Grant PermissionsToggleAuto-grant all Android Manifest permissions
Enable KeyboardToggleUse specialized Unicode-enabled keyboard
Ignore Unimportant ViewsToggleIgnore views marked unimportant for accessibility
Disable UI Idle WaitToggleSkip idle wait before commands (Flutter, React Native)
Enable Secure Screenshot MockingToggleMock secure screenshots (Salesforce use case)
Disable Screenshot BlockToggleDisable secure screenshot blocking
Biometric AuthenticationToggleEnable Fingerprint / Touch ID workflows (Android 11+)
Image InjectionToggleEnable image capture, QR code, barcode scanning
Video InjectionToggleInject video feed for live detection / face recognition
Device OrientationDropdown (Auto)Set device orientation for session
Capture Network LogsToggleCapture network logs for network assertions
Network ThrottlingDropdownSelect a throttling profile, always honored during authoring and test case execution. See Network Throttling.
TimezoneDropdownSet timezone for test session
LanguageDropdownSet language for test session
tip

For more details on mobile app capabilities like biometric authentication, image injection, and video injection, see Advanced Mobile Features.

iOS App​

Top-level settings:

SettingControl TypeDescription
Network ConfigurationDropdown (Tunnel / Inactive)Select tunnel or proxy
GPS LocationToggle + lat/long inputMock GPS coordinates on real device
App PermissionsDropdowns per permissionConfigure app permissions at session start for native iOS apps on real devices running iOS 16 or later. See iOS App Permissions.

Session settings:

SettingControl TypeDescription
Upload FileToggleEnable file uploads to the application
Auto-Accept AlertsToggleAuto-accept system/app-level alerts
Auto-Dismiss AlertsToggleAuto-dismiss system/app-level alerts
Biometric AuthenticationToggleEnable Fingerprint / Touch ID
Image InjectionToggleImage capture, QR code, barcode scanning
Video InjectionToggleInject recorded video feed
Device OrientationDropdown (Auto)Set orientation
Capture Network LogsToggleCapture network logs
Network ThrottlingDropdownSelect a throttling profile, always honored during authoring and test case execution. See Network Throttling.
TimezoneDropdownSet timezone
LanguageDropdownSet language

iOS App Permissions​

Use App Permissions to configure access to location, camera, photos, and contacts for a native iOS app. This feature requires a real device running iOS 16 or later.

  1. Select your iOS app build and a supported real device for authoring.
  2. Open Advanced Settings and find App Permissions.
  3. Choose the permissions your test needs from the options below. Leave a permission at No change to preserve the app's normal permission behavior.
  4. Start the authoring session. KaneAI applies the selected permissions during session startup and relaunches the app after applying them.
  5. Author and save your test case. The saved permissions are reused in subsequent Test Runs and reruns.
App Permissions in KaneAI iOS Advanced Settings, showing Location, nested Precise Location, Camera, Photos, and Contacts
PermissioniOS 16–17 optionsiOS 18 and later options
LocationNever, Ask next time, While using the app, AlwaysNever, Ask next time, While using the app, Always
Precise LocationOn, OffOn, Off
CameraOn, OffOn, Off
PhotosNone, Selected photos, All photosNone, Limited access, Full access
ContactsOn, OffNone, Limited access, Full access

All permissions also offer No change, which is the default. Precise Location is nested under Location and is available when you select a Location value other than Never or No change. For a test that needs an exact location while using the app, select Location: While using the app and Precise Location: On.

Location controls whether the app can access location data. To choose the coordinates the device reports, configure GPS Location separately. App Permissions also operate independently of Auto-Accept Alerts and Auto-Dismiss Alerts.

For more details about iOS permissions and settings in App Automation, see iOS App Settings.

To change permissions for a saved test, open Test Summary → Edit Test Steps → Advanced Settings, update App Permissions, and save a new version. Subsequent Test Runs use the updated saved configuration. Permissions cannot be overridden when creating or executing a Test Run, or changed during an active session.

Limitations and session behavior:

  • Supported platforms: App Permissions are available only for native iOS apps on real devices running iOS 16 or later. Android apps, iOS mobile browsers, desktop browsers, iOS virtual devices, and iOS 15 or earlier are unsupported. Custom app preferences, such as an app's environment setting, are not supported through App Permissions.
  • Startup time: Applying permissions adds approximately one minute to session startup. Configuring multiple permissions can increase this delay.
  • Permissions not applied: If a permission cannot be applied, the session still starts and displays a warning identifying the affected permission. For example, a permission may be unavailable in iOS Settings until the app has requested it. Review the warning before continuing with steps that depend on that permission.
  • iOS version compatibility: Choose options supported by the device used for execution. For example, Full access for Photos and Contacts requires iOS 18 or later. If a test saved with these values runs on iOS 16 or 17, the unsupported permissions are shown as Not Applied.
  • Reset Session: Reinstalls the app and resets all permissions to Not Asked. Configured permissions are applied only at session start; resetting does not preserve the applied permission state.

Android Web​

Android Web test cases share most settings with Android App, with the following differences:

  • Custom Headers is available (Toggle + multi-input, add up to 10 custom HTTP headers)
  • Biometric Authentication, Image Injection, and Video Injection are not available

iOS Web​

iOS Web test cases share most settings with iOS App, with the following differences:

  • Custom Headers is available (Toggle + multi-input, add up to 10 custom HTTP headers)
  • Biometric Authentication, Image Injection, and Video Injection are not available

App Permissions are exclusive to native iOS app tests and are not available for iOS Web.

How to Edit Advanced Settings​

Step 1: Open the Test Summary Page​

Navigate to your test case in KaneAI and open the Test Summary tab.

Step 2: Open the Edit Test Steps Dialog​

Click on Edit Test Steps to open the advanced settings panel. You will see the current configuration for your test case.

Edit Test Steps - Advanced Settings

Step 3: Modify the Settings​

Update the settings as needed. For example, you can:

  • Change the Network Configuration from None to Geolocation and select a region.
  • Choose the Resolution for a Desktop Web authoring or editing session.
  • Update the Timezone to a different zone.
  • Toggle Chrome Options on or off and add command-line switches.
  • Enable Custom Headers and add HTTP headers for your test.
  • Change the Environment the test is authored against.
  • Update App Permissions for a native iOS app test on a supported real device.

Settings that have been modified will display an Edited badge next to them.

Edited Advanced Settings

Step 4: Save Your Changes​

Choose one of the two actions at the bottom of the dialog:

  • Apply Settings: Saves the settings and generates a new version with updated code. The test case remains on the Test Summary page.
  • Edit Test Steps: Saves the settings and opens the playground so you can adjust the test steps to reflect the new configuration. The session opens in the Paused state with the cursor at the bottom-most step, so step editing is available right away. See Authoring Session.
Apply Settings or Edit Test Steps

Version History​

Every time you apply updated settings, a new version of the test case is created. You can view and compare changes between versions from the Version History tab.

The version comparison view shows a diff of what changed, for example, updated network configuration or timezone values, so you can track exactly what was modified in each version. A change of environment is shown by the environment's name.

Advanced Settings Version History

Limitations​

  • Advanced settings only: Only advanced settings (network configuration, Desktop Web authoring resolution, timezone, Chrome options, custom headers, environment, and mobile session settings) can be edited from the test summary page. To change test steps, OS, browser, or device configurations, you need to open the playground.
  • New version generated on every apply: Applying updated settings always creates a new version of the test case with regenerated code. There is no way to update settings in-place without generating a new version.
  • Version history diff for pre-rollout versions: If you compare a version created after this feature was rolled out with a version created before it, the diff will have no advanced settings changes to display since the older version never tracked them. Similarly, if you open a pre-rollout version and click on advanced settings, only the latest settings are shown as the original settings were not recorded for that version.

Have any feedback or request? Reach out to us via support@testmuai.com and we would be happy to hear from you.

Terminal First Testing With Kane CLI

Natural language browser & mobile app tests right from terminal.

×
Schedule Your Personal Demo
Kane CLI terminal

Help and Support

Related Articles