How to test an Android Nox Emulator with Silk Test

How to test an Android Nox Emulator with Silk Test

If you wish to test an application using an Android NOX Emulator with Silk Test, you will notice that by default, the device is not detected by Silk Test. 

For any Android device to be recognized by Silk Test, the device needs to be detected by the local Android Debug Bridge (ADB) interface. 

To test a Nox Emulator, you will need to connect this to the local ADB interface using the connect command.  

Before connecting the device to the ADB and Silk Test, you will need to enable USB debugging on the device by following the below steps:

 

1. Start and run your NOX Emulator

 

2. Enable Developer Options and turn on USB-Debugging

Open the Settings on the device, scroll down and select 'About tablet'. 

Scroll down to 'build number' and click it (7) times. Developer mode will now be enabled. 

Click back and then select 'Developer options' and check the 'USB debugging' option.  

 

3. Open command prompt and cd to the adb.exe shipped with Silk Test.

cd %OPEN_AGENT_HOME%\Mobile\windows\AndroidTools\platform-tools\

 

4. Run adb connect to your device.

Enter the below command. The NOX emulator runs on port 62001 by default. 

"adb connect 127.0.0.1:62001"

 

5. Verify device is connected

 To see a list of connected devices, enter the following command:

"adb devices"

If connected successfully, your return should look like the below:

Now when you go to record or playback in Silk Test, the NOX emulator should be listed under mobile devices. You can now connect to the device and record/playback successfully. 

 When recording, you should see something which looks like the below screenshot.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2017-01-13 11:29
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.