Files
Haricharan Jaka 0dd9abc431 Wifi 10826 (#694)
* Added Speed test library support in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added Speed test library support in ios

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed to speed test app for internet speed test in Android

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed to speed test app for internet speed test in ios

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Removed the unnecessary comma in speed test arguments

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added some wait for GO button in Android for speed test app

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Added string slicing for Download and upload speed in iOS

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

* Changed User and Passwd for EAP testcases from Radius server info

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>

Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
2022-09-13 22:18:20 +05:30
..
2022-09-13 11:49:34 +05:30
2022-03-23 20:33:34 +05:30
2021-04-12 23:05:22 +05:30
2022-05-05 17:19:10 +02:00
2021-05-21 12:07:19 -05:00

wlan-testing framework Information

pytest uses setup > test > tear_down

Fixtures : Code that needs to be part of more than 1 test cases, Setup and teardown is Implemented in Fixtures

Requried Module Installation: pip3 install selenium pip3 install perfecto-py37 pip3 install Appium-Python-Client

Avaiable WPA2 & WPA Protocal for 5G or 2G Options

  1. wpa2_personal :> a) setup_profile_data["NAT"]["WPA2_P"]["5G"]
    b) setup_profile_data["NAT"]["WPA2_P"]["2G"]
  2. wpa :> a) setup_profile_data["NAT"]["WPA"]["5G"]
    b) setup_profile_data["NAT"]["WPA"]["2G"]

Sample Execution of Test Cases for a maximum of 4 devices in parallel only.

Required Parameters:

  1. securityToken=
  2. jobName=
  3. jobNumber=
  4. model-iOS=iPhone.* < Picks any random iphone or use any device below. a) iPhone-11.* (Picks any random iphone 11) b) iPhone-12.* (Picks any random iphone 12) c) iPhone-7.* (Picks any random iphone 7) d) iPhone-XR.* (Picks any random iphone XR) Note:Only 1 device of each are avaible on the cloud. You can only assign 1 test case to to a phone @ a time.

Sample Execution of Tests from CI:

Execute AccessPassPointConnectivety Test Case with wpa2_personal & fiveg #pytest -m "AccessPassPointConnectivety and wpa2_personal and fiveg" -s -vvv --testbed=interop -o 'model-iOS=iPhone.*' -o 'jobName=TestRajMay' -o 'jobNumber=2' -o 'securityToken='

pytest -m "ToggleAirplaneMode and wpa2_personal and fiveg" -s -vvv --testbed=interop -o 'model-iOS=iPhone.*' -o 'jobName=TestRajMay' -o 'jobNumber=2' -o 'securityToken='

pytest -m "ClientConnectivity and wpa2_personal and fiveg" -s -vvv --testbed=interop -o 'model-iOS=iPhone.*' -o 'jobName=TestRajMay' -o 'jobNumber=2' -o 'securityToken='

pytest -m "PassPointConnection and wpa2_personal and fiveg" -s -vvv --testbed=interop -o 'model-iOS=iPhone.*' -o 'jobName=TestRajMay' -o 'jobNumber=2' -o 'securityToken='

pytest -m "ToggleWifiMode and wpa2_personal and fiveg" -s -vvv --testbed=interop -o 'model-iOS=iPhone.*' -o 'jobName=TestRajMay' -o 'jobNumber=2' -o 'securityToken='

For any Clarifications, regarding Framework,

Email : shivam.thakur@candelatech.com

Email : rpasupathy@perforce.com