Configure for test
Once you have downloaded the app or program, you need to configure the client for test. Read below about how to do this for Andoid, iOS or computer.
Typical errors when this configuration is not done is “Invalid Credentials”, “BankID is missing” or error 10026 when trying to issue a BankID.
![TestID_Errors](/assets/bankid/rp/guides-img/TestID_Errors.png)
Android
Uninstall any existing version of the BankID app and then install it again from Google Play Store.
NOTE This step must be performed regardless of which version of the app is installed.Put the phone in airplane mode.
Launch the BankID app. Dismiss any network failure warning or similar.
Go to Settings in the BankID app and select About BankID.
Make a "long press" (i.e. press and hold) on the heading Error information.
Enter kundtest in the box that appears and press OK. If no box appears, check again that your device is in airplane mode.
Without leaving About Bankid, check that it says CUST by version number. This verifies that you entered correctly.
Exit the BankID app.
Exit the airplane mode.
Force quit the BankID app. It is not enough to put the BankID app in the background. The app must be completely quit in memory. There are several ways to do this depending on the device and operating system.
The BankID app is now configured for the test environment. Please note that the app must be uninstalled/reinstalled to be restored for the production environment.
Notes:
The BankID app cannot be run in emulated environments.
Apps that create a local (VPN server runs on the phone and the phone connects to it) always turned on VPN connection, have been shown to be able to interfere with the BankID test environment, even in airplane mode.
iOS
Uninstall any existing version of BankID Security App and then reinstall it from App Store.
In iOS Settings → BankID → Developer → Server, enter cavainternal.test.bankid.com.
In the BankID app, go to Settings → About BankID and check that it says CUST by version number. This verifies that you entered the informatin acorrectly.
BankID Security App will now connect to the test server. Please note that the app must be uninstalled/reinstalled to be restored for the production environment.
PCs (Windows and Mac OS X)
The BankID application must be configured for test. You can't use the application for both test and production with the same user account in your computer. Two separate accounts, or a separate computer for testing, is required.
Create a set up for test
Start the BankID application at least once after installation, and then exit it.
Open the folder with installation files for the BankID application, see below.
Create a text file named ”CavaServerSelector.txt” containing the word "kundtest". The file can be created with a text editor, i.e. Notepad (Windows) or Pico in a terminal window (macOS).
Where to store installation files for BankID:
Windows: %appdata%\BankID\Config
(Generally a shortcut to: C:\Users\USER\AppData\Roaming\BankID\Config)macOS: ~/Library/Application Support/BankID/Config
This folder is hidden. To reach the folder via Finder (Desktop): Select the menu ”Go” and simultaneously press the ”alt” key, then select ”Library”, ”Application Support”, ”BankID” and ”Config”.)
Please note that BankID folder will be created when the BankID application is started. If you can't find the folder, please try to start and exit the application.