Scope
The coverage of automatics includes standalone device testing as well as testing on connected setup. This document specifies the minimal setup required for testing connected client scenarios.
Hardware Requirements
- DUT
- Wifi Chamber
- Connected Clients
- 2 NUC [Windows Client connected via WIFI]
- 1 RbPi [Linux Client connected via Ethernet]
- In Chamber Cables
- Mgmt Device cabling
- Serial Cables
- Switch
- Power Module
Software Requirements
Windows Client | Linux Client |
---|
- Java - (Version 1.8.0_231)
- Selenium - (selenium-server-standalone-3.11.0.jar)
- Cygwin 32bit
- Google Chrome - (Version 86.0.4240.183, x64)
- Chrome Driver - (Version 86.0.4240.183, x64)
- Firefox - (Version 81.0.2, x64)
- Tight VNC - (Version 2.8.11)
- Iperf3 - (Version 3.1.3)
- 7 zip - (Version 19.00, x64)
- IIS - (Version 10.0.17763)
- Open SSH - (openssh-8.3p1-1.tar.xz)
- Python - (Version 3.8, x64)
- Wireshark - (Version v3.2.2-0, x64)
| - openjdk-8-jdk
- Selenium - (selenium-server-standalone-3.11.0.jar)
- nmap
- Chromium-browser (Version 86.0.4240.183)
- Firefox (Version 60.6.0, X32) and XPI Driver
- Tight VNC (Version 1.3.10)
- xrdp
- Iperf3 (Version 3.1.3)
- g zip (Version 9.35-mx)
- Python (Version 2.7.16)
- Unzip (Version 6.0)
- Git (Version 2.29.2)
- xvfb (xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm)
- openssh (OpenSSH_7.8p1)
- perl (Version 5.32. 0)
- Chkconfig
- Network Manager tool (nmcli) (Version 1.12.2)
- Wireshark (Version 3.2.2-0)
- TShark (Wireshark) 3.4.8-1
|
Points to note while using Linux based client (Connected via WIFI)
- Need to disable password prompt while giving the Sudo commands. This can be disabled by following the below steps:
- edit /etc/sudoers file - "sudo visudo"
- add "<YOUR_USERNAME_HERE> ALL=(ALL) NOPASSWD: ALL " to the file.
- save the file.
Design
Points to note:
- Dedicated IP will be assigned to individual chamber setup.
- Each connected devices within the chamber will be assigned unique ports to access individual services like one for SSH/Selenium/VNC/RDP etc.
With the IP and port combination we can access any service in any connected device.
Configurations
All the connected devices in the setup will be added to a single home account in Device Manager.
Framework Workflow
When connected scenario test is triggered in automatics
- Framework will check the accessibility of Dut and will lock the device if accessible.
- Secondarily framework will try to fetch the details of connected devices linked to the home account.
- Then a check for the accessibility of the connected devices will be performed by trying SSH to the devices.
- All the devices that are SSHable will be locked and the tests are triggered.
Device Mapping Template
Below table will give an idea about how the port mapping and connectivity is done to connect clients with DUT.
Setup | Chamber IP Address | DUT Model | DUT ECM MAC Address | DUT WAN MAC Address | ECM IP | ESTB IPV6 | SSID 2.4 | SSID -5 | MDS Account | Client MAC Address | Client Category | OS - Version | SSH Port | VNC Port | RDP Port | Selenium Port | Connectivity |
---|
1 | YYY.YYY.YYY.YYY
| Model_abc |
|
|
|
| AUTO_24/pwd1
| Auto_5/pwd2 | ACC_ABC_123
| client_mac_1 | NUC-01 | Windows 10 Pro | <SSHport> | <VNCport> | <RDP port> | <Selenium port> | Wi-Fi |
client_mac_2 | NUC-02 | Windows 10 Pro | <SSHport> | <VNCport> | <RDP port> | <Selenium port> | Wi-Fi |
client_mac_3 | RPI-01 | Linux | <SSHport> | <VNCport> | <RDP port> | <Selenium port> | Ethernet |