Add device
Note
User guide: Scopy Overview.
Note
Tester |
Test Date |
Scopy version |
Plugin version (N/A if not applicable) |
Comments |
---|---|---|---|---|
Setup environment:
- M2k.Emu:
Open Scopy.
Start the iio-emu process using “adalm2000” in the dropdown and “ip:127.0.0.1” as URI.
Test 1: Verifying the device scanning functionality.
UID: TST.ADD.SCAN_ALL
Description: This test checks that the device scan correctly detects and lists available devices when initiated.
- Preconditions:
Scopy is installed on the system.
OS: ANY.
- Steps:
Connect an ADALM2000 device to the system by USB.
Open Scopy.
Click on Add device (+) button.
Click on the refresh button on the right located in the Add page scan section.
- Wait until the refresh animation stops.
Expected result: In the “Context” dropdown, all available devices are listed, each item containing the device name/description and URI. The ADALM2000 device [usb] must appear in the list.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 2: Verifying the local device scanning functionality.
UID: TST.ADD.SCAN_LOCAL
Description: This test checks that the device scan correctly detects and lists available local devices when initiated.
- Preconditions:
Scopy is installed on the system.
There is at least one IIO device connected to the system that has local backend.
OS: Linux-x86_64.
- Steps:
Open Scopy.
Click on Add device (+) button.
Check only the local checkbox located in the Add page scan section.
- Wait until the refresh animation stops.
Expected result: In the “Context” dropdown, all available local devices are listed, each item containing the device name/description and URI. If there is no available device the “No scanned devices available!” message is displayed.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 3: Verifying the ip device scanning functionality.
UID: TST.ADD.SCAN_IP
Description: This test checks that the device scan correctly detects and lists available ip devices when initiated.
- Preconditions:
Scopy is installed on the system.
There is at least one IIO device connected to the system that has ip backend.
OS: ANY.
- Steps:
Open Scopy.
Click on Add device (+) button.
Check only the ip checkbox located in the Add page scan section.
- Wait until the refresh animation stops.
Expected result: In the “Context” dropdown, all available ip devices are listed, each item containing the device name/description and URI. If there is no available device the “No scanned devices available!” message is displayed.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 4: Verifying the usb device scanning functionality.
UID: TST.ADD.SCAN_USB
Description: This test checks that the device scan correctly detects and lists available usb devices when initiated.
- Preconditions:
Scopy is installed on the system.
OS: ANY.
- Steps:
Connect an ADALM2000 device to the system by USB.
Open Scopy.
Click on Add device (+) button.
Check only the usb checkbox located in the Add page scan section.
- Wait until the refresh animation stops.
Expected result: In the “Context” dropdown, all available usb devices are listed, each item containing the device name/description and URI. The ADALM2000 device must appear in the list.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 5: Verifying the serial device scanning functionality.
UID: TST.ADD.SCAN_SERIAL
Description: This test checks that the device scan correctly detects and lists available serial devices when initiated.
- Preconditions:
Scopy is installed on the system.
There is at least one IIO device connected to the system that has serial backend.
OS: ANY.
- Steps:
Open Scopy.
Click on Add device (+) button.
Click on the refresh button on the right located in the Add page serial port section.
- Wait until the refresh animation stops.
Expected result: In the “Name” dropdown, all available serial devices are listed, each item containing the device name/description and URI. If there is no available device the “No scanned devices available!” message is displayed.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 6: Scanning with no device.
UID: TST.ADD.SCAN_EMPTY
Description: This test checks whether an appropriate message is displayed when no device is found.
- Preconditions:
Scopy is installed on the system.
OS: ANY.
- Steps:
Run Scopy.
Make sure that no devices using USB backends are connected to the system.
Click on Add device (+) button.
Click on usb checkbox located in the Add page scan section.
- Wait until the refresh animation stops.
Expected result: The “No scanned devices available!” message is displayed.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL
Test 7: Device validation.
UID: TST.ADD.VERIFY
Description: This test verifies that the device validation works correctly.
- Test prerequisites:
- Preconditions:
Scopy is installed on the system.
iio-emu is installed on the system.
Use M2k.Emu setup.
OS: ANY.
- Steps:
Click on Add device (+) button.
Introduce the “ip:127.0.0.1” URI.
- Click on Verify button.
Expected result: A loading animation starts and after a short time a page with device details and compatible plugins is displayed.
Actual result:
Tested OS:
Comments:
Result: PASS/FAIL